diff --git a/openshift/.swagger-codegen-ignore b/openshift/.swagger-codegen-ignore index a26079b5..42475af3 100644 --- a/openshift/.swagger-codegen-ignore +++ b/openshift/.swagger-codegen-ignore @@ -5,8 +5,10 @@ client/apis/apis_api.py client/apis/apps_api.py client/apis/apps_v1beta1_api.py client/apis/authentication_api.py +client/apis/authentication_v1_api.py client/apis/authentication_v1beta1_api.py client/apis/authorization_api.py +client/apis/authorization_v1_api.py client/apis/authorization_v1beta1_api.py client/apis/autoscaling_api.py client/apis/autoscaling_v1_api.py @@ -14,35 +16,53 @@ client/apis/batch_api.py client/apis/batch_v1_api.py client/apis/batch_v2alpha1_api.py client/apis/certificates_api.py -client/apis/certificates_v1alpha1_api.py +client/apis/certificates_v1beta1_api.py client/apis/core_api.py client/apis/core_v1_api.py +client/apis/custom_objects_api.py client/apis/extensions_api.py client/apis/extensions_v1beta1_api.py -client/apis/image_openshift_io_0_api.py -client/apis/image_openshift_io_pre012_api.py +client/apis/networking_api.py +client/apis/networking_v1_api.py client/apis/policy_api.py client/apis/policy_v1beta1_api.py +client/apis/rbac_authorization_api.py +client/apis/rbac_authorization_v1beta1_api.py client/apis/storage_api.py +client/apis/storage_v1_api.py client/apis/storage_v1beta1_api.py -client/apis/version_api.py client/configuration.py -client/models/intstr_int_or_string.py -client/models/resource_quantity.py +client/models/apps_v1beta1_deployment.py +client/models/apps_v1beta1_deployment_condition.py +client/models/apps_v1beta1_deployment_list.py +client/models/apps_v1beta1_deployment_rollback.py +client/models/apps_v1beta1_deployment_spec.py +client/models/apps_v1beta1_deployment_status.py +client/models/apps_v1beta1_deployment_strategy.py +client/models/apps_v1beta1_rollback_config.py +client/models/apps_v1beta1_rolling_update_deployment.py +client/models/apps_v1beta1_scale.py +client/models/apps_v1beta1_scale_spec.py +client/models/apps_v1beta1_scale_status.py +client/models/extensions_v1beta1_deployment.py +client/models/extensions_v1beta1_deployment_condition.py +client/models/extensions_v1beta1_deployment_list.py +client/models/extensions_v1beta1_deployment_rollback.py +client/models/extensions_v1beta1_deployment_spec.py +client/models/extensions_v1beta1_deployment_status.py +client/models/extensions_v1beta1_deployment_strategy.py +client/models/extensions_v1beta1_rollback_config.py +client/models/extensions_v1beta1_rolling_update_deployment.py +client/models/extensions_v1beta1_scale.py +client/models/extensions_v1beta1_scale_spec.py +client/models/extensions_v1beta1_scale_status.py client/models/runtime_raw_extension.py -client/models/unversioned_api_group.py -client/models/unversioned_api_group_list.py -client/models/unversioned_api_resource.py -client/models/unversioned_api_resource_list.py -client/models/unversioned_api_versions.py -client/models/unversioned_group_version_for_discovery.py -client/models/unversioned_label_selector.py -client/models/unversioned_label_selector_requirement.py -client/models/unversioned_list_meta.py -client/models/unversioned_status.py -client/models/unversioned_status_cause.py -client/models/unversioned_status_details.py -client/models/unversioned_time.py +client/models/v1_affinity.py +client/models/v1_api_group.py +client/models/v1_api_group_list.py +client/models/v1_api_resource.py +client/models/v1_api_resource_list.py +client/models/v1_api_versions.py client/models/v1_attached_volume.py client/models/v1_aws_elastic_block_store_volume_source.py client/models/v1_azure_disk_volume_source.py @@ -55,8 +75,10 @@ client/models/v1_component_condition.py client/models/v1_component_status.py client/models/v1_component_status_list.py client/models/v1_config_map.py +client/models/v1_config_map_env_source.py client/models/v1_config_map_key_selector.py client/models/v1_config_map_list.py +client/models/v1_config_map_projection.py client/models/v1_config_map_volume_source.py client/models/v1_container.py client/models/v1_container_image.py @@ -69,6 +91,7 @@ client/models/v1_container_status.py client/models/v1_cross_version_object_reference.py client/models/v1_daemon_endpoint.py client/models/v1_delete_options.py +client/models/v1_downward_api_projection.py client/models/v1_downward_api_volume_file.py client/models/v1_downward_api_volume_source.py client/models/v1_empty_dir_volume_source.py @@ -77,6 +100,7 @@ client/models/v1_endpoint_port.py client/models/v1_endpoint_subset.py client/models/v1_endpoints.py client/models/v1_endpoints_list.py +client/models/v1_env_from_source.py client/models/v1_env_var.py client/models/v1_env_var_source.py client/models/v1_event.py @@ -89,14 +113,18 @@ client/models/v1_flocker_volume_source.py client/models/v1_gce_persistent_disk_volume_source.py client/models/v1_git_repo_volume_source.py client/models/v1_glusterfs_volume_source.py +client/models/v1_group_version_for_discovery.py client/models/v1_handler.py client/models/v1_horizontal_pod_autoscaler.py client/models/v1_horizontal_pod_autoscaler_list.py client/models/v1_horizontal_pod_autoscaler_spec.py client/models/v1_horizontal_pod_autoscaler_status.py +client/models/v1_host_alias.py client/models/v1_host_path_volume_source.py client/models/v1_http_get_action.py client/models/v1_http_header.py +client/models/v1_initializer.py +client/models/v1_initializers.py client/models/v1_iscsi_volume_source.py client/models/v1_job.py client/models/v1_job_condition.py @@ -104,27 +132,43 @@ client/models/v1_job_list.py client/models/v1_job_spec.py client/models/v1_job_status.py client/models/v1_key_to_path.py +client/models/v1_label_selector.py +client/models/v1_label_selector_requirement.py client/models/v1_lifecycle.py client/models/v1_limit_range.py client/models/v1_limit_range_item.py client/models/v1_limit_range_list.py client/models/v1_limit_range_spec.py +client/models/v1_list_meta.py client/models/v1_load_balancer_ingress.py client/models/v1_load_balancer_status.py client/models/v1_local_object_reference.py +client/models/v1_local_subject_access_review.py +client/models/v1_local_volume_source.py client/models/v1_namespace.py client/models/v1_namespace_list.py client/models/v1_namespace_spec.py client/models/v1_namespace_status.py +client/models/v1_network_policy.py +client/models/v1_network_policy_ingress_rule.py +client/models/v1_network_policy_list.py +client/models/v1_network_policy_peer.py +client/models/v1_network_policy_port.py +client/models/v1_network_policy_spec.py client/models/v1_nfs_volume_source.py client/models/v1_node.py client/models/v1_node_address.py +client/models/v1_node_affinity.py client/models/v1_node_condition.py client/models/v1_node_daemon_endpoints.py client/models/v1_node_list.py +client/models/v1_node_selector.py +client/models/v1_node_selector_requirement.py +client/models/v1_node_selector_term.py client/models/v1_node_spec.py client/models/v1_node_status.py client/models/v1_node_system_info.py +client/models/v1_non_resource_attributes.py client/models/v1_object_field_selector.py client/models/v1_object_meta.py client/models/v1_object_reference.py @@ -140,6 +184,9 @@ client/models/v1_persistent_volume_spec.py client/models/v1_persistent_volume_status.py client/models/v1_photon_persistent_disk_volume_source.py client/models/v1_pod.py +client/models/v1_pod_affinity.py +client/models/v1_pod_affinity_term.py +client/models/v1_pod_anti_affinity.py client/models/v1_pod_condition.py client/models/v1_pod_list.py client/models/v1_pod_security_context.py @@ -148,8 +195,11 @@ client/models/v1_pod_status.py client/models/v1_pod_template.py client/models/v1_pod_template_list.py client/models/v1_pod_template_spec.py +client/models/v1_portworx_volume_source.py client/models/v1_preconditions.py +client/models/v1_preferred_scheduling_term.py client/models/v1_probe.py +client/models/v1_projected_volume_source.py client/models/v1_quobyte_volume_source.py client/models/v1_rbd_volume_source.py client/models/v1_replication_controller.py @@ -157,6 +207,7 @@ client/models/v1_replication_controller_condition.py client/models/v1_replication_controller_list.py client/models/v1_replication_controller_spec.py client/models/v1_replication_controller_status.py +client/models/v1_resource_attributes.py client/models/v1_resource_field_selector.py client/models/v1_resource_quota.py client/models/v1_resource_quota_list.py @@ -164,14 +215,19 @@ client/models/v1_resource_quota_spec.py client/models/v1_resource_quota_status.py client/models/v1_resource_requirements.py client/models/v1_scale.py +client/models/v1_scale_io_volume_source.py client/models/v1_scale_spec.py client/models/v1_scale_status.py client/models/v1_se_linux_options.py client/models/v1_secret.py +client/models/v1_secret_env_source.py client/models/v1_secret_key_selector.py client/models/v1_secret_list.py +client/models/v1_secret_projection.py client/models/v1_secret_volume_source.py client/models/v1_security_context.py +client/models/v1_self_subject_access_review.py +client/models/v1_self_subject_access_review_spec.py client/models/v1_service.py client/models/v1_service_account.py client/models/v1_service_account_list.py @@ -179,46 +235,58 @@ client/models/v1_service_list.py client/models/v1_service_port.py client/models/v1_service_spec.py client/models/v1_service_status.py +client/models/v1_status.py +client/models/v1_status_cause.py +client/models/v1_status_details.py +client/models/v1_storage_class.py +client/models/v1_storage_class_list.py +client/models/v1_storage_os_persistent_volume_source.py +client/models/v1_storage_os_volume_source.py +client/models/v1_subject_access_review.py +client/models/v1_subject_access_review_spec.py +client/models/v1_subject_access_review_status.py +client/models/v1_taint.py client/models/v1_tcp_socket_action.py +client/models/v1_token_review.py +client/models/v1_token_review_spec.py +client/models/v1_token_review_status.py +client/models/v1_toleration.py +client/models/v1_user_info.py client/models/v1_volume.py client/models/v1_volume_mount.py +client/models/v1_volume_projection.py client/models/v1_vsphere_virtual_disk_volume_source.py -client/models/v1alpha1_certificate_signing_request.py -client/models/v1alpha1_certificate_signing_request_condition.py -client/models/v1alpha1_certificate_signing_request_list.py -client/models/v1alpha1_certificate_signing_request_spec.py -client/models/v1alpha1_certificate_signing_request_status.py +client/models/v1_watch_event.py +client/models/v1_weighted_pod_affinity_term.py client/models/v1beta1_api_version.py -client/models/v1beta1_cpu_target_utilization.py +client/models/v1beta1_certificate_signing_request.py +client/models/v1beta1_certificate_signing_request_condition.py +client/models/v1beta1_certificate_signing_request_list.py +client/models/v1beta1_certificate_signing_request_spec.py +client/models/v1beta1_certificate_signing_request_status.py +client/models/v1beta1_cluster_role.py +client/models/v1beta1_cluster_role_binding.py +client/models/v1beta1_cluster_role_binding_list.py +client/models/v1beta1_cluster_role_list.py +client/models/v1beta1_controller_revision.py +client/models/v1beta1_controller_revision_list.py client/models/v1beta1_daemon_set.py client/models/v1beta1_daemon_set_list.py client/models/v1beta1_daemon_set_spec.py client/models/v1beta1_daemon_set_status.py -client/models/v1beta1_deployment.py -client/models/v1beta1_deployment_condition.py -client/models/v1beta1_deployment_list.py -client/models/v1beta1_deployment_rollback.py -client/models/v1beta1_deployment_spec.py -client/models/v1beta1_deployment_status.py -client/models/v1beta1_deployment_strategy.py +client/models/v1beta1_daemon_set_update_strategy.py client/models/v1beta1_eviction.py -client/models/v1beta1_horizontal_pod_autoscaler.py -client/models/v1beta1_horizontal_pod_autoscaler_list.py -client/models/v1beta1_horizontal_pod_autoscaler_spec.py -client/models/v1beta1_horizontal_pod_autoscaler_status.py +client/models/v1beta1_fs_group_strategy_options.py +client/models/v1beta1_host_port_range.py client/models/v1beta1_http_ingress_path.py client/models/v1beta1_http_ingress_rule_value.py +client/models/v1beta1_id_range.py client/models/v1beta1_ingress.py client/models/v1beta1_ingress_backend.py client/models/v1beta1_ingress_list.py client/models/v1beta1_ingress_rule.py client/models/v1beta1_ingress_spec.py client/models/v1beta1_ingress_status.py -client/models/v1beta1_job.py -client/models/v1beta1_job_condition.py -client/models/v1beta1_job_list.py -client/models/v1beta1_job_spec.py -client/models/v1beta1_job_status.py client/models/v1beta1_local_subject_access_review.py client/models/v1beta1_network_policy.py client/models/v1beta1_network_policy_ingress_rule.py @@ -231,29 +299,39 @@ client/models/v1beta1_pod_disruption_budget.py client/models/v1beta1_pod_disruption_budget_list.py client/models/v1beta1_pod_disruption_budget_spec.py client/models/v1beta1_pod_disruption_budget_status.py +client/models/v1beta1_pod_security_policy.py +client/models/v1beta1_pod_security_policy_list.py +client/models/v1beta1_pod_security_policy_spec.py +client/models/v1beta1_policy_rule.py client/models/v1beta1_replica_set.py client/models/v1beta1_replica_set_condition.py client/models/v1beta1_replica_set_list.py client/models/v1beta1_replica_set_spec.py client/models/v1beta1_replica_set_status.py client/models/v1beta1_resource_attributes.py -client/models/v1beta1_rollback_config.py -client/models/v1beta1_rolling_update_deployment.py -client/models/v1beta1_scale.py -client/models/v1beta1_scale_spec.py -client/models/v1beta1_scale_status.py +client/models/v1beta1_role.py +client/models/v1beta1_role_binding.py +client/models/v1beta1_role_binding_list.py +client/models/v1beta1_role_list.py +client/models/v1beta1_role_ref.py +client/models/v1beta1_rolling_update_daemon_set.py +client/models/v1beta1_rolling_update_stateful_set_strategy.py +client/models/v1beta1_run_as_user_strategy_options.py +client/models/v1beta1_se_linux_strategy_options.py client/models/v1beta1_self_subject_access_review.py client/models/v1beta1_self_subject_access_review_spec.py client/models/v1beta1_stateful_set.py client/models/v1beta1_stateful_set_list.py client/models/v1beta1_stateful_set_spec.py client/models/v1beta1_stateful_set_status.py +client/models/v1beta1_stateful_set_update_strategy.py client/models/v1beta1_storage_class.py client/models/v1beta1_storage_class_list.py +client/models/v1beta1_subject.py client/models/v1beta1_subject_access_review.py client/models/v1beta1_subject_access_review_spec.py client/models/v1beta1_subject_access_review_status.py -client/models/v1beta1_subresource_reference.py +client/models/v1beta1_supplemental_groups_strategy_options.py client/models/v1beta1_third_party_resource.py client/models/v1beta1_third_party_resource_list.py client/models/v1beta1_token_review.py @@ -264,17 +342,692 @@ client/models/v2alpha1_cron_job.py client/models/v2alpha1_cron_job_list.py client/models/v2alpha1_cron_job_spec.py client/models/v2alpha1_cron_job_status.py -client/models/v2alpha1_job.py -client/models/v2alpha1_job_condition.py -client/models/v2alpha1_job_list.py -client/models/v2alpha1_job_spec.py -client/models/v2alpha1_job_status.py client/models/v2alpha1_job_template_spec.py -client/models/version_info.py -client/models/versioned_event.py client/rest.py +docs/ApisApi.md +docs/AppsApi.md +docs/AppsV1beta1Api.md +docs/AppsV1beta1Deployment.md +docs/AppsV1beta1DeploymentCondition.md +docs/AppsV1beta1DeploymentList.md +docs/AppsV1beta1DeploymentRollback.md +docs/AppsV1beta1DeploymentSpec.md +docs/AppsV1beta1DeploymentStatus.md +docs/AppsV1beta1DeploymentStrategy.md +docs/AppsV1beta1RollbackConfig.md +docs/AppsV1beta1RollingUpdateDeployment.md +docs/AppsV1beta1Scale.md +docs/AppsV1beta1ScaleSpec.md +docs/AppsV1beta1ScaleStatus.md +docs/AuthenticationApi.md +docs/AuthenticationV1Api.md +docs/AuthenticationV1beta1Api.md +docs/AuthorizationApi.md +docs/AuthorizationV1Api.md +docs/AuthorizationV1beta1Api.md +docs/AutoscalingApi.md +docs/AutoscalingV1Api.md +docs/BatchApi.md +docs/BatchV1Api.md +docs/BatchV2alpha1Api.md +docs/CertificatesApi.md +docs/CertificatesV1beta1Api.md +docs/CoreApi.md +docs/CoreV1Api.md +docs/CustomObjectsApi.md +docs/ExtensionsApi.md +docs/ExtensionsV1beta1Api.md +docs/ExtensionsV1beta1Deployment.md +docs/ExtensionsV1beta1DeploymentCondition.md +docs/ExtensionsV1beta1DeploymentList.md +docs/ExtensionsV1beta1DeploymentRollback.md +docs/ExtensionsV1beta1DeploymentSpec.md +docs/ExtensionsV1beta1DeploymentStatus.md +docs/ExtensionsV1beta1DeploymentStrategy.md +docs/ExtensionsV1beta1RollbackConfig.md +docs/ExtensionsV1beta1RollingUpdateDeployment.md +docs/ExtensionsV1beta1Scale.md +docs/ExtensionsV1beta1ScaleSpec.md +docs/ExtensionsV1beta1ScaleStatus.md +docs/NetworkingApi.md +docs/NetworkingV1Api.md +docs/PolicyApi.md +docs/PolicyV1beta1Api.md +docs/RbacAuthorizationApi.md +docs/RbacAuthorizationV1beta1Api.md +docs/RuntimeRawExtension.md +docs/StorageApi.md +docs/StorageV1Api.md +docs/StorageV1beta1Api.md +docs/V1Affinity.md +docs/V1ApiGroup.md +docs/V1ApiGroupList.md +docs/V1ApiResource.md +docs/V1ApiResourceList.md +docs/V1ApiVersions.md +docs/V1AttachedVolume.md +docs/V1AwsElasticBlockStoreVolumeSource.md +docs/V1AzureDiskVolumeSource.md +docs/V1AzureFileVolumeSource.md +docs/V1Binding.md +docs/V1Capabilities.md +docs/V1CephFsVolumeSource.md +docs/V1CinderVolumeSource.md +docs/V1ComponentCondition.md +docs/V1ComponentStatus.md +docs/V1ComponentStatusList.md +docs/V1ConfigMap.md +docs/V1ConfigMapEnvSource.md +docs/V1ConfigMapKeySelector.md +docs/V1ConfigMapList.md +docs/V1ConfigMapProjection.md +docs/V1ConfigMapVolumeSource.md +docs/V1Container.md +docs/V1ContainerImage.md +docs/V1ContainerPort.md +docs/V1ContainerState.md +docs/V1ContainerStateRunning.md +docs/V1ContainerStateTerminated.md +docs/V1ContainerStateWaiting.md +docs/V1ContainerStatus.md +docs/V1CrossVersionObjectReference.md +docs/V1DaemonEndpoint.md +docs/V1DeleteOptions.md +docs/V1DownwardApiProjection.md +docs/V1DownwardApiVolumeFile.md +docs/V1DownwardApiVolumeSource.md +docs/V1EmptyDirVolumeSource.md +docs/V1EndpointAddress.md +docs/V1EndpointPort.md +docs/V1EndpointSubset.md +docs/V1Endpoints.md +docs/V1EndpointsList.md +docs/V1EnvFromSource.md +docs/V1EnvVar.md +docs/V1EnvVarSource.md +docs/V1Event.md +docs/V1EventList.md +docs/V1EventSource.md +docs/V1ExecAction.md +docs/V1FcVolumeSource.md +docs/V1FlexVolumeSource.md +docs/V1FlockerVolumeSource.md +docs/V1GcePersistentDiskVolumeSource.md +docs/V1GitRepoVolumeSource.md +docs/V1GlusterfsVolumeSource.md +docs/V1GroupVersionForDiscovery.md +docs/V1Handler.md +docs/V1HorizontalPodAutoscaler.md +docs/V1HorizontalPodAutoscalerList.md +docs/V1HorizontalPodAutoscalerSpec.md +docs/V1HorizontalPodAutoscalerStatus.md +docs/V1HostAlias.md +docs/V1HostPathVolumeSource.md +docs/V1HttpGetAction.md +docs/V1HttpHeader.md +docs/V1Initializer.md +docs/V1Initializers.md +docs/V1IscsiVolumeSource.md +docs/V1Job.md +docs/V1JobCondition.md +docs/V1JobList.md +docs/V1JobSpec.md +docs/V1JobStatus.md +docs/V1KeyToPath.md +docs/V1LabelSelector.md +docs/V1LabelSelectorRequirement.md +docs/V1Lifecycle.md +docs/V1LimitRange.md +docs/V1LimitRangeItem.md +docs/V1LimitRangeList.md +docs/V1LimitRangeSpec.md +docs/V1ListMeta.md +docs/V1LoadBalancerIngress.md +docs/V1LoadBalancerStatus.md +docs/V1LocalObjectReference.md +docs/V1LocalSubjectAccessReview.md +docs/V1LocalVolumeSource.md +docs/V1Namespace.md +docs/V1NamespaceList.md +docs/V1NamespaceSpec.md +docs/V1NamespaceStatus.md +docs/V1NetworkPolicy.md +docs/V1NetworkPolicyIngressRule.md +docs/V1NetworkPolicyList.md +docs/V1NetworkPolicyPeer.md +docs/V1NetworkPolicyPort.md +docs/V1NetworkPolicySpec.md +docs/V1NfsVolumeSource.md +docs/V1Node.md +docs/V1NodeAddress.md +docs/V1NodeAffinity.md +docs/V1NodeCondition.md +docs/V1NodeDaemonEndpoints.md +docs/V1NodeList.md +docs/V1NodeSelector.md +docs/V1NodeSelectorRequirement.md +docs/V1NodeSelectorTerm.md +docs/V1NodeSpec.md +docs/V1NodeStatus.md +docs/V1NodeSystemInfo.md +docs/V1NonResourceAttributes.md +docs/V1ObjectFieldSelector.md +docs/V1ObjectMeta.md +docs/V1ObjectReference.md +docs/V1OwnerReference.md +docs/V1PersistentVolume.md +docs/V1PersistentVolumeClaim.md +docs/V1PersistentVolumeClaimList.md +docs/V1PersistentVolumeClaimSpec.md +docs/V1PersistentVolumeClaimStatus.md +docs/V1PersistentVolumeClaimVolumeSource.md +docs/V1PersistentVolumeList.md +docs/V1PersistentVolumeSpec.md +docs/V1PersistentVolumeStatus.md +docs/V1PhotonPersistentDiskVolumeSource.md +docs/V1Pod.md +docs/V1PodAffinity.md +docs/V1PodAffinityTerm.md +docs/V1PodAntiAffinity.md +docs/V1PodCondition.md +docs/V1PodList.md +docs/V1PodSecurityContext.md +docs/V1PodSpec.md +docs/V1PodStatus.md +docs/V1PodTemplate.md +docs/V1PodTemplateList.md +docs/V1PodTemplateSpec.md +docs/V1PortworxVolumeSource.md +docs/V1Preconditions.md +docs/V1PreferredSchedulingTerm.md +docs/V1Probe.md +docs/V1ProjectedVolumeSource.md +docs/V1QuobyteVolumeSource.md +docs/V1RbdVolumeSource.md +docs/V1ReplicationController.md +docs/V1ReplicationControllerCondition.md +docs/V1ReplicationControllerList.md +docs/V1ReplicationControllerSpec.md +docs/V1ReplicationControllerStatus.md +docs/V1ResourceAttributes.md +docs/V1ResourceFieldSelector.md +docs/V1ResourceQuota.md +docs/V1ResourceQuotaList.md +docs/V1ResourceQuotaSpec.md +docs/V1ResourceQuotaStatus.md +docs/V1ResourceRequirements.md +docs/V1Scale.md +docs/V1ScaleIoVolumeSource.md +docs/V1ScaleSpec.md +docs/V1ScaleStatus.md +docs/V1SeLinuxOptions.md +docs/V1Secret.md +docs/V1SecretEnvSource.md +docs/V1SecretKeySelector.md +docs/V1SecretList.md +docs/V1SecretProjection.md +docs/V1SecretVolumeSource.md +docs/V1SecurityContext.md +docs/V1SelfSubjectAccessReview.md +docs/V1SelfSubjectAccessReviewSpec.md +docs/V1Service.md +docs/V1ServiceAccount.md +docs/V1ServiceAccountList.md +docs/V1ServiceList.md +docs/V1ServicePort.md +docs/V1ServiceSpec.md +docs/V1ServiceStatus.md +docs/V1Status.md +docs/V1StatusCause.md +docs/V1StatusDetails.md +docs/V1StorageClass.md +docs/V1StorageClassList.md +docs/V1StorageOsPersistentVolumeSource.md +docs/V1StorageOsVolumeSource.md +docs/V1SubjectAccessReview.md +docs/V1SubjectAccessReviewSpec.md +docs/V1SubjectAccessReviewStatus.md +docs/V1Taint.md +docs/V1TcpSocketAction.md +docs/V1TokenReview.md +docs/V1TokenReviewSpec.md +docs/V1TokenReviewStatus.md +docs/V1Toleration.md +docs/V1UserInfo.md +docs/V1Volume.md +docs/V1VolumeMount.md +docs/V1VolumeProjection.md +docs/V1VsphereVirtualDiskVolumeSource.md +docs/V1WatchEvent.md +docs/V1WeightedPodAffinityTerm.md +docs/V1beta1ApiVersion.md +docs/V1beta1CertificateSigningRequest.md +docs/V1beta1CertificateSigningRequestCondition.md +docs/V1beta1CertificateSigningRequestList.md +docs/V1beta1CertificateSigningRequestSpec.md +docs/V1beta1CertificateSigningRequestStatus.md +docs/V1beta1ClusterRole.md +docs/V1beta1ClusterRoleBinding.md +docs/V1beta1ClusterRoleBindingList.md +docs/V1beta1ClusterRoleList.md +docs/V1beta1ControllerRevision.md +docs/V1beta1ControllerRevisionList.md +docs/V1beta1DaemonSet.md +docs/V1beta1DaemonSetList.md +docs/V1beta1DaemonSetSpec.md +docs/V1beta1DaemonSetStatus.md +docs/V1beta1DaemonSetUpdateStrategy.md +docs/V1beta1Eviction.md +docs/V1beta1FsGroupStrategyOptions.md +docs/V1beta1HostPortRange.md +docs/V1beta1HttpIngressPath.md +docs/V1beta1HttpIngressRuleValue.md +docs/V1beta1IdRange.md +docs/V1beta1Ingress.md +docs/V1beta1IngressBackend.md +docs/V1beta1IngressList.md +docs/V1beta1IngressRule.md +docs/V1beta1IngressSpec.md +docs/V1beta1IngressStatus.md +docs/V1beta1LocalSubjectAccessReview.md +docs/V1beta1NetworkPolicy.md +docs/V1beta1NetworkPolicyIngressRule.md +docs/V1beta1NetworkPolicyList.md +docs/V1beta1NetworkPolicyPeer.md +docs/V1beta1NetworkPolicyPort.md +docs/V1beta1NetworkPolicySpec.md +docs/V1beta1NonResourceAttributes.md +docs/V1beta1PodDisruptionBudget.md +docs/V1beta1PodDisruptionBudgetList.md +docs/V1beta1PodDisruptionBudgetSpec.md +docs/V1beta1PodDisruptionBudgetStatus.md +docs/V1beta1PodSecurityPolicy.md +docs/V1beta1PodSecurityPolicyList.md +docs/V1beta1PodSecurityPolicySpec.md +docs/V1beta1PolicyRule.md +docs/V1beta1ReplicaSet.md +docs/V1beta1ReplicaSetCondition.md +docs/V1beta1ReplicaSetList.md +docs/V1beta1ReplicaSetSpec.md +docs/V1beta1ReplicaSetStatus.md +docs/V1beta1ResourceAttributes.md +docs/V1beta1Role.md +docs/V1beta1RoleBinding.md +docs/V1beta1RoleBindingList.md +docs/V1beta1RoleList.md +docs/V1beta1RoleRef.md +docs/V1beta1RollingUpdateDaemonSet.md +docs/V1beta1RollingUpdateStatefulSetStrategy.md +docs/V1beta1RunAsUserStrategyOptions.md +docs/V1beta1SeLinuxStrategyOptions.md +docs/V1beta1SelfSubjectAccessReview.md +docs/V1beta1SelfSubjectAccessReviewSpec.md +docs/V1beta1StatefulSet.md +docs/V1beta1StatefulSetList.md +docs/V1beta1StatefulSetSpec.md +docs/V1beta1StatefulSetStatus.md +docs/V1beta1StatefulSetUpdateStrategy.md +docs/V1beta1StorageClass.md +docs/V1beta1StorageClassList.md +docs/V1beta1Subject.md +docs/V1beta1SubjectAccessReview.md +docs/V1beta1SubjectAccessReviewSpec.md +docs/V1beta1SubjectAccessReviewStatus.md +docs/V1beta1SupplementalGroupsStrategyOptions.md +docs/V1beta1ThirdPartyResource.md +docs/V1beta1ThirdPartyResourceList.md +docs/V1beta1TokenReview.md +docs/V1beta1TokenReviewSpec.md +docs/V1beta1TokenReviewStatus.md +docs/V1beta1UserInfo.md +docs/V2alpha1CronJob.md +docs/V2alpha1CronJobList.md +docs/V2alpha1CronJobSpec.md +docs/V2alpha1CronJobStatus.md +docs/V2alpha1JobTemplateSpec.md git_push.sh requirements.txt setup.py test-requirements.txt +test/test_apis_api.py +test/test_apps_api.py +test/test_apps_v1beta1_api.py +test/test_apps_v1beta1_deployment.py +test/test_apps_v1beta1_deployment_condition.py +test/test_apps_v1beta1_deployment_list.py +test/test_apps_v1beta1_deployment_rollback.py +test/test_apps_v1beta1_deployment_spec.py +test/test_apps_v1beta1_deployment_status.py +test/test_apps_v1beta1_deployment_strategy.py +test/test_apps_v1beta1_rollback_config.py +test/test_apps_v1beta1_rolling_update_deployment.py +test/test_apps_v1beta1_scale.py +test/test_apps_v1beta1_scale_spec.py +test/test_apps_v1beta1_scale_status.py +test/test_authentication_api.py +test/test_authentication_v1_api.py +test/test_authentication_v1beta1_api.py +test/test_authorization_api.py +test/test_authorization_v1_api.py +test/test_authorization_v1beta1_api.py +test/test_autoscaling_api.py +test/test_autoscaling_v1_api.py +test/test_batch_api.py +test/test_batch_v1_api.py +test/test_batch_v2alpha1_api.py +test/test_certificates_api.py +test/test_certificates_v1beta1_api.py +test/test_core_api.py +test/test_core_v1_api.py +test/test_custom_objects_api.py +test/test_extensions_api.py +test/test_extensions_v1beta1_api.py +test/test_extensions_v1beta1_deployment.py +test/test_extensions_v1beta1_deployment_condition.py +test/test_extensions_v1beta1_deployment_list.py +test/test_extensions_v1beta1_deployment_rollback.py +test/test_extensions_v1beta1_deployment_spec.py +test/test_extensions_v1beta1_deployment_status.py +test/test_extensions_v1beta1_deployment_strategy.py +test/test_extensions_v1beta1_rollback_config.py +test/test_extensions_v1beta1_rolling_update_deployment.py +test/test_extensions_v1beta1_scale.py +test/test_extensions_v1beta1_scale_spec.py +test/test_extensions_v1beta1_scale_status.py +test/test_networking_api.py +test/test_networking_v1_api.py +test/test_policy_api.py +test/test_policy_v1beta1_api.py +test/test_rbac_authorization_api.py +test/test_rbac_authorization_v1beta1_api.py +test/test_runtime_raw_extension.py +test/test_storage_api.py +test/test_storage_v1_api.py +test/test_storage_v1beta1_api.py +test/test_v1_affinity.py +test/test_v1_api_group.py +test/test_v1_api_group_list.py +test/test_v1_api_resource.py +test/test_v1_api_resource_list.py +test/test_v1_api_versions.py +test/test_v1_attached_volume.py +test/test_v1_aws_elastic_block_store_volume_source.py +test/test_v1_azure_disk_volume_source.py +test/test_v1_azure_file_volume_source.py +test/test_v1_binding.py +test/test_v1_capabilities.py +test/test_v1_ceph_fs_volume_source.py +test/test_v1_cinder_volume_source.py +test/test_v1_component_condition.py +test/test_v1_component_status.py +test/test_v1_component_status_list.py +test/test_v1_config_map.py +test/test_v1_config_map_env_source.py +test/test_v1_config_map_key_selector.py +test/test_v1_config_map_list.py +test/test_v1_config_map_projection.py +test/test_v1_config_map_volume_source.py +test/test_v1_container.py +test/test_v1_container_image.py +test/test_v1_container_port.py +test/test_v1_container_state.py +test/test_v1_container_state_running.py +test/test_v1_container_state_terminated.py +test/test_v1_container_state_waiting.py +test/test_v1_container_status.py +test/test_v1_cross_version_object_reference.py +test/test_v1_daemon_endpoint.py +test/test_v1_delete_options.py +test/test_v1_downward_api_projection.py +test/test_v1_downward_api_volume_file.py +test/test_v1_downward_api_volume_source.py +test/test_v1_empty_dir_volume_source.py +test/test_v1_endpoint_address.py +test/test_v1_endpoint_port.py +test/test_v1_endpoint_subset.py +test/test_v1_endpoints.py +test/test_v1_endpoints_list.py +test/test_v1_env_from_source.py +test/test_v1_env_var.py +test/test_v1_env_var_source.py +test/test_v1_event.py +test/test_v1_event_list.py +test/test_v1_event_source.py +test/test_v1_exec_action.py +test/test_v1_fc_volume_source.py +test/test_v1_flex_volume_source.py +test/test_v1_flocker_volume_source.py +test/test_v1_gce_persistent_disk_volume_source.py +test/test_v1_git_repo_volume_source.py +test/test_v1_glusterfs_volume_source.py +test/test_v1_group_version_for_discovery.py +test/test_v1_handler.py +test/test_v1_horizontal_pod_autoscaler.py +test/test_v1_horizontal_pod_autoscaler_list.py +test/test_v1_horizontal_pod_autoscaler_spec.py +test/test_v1_horizontal_pod_autoscaler_status.py +test/test_v1_host_alias.py +test/test_v1_host_path_volume_source.py +test/test_v1_http_get_action.py +test/test_v1_http_header.py +test/test_v1_initializer.py +test/test_v1_initializers.py +test/test_v1_iscsi_volume_source.py +test/test_v1_job.py +test/test_v1_job_condition.py +test/test_v1_job_list.py +test/test_v1_job_spec.py +test/test_v1_job_status.py +test/test_v1_key_to_path.py +test/test_v1_label_selector.py +test/test_v1_label_selector_requirement.py +test/test_v1_lifecycle.py +test/test_v1_limit_range.py +test/test_v1_limit_range_item.py +test/test_v1_limit_range_list.py +test/test_v1_limit_range_spec.py +test/test_v1_list_meta.py +test/test_v1_load_balancer_ingress.py +test/test_v1_load_balancer_status.py +test/test_v1_local_object_reference.py +test/test_v1_local_subject_access_review.py +test/test_v1_local_volume_source.py +test/test_v1_namespace.py +test/test_v1_namespace_list.py +test/test_v1_namespace_spec.py +test/test_v1_namespace_status.py +test/test_v1_network_policy.py +test/test_v1_network_policy_ingress_rule.py +test/test_v1_network_policy_list.py +test/test_v1_network_policy_peer.py +test/test_v1_network_policy_port.py +test/test_v1_network_policy_spec.py +test/test_v1_nfs_volume_source.py +test/test_v1_node.py +test/test_v1_node_address.py +test/test_v1_node_affinity.py +test/test_v1_node_condition.py +test/test_v1_node_daemon_endpoints.py +test/test_v1_node_list.py +test/test_v1_node_selector.py +test/test_v1_node_selector_requirement.py +test/test_v1_node_selector_term.py +test/test_v1_node_spec.py +test/test_v1_node_status.py +test/test_v1_node_system_info.py +test/test_v1_non_resource_attributes.py +test/test_v1_object_field_selector.py +test/test_v1_object_meta.py +test/test_v1_object_reference.py +test/test_v1_owner_reference.py +test/test_v1_persistent_volume.py +test/test_v1_persistent_volume_claim.py +test/test_v1_persistent_volume_claim_list.py +test/test_v1_persistent_volume_claim_spec.py +test/test_v1_persistent_volume_claim_status.py +test/test_v1_persistent_volume_claim_volume_source.py +test/test_v1_persistent_volume_list.py +test/test_v1_persistent_volume_spec.py +test/test_v1_persistent_volume_status.py +test/test_v1_photon_persistent_disk_volume_source.py +test/test_v1_pod.py +test/test_v1_pod_affinity.py +test/test_v1_pod_affinity_term.py +test/test_v1_pod_anti_affinity.py +test/test_v1_pod_condition.py +test/test_v1_pod_list.py +test/test_v1_pod_security_context.py +test/test_v1_pod_spec.py +test/test_v1_pod_status.py +test/test_v1_pod_template.py +test/test_v1_pod_template_list.py +test/test_v1_pod_template_spec.py +test/test_v1_portworx_volume_source.py +test/test_v1_preconditions.py +test/test_v1_preferred_scheduling_term.py +test/test_v1_probe.py +test/test_v1_projected_volume_source.py +test/test_v1_quobyte_volume_source.py +test/test_v1_rbd_volume_source.py +test/test_v1_replication_controller.py +test/test_v1_replication_controller_condition.py +test/test_v1_replication_controller_list.py +test/test_v1_replication_controller_spec.py +test/test_v1_replication_controller_status.py +test/test_v1_resource_attributes.py +test/test_v1_resource_field_selector.py +test/test_v1_resource_quota.py +test/test_v1_resource_quota_list.py +test/test_v1_resource_quota_spec.py +test/test_v1_resource_quota_status.py +test/test_v1_resource_requirements.py +test/test_v1_scale.py +test/test_v1_scale_io_volume_source.py +test/test_v1_scale_spec.py +test/test_v1_scale_status.py +test/test_v1_se_linux_options.py +test/test_v1_secret.py +test/test_v1_secret_env_source.py +test/test_v1_secret_key_selector.py +test/test_v1_secret_list.py +test/test_v1_secret_projection.py +test/test_v1_secret_volume_source.py +test/test_v1_security_context.py +test/test_v1_self_subject_access_review.py +test/test_v1_self_subject_access_review_spec.py +test/test_v1_service.py +test/test_v1_service_account.py +test/test_v1_service_account_list.py +test/test_v1_service_list.py +test/test_v1_service_port.py +test/test_v1_service_spec.py +test/test_v1_service_status.py +test/test_v1_status.py +test/test_v1_status_cause.py +test/test_v1_status_details.py +test/test_v1_storage_class.py +test/test_v1_storage_class_list.py +test/test_v1_storage_os_persistent_volume_source.py +test/test_v1_storage_os_volume_source.py +test/test_v1_subject_access_review.py +test/test_v1_subject_access_review_spec.py +test/test_v1_subject_access_review_status.py +test/test_v1_taint.py +test/test_v1_tcp_socket_action.py +test/test_v1_token_review.py +test/test_v1_token_review_spec.py +test/test_v1_token_review_status.py +test/test_v1_toleration.py +test/test_v1_user_info.py +test/test_v1_volume.py +test/test_v1_volume_mount.py +test/test_v1_volume_projection.py +test/test_v1_vsphere_virtual_disk_volume_source.py +test/test_v1_watch_event.py +test/test_v1_weighted_pod_affinity_term.py +test/test_v1beta1_api_version.py +test/test_v1beta1_certificate_signing_request.py +test/test_v1beta1_certificate_signing_request_condition.py +test/test_v1beta1_certificate_signing_request_list.py +test/test_v1beta1_certificate_signing_request_spec.py +test/test_v1beta1_certificate_signing_request_status.py +test/test_v1beta1_cluster_role.py +test/test_v1beta1_cluster_role_binding.py +test/test_v1beta1_cluster_role_binding_list.py +test/test_v1beta1_cluster_role_list.py +test/test_v1beta1_controller_revision.py +test/test_v1beta1_controller_revision_list.py +test/test_v1beta1_daemon_set.py +test/test_v1beta1_daemon_set_list.py +test/test_v1beta1_daemon_set_spec.py +test/test_v1beta1_daemon_set_status.py +test/test_v1beta1_daemon_set_update_strategy.py +test/test_v1beta1_eviction.py +test/test_v1beta1_fs_group_strategy_options.py +test/test_v1beta1_host_port_range.py +test/test_v1beta1_http_ingress_path.py +test/test_v1beta1_http_ingress_rule_value.py +test/test_v1beta1_id_range.py +test/test_v1beta1_ingress.py +test/test_v1beta1_ingress_backend.py +test/test_v1beta1_ingress_list.py +test/test_v1beta1_ingress_rule.py +test/test_v1beta1_ingress_spec.py +test/test_v1beta1_ingress_status.py +test/test_v1beta1_local_subject_access_review.py +test/test_v1beta1_network_policy.py +test/test_v1beta1_network_policy_ingress_rule.py +test/test_v1beta1_network_policy_list.py +test/test_v1beta1_network_policy_peer.py +test/test_v1beta1_network_policy_port.py +test/test_v1beta1_network_policy_spec.py +test/test_v1beta1_non_resource_attributes.py +test/test_v1beta1_pod_disruption_budget.py +test/test_v1beta1_pod_disruption_budget_list.py +test/test_v1beta1_pod_disruption_budget_spec.py +test/test_v1beta1_pod_disruption_budget_status.py +test/test_v1beta1_pod_security_policy.py +test/test_v1beta1_pod_security_policy_list.py +test/test_v1beta1_pod_security_policy_spec.py +test/test_v1beta1_policy_rule.py +test/test_v1beta1_replica_set.py +test/test_v1beta1_replica_set_condition.py +test/test_v1beta1_replica_set_list.py +test/test_v1beta1_replica_set_spec.py +test/test_v1beta1_replica_set_status.py +test/test_v1beta1_resource_attributes.py +test/test_v1beta1_role.py +test/test_v1beta1_role_binding.py +test/test_v1beta1_role_binding_list.py +test/test_v1beta1_role_list.py +test/test_v1beta1_role_ref.py +test/test_v1beta1_rolling_update_daemon_set.py +test/test_v1beta1_rolling_update_stateful_set_strategy.py +test/test_v1beta1_run_as_user_strategy_options.py +test/test_v1beta1_se_linux_strategy_options.py +test/test_v1beta1_self_subject_access_review.py +test/test_v1beta1_self_subject_access_review_spec.py +test/test_v1beta1_stateful_set.py +test/test_v1beta1_stateful_set_list.py +test/test_v1beta1_stateful_set_spec.py +test/test_v1beta1_stateful_set_status.py +test/test_v1beta1_stateful_set_update_strategy.py +test/test_v1beta1_storage_class.py +test/test_v1beta1_storage_class_list.py +test/test_v1beta1_subject.py +test/test_v1beta1_subject_access_review.py +test/test_v1beta1_subject_access_review_spec.py +test/test_v1beta1_subject_access_review_status.py +test/test_v1beta1_supplemental_groups_strategy_options.py +test/test_v1beta1_third_party_resource.py +test/test_v1beta1_third_party_resource_list.py +test/test_v1beta1_token_review.py +test/test_v1beta1_token_review_spec.py +test/test_v1beta1_token_review_status.py +test/test_v1beta1_user_info.py +test/test_v2alpha1_cron_job.py +test/test_v2alpha1_cron_job_list.py +test/test_v2alpha1_cron_job_spec.py +test/test_v2alpha1_cron_job_status.py +test/test_v2alpha1_job_template_spec.py tox.ini \ No newline at end of file diff --git a/openshift/.swagger-codegen/COMMIT b/openshift/.swagger-codegen/COMMIT new file mode 100644 index 00000000..deddd0a0 --- /dev/null +++ b/openshift/.swagger-codegen/COMMIT @@ -0,0 +1,2 @@ +Requested Commit: v2.2.2 +Actual Commit: ff209ada223dcc7f6c6afc59bb02ec96b85c7e39 diff --git a/openshift/README.md b/openshift/README.md index 93a339a7..2f791fc0 100644 --- a/openshift/README.md +++ b/openshift/README.md @@ -1,10 +1,10 @@ # openshift.client -OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. +OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. This Python package is automatically generated by the [Swagger Codegen](https://github.com/swagger-api/swagger-codegen) project: -- API version: v3.6.0-alpha.0 -- Package version: 1.0.0-snapshot +- API version: latest +- Package version: 0.3.0 - Build package: io.swagger.codegen.languages.PythonClientCodegen ## Requirements. @@ -50,6 +50,15 @@ import time import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint + +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' # create an instance of the API class api_instance = openshift.client.ApisApi() @@ -68,133 +77,131 @@ All URIs are relative to *https://localhost* Class | Method | HTTP request | Description ------------ | ------------- | ------------- | ------------- *ApisApi* | [**get_api_versions**](docs/ApisApi.md#get_api_versions) | **GET** /apis/ | -*AppsApi* | [**get_apps_api_group**](docs/AppsApi.md#get_apps_api_group) | **GET** /apis/apps/ | -*AppsOpenshiftIoApi* | [**get_apps_openshift_io_api_group**](docs/AppsOpenshiftIoApi.md#get_apps_openshift_io_api_group) | **GET** /apis/apps.openshift.io/ | -*AppsOpenshiftIoV1Api* | [**create_apps_openshift_io_v1_deployment_config_for_all_namespaces**](docs/AppsOpenshiftIoV1Api.md#create_apps_openshift_io_v1_deployment_config_for_all_namespaces) | **POST** /apis/apps.openshift.io/v1/deploymentconfigs | -*AppsOpenshiftIoV1Api* | [**create_apps_openshift_io_v1_namespaced_deployment_config**](docs/AppsOpenshiftIoV1Api.md#create_apps_openshift_io_v1_namespaced_deployment_config) | **POST** /apis/apps.openshift.io/v1/namespaces/{namespace}/deploymentconfigs | -*AppsOpenshiftIoV1Api* | [**create_apps_openshift_io_v1_namespaced_deployment_config_rollback_rollback**](docs/AppsOpenshiftIoV1Api.md#create_apps_openshift_io_v1_namespaced_deployment_config_rollback_rollback) | **POST** /apis/apps.openshift.io/v1/namespaces/{namespace}/deploymentconfigs/{name}/rollback | -*AppsOpenshiftIoV1Api* | [**create_apps_openshift_io_v1_namespaced_deployment_request_instantiate**](docs/AppsOpenshiftIoV1Api.md#create_apps_openshift_io_v1_namespaced_deployment_request_instantiate) | **POST** /apis/apps.openshift.io/v1/namespaces/{namespace}/deploymentconfigs/{name}/instantiate | -*AppsOpenshiftIoV1Api* | [**delete_apps_openshift_io_v1_collection_namespaced_deployment_config**](docs/AppsOpenshiftIoV1Api.md#delete_apps_openshift_io_v1_collection_namespaced_deployment_config) | **DELETE** /apis/apps.openshift.io/v1/namespaces/{namespace}/deploymentconfigs | -*AppsOpenshiftIoV1Api* | [**delete_apps_openshift_io_v1_namespaced_deployment_config**](docs/AppsOpenshiftIoV1Api.md#delete_apps_openshift_io_v1_namespaced_deployment_config) | **DELETE** /apis/apps.openshift.io/v1/namespaces/{namespace}/deploymentconfigs/{name} | -*AppsOpenshiftIoV1Api* | [**get_apps_openshift_io_v1_api_resources**](docs/AppsOpenshiftIoV1Api.md#get_apps_openshift_io_v1_api_resources) | **GET** /apis/apps.openshift.io/v1/ | -*AppsOpenshiftIoV1Api* | [**list_apps_openshift_io_v1_deployment_config_for_all_namespaces**](docs/AppsOpenshiftIoV1Api.md#list_apps_openshift_io_v1_deployment_config_for_all_namespaces) | **GET** /apis/apps.openshift.io/v1/deploymentconfigs | -*AppsOpenshiftIoV1Api* | [**list_apps_openshift_io_v1_namespaced_deployment_config**](docs/AppsOpenshiftIoV1Api.md#list_apps_openshift_io_v1_namespaced_deployment_config) | **GET** /apis/apps.openshift.io/v1/namespaces/{namespace}/deploymentconfigs | -*AppsOpenshiftIoV1Api* | [**patch_apps_openshift_io_v1_namespaced_deployment_config**](docs/AppsOpenshiftIoV1Api.md#patch_apps_openshift_io_v1_namespaced_deployment_config) | **PATCH** /apis/apps.openshift.io/v1/namespaces/{namespace}/deploymentconfigs/{name} | -*AppsOpenshiftIoV1Api* | [**patch_apps_openshift_io_v1_namespaced_deployment_config_status**](docs/AppsOpenshiftIoV1Api.md#patch_apps_openshift_io_v1_namespaced_deployment_config_status) | **PATCH** /apis/apps.openshift.io/v1/namespaces/{namespace}/deploymentconfigs/{name}/status | -*AppsOpenshiftIoV1Api* | [**patch_apps_openshift_io_v1_namespaced_scale_scale**](docs/AppsOpenshiftIoV1Api.md#patch_apps_openshift_io_v1_namespaced_scale_scale) | **PATCH** /apis/apps.openshift.io/v1/namespaces/{namespace}/deploymentconfigs/{name}/scale | -*AppsOpenshiftIoV1Api* | [**read_apps_openshift_io_v1_namespaced_deployment_config**](docs/AppsOpenshiftIoV1Api.md#read_apps_openshift_io_v1_namespaced_deployment_config) | **GET** /apis/apps.openshift.io/v1/namespaces/{namespace}/deploymentconfigs/{name} | -*AppsOpenshiftIoV1Api* | [**read_apps_openshift_io_v1_namespaced_deployment_config_status**](docs/AppsOpenshiftIoV1Api.md#read_apps_openshift_io_v1_namespaced_deployment_config_status) | **GET** /apis/apps.openshift.io/v1/namespaces/{namespace}/deploymentconfigs/{name}/status | -*AppsOpenshiftIoV1Api* | [**read_apps_openshift_io_v1_namespaced_deployment_log_log**](docs/AppsOpenshiftIoV1Api.md#read_apps_openshift_io_v1_namespaced_deployment_log_log) | **GET** /apis/apps.openshift.io/v1/namespaces/{namespace}/deploymentconfigs/{name}/log | -*AppsOpenshiftIoV1Api* | [**read_apps_openshift_io_v1_namespaced_scale_scale**](docs/AppsOpenshiftIoV1Api.md#read_apps_openshift_io_v1_namespaced_scale_scale) | **GET** /apis/apps.openshift.io/v1/namespaces/{namespace}/deploymentconfigs/{name}/scale | -*AppsOpenshiftIoV1Api* | [**replace_apps_openshift_io_v1_namespaced_deployment_config**](docs/AppsOpenshiftIoV1Api.md#replace_apps_openshift_io_v1_namespaced_deployment_config) | **PUT** /apis/apps.openshift.io/v1/namespaces/{namespace}/deploymentconfigs/{name} | -*AppsOpenshiftIoV1Api* | [**replace_apps_openshift_io_v1_namespaced_deployment_config_status**](docs/AppsOpenshiftIoV1Api.md#replace_apps_openshift_io_v1_namespaced_deployment_config_status) | **PUT** /apis/apps.openshift.io/v1/namespaces/{namespace}/deploymentconfigs/{name}/status | -*AppsOpenshiftIoV1Api* | [**replace_apps_openshift_io_v1_namespaced_scale_scale**](docs/AppsOpenshiftIoV1Api.md#replace_apps_openshift_io_v1_namespaced_scale_scale) | **PUT** /apis/apps.openshift.io/v1/namespaces/{namespace}/deploymentconfigs/{name}/scale | +*AppsApi* | [**get_api_group**](docs/AppsApi.md#get_api_group) | **GET** /apis/apps/ | +*AppsOpenshiftIoApi* | [**get_api_group**](docs/AppsOpenshiftIoApi.md#get_api_group) | **GET** /apis/apps.openshift.io/ | +*AppsOpenshiftIoV1Api* | [**create_deployment_config_for_all_namespaces**](docs/AppsOpenshiftIoV1Api.md#create_deployment_config_for_all_namespaces) | **POST** /apis/apps.openshift.io/v1/deploymentconfigs | +*AppsOpenshiftIoV1Api* | [**create_namespaced_deployment_config**](docs/AppsOpenshiftIoV1Api.md#create_namespaced_deployment_config) | **POST** /apis/apps.openshift.io/v1/namespaces/{namespace}/deploymentconfigs | +*AppsOpenshiftIoV1Api* | [**create_namespaced_deployment_config_rollback_rollback**](docs/AppsOpenshiftIoV1Api.md#create_namespaced_deployment_config_rollback_rollback) | **POST** /apis/apps.openshift.io/v1/namespaces/{namespace}/deploymentconfigs/{name}/rollback | +*AppsOpenshiftIoV1Api* | [**create_namespaced_deployment_request_instantiate**](docs/AppsOpenshiftIoV1Api.md#create_namespaced_deployment_request_instantiate) | **POST** /apis/apps.openshift.io/v1/namespaces/{namespace}/deploymentconfigs/{name}/instantiate | +*AppsOpenshiftIoV1Api* | [**delete_collection_namespaced_deployment_config**](docs/AppsOpenshiftIoV1Api.md#delete_collection_namespaced_deployment_config) | **DELETE** /apis/apps.openshift.io/v1/namespaces/{namespace}/deploymentconfigs | +*AppsOpenshiftIoV1Api* | [**delete_namespaced_deployment_config**](docs/AppsOpenshiftIoV1Api.md#delete_namespaced_deployment_config) | **DELETE** /apis/apps.openshift.io/v1/namespaces/{namespace}/deploymentconfigs/{name} | +*AppsOpenshiftIoV1Api* | [**get_api_resources**](docs/AppsOpenshiftIoV1Api.md#get_api_resources) | **GET** /apis/apps.openshift.io/v1/ | +*AppsOpenshiftIoV1Api* | [**list_deployment_config_for_all_namespaces**](docs/AppsOpenshiftIoV1Api.md#list_deployment_config_for_all_namespaces) | **GET** /apis/apps.openshift.io/v1/deploymentconfigs | +*AppsOpenshiftIoV1Api* | [**list_namespaced_deployment_config**](docs/AppsOpenshiftIoV1Api.md#list_namespaced_deployment_config) | **GET** /apis/apps.openshift.io/v1/namespaces/{namespace}/deploymentconfigs | +*AppsOpenshiftIoV1Api* | [**patch_namespaced_deployment_config**](docs/AppsOpenshiftIoV1Api.md#patch_namespaced_deployment_config) | **PATCH** /apis/apps.openshift.io/v1/namespaces/{namespace}/deploymentconfigs/{name} | +*AppsOpenshiftIoV1Api* | [**patch_namespaced_deployment_config_status**](docs/AppsOpenshiftIoV1Api.md#patch_namespaced_deployment_config_status) | **PATCH** /apis/apps.openshift.io/v1/namespaces/{namespace}/deploymentconfigs/{name}/status | +*AppsOpenshiftIoV1Api* | [**patch_namespaced_scale_scale**](docs/AppsOpenshiftIoV1Api.md#patch_namespaced_scale_scale) | **PATCH** /apis/apps.openshift.io/v1/namespaces/{namespace}/deploymentconfigs/{name}/scale | +*AppsOpenshiftIoV1Api* | [**read_namespaced_deployment_config**](docs/AppsOpenshiftIoV1Api.md#read_namespaced_deployment_config) | **GET** /apis/apps.openshift.io/v1/namespaces/{namespace}/deploymentconfigs/{name} | +*AppsOpenshiftIoV1Api* | [**read_namespaced_deployment_config_status**](docs/AppsOpenshiftIoV1Api.md#read_namespaced_deployment_config_status) | **GET** /apis/apps.openshift.io/v1/namespaces/{namespace}/deploymentconfigs/{name}/status | +*AppsOpenshiftIoV1Api* | [**read_namespaced_deployment_log_log**](docs/AppsOpenshiftIoV1Api.md#read_namespaced_deployment_log_log) | **GET** /apis/apps.openshift.io/v1/namespaces/{namespace}/deploymentconfigs/{name}/log | +*AppsOpenshiftIoV1Api* | [**read_namespaced_scale_scale**](docs/AppsOpenshiftIoV1Api.md#read_namespaced_scale_scale) | **GET** /apis/apps.openshift.io/v1/namespaces/{namespace}/deploymentconfigs/{name}/scale | +*AppsOpenshiftIoV1Api* | [**replace_namespaced_deployment_config**](docs/AppsOpenshiftIoV1Api.md#replace_namespaced_deployment_config) | **PUT** /apis/apps.openshift.io/v1/namespaces/{namespace}/deploymentconfigs/{name} | +*AppsOpenshiftIoV1Api* | [**replace_namespaced_deployment_config_status**](docs/AppsOpenshiftIoV1Api.md#replace_namespaced_deployment_config_status) | **PUT** /apis/apps.openshift.io/v1/namespaces/{namespace}/deploymentconfigs/{name}/status | +*AppsOpenshiftIoV1Api* | [**replace_namespaced_scale_scale**](docs/AppsOpenshiftIoV1Api.md#replace_namespaced_scale_scale) | **PUT** /apis/apps.openshift.io/v1/namespaces/{namespace}/deploymentconfigs/{name}/scale | +*AppsV1beta1Api* | [**create_controller_revision_for_all_namespaces**](docs/AppsV1beta1Api.md#create_controller_revision_for_all_namespaces) | **POST** /apis/apps/v1beta1/controllerrevisions | +*AppsV1beta1Api* | [**create_deployment_for_all_namespaces**](docs/AppsV1beta1Api.md#create_deployment_for_all_namespaces) | **POST** /apis/apps/v1beta1/deployments | +*AppsV1beta1Api* | [**create_namespaced_controller_revision**](docs/AppsV1beta1Api.md#create_namespaced_controller_revision) | **POST** /apis/apps/v1beta1/namespaces/{namespace}/controllerrevisions | +*AppsV1beta1Api* | [**create_namespaced_deployment**](docs/AppsV1beta1Api.md#create_namespaced_deployment) | **POST** /apis/apps/v1beta1/namespaces/{namespace}/deployments | +*AppsV1beta1Api* | [**create_namespaced_deployment_rollback_rollback**](docs/AppsV1beta1Api.md#create_namespaced_deployment_rollback_rollback) | **POST** /apis/apps/v1beta1/namespaces/{namespace}/deployments/{name}/rollback | *AppsV1beta1Api* | [**create_namespaced_stateful_set**](docs/AppsV1beta1Api.md#create_namespaced_stateful_set) | **POST** /apis/apps/v1beta1/namespaces/{namespace}/statefulsets | *AppsV1beta1Api* | [**create_stateful_set_for_all_namespaces**](docs/AppsV1beta1Api.md#create_stateful_set_for_all_namespaces) | **POST** /apis/apps/v1beta1/statefulsets | +*AppsV1beta1Api* | [**delete_collection_namespaced_controller_revision**](docs/AppsV1beta1Api.md#delete_collection_namespaced_controller_revision) | **DELETE** /apis/apps/v1beta1/namespaces/{namespace}/controllerrevisions | +*AppsV1beta1Api* | [**delete_collection_namespaced_deployment**](docs/AppsV1beta1Api.md#delete_collection_namespaced_deployment) | **DELETE** /apis/apps/v1beta1/namespaces/{namespace}/deployments | *AppsV1beta1Api* | [**delete_collection_namespaced_stateful_set**](docs/AppsV1beta1Api.md#delete_collection_namespaced_stateful_set) | **DELETE** /apis/apps/v1beta1/namespaces/{namespace}/statefulsets | +*AppsV1beta1Api* | [**delete_namespaced_controller_revision**](docs/AppsV1beta1Api.md#delete_namespaced_controller_revision) | **DELETE** /apis/apps/v1beta1/namespaces/{namespace}/controllerrevisions/{name} | +*AppsV1beta1Api* | [**delete_namespaced_deployment**](docs/AppsV1beta1Api.md#delete_namespaced_deployment) | **DELETE** /apis/apps/v1beta1/namespaces/{namespace}/deployments/{name} | *AppsV1beta1Api* | [**delete_namespaced_stateful_set**](docs/AppsV1beta1Api.md#delete_namespaced_stateful_set) | **DELETE** /apis/apps/v1beta1/namespaces/{namespace}/statefulsets/{name} | *AppsV1beta1Api* | [**get_api_resources**](docs/AppsV1beta1Api.md#get_api_resources) | **GET** /apis/apps/v1beta1/ | +*AppsV1beta1Api* | [**list_controller_revision_for_all_namespaces**](docs/AppsV1beta1Api.md#list_controller_revision_for_all_namespaces) | **GET** /apis/apps/v1beta1/controllerrevisions | +*AppsV1beta1Api* | [**list_deployment_for_all_namespaces**](docs/AppsV1beta1Api.md#list_deployment_for_all_namespaces) | **GET** /apis/apps/v1beta1/deployments | +*AppsV1beta1Api* | [**list_namespaced_controller_revision**](docs/AppsV1beta1Api.md#list_namespaced_controller_revision) | **GET** /apis/apps/v1beta1/namespaces/{namespace}/controllerrevisions | +*AppsV1beta1Api* | [**list_namespaced_deployment**](docs/AppsV1beta1Api.md#list_namespaced_deployment) | **GET** /apis/apps/v1beta1/namespaces/{namespace}/deployments | *AppsV1beta1Api* | [**list_namespaced_stateful_set**](docs/AppsV1beta1Api.md#list_namespaced_stateful_set) | **GET** /apis/apps/v1beta1/namespaces/{namespace}/statefulsets | *AppsV1beta1Api* | [**list_stateful_set_for_all_namespaces**](docs/AppsV1beta1Api.md#list_stateful_set_for_all_namespaces) | **GET** /apis/apps/v1beta1/statefulsets | +*AppsV1beta1Api* | [**patch_namespaced_controller_revision**](docs/AppsV1beta1Api.md#patch_namespaced_controller_revision) | **PATCH** /apis/apps/v1beta1/namespaces/{namespace}/controllerrevisions/{name} | +*AppsV1beta1Api* | [**patch_namespaced_deployment**](docs/AppsV1beta1Api.md#patch_namespaced_deployment) | **PATCH** /apis/apps/v1beta1/namespaces/{namespace}/deployments/{name} | +*AppsV1beta1Api* | [**patch_namespaced_deployment_status**](docs/AppsV1beta1Api.md#patch_namespaced_deployment_status) | **PATCH** /apis/apps/v1beta1/namespaces/{namespace}/deployments/{name}/status | +*AppsV1beta1Api* | [**patch_namespaced_scale_scale**](docs/AppsV1beta1Api.md#patch_namespaced_scale_scale) | **PATCH** /apis/apps/v1beta1/namespaces/{namespace}/deployments/{name}/scale | *AppsV1beta1Api* | [**patch_namespaced_stateful_set**](docs/AppsV1beta1Api.md#patch_namespaced_stateful_set) | **PATCH** /apis/apps/v1beta1/namespaces/{namespace}/statefulsets/{name} | *AppsV1beta1Api* | [**patch_namespaced_stateful_set_status**](docs/AppsV1beta1Api.md#patch_namespaced_stateful_set_status) | **PATCH** /apis/apps/v1beta1/namespaces/{namespace}/statefulsets/{name}/status | +*AppsV1beta1Api* | [**read_namespaced_controller_revision**](docs/AppsV1beta1Api.md#read_namespaced_controller_revision) | **GET** /apis/apps/v1beta1/namespaces/{namespace}/controllerrevisions/{name} | +*AppsV1beta1Api* | [**read_namespaced_deployment**](docs/AppsV1beta1Api.md#read_namespaced_deployment) | **GET** /apis/apps/v1beta1/namespaces/{namespace}/deployments/{name} | +*AppsV1beta1Api* | [**read_namespaced_deployment_status**](docs/AppsV1beta1Api.md#read_namespaced_deployment_status) | **GET** /apis/apps/v1beta1/namespaces/{namespace}/deployments/{name}/status | +*AppsV1beta1Api* | [**read_namespaced_scale_scale**](docs/AppsV1beta1Api.md#read_namespaced_scale_scale) | **GET** /apis/apps/v1beta1/namespaces/{namespace}/deployments/{name}/scale | *AppsV1beta1Api* | [**read_namespaced_stateful_set**](docs/AppsV1beta1Api.md#read_namespaced_stateful_set) | **GET** /apis/apps/v1beta1/namespaces/{namespace}/statefulsets/{name} | *AppsV1beta1Api* | [**read_namespaced_stateful_set_status**](docs/AppsV1beta1Api.md#read_namespaced_stateful_set_status) | **GET** /apis/apps/v1beta1/namespaces/{namespace}/statefulsets/{name}/status | +*AppsV1beta1Api* | [**replace_namespaced_controller_revision**](docs/AppsV1beta1Api.md#replace_namespaced_controller_revision) | **PUT** /apis/apps/v1beta1/namespaces/{namespace}/controllerrevisions/{name} | +*AppsV1beta1Api* | [**replace_namespaced_deployment**](docs/AppsV1beta1Api.md#replace_namespaced_deployment) | **PUT** /apis/apps/v1beta1/namespaces/{namespace}/deployments/{name} | +*AppsV1beta1Api* | [**replace_namespaced_deployment_status**](docs/AppsV1beta1Api.md#replace_namespaced_deployment_status) | **PUT** /apis/apps/v1beta1/namespaces/{namespace}/deployments/{name}/status | +*AppsV1beta1Api* | [**replace_namespaced_scale_scale**](docs/AppsV1beta1Api.md#replace_namespaced_scale_scale) | **PUT** /apis/apps/v1beta1/namespaces/{namespace}/deployments/{name}/scale | *AppsV1beta1Api* | [**replace_namespaced_stateful_set**](docs/AppsV1beta1Api.md#replace_namespaced_stateful_set) | **PUT** /apis/apps/v1beta1/namespaces/{namespace}/statefulsets/{name} | *AppsV1beta1Api* | [**replace_namespaced_stateful_set_status**](docs/AppsV1beta1Api.md#replace_namespaced_stateful_set_status) | **PUT** /apis/apps/v1beta1/namespaces/{namespace}/statefulsets/{name}/status | -*AuthenticationApi* | [**get_authentication_api_group**](docs/AuthenticationApi.md#get_authentication_api_group) | **GET** /apis/authentication.k8s.io/ | +*AuthenticationApi* | [**get_api_group**](docs/AuthenticationApi.md#get_api_group) | **GET** /apis/authentication.k8s.io/ | +*AuthenticationV1Api* | [**create_token_review**](docs/AuthenticationV1Api.md#create_token_review) | **POST** /apis/authentication.k8s.io/v1/tokenreviews | +*AuthenticationV1Api* | [**get_api_resources**](docs/AuthenticationV1Api.md#get_api_resources) | **GET** /apis/authentication.k8s.io/v1/ | *AuthenticationV1beta1Api* | [**create_token_review**](docs/AuthenticationV1beta1Api.md#create_token_review) | **POST** /apis/authentication.k8s.io/v1beta1/tokenreviews | *AuthenticationV1beta1Api* | [**get_api_resources**](docs/AuthenticationV1beta1Api.md#get_api_resources) | **GET** /apis/authentication.k8s.io/v1beta1/ | -*AuthorizationApi* | [**get_authorization_api_group**](docs/AuthorizationApi.md#get_authorization_api_group) | **GET** /apis/authorization.k8s.io/ | -*AuthorizationOpenshiftIoApi* | [**get_authorization_openshift_io_api_group**](docs/AuthorizationOpenshiftIoApi.md#get_authorization_openshift_io_api_group) | **GET** /apis/authorization.openshift.io/ | -*AuthorizationOpenshiftIoV1Api* | [**create_authorization_openshift_io_v1_cluster_policy**](docs/AuthorizationOpenshiftIoV1Api.md#create_authorization_openshift_io_v1_cluster_policy) | **POST** /apis/authorization.openshift.io/v1/clusterpolicies | -*AuthorizationOpenshiftIoV1Api* | [**create_authorization_openshift_io_v1_cluster_policy_binding**](docs/AuthorizationOpenshiftIoV1Api.md#create_authorization_openshift_io_v1_cluster_policy_binding) | **POST** /apis/authorization.openshift.io/v1/clusterpolicybindings | -*AuthorizationOpenshiftIoV1Api* | [**create_authorization_openshift_io_v1_cluster_role**](docs/AuthorizationOpenshiftIoV1Api.md#create_authorization_openshift_io_v1_cluster_role) | **POST** /apis/authorization.openshift.io/v1/clusterroles | -*AuthorizationOpenshiftIoV1Api* | [**create_authorization_openshift_io_v1_cluster_role_binding**](docs/AuthorizationOpenshiftIoV1Api.md#create_authorization_openshift_io_v1_cluster_role_binding) | **POST** /apis/authorization.openshift.io/v1/clusterrolebindings | -*AuthorizationOpenshiftIoV1Api* | [**create_authorization_openshift_io_v1_local_resource_access_review_for_all_namespaces**](docs/AuthorizationOpenshiftIoV1Api.md#create_authorization_openshift_io_v1_local_resource_access_review_for_all_namespaces) | **POST** /apis/authorization.openshift.io/v1/localresourceaccessreviews | -*AuthorizationOpenshiftIoV1Api* | [**create_authorization_openshift_io_v1_local_subject_access_review_for_all_namespaces**](docs/AuthorizationOpenshiftIoV1Api.md#create_authorization_openshift_io_v1_local_subject_access_review_for_all_namespaces) | **POST** /apis/authorization.openshift.io/v1/localsubjectaccessreviews | -*AuthorizationOpenshiftIoV1Api* | [**create_authorization_openshift_io_v1_namespaced_local_resource_access_review**](docs/AuthorizationOpenshiftIoV1Api.md#create_authorization_openshift_io_v1_namespaced_local_resource_access_review) | **POST** /apis/authorization.openshift.io/v1/namespaces/{namespace}/localresourceaccessreviews | -*AuthorizationOpenshiftIoV1Api* | [**create_authorization_openshift_io_v1_namespaced_local_subject_access_review**](docs/AuthorizationOpenshiftIoV1Api.md#create_authorization_openshift_io_v1_namespaced_local_subject_access_review) | **POST** /apis/authorization.openshift.io/v1/namespaces/{namespace}/localsubjectaccessreviews | -*AuthorizationOpenshiftIoV1Api* | [**create_authorization_openshift_io_v1_namespaced_policy**](docs/AuthorizationOpenshiftIoV1Api.md#create_authorization_openshift_io_v1_namespaced_policy) | **POST** /apis/authorization.openshift.io/v1/namespaces/{namespace}/policies | -*AuthorizationOpenshiftIoV1Api* | [**create_authorization_openshift_io_v1_namespaced_policy_binding**](docs/AuthorizationOpenshiftIoV1Api.md#create_authorization_openshift_io_v1_namespaced_policy_binding) | **POST** /apis/authorization.openshift.io/v1/namespaces/{namespace}/policybindings | -*AuthorizationOpenshiftIoV1Api* | [**create_authorization_openshift_io_v1_namespaced_resource_access_review**](docs/AuthorizationOpenshiftIoV1Api.md#create_authorization_openshift_io_v1_namespaced_resource_access_review) | **POST** /apis/authorization.openshift.io/v1/namespaces/{namespace}/resourceaccessreviews | -*AuthorizationOpenshiftIoV1Api* | [**create_authorization_openshift_io_v1_namespaced_role**](docs/AuthorizationOpenshiftIoV1Api.md#create_authorization_openshift_io_v1_namespaced_role) | **POST** /apis/authorization.openshift.io/v1/namespaces/{namespace}/roles | -*AuthorizationOpenshiftIoV1Api* | [**create_authorization_openshift_io_v1_namespaced_role_binding**](docs/AuthorizationOpenshiftIoV1Api.md#create_authorization_openshift_io_v1_namespaced_role_binding) | **POST** /apis/authorization.openshift.io/v1/namespaces/{namespace}/rolebindings | -*AuthorizationOpenshiftIoV1Api* | [**create_authorization_openshift_io_v1_namespaced_role_binding_restriction**](docs/AuthorizationOpenshiftIoV1Api.md#create_authorization_openshift_io_v1_namespaced_role_binding_restriction) | **POST** /apis/authorization.openshift.io/v1/namespaces/{namespace}/rolebindingrestrictions | -*AuthorizationOpenshiftIoV1Api* | [**create_authorization_openshift_io_v1_namespaced_self_subject_rules_review**](docs/AuthorizationOpenshiftIoV1Api.md#create_authorization_openshift_io_v1_namespaced_self_subject_rules_review) | **POST** /apis/authorization.openshift.io/v1/namespaces/{namespace}/selfsubjectrulesreviews | -*AuthorizationOpenshiftIoV1Api* | [**create_authorization_openshift_io_v1_namespaced_subject_access_review**](docs/AuthorizationOpenshiftIoV1Api.md#create_authorization_openshift_io_v1_namespaced_subject_access_review) | **POST** /apis/authorization.openshift.io/v1/namespaces/{namespace}/subjectaccessreviews | -*AuthorizationOpenshiftIoV1Api* | [**create_authorization_openshift_io_v1_namespaced_subject_rules_review**](docs/AuthorizationOpenshiftIoV1Api.md#create_authorization_openshift_io_v1_namespaced_subject_rules_review) | **POST** /apis/authorization.openshift.io/v1/namespaces/{namespace}/subjectrulesreviews | -*AuthorizationOpenshiftIoV1Api* | [**create_authorization_openshift_io_v1_policy_binding_for_all_namespaces**](docs/AuthorizationOpenshiftIoV1Api.md#create_authorization_openshift_io_v1_policy_binding_for_all_namespaces) | **POST** /apis/authorization.openshift.io/v1/policybindings | -*AuthorizationOpenshiftIoV1Api* | [**create_authorization_openshift_io_v1_policy_for_all_namespaces**](docs/AuthorizationOpenshiftIoV1Api.md#create_authorization_openshift_io_v1_policy_for_all_namespaces) | **POST** /apis/authorization.openshift.io/v1/policies | -*AuthorizationOpenshiftIoV1Api* | [**create_authorization_openshift_io_v1_resource_access_review_for_all_namespaces**](docs/AuthorizationOpenshiftIoV1Api.md#create_authorization_openshift_io_v1_resource_access_review_for_all_namespaces) | **POST** /apis/authorization.openshift.io/v1/resourceaccessreviews | -*AuthorizationOpenshiftIoV1Api* | [**create_authorization_openshift_io_v1_role_binding_for_all_namespaces**](docs/AuthorizationOpenshiftIoV1Api.md#create_authorization_openshift_io_v1_role_binding_for_all_namespaces) | **POST** /apis/authorization.openshift.io/v1/rolebindings | -*AuthorizationOpenshiftIoV1Api* | [**create_authorization_openshift_io_v1_role_binding_restriction_for_all_namespaces**](docs/AuthorizationOpenshiftIoV1Api.md#create_authorization_openshift_io_v1_role_binding_restriction_for_all_namespaces) | **POST** /apis/authorization.openshift.io/v1/rolebindingrestrictions | -*AuthorizationOpenshiftIoV1Api* | [**create_authorization_openshift_io_v1_role_for_all_namespaces**](docs/AuthorizationOpenshiftIoV1Api.md#create_authorization_openshift_io_v1_role_for_all_namespaces) | **POST** /apis/authorization.openshift.io/v1/roles | -*AuthorizationOpenshiftIoV1Api* | [**create_authorization_openshift_io_v1_self_subject_rules_review_for_all_namespaces**](docs/AuthorizationOpenshiftIoV1Api.md#create_authorization_openshift_io_v1_self_subject_rules_review_for_all_namespaces) | **POST** /apis/authorization.openshift.io/v1/selfsubjectrulesreviews | -*AuthorizationOpenshiftIoV1Api* | [**create_authorization_openshift_io_v1_subject_access_review_for_all_namespaces**](docs/AuthorizationOpenshiftIoV1Api.md#create_authorization_openshift_io_v1_subject_access_review_for_all_namespaces) | **POST** /apis/authorization.openshift.io/v1/subjectaccessreviews | -*AuthorizationOpenshiftIoV1Api* | [**create_authorization_openshift_io_v1_subject_rules_review_for_all_namespaces**](docs/AuthorizationOpenshiftIoV1Api.md#create_authorization_openshift_io_v1_subject_rules_review_for_all_namespaces) | **POST** /apis/authorization.openshift.io/v1/subjectrulesreviews | -*AuthorizationOpenshiftIoV1Api* | [**delete_authorization_openshift_io_v1_cluster_policy**](docs/AuthorizationOpenshiftIoV1Api.md#delete_authorization_openshift_io_v1_cluster_policy) | **DELETE** /apis/authorization.openshift.io/v1/clusterpolicies/{name} | -*AuthorizationOpenshiftIoV1Api* | [**delete_authorization_openshift_io_v1_cluster_policy_binding**](docs/AuthorizationOpenshiftIoV1Api.md#delete_authorization_openshift_io_v1_cluster_policy_binding) | **DELETE** /apis/authorization.openshift.io/v1/clusterpolicybindings/{name} | -*AuthorizationOpenshiftIoV1Api* | [**delete_authorization_openshift_io_v1_cluster_role**](docs/AuthorizationOpenshiftIoV1Api.md#delete_authorization_openshift_io_v1_cluster_role) | **DELETE** /apis/authorization.openshift.io/v1/clusterroles/{name} | -*AuthorizationOpenshiftIoV1Api* | [**delete_authorization_openshift_io_v1_cluster_role_binding**](docs/AuthorizationOpenshiftIoV1Api.md#delete_authorization_openshift_io_v1_cluster_role_binding) | **DELETE** /apis/authorization.openshift.io/v1/clusterrolebindings/{name} | -*AuthorizationOpenshiftIoV1Api* | [**delete_authorization_openshift_io_v1_collection_cluster_policy**](docs/AuthorizationOpenshiftIoV1Api.md#delete_authorization_openshift_io_v1_collection_cluster_policy) | **DELETE** /apis/authorization.openshift.io/v1/clusterpolicies | -*AuthorizationOpenshiftIoV1Api* | [**delete_authorization_openshift_io_v1_collection_cluster_policy_binding**](docs/AuthorizationOpenshiftIoV1Api.md#delete_authorization_openshift_io_v1_collection_cluster_policy_binding) | **DELETE** /apis/authorization.openshift.io/v1/clusterpolicybindings | -*AuthorizationOpenshiftIoV1Api* | [**delete_authorization_openshift_io_v1_collection_namespaced_policy**](docs/AuthorizationOpenshiftIoV1Api.md#delete_authorization_openshift_io_v1_collection_namespaced_policy) | **DELETE** /apis/authorization.openshift.io/v1/namespaces/{namespace}/policies | -*AuthorizationOpenshiftIoV1Api* | [**delete_authorization_openshift_io_v1_collection_namespaced_policy_binding**](docs/AuthorizationOpenshiftIoV1Api.md#delete_authorization_openshift_io_v1_collection_namespaced_policy_binding) | **DELETE** /apis/authorization.openshift.io/v1/namespaces/{namespace}/policybindings | -*AuthorizationOpenshiftIoV1Api* | [**delete_authorization_openshift_io_v1_collection_namespaced_role_binding_restriction**](docs/AuthorizationOpenshiftIoV1Api.md#delete_authorization_openshift_io_v1_collection_namespaced_role_binding_restriction) | **DELETE** /apis/authorization.openshift.io/v1/namespaces/{namespace}/rolebindingrestrictions | -*AuthorizationOpenshiftIoV1Api* | [**delete_authorization_openshift_io_v1_namespaced_policy**](docs/AuthorizationOpenshiftIoV1Api.md#delete_authorization_openshift_io_v1_namespaced_policy) | **DELETE** /apis/authorization.openshift.io/v1/namespaces/{namespace}/policies/{name} | -*AuthorizationOpenshiftIoV1Api* | [**delete_authorization_openshift_io_v1_namespaced_policy_binding**](docs/AuthorizationOpenshiftIoV1Api.md#delete_authorization_openshift_io_v1_namespaced_policy_binding) | **DELETE** /apis/authorization.openshift.io/v1/namespaces/{namespace}/policybindings/{name} | -*AuthorizationOpenshiftIoV1Api* | [**delete_authorization_openshift_io_v1_namespaced_role**](docs/AuthorizationOpenshiftIoV1Api.md#delete_authorization_openshift_io_v1_namespaced_role) | **DELETE** /apis/authorization.openshift.io/v1/namespaces/{namespace}/roles/{name} | -*AuthorizationOpenshiftIoV1Api* | [**delete_authorization_openshift_io_v1_namespaced_role_binding**](docs/AuthorizationOpenshiftIoV1Api.md#delete_authorization_openshift_io_v1_namespaced_role_binding) | **DELETE** /apis/authorization.openshift.io/v1/namespaces/{namespace}/rolebindings/{name} | -*AuthorizationOpenshiftIoV1Api* | [**delete_authorization_openshift_io_v1_namespaced_role_binding_restriction**](docs/AuthorizationOpenshiftIoV1Api.md#delete_authorization_openshift_io_v1_namespaced_role_binding_restriction) | **DELETE** /apis/authorization.openshift.io/v1/namespaces/{namespace}/rolebindingrestrictions/{name} | -*AuthorizationOpenshiftIoV1Api* | [**get_authorization_openshift_io_v1_api_resources**](docs/AuthorizationOpenshiftIoV1Api.md#get_authorization_openshift_io_v1_api_resources) | **GET** /apis/authorization.openshift.io/v1/ | -*AuthorizationOpenshiftIoV1Api* | [**list_authorization_openshift_io_v1_cluster_policy**](docs/AuthorizationOpenshiftIoV1Api.md#list_authorization_openshift_io_v1_cluster_policy) | **GET** /apis/authorization.openshift.io/v1/clusterpolicies | -*AuthorizationOpenshiftIoV1Api* | [**list_authorization_openshift_io_v1_cluster_policy_binding**](docs/AuthorizationOpenshiftIoV1Api.md#list_authorization_openshift_io_v1_cluster_policy_binding) | **GET** /apis/authorization.openshift.io/v1/clusterpolicybindings | -*AuthorizationOpenshiftIoV1Api* | [**list_authorization_openshift_io_v1_cluster_role**](docs/AuthorizationOpenshiftIoV1Api.md#list_authorization_openshift_io_v1_cluster_role) | **GET** /apis/authorization.openshift.io/v1/clusterroles | -*AuthorizationOpenshiftIoV1Api* | [**list_authorization_openshift_io_v1_cluster_role_binding**](docs/AuthorizationOpenshiftIoV1Api.md#list_authorization_openshift_io_v1_cluster_role_binding) | **GET** /apis/authorization.openshift.io/v1/clusterrolebindings | -*AuthorizationOpenshiftIoV1Api* | [**list_authorization_openshift_io_v1_namespaced_policy**](docs/AuthorizationOpenshiftIoV1Api.md#list_authorization_openshift_io_v1_namespaced_policy) | **GET** /apis/authorization.openshift.io/v1/namespaces/{namespace}/policies | -*AuthorizationOpenshiftIoV1Api* | [**list_authorization_openshift_io_v1_namespaced_policy_binding**](docs/AuthorizationOpenshiftIoV1Api.md#list_authorization_openshift_io_v1_namespaced_policy_binding) | **GET** /apis/authorization.openshift.io/v1/namespaces/{namespace}/policybindings | -*AuthorizationOpenshiftIoV1Api* | [**list_authorization_openshift_io_v1_namespaced_role**](docs/AuthorizationOpenshiftIoV1Api.md#list_authorization_openshift_io_v1_namespaced_role) | **GET** /apis/authorization.openshift.io/v1/namespaces/{namespace}/roles | -*AuthorizationOpenshiftIoV1Api* | [**list_authorization_openshift_io_v1_namespaced_role_binding**](docs/AuthorizationOpenshiftIoV1Api.md#list_authorization_openshift_io_v1_namespaced_role_binding) | **GET** /apis/authorization.openshift.io/v1/namespaces/{namespace}/rolebindings | -*AuthorizationOpenshiftIoV1Api* | [**list_authorization_openshift_io_v1_namespaced_role_binding_restriction**](docs/AuthorizationOpenshiftIoV1Api.md#list_authorization_openshift_io_v1_namespaced_role_binding_restriction) | **GET** /apis/authorization.openshift.io/v1/namespaces/{namespace}/rolebindingrestrictions | -*AuthorizationOpenshiftIoV1Api* | [**list_authorization_openshift_io_v1_policy_binding_for_all_namespaces**](docs/AuthorizationOpenshiftIoV1Api.md#list_authorization_openshift_io_v1_policy_binding_for_all_namespaces) | **GET** /apis/authorization.openshift.io/v1/policybindings | -*AuthorizationOpenshiftIoV1Api* | [**list_authorization_openshift_io_v1_policy_for_all_namespaces**](docs/AuthorizationOpenshiftIoV1Api.md#list_authorization_openshift_io_v1_policy_for_all_namespaces) | **GET** /apis/authorization.openshift.io/v1/policies | -*AuthorizationOpenshiftIoV1Api* | [**list_authorization_openshift_io_v1_role_binding_for_all_namespaces**](docs/AuthorizationOpenshiftIoV1Api.md#list_authorization_openshift_io_v1_role_binding_for_all_namespaces) | **GET** /apis/authorization.openshift.io/v1/rolebindings | -*AuthorizationOpenshiftIoV1Api* | [**list_authorization_openshift_io_v1_role_binding_restriction_for_all_namespaces**](docs/AuthorizationOpenshiftIoV1Api.md#list_authorization_openshift_io_v1_role_binding_restriction_for_all_namespaces) | **GET** /apis/authorization.openshift.io/v1/rolebindingrestrictions | -*AuthorizationOpenshiftIoV1Api* | [**list_authorization_openshift_io_v1_role_for_all_namespaces**](docs/AuthorizationOpenshiftIoV1Api.md#list_authorization_openshift_io_v1_role_for_all_namespaces) | **GET** /apis/authorization.openshift.io/v1/roles | -*AuthorizationOpenshiftIoV1Api* | [**patch_authorization_openshift_io_v1_cluster_policy**](docs/AuthorizationOpenshiftIoV1Api.md#patch_authorization_openshift_io_v1_cluster_policy) | **PATCH** /apis/authorization.openshift.io/v1/clusterpolicies/{name} | -*AuthorizationOpenshiftIoV1Api* | [**patch_authorization_openshift_io_v1_cluster_policy_binding**](docs/AuthorizationOpenshiftIoV1Api.md#patch_authorization_openshift_io_v1_cluster_policy_binding) | **PATCH** /apis/authorization.openshift.io/v1/clusterpolicybindings/{name} | -*AuthorizationOpenshiftIoV1Api* | [**patch_authorization_openshift_io_v1_cluster_role**](docs/AuthorizationOpenshiftIoV1Api.md#patch_authorization_openshift_io_v1_cluster_role) | **PATCH** /apis/authorization.openshift.io/v1/clusterroles/{name} | -*AuthorizationOpenshiftIoV1Api* | [**patch_authorization_openshift_io_v1_cluster_role_binding**](docs/AuthorizationOpenshiftIoV1Api.md#patch_authorization_openshift_io_v1_cluster_role_binding) | **PATCH** /apis/authorization.openshift.io/v1/clusterrolebindings/{name} | -*AuthorizationOpenshiftIoV1Api* | [**patch_authorization_openshift_io_v1_namespaced_policy**](docs/AuthorizationOpenshiftIoV1Api.md#patch_authorization_openshift_io_v1_namespaced_policy) | **PATCH** /apis/authorization.openshift.io/v1/namespaces/{namespace}/policies/{name} | -*AuthorizationOpenshiftIoV1Api* | [**patch_authorization_openshift_io_v1_namespaced_policy_binding**](docs/AuthorizationOpenshiftIoV1Api.md#patch_authorization_openshift_io_v1_namespaced_policy_binding) | **PATCH** /apis/authorization.openshift.io/v1/namespaces/{namespace}/policybindings/{name} | -*AuthorizationOpenshiftIoV1Api* | [**patch_authorization_openshift_io_v1_namespaced_role**](docs/AuthorizationOpenshiftIoV1Api.md#patch_authorization_openshift_io_v1_namespaced_role) | **PATCH** /apis/authorization.openshift.io/v1/namespaces/{namespace}/roles/{name} | -*AuthorizationOpenshiftIoV1Api* | [**patch_authorization_openshift_io_v1_namespaced_role_binding**](docs/AuthorizationOpenshiftIoV1Api.md#patch_authorization_openshift_io_v1_namespaced_role_binding) | **PATCH** /apis/authorization.openshift.io/v1/namespaces/{namespace}/rolebindings/{name} | -*AuthorizationOpenshiftIoV1Api* | [**patch_authorization_openshift_io_v1_namespaced_role_binding_restriction**](docs/AuthorizationOpenshiftIoV1Api.md#patch_authorization_openshift_io_v1_namespaced_role_binding_restriction) | **PATCH** /apis/authorization.openshift.io/v1/namespaces/{namespace}/rolebindingrestrictions/{name} | -*AuthorizationOpenshiftIoV1Api* | [**read_authorization_openshift_io_v1_cluster_policy**](docs/AuthorizationOpenshiftIoV1Api.md#read_authorization_openshift_io_v1_cluster_policy) | **GET** /apis/authorization.openshift.io/v1/clusterpolicies/{name} | -*AuthorizationOpenshiftIoV1Api* | [**read_authorization_openshift_io_v1_cluster_policy_binding**](docs/AuthorizationOpenshiftIoV1Api.md#read_authorization_openshift_io_v1_cluster_policy_binding) | **GET** /apis/authorization.openshift.io/v1/clusterpolicybindings/{name} | -*AuthorizationOpenshiftIoV1Api* | [**read_authorization_openshift_io_v1_cluster_role**](docs/AuthorizationOpenshiftIoV1Api.md#read_authorization_openshift_io_v1_cluster_role) | **GET** /apis/authorization.openshift.io/v1/clusterroles/{name} | -*AuthorizationOpenshiftIoV1Api* | [**read_authorization_openshift_io_v1_cluster_role_binding**](docs/AuthorizationOpenshiftIoV1Api.md#read_authorization_openshift_io_v1_cluster_role_binding) | **GET** /apis/authorization.openshift.io/v1/clusterrolebindings/{name} | -*AuthorizationOpenshiftIoV1Api* | [**read_authorization_openshift_io_v1_namespaced_policy**](docs/AuthorizationOpenshiftIoV1Api.md#read_authorization_openshift_io_v1_namespaced_policy) | **GET** /apis/authorization.openshift.io/v1/namespaces/{namespace}/policies/{name} | -*AuthorizationOpenshiftIoV1Api* | [**read_authorization_openshift_io_v1_namespaced_policy_binding**](docs/AuthorizationOpenshiftIoV1Api.md#read_authorization_openshift_io_v1_namespaced_policy_binding) | **GET** /apis/authorization.openshift.io/v1/namespaces/{namespace}/policybindings/{name} | -*AuthorizationOpenshiftIoV1Api* | [**read_authorization_openshift_io_v1_namespaced_role**](docs/AuthorizationOpenshiftIoV1Api.md#read_authorization_openshift_io_v1_namespaced_role) | **GET** /apis/authorization.openshift.io/v1/namespaces/{namespace}/roles/{name} | -*AuthorizationOpenshiftIoV1Api* | [**read_authorization_openshift_io_v1_namespaced_role_binding**](docs/AuthorizationOpenshiftIoV1Api.md#read_authorization_openshift_io_v1_namespaced_role_binding) | **GET** /apis/authorization.openshift.io/v1/namespaces/{namespace}/rolebindings/{name} | -*AuthorizationOpenshiftIoV1Api* | [**read_authorization_openshift_io_v1_namespaced_role_binding_restriction**](docs/AuthorizationOpenshiftIoV1Api.md#read_authorization_openshift_io_v1_namespaced_role_binding_restriction) | **GET** /apis/authorization.openshift.io/v1/namespaces/{namespace}/rolebindingrestrictions/{name} | -*AuthorizationOpenshiftIoV1Api* | [**replace_authorization_openshift_io_v1_cluster_policy**](docs/AuthorizationOpenshiftIoV1Api.md#replace_authorization_openshift_io_v1_cluster_policy) | **PUT** /apis/authorization.openshift.io/v1/clusterpolicies/{name} | -*AuthorizationOpenshiftIoV1Api* | [**replace_authorization_openshift_io_v1_cluster_policy_binding**](docs/AuthorizationOpenshiftIoV1Api.md#replace_authorization_openshift_io_v1_cluster_policy_binding) | **PUT** /apis/authorization.openshift.io/v1/clusterpolicybindings/{name} | -*AuthorizationOpenshiftIoV1Api* | [**replace_authorization_openshift_io_v1_cluster_role**](docs/AuthorizationOpenshiftIoV1Api.md#replace_authorization_openshift_io_v1_cluster_role) | **PUT** /apis/authorization.openshift.io/v1/clusterroles/{name} | -*AuthorizationOpenshiftIoV1Api* | [**replace_authorization_openshift_io_v1_cluster_role_binding**](docs/AuthorizationOpenshiftIoV1Api.md#replace_authorization_openshift_io_v1_cluster_role_binding) | **PUT** /apis/authorization.openshift.io/v1/clusterrolebindings/{name} | -*AuthorizationOpenshiftIoV1Api* | [**replace_authorization_openshift_io_v1_namespaced_policy**](docs/AuthorizationOpenshiftIoV1Api.md#replace_authorization_openshift_io_v1_namespaced_policy) | **PUT** /apis/authorization.openshift.io/v1/namespaces/{namespace}/policies/{name} | -*AuthorizationOpenshiftIoV1Api* | [**replace_authorization_openshift_io_v1_namespaced_policy_binding**](docs/AuthorizationOpenshiftIoV1Api.md#replace_authorization_openshift_io_v1_namespaced_policy_binding) | **PUT** /apis/authorization.openshift.io/v1/namespaces/{namespace}/policybindings/{name} | -*AuthorizationOpenshiftIoV1Api* | [**replace_authorization_openshift_io_v1_namespaced_role**](docs/AuthorizationOpenshiftIoV1Api.md#replace_authorization_openshift_io_v1_namespaced_role) | **PUT** /apis/authorization.openshift.io/v1/namespaces/{namespace}/roles/{name} | -*AuthorizationOpenshiftIoV1Api* | [**replace_authorization_openshift_io_v1_namespaced_role_binding**](docs/AuthorizationOpenshiftIoV1Api.md#replace_authorization_openshift_io_v1_namespaced_role_binding) | **PUT** /apis/authorization.openshift.io/v1/namespaces/{namespace}/rolebindings/{name} | -*AuthorizationOpenshiftIoV1Api* | [**replace_authorization_openshift_io_v1_namespaced_role_binding_restriction**](docs/AuthorizationOpenshiftIoV1Api.md#replace_authorization_openshift_io_v1_namespaced_role_binding_restriction) | **PUT** /apis/authorization.openshift.io/v1/namespaces/{namespace}/rolebindingrestrictions/{name} | +*AuthorizationApi* | [**get_api_group**](docs/AuthorizationApi.md#get_api_group) | **GET** /apis/authorization.k8s.io/ | +*AuthorizationOpenshiftIoApi* | [**get_api_group**](docs/AuthorizationOpenshiftIoApi.md#get_api_group) | **GET** /apis/authorization.openshift.io/ | +*AuthorizationOpenshiftIoV1Api* | [**create_cluster_role**](docs/AuthorizationOpenshiftIoV1Api.md#create_cluster_role) | **POST** /apis/authorization.openshift.io/v1/clusterroles | +*AuthorizationOpenshiftIoV1Api* | [**create_cluster_role_binding**](docs/AuthorizationOpenshiftIoV1Api.md#create_cluster_role_binding) | **POST** /apis/authorization.openshift.io/v1/clusterrolebindings | +*AuthorizationOpenshiftIoV1Api* | [**create_local_resource_access_review_for_all_namespaces**](docs/AuthorizationOpenshiftIoV1Api.md#create_local_resource_access_review_for_all_namespaces) | **POST** /apis/authorization.openshift.io/v1/localresourceaccessreviews | +*AuthorizationOpenshiftIoV1Api* | [**create_local_subject_access_review_for_all_namespaces**](docs/AuthorizationOpenshiftIoV1Api.md#create_local_subject_access_review_for_all_namespaces) | **POST** /apis/authorization.openshift.io/v1/localsubjectaccessreviews | +*AuthorizationOpenshiftIoV1Api* | [**create_namespaced_local_resource_access_review**](docs/AuthorizationOpenshiftIoV1Api.md#create_namespaced_local_resource_access_review) | **POST** /apis/authorization.openshift.io/v1/namespaces/{namespace}/localresourceaccessreviews | +*AuthorizationOpenshiftIoV1Api* | [**create_namespaced_local_subject_access_review**](docs/AuthorizationOpenshiftIoV1Api.md#create_namespaced_local_subject_access_review) | **POST** /apis/authorization.openshift.io/v1/namespaces/{namespace}/localsubjectaccessreviews | +*AuthorizationOpenshiftIoV1Api* | [**create_namespaced_role**](docs/AuthorizationOpenshiftIoV1Api.md#create_namespaced_role) | **POST** /apis/authorization.openshift.io/v1/namespaces/{namespace}/roles | +*AuthorizationOpenshiftIoV1Api* | [**create_namespaced_role_binding**](docs/AuthorizationOpenshiftIoV1Api.md#create_namespaced_role_binding) | **POST** /apis/authorization.openshift.io/v1/namespaces/{namespace}/rolebindings | +*AuthorizationOpenshiftIoV1Api* | [**create_namespaced_role_binding_restriction**](docs/AuthorizationOpenshiftIoV1Api.md#create_namespaced_role_binding_restriction) | **POST** /apis/authorization.openshift.io/v1/namespaces/{namespace}/rolebindingrestrictions | +*AuthorizationOpenshiftIoV1Api* | [**create_namespaced_self_subject_rules_review**](docs/AuthorizationOpenshiftIoV1Api.md#create_namespaced_self_subject_rules_review) | **POST** /apis/authorization.openshift.io/v1/namespaces/{namespace}/selfsubjectrulesreviews | +*AuthorizationOpenshiftIoV1Api* | [**create_namespaced_subject_rules_review**](docs/AuthorizationOpenshiftIoV1Api.md#create_namespaced_subject_rules_review) | **POST** /apis/authorization.openshift.io/v1/namespaces/{namespace}/subjectrulesreviews | +*AuthorizationOpenshiftIoV1Api* | [**create_resource_access_review**](docs/AuthorizationOpenshiftIoV1Api.md#create_resource_access_review) | **POST** /apis/authorization.openshift.io/v1/resourceaccessreviews | +*AuthorizationOpenshiftIoV1Api* | [**create_role_binding_for_all_namespaces**](docs/AuthorizationOpenshiftIoV1Api.md#create_role_binding_for_all_namespaces) | **POST** /apis/authorization.openshift.io/v1/rolebindings | +*AuthorizationOpenshiftIoV1Api* | [**create_role_binding_restriction_for_all_namespaces**](docs/AuthorizationOpenshiftIoV1Api.md#create_role_binding_restriction_for_all_namespaces) | **POST** /apis/authorization.openshift.io/v1/rolebindingrestrictions | +*AuthorizationOpenshiftIoV1Api* | [**create_role_for_all_namespaces**](docs/AuthorizationOpenshiftIoV1Api.md#create_role_for_all_namespaces) | **POST** /apis/authorization.openshift.io/v1/roles | +*AuthorizationOpenshiftIoV1Api* | [**create_self_subject_rules_review_for_all_namespaces**](docs/AuthorizationOpenshiftIoV1Api.md#create_self_subject_rules_review_for_all_namespaces) | **POST** /apis/authorization.openshift.io/v1/selfsubjectrulesreviews | +*AuthorizationOpenshiftIoV1Api* | [**create_subject_access_review**](docs/AuthorizationOpenshiftIoV1Api.md#create_subject_access_review) | **POST** /apis/authorization.openshift.io/v1/subjectaccessreviews | +*AuthorizationOpenshiftIoV1Api* | [**create_subject_rules_review_for_all_namespaces**](docs/AuthorizationOpenshiftIoV1Api.md#create_subject_rules_review_for_all_namespaces) | **POST** /apis/authorization.openshift.io/v1/subjectrulesreviews | +*AuthorizationOpenshiftIoV1Api* | [**delete_cluster_role**](docs/AuthorizationOpenshiftIoV1Api.md#delete_cluster_role) | **DELETE** /apis/authorization.openshift.io/v1/clusterroles/{name} | +*AuthorizationOpenshiftIoV1Api* | [**delete_cluster_role_binding**](docs/AuthorizationOpenshiftIoV1Api.md#delete_cluster_role_binding) | **DELETE** /apis/authorization.openshift.io/v1/clusterrolebindings/{name} | +*AuthorizationOpenshiftIoV1Api* | [**delete_collection_namespaced_role_binding_restriction**](docs/AuthorizationOpenshiftIoV1Api.md#delete_collection_namespaced_role_binding_restriction) | **DELETE** /apis/authorization.openshift.io/v1/namespaces/{namespace}/rolebindingrestrictions | +*AuthorizationOpenshiftIoV1Api* | [**delete_namespaced_role**](docs/AuthorizationOpenshiftIoV1Api.md#delete_namespaced_role) | **DELETE** /apis/authorization.openshift.io/v1/namespaces/{namespace}/roles/{name} | +*AuthorizationOpenshiftIoV1Api* | [**delete_namespaced_role_binding**](docs/AuthorizationOpenshiftIoV1Api.md#delete_namespaced_role_binding) | **DELETE** /apis/authorization.openshift.io/v1/namespaces/{namespace}/rolebindings/{name} | +*AuthorizationOpenshiftIoV1Api* | [**delete_namespaced_role_binding_restriction**](docs/AuthorizationOpenshiftIoV1Api.md#delete_namespaced_role_binding_restriction) | **DELETE** /apis/authorization.openshift.io/v1/namespaces/{namespace}/rolebindingrestrictions/{name} | +*AuthorizationOpenshiftIoV1Api* | [**get_api_resources**](docs/AuthorizationOpenshiftIoV1Api.md#get_api_resources) | **GET** /apis/authorization.openshift.io/v1/ | +*AuthorizationOpenshiftIoV1Api* | [**list_cluster_role**](docs/AuthorizationOpenshiftIoV1Api.md#list_cluster_role) | **GET** /apis/authorization.openshift.io/v1/clusterroles | +*AuthorizationOpenshiftIoV1Api* | [**list_cluster_role_binding**](docs/AuthorizationOpenshiftIoV1Api.md#list_cluster_role_binding) | **GET** /apis/authorization.openshift.io/v1/clusterrolebindings | +*AuthorizationOpenshiftIoV1Api* | [**list_namespaced_role**](docs/AuthorizationOpenshiftIoV1Api.md#list_namespaced_role) | **GET** /apis/authorization.openshift.io/v1/namespaces/{namespace}/roles | +*AuthorizationOpenshiftIoV1Api* | [**list_namespaced_role_binding**](docs/AuthorizationOpenshiftIoV1Api.md#list_namespaced_role_binding) | **GET** /apis/authorization.openshift.io/v1/namespaces/{namespace}/rolebindings | +*AuthorizationOpenshiftIoV1Api* | [**list_namespaced_role_binding_restriction**](docs/AuthorizationOpenshiftIoV1Api.md#list_namespaced_role_binding_restriction) | **GET** /apis/authorization.openshift.io/v1/namespaces/{namespace}/rolebindingrestrictions | +*AuthorizationOpenshiftIoV1Api* | [**list_role_binding_for_all_namespaces**](docs/AuthorizationOpenshiftIoV1Api.md#list_role_binding_for_all_namespaces) | **GET** /apis/authorization.openshift.io/v1/rolebindings | +*AuthorizationOpenshiftIoV1Api* | [**list_role_binding_restriction_for_all_namespaces**](docs/AuthorizationOpenshiftIoV1Api.md#list_role_binding_restriction_for_all_namespaces) | **GET** /apis/authorization.openshift.io/v1/rolebindingrestrictions | +*AuthorizationOpenshiftIoV1Api* | [**list_role_for_all_namespaces**](docs/AuthorizationOpenshiftIoV1Api.md#list_role_for_all_namespaces) | **GET** /apis/authorization.openshift.io/v1/roles | +*AuthorizationOpenshiftIoV1Api* | [**patch_cluster_role**](docs/AuthorizationOpenshiftIoV1Api.md#patch_cluster_role) | **PATCH** /apis/authorization.openshift.io/v1/clusterroles/{name} | +*AuthorizationOpenshiftIoV1Api* | [**patch_cluster_role_binding**](docs/AuthorizationOpenshiftIoV1Api.md#patch_cluster_role_binding) | **PATCH** /apis/authorization.openshift.io/v1/clusterrolebindings/{name} | +*AuthorizationOpenshiftIoV1Api* | [**patch_namespaced_role**](docs/AuthorizationOpenshiftIoV1Api.md#patch_namespaced_role) | **PATCH** /apis/authorization.openshift.io/v1/namespaces/{namespace}/roles/{name} | +*AuthorizationOpenshiftIoV1Api* | [**patch_namespaced_role_binding**](docs/AuthorizationOpenshiftIoV1Api.md#patch_namespaced_role_binding) | **PATCH** /apis/authorization.openshift.io/v1/namespaces/{namespace}/rolebindings/{name} | +*AuthorizationOpenshiftIoV1Api* | [**patch_namespaced_role_binding_restriction**](docs/AuthorizationOpenshiftIoV1Api.md#patch_namespaced_role_binding_restriction) | **PATCH** /apis/authorization.openshift.io/v1/namespaces/{namespace}/rolebindingrestrictions/{name} | +*AuthorizationOpenshiftIoV1Api* | [**read_cluster_role**](docs/AuthorizationOpenshiftIoV1Api.md#read_cluster_role) | **GET** /apis/authorization.openshift.io/v1/clusterroles/{name} | +*AuthorizationOpenshiftIoV1Api* | [**read_cluster_role_binding**](docs/AuthorizationOpenshiftIoV1Api.md#read_cluster_role_binding) | **GET** /apis/authorization.openshift.io/v1/clusterrolebindings/{name} | +*AuthorizationOpenshiftIoV1Api* | [**read_namespaced_role**](docs/AuthorizationOpenshiftIoV1Api.md#read_namespaced_role) | **GET** /apis/authorization.openshift.io/v1/namespaces/{namespace}/roles/{name} | +*AuthorizationOpenshiftIoV1Api* | [**read_namespaced_role_binding**](docs/AuthorizationOpenshiftIoV1Api.md#read_namespaced_role_binding) | **GET** /apis/authorization.openshift.io/v1/namespaces/{namespace}/rolebindings/{name} | +*AuthorizationOpenshiftIoV1Api* | [**read_namespaced_role_binding_restriction**](docs/AuthorizationOpenshiftIoV1Api.md#read_namespaced_role_binding_restriction) | **GET** /apis/authorization.openshift.io/v1/namespaces/{namespace}/rolebindingrestrictions/{name} | +*AuthorizationOpenshiftIoV1Api* | [**replace_cluster_role**](docs/AuthorizationOpenshiftIoV1Api.md#replace_cluster_role) | **PUT** /apis/authorization.openshift.io/v1/clusterroles/{name} | +*AuthorizationOpenshiftIoV1Api* | [**replace_cluster_role_binding**](docs/AuthorizationOpenshiftIoV1Api.md#replace_cluster_role_binding) | **PUT** /apis/authorization.openshift.io/v1/clusterrolebindings/{name} | +*AuthorizationOpenshiftIoV1Api* | [**replace_namespaced_role**](docs/AuthorizationOpenshiftIoV1Api.md#replace_namespaced_role) | **PUT** /apis/authorization.openshift.io/v1/namespaces/{namespace}/roles/{name} | +*AuthorizationOpenshiftIoV1Api* | [**replace_namespaced_role_binding**](docs/AuthorizationOpenshiftIoV1Api.md#replace_namespaced_role_binding) | **PUT** /apis/authorization.openshift.io/v1/namespaces/{namespace}/rolebindings/{name} | +*AuthorizationOpenshiftIoV1Api* | [**replace_namespaced_role_binding_restriction**](docs/AuthorizationOpenshiftIoV1Api.md#replace_namespaced_role_binding_restriction) | **PUT** /apis/authorization.openshift.io/v1/namespaces/{namespace}/rolebindingrestrictions/{name} | +*AuthorizationV1Api* | [**create_local_subject_access_review_for_all_namespaces**](docs/AuthorizationV1Api.md#create_local_subject_access_review_for_all_namespaces) | **POST** /apis/authorization.k8s.io/v1/localsubjectaccessreviews | +*AuthorizationV1Api* | [**create_namespaced_local_subject_access_review**](docs/AuthorizationV1Api.md#create_namespaced_local_subject_access_review) | **POST** /apis/authorization.k8s.io/v1/namespaces/{namespace}/localsubjectaccessreviews | +*AuthorizationV1Api* | [**create_self_subject_access_review**](docs/AuthorizationV1Api.md#create_self_subject_access_review) | **POST** /apis/authorization.k8s.io/v1/selfsubjectaccessreviews | +*AuthorizationV1Api* | [**create_subject_access_review**](docs/AuthorizationV1Api.md#create_subject_access_review) | **POST** /apis/authorization.k8s.io/v1/subjectaccessreviews | +*AuthorizationV1Api* | [**get_api_resources**](docs/AuthorizationV1Api.md#get_api_resources) | **GET** /apis/authorization.k8s.io/v1/ | *AuthorizationV1beta1Api* | [**create_local_subject_access_review_for_all_namespaces**](docs/AuthorizationV1beta1Api.md#create_local_subject_access_review_for_all_namespaces) | **POST** /apis/authorization.k8s.io/v1beta1/localsubjectaccessreviews | *AuthorizationV1beta1Api* | [**create_namespaced_local_subject_access_review**](docs/AuthorizationV1beta1Api.md#create_namespaced_local_subject_access_review) | **POST** /apis/authorization.k8s.io/v1beta1/namespaces/{namespace}/localsubjectaccessreviews | *AuthorizationV1beta1Api* | [**create_self_subject_access_review**](docs/AuthorizationV1beta1Api.md#create_self_subject_access_review) | **POST** /apis/authorization.k8s.io/v1beta1/selfsubjectaccessreviews | *AuthorizationV1beta1Api* | [**create_subject_access_review**](docs/AuthorizationV1beta1Api.md#create_subject_access_review) | **POST** /apis/authorization.k8s.io/v1beta1/subjectaccessreviews | *AuthorizationV1beta1Api* | [**get_api_resources**](docs/AuthorizationV1beta1Api.md#get_api_resources) | **GET** /apis/authorization.k8s.io/v1beta1/ | -*AutoscalingApi* | [**get_autoscaling_api_group**](docs/AutoscalingApi.md#get_autoscaling_api_group) | **GET** /apis/autoscaling/ | +*AutoscalingApi* | [**get_api_group**](docs/AutoscalingApi.md#get_api_group) | **GET** /apis/autoscaling/ | *AutoscalingV1Api* | [**create_horizontal_pod_autoscaler_for_all_namespaces**](docs/AutoscalingV1Api.md#create_horizontal_pod_autoscaler_for_all_namespaces) | **POST** /apis/autoscaling/v1/horizontalpodautoscalers | *AutoscalingV1Api* | [**create_namespaced_horizontal_pod_autoscaler**](docs/AutoscalingV1Api.md#create_namespaced_horizontal_pod_autoscaler) | **POST** /apis/autoscaling/v1/namespaces/{namespace}/horizontalpodautoscalers | *AutoscalingV1Api* | [**delete_collection_namespaced_horizontal_pod_autoscaler**](docs/AutoscalingV1Api.md#delete_collection_namespaced_horizontal_pod_autoscaler) | **DELETE** /apis/autoscaling/v1/namespaces/{namespace}/horizontalpodautoscalers | @@ -208,7 +215,7 @@ Class | Method | HTTP request | Description *AutoscalingV1Api* | [**read_namespaced_horizontal_pod_autoscaler_status**](docs/AutoscalingV1Api.md#read_namespaced_horizontal_pod_autoscaler_status) | **GET** /apis/autoscaling/v1/namespaces/{namespace}/horizontalpodautoscalers/{name}/status | *AutoscalingV1Api* | [**replace_namespaced_horizontal_pod_autoscaler**](docs/AutoscalingV1Api.md#replace_namespaced_horizontal_pod_autoscaler) | **PUT** /apis/autoscaling/v1/namespaces/{namespace}/horizontalpodautoscalers/{name} | *AutoscalingV1Api* | [**replace_namespaced_horizontal_pod_autoscaler_status**](docs/AutoscalingV1Api.md#replace_namespaced_horizontal_pod_autoscaler_status) | **PUT** /apis/autoscaling/v1/namespaces/{namespace}/horizontalpodautoscalers/{name}/status | -*BatchApi* | [**get_batch_api_group**](docs/BatchApi.md#get_batch_api_group) | **GET** /apis/batch/ | +*BatchApi* | [**get_api_group**](docs/BatchApi.md#get_api_group) | **GET** /apis/batch/ | *BatchV1Api* | [**create_job_for_all_namespaces**](docs/BatchV1Api.md#create_job_for_all_namespaces) | **POST** /apis/batch/v1/jobs | *BatchV1Api* | [**create_namespaced_job**](docs/BatchV1Api.md#create_namespaced_job) | **POST** /apis/batch/v1/namespaces/{namespace}/jobs | *BatchV1Api* | [**delete_collection_namespaced_job**](docs/BatchV1Api.md#delete_collection_namespaced_job) | **DELETE** /apis/batch/v1/namespaces/{namespace}/jobs | @@ -223,81 +230,69 @@ Class | Method | HTTP request | Description *BatchV1Api* | [**replace_namespaced_job**](docs/BatchV1Api.md#replace_namespaced_job) | **PUT** /apis/batch/v1/namespaces/{namespace}/jobs/{name} | *BatchV1Api* | [**replace_namespaced_job_status**](docs/BatchV1Api.md#replace_namespaced_job_status) | **PUT** /apis/batch/v1/namespaces/{namespace}/jobs/{name}/status | *BatchV2alpha1Api* | [**create_cron_job_for_all_namespaces**](docs/BatchV2alpha1Api.md#create_cron_job_for_all_namespaces) | **POST** /apis/batch/v2alpha1/cronjobs | -*BatchV2alpha1Api* | [**create_job_for_all_namespaces**](docs/BatchV2alpha1Api.md#create_job_for_all_namespaces) | **POST** /apis/batch/v2alpha1/jobs | *BatchV2alpha1Api* | [**create_namespaced_cron_job**](docs/BatchV2alpha1Api.md#create_namespaced_cron_job) | **POST** /apis/batch/v2alpha1/namespaces/{namespace}/cronjobs | -*BatchV2alpha1Api* | [**create_namespaced_job**](docs/BatchV2alpha1Api.md#create_namespaced_job) | **POST** /apis/batch/v2alpha1/namespaces/{namespace}/jobs | *BatchV2alpha1Api* | [**create_namespaced_scheduled_job**](docs/BatchV2alpha1Api.md#create_namespaced_scheduled_job) | **POST** /apis/batch/v2alpha1/namespaces/{namespace}/scheduledjobs | *BatchV2alpha1Api* | [**create_scheduled_job_for_all_namespaces**](docs/BatchV2alpha1Api.md#create_scheduled_job_for_all_namespaces) | **POST** /apis/batch/v2alpha1/scheduledjobs | *BatchV2alpha1Api* | [**delete_collection_namespaced_cron_job**](docs/BatchV2alpha1Api.md#delete_collection_namespaced_cron_job) | **DELETE** /apis/batch/v2alpha1/namespaces/{namespace}/cronjobs | -*BatchV2alpha1Api* | [**delete_collection_namespaced_job**](docs/BatchV2alpha1Api.md#delete_collection_namespaced_job) | **DELETE** /apis/batch/v2alpha1/namespaces/{namespace}/jobs | *BatchV2alpha1Api* | [**delete_collection_namespaced_scheduled_job**](docs/BatchV2alpha1Api.md#delete_collection_namespaced_scheduled_job) | **DELETE** /apis/batch/v2alpha1/namespaces/{namespace}/scheduledjobs | *BatchV2alpha1Api* | [**delete_namespaced_cron_job**](docs/BatchV2alpha1Api.md#delete_namespaced_cron_job) | **DELETE** /apis/batch/v2alpha1/namespaces/{namespace}/cronjobs/{name} | -*BatchV2alpha1Api* | [**delete_namespaced_job**](docs/BatchV2alpha1Api.md#delete_namespaced_job) | **DELETE** /apis/batch/v2alpha1/namespaces/{namespace}/jobs/{name} | *BatchV2alpha1Api* | [**delete_namespaced_scheduled_job**](docs/BatchV2alpha1Api.md#delete_namespaced_scheduled_job) | **DELETE** /apis/batch/v2alpha1/namespaces/{namespace}/scheduledjobs/{name} | *BatchV2alpha1Api* | [**get_api_resources**](docs/BatchV2alpha1Api.md#get_api_resources) | **GET** /apis/batch/v2alpha1/ | *BatchV2alpha1Api* | [**list_cron_job_for_all_namespaces**](docs/BatchV2alpha1Api.md#list_cron_job_for_all_namespaces) | **GET** /apis/batch/v2alpha1/cronjobs | -*BatchV2alpha1Api* | [**list_job_for_all_namespaces**](docs/BatchV2alpha1Api.md#list_job_for_all_namespaces) | **GET** /apis/batch/v2alpha1/jobs | *BatchV2alpha1Api* | [**list_namespaced_cron_job**](docs/BatchV2alpha1Api.md#list_namespaced_cron_job) | **GET** /apis/batch/v2alpha1/namespaces/{namespace}/cronjobs | -*BatchV2alpha1Api* | [**list_namespaced_job**](docs/BatchV2alpha1Api.md#list_namespaced_job) | **GET** /apis/batch/v2alpha1/namespaces/{namespace}/jobs | *BatchV2alpha1Api* | [**list_namespaced_scheduled_job**](docs/BatchV2alpha1Api.md#list_namespaced_scheduled_job) | **GET** /apis/batch/v2alpha1/namespaces/{namespace}/scheduledjobs | *BatchV2alpha1Api* | [**list_scheduled_job_for_all_namespaces**](docs/BatchV2alpha1Api.md#list_scheduled_job_for_all_namespaces) | **GET** /apis/batch/v2alpha1/scheduledjobs | *BatchV2alpha1Api* | [**patch_namespaced_cron_job**](docs/BatchV2alpha1Api.md#patch_namespaced_cron_job) | **PATCH** /apis/batch/v2alpha1/namespaces/{namespace}/cronjobs/{name} | *BatchV2alpha1Api* | [**patch_namespaced_cron_job_status**](docs/BatchV2alpha1Api.md#patch_namespaced_cron_job_status) | **PATCH** /apis/batch/v2alpha1/namespaces/{namespace}/cronjobs/{name}/status | -*BatchV2alpha1Api* | [**patch_namespaced_job**](docs/BatchV2alpha1Api.md#patch_namespaced_job) | **PATCH** /apis/batch/v2alpha1/namespaces/{namespace}/jobs/{name} | -*BatchV2alpha1Api* | [**patch_namespaced_job_status**](docs/BatchV2alpha1Api.md#patch_namespaced_job_status) | **PATCH** /apis/batch/v2alpha1/namespaces/{namespace}/jobs/{name}/status | *BatchV2alpha1Api* | [**patch_namespaced_scheduled_job**](docs/BatchV2alpha1Api.md#patch_namespaced_scheduled_job) | **PATCH** /apis/batch/v2alpha1/namespaces/{namespace}/scheduledjobs/{name} | *BatchV2alpha1Api* | [**patch_namespaced_scheduled_job_status**](docs/BatchV2alpha1Api.md#patch_namespaced_scheduled_job_status) | **PATCH** /apis/batch/v2alpha1/namespaces/{namespace}/scheduledjobs/{name}/status | *BatchV2alpha1Api* | [**read_namespaced_cron_job**](docs/BatchV2alpha1Api.md#read_namespaced_cron_job) | **GET** /apis/batch/v2alpha1/namespaces/{namespace}/cronjobs/{name} | *BatchV2alpha1Api* | [**read_namespaced_cron_job_status**](docs/BatchV2alpha1Api.md#read_namespaced_cron_job_status) | **GET** /apis/batch/v2alpha1/namespaces/{namespace}/cronjobs/{name}/status | -*BatchV2alpha1Api* | [**read_namespaced_job**](docs/BatchV2alpha1Api.md#read_namespaced_job) | **GET** /apis/batch/v2alpha1/namespaces/{namespace}/jobs/{name} | -*BatchV2alpha1Api* | [**read_namespaced_job_status**](docs/BatchV2alpha1Api.md#read_namespaced_job_status) | **GET** /apis/batch/v2alpha1/namespaces/{namespace}/jobs/{name}/status | *BatchV2alpha1Api* | [**read_namespaced_scheduled_job**](docs/BatchV2alpha1Api.md#read_namespaced_scheduled_job) | **GET** /apis/batch/v2alpha1/namespaces/{namespace}/scheduledjobs/{name} | *BatchV2alpha1Api* | [**read_namespaced_scheduled_job_status**](docs/BatchV2alpha1Api.md#read_namespaced_scheduled_job_status) | **GET** /apis/batch/v2alpha1/namespaces/{namespace}/scheduledjobs/{name}/status | *BatchV2alpha1Api* | [**replace_namespaced_cron_job**](docs/BatchV2alpha1Api.md#replace_namespaced_cron_job) | **PUT** /apis/batch/v2alpha1/namespaces/{namespace}/cronjobs/{name} | *BatchV2alpha1Api* | [**replace_namespaced_cron_job_status**](docs/BatchV2alpha1Api.md#replace_namespaced_cron_job_status) | **PUT** /apis/batch/v2alpha1/namespaces/{namespace}/cronjobs/{name}/status | -*BatchV2alpha1Api* | [**replace_namespaced_job**](docs/BatchV2alpha1Api.md#replace_namespaced_job) | **PUT** /apis/batch/v2alpha1/namespaces/{namespace}/jobs/{name} | -*BatchV2alpha1Api* | [**replace_namespaced_job_status**](docs/BatchV2alpha1Api.md#replace_namespaced_job_status) | **PUT** /apis/batch/v2alpha1/namespaces/{namespace}/jobs/{name}/status | *BatchV2alpha1Api* | [**replace_namespaced_scheduled_job**](docs/BatchV2alpha1Api.md#replace_namespaced_scheduled_job) | **PUT** /apis/batch/v2alpha1/namespaces/{namespace}/scheduledjobs/{name} | *BatchV2alpha1Api* | [**replace_namespaced_scheduled_job_status**](docs/BatchV2alpha1Api.md#replace_namespaced_scheduled_job_status) | **PUT** /apis/batch/v2alpha1/namespaces/{namespace}/scheduledjobs/{name}/status | -*BuildOpenshiftIoApi* | [**get_build_openshift_io_api_group**](docs/BuildOpenshiftIoApi.md#get_build_openshift_io_api_group) | **GET** /apis/build.openshift.io/ | -*BuildOpenshiftIoV1Api* | [**connect_build_openshift_io_v1_post_namespaced_binary_build_request_options_instantiatebinary**](docs/BuildOpenshiftIoV1Api.md#connect_build_openshift_io_v1_post_namespaced_binary_build_request_options_instantiatebinary) | **POST** /apis/build.openshift.io/v1/namespaces/{namespace}/buildconfigs/{name}/instantiatebinary | -*BuildOpenshiftIoV1Api* | [**connect_build_openshift_io_v1_post_namespaced_status_webhooks**](docs/BuildOpenshiftIoV1Api.md#connect_build_openshift_io_v1_post_namespaced_status_webhooks) | **POST** /apis/build.openshift.io/v1/namespaces/{namespace}/buildconfigs/{name}/webhooks | -*BuildOpenshiftIoV1Api* | [**connect_build_openshift_io_v1_post_namespaced_status_webhooks_with_path**](docs/BuildOpenshiftIoV1Api.md#connect_build_openshift_io_v1_post_namespaced_status_webhooks_with_path) | **POST** /apis/build.openshift.io/v1/namespaces/{namespace}/buildconfigs/{name}/webhooks/{path} | -*BuildOpenshiftIoV1Api* | [**create_build_openshift_io_v1_build_config_for_all_namespaces**](docs/BuildOpenshiftIoV1Api.md#create_build_openshift_io_v1_build_config_for_all_namespaces) | **POST** /apis/build.openshift.io/v1/buildconfigs | -*BuildOpenshiftIoV1Api* | [**create_build_openshift_io_v1_build_for_all_namespaces**](docs/BuildOpenshiftIoV1Api.md#create_build_openshift_io_v1_build_for_all_namespaces) | **POST** /apis/build.openshift.io/v1/builds | -*BuildOpenshiftIoV1Api* | [**create_build_openshift_io_v1_namespaced_build**](docs/BuildOpenshiftIoV1Api.md#create_build_openshift_io_v1_namespaced_build) | **POST** /apis/build.openshift.io/v1/namespaces/{namespace}/builds | -*BuildOpenshiftIoV1Api* | [**create_build_openshift_io_v1_namespaced_build_config**](docs/BuildOpenshiftIoV1Api.md#create_build_openshift_io_v1_namespaced_build_config) | **POST** /apis/build.openshift.io/v1/namespaces/{namespace}/buildconfigs | -*BuildOpenshiftIoV1Api* | [**create_build_openshift_io_v1_namespaced_build_request_clone**](docs/BuildOpenshiftIoV1Api.md#create_build_openshift_io_v1_namespaced_build_request_clone) | **POST** /apis/build.openshift.io/v1/namespaces/{namespace}/builds/{name}/clone | -*BuildOpenshiftIoV1Api* | [**create_build_openshift_io_v1_namespaced_build_request_instantiate**](docs/BuildOpenshiftIoV1Api.md#create_build_openshift_io_v1_namespaced_build_request_instantiate) | **POST** /apis/build.openshift.io/v1/namespaces/{namespace}/buildconfigs/{name}/instantiate | -*BuildOpenshiftIoV1Api* | [**delete_build_openshift_io_v1_collection_namespaced_build**](docs/BuildOpenshiftIoV1Api.md#delete_build_openshift_io_v1_collection_namespaced_build) | **DELETE** /apis/build.openshift.io/v1/namespaces/{namespace}/builds | -*BuildOpenshiftIoV1Api* | [**delete_build_openshift_io_v1_collection_namespaced_build_config**](docs/BuildOpenshiftIoV1Api.md#delete_build_openshift_io_v1_collection_namespaced_build_config) | **DELETE** /apis/build.openshift.io/v1/namespaces/{namespace}/buildconfigs | -*BuildOpenshiftIoV1Api* | [**delete_build_openshift_io_v1_namespaced_build**](docs/BuildOpenshiftIoV1Api.md#delete_build_openshift_io_v1_namespaced_build) | **DELETE** /apis/build.openshift.io/v1/namespaces/{namespace}/builds/{name} | -*BuildOpenshiftIoV1Api* | [**delete_build_openshift_io_v1_namespaced_build_config**](docs/BuildOpenshiftIoV1Api.md#delete_build_openshift_io_v1_namespaced_build_config) | **DELETE** /apis/build.openshift.io/v1/namespaces/{namespace}/buildconfigs/{name} | -*BuildOpenshiftIoV1Api* | [**get_build_openshift_io_v1_api_resources**](docs/BuildOpenshiftIoV1Api.md#get_build_openshift_io_v1_api_resources) | **GET** /apis/build.openshift.io/v1/ | -*BuildOpenshiftIoV1Api* | [**list_build_openshift_io_v1_build_config_for_all_namespaces**](docs/BuildOpenshiftIoV1Api.md#list_build_openshift_io_v1_build_config_for_all_namespaces) | **GET** /apis/build.openshift.io/v1/buildconfigs | -*BuildOpenshiftIoV1Api* | [**list_build_openshift_io_v1_build_for_all_namespaces**](docs/BuildOpenshiftIoV1Api.md#list_build_openshift_io_v1_build_for_all_namespaces) | **GET** /apis/build.openshift.io/v1/builds | -*BuildOpenshiftIoV1Api* | [**list_build_openshift_io_v1_namespaced_build**](docs/BuildOpenshiftIoV1Api.md#list_build_openshift_io_v1_namespaced_build) | **GET** /apis/build.openshift.io/v1/namespaces/{namespace}/builds | -*BuildOpenshiftIoV1Api* | [**list_build_openshift_io_v1_namespaced_build_config**](docs/BuildOpenshiftIoV1Api.md#list_build_openshift_io_v1_namespaced_build_config) | **GET** /apis/build.openshift.io/v1/namespaces/{namespace}/buildconfigs | -*BuildOpenshiftIoV1Api* | [**patch_build_openshift_io_v1_namespaced_build**](docs/BuildOpenshiftIoV1Api.md#patch_build_openshift_io_v1_namespaced_build) | **PATCH** /apis/build.openshift.io/v1/namespaces/{namespace}/builds/{name} | -*BuildOpenshiftIoV1Api* | [**patch_build_openshift_io_v1_namespaced_build_config**](docs/BuildOpenshiftIoV1Api.md#patch_build_openshift_io_v1_namespaced_build_config) | **PATCH** /apis/build.openshift.io/v1/namespaces/{namespace}/buildconfigs/{name} | -*BuildOpenshiftIoV1Api* | [**read_build_openshift_io_v1_namespaced_build**](docs/BuildOpenshiftIoV1Api.md#read_build_openshift_io_v1_namespaced_build) | **GET** /apis/build.openshift.io/v1/namespaces/{namespace}/builds/{name} | -*BuildOpenshiftIoV1Api* | [**read_build_openshift_io_v1_namespaced_build_config**](docs/BuildOpenshiftIoV1Api.md#read_build_openshift_io_v1_namespaced_build_config) | **GET** /apis/build.openshift.io/v1/namespaces/{namespace}/buildconfigs/{name} | -*BuildOpenshiftIoV1Api* | [**read_build_openshift_io_v1_namespaced_build_log_log**](docs/BuildOpenshiftIoV1Api.md#read_build_openshift_io_v1_namespaced_build_log_log) | **GET** /apis/build.openshift.io/v1/namespaces/{namespace}/builds/{name}/log | -*BuildOpenshiftIoV1Api* | [**replace_build_openshift_io_v1_namespaced_build**](docs/BuildOpenshiftIoV1Api.md#replace_build_openshift_io_v1_namespaced_build) | **PUT** /apis/build.openshift.io/v1/namespaces/{namespace}/builds/{name} | -*BuildOpenshiftIoV1Api* | [**replace_build_openshift_io_v1_namespaced_build_config**](docs/BuildOpenshiftIoV1Api.md#replace_build_openshift_io_v1_namespaced_build_config) | **PUT** /apis/build.openshift.io/v1/namespaces/{namespace}/buildconfigs/{name} | -*BuildOpenshiftIoV1Api* | [**replace_build_openshift_io_v1_namespaced_build_details**](docs/BuildOpenshiftIoV1Api.md#replace_build_openshift_io_v1_namespaced_build_details) | **PUT** /apis/build.openshift.io/v1/namespaces/{namespace}/builds/{name}/details | -*CertificatesApi* | [**get_certificates_api_group**](docs/CertificatesApi.md#get_certificates_api_group) | **GET** /apis/certificates.k8s.io/ | -*CertificatesV1alpha1Api* | [**create_certificate_signing_request**](docs/CertificatesV1alpha1Api.md#create_certificate_signing_request) | **POST** /apis/certificates.k8s.io/v1alpha1/certificatesigningrequests | -*CertificatesV1alpha1Api* | [**delete_certificate_signing_request**](docs/CertificatesV1alpha1Api.md#delete_certificate_signing_request) | **DELETE** /apis/certificates.k8s.io/v1alpha1/certificatesigningrequests/{name} | -*CertificatesV1alpha1Api* | [**delete_collection_certificate_signing_request**](docs/CertificatesV1alpha1Api.md#delete_collection_certificate_signing_request) | **DELETE** /apis/certificates.k8s.io/v1alpha1/certificatesigningrequests | -*CertificatesV1alpha1Api* | [**get_api_resources**](docs/CertificatesV1alpha1Api.md#get_api_resources) | **GET** /apis/certificates.k8s.io/v1alpha1/ | -*CertificatesV1alpha1Api* | [**list_certificate_signing_request**](docs/CertificatesV1alpha1Api.md#list_certificate_signing_request) | **GET** /apis/certificates.k8s.io/v1alpha1/certificatesigningrequests | -*CertificatesV1alpha1Api* | [**patch_certificate_signing_request**](docs/CertificatesV1alpha1Api.md#patch_certificate_signing_request) | **PATCH** /apis/certificates.k8s.io/v1alpha1/certificatesigningrequests/{name} | -*CertificatesV1alpha1Api* | [**read_certificate_signing_request**](docs/CertificatesV1alpha1Api.md#read_certificate_signing_request) | **GET** /apis/certificates.k8s.io/v1alpha1/certificatesigningrequests/{name} | -*CertificatesV1alpha1Api* | [**replace_certificate_signing_request**](docs/CertificatesV1alpha1Api.md#replace_certificate_signing_request) | **PUT** /apis/certificates.k8s.io/v1alpha1/certificatesigningrequests/{name} | -*CertificatesV1alpha1Api* | [**replace_certificate_signing_request_approval**](docs/CertificatesV1alpha1Api.md#replace_certificate_signing_request_approval) | **PUT** /apis/certificates.k8s.io/v1alpha1/certificatesigningrequests/{name}/approval | -*CertificatesV1alpha1Api* | [**replace_certificate_signing_request_status**](docs/CertificatesV1alpha1Api.md#replace_certificate_signing_request_status) | **PUT** /apis/certificates.k8s.io/v1alpha1/certificatesigningrequests/{name}/status | -*CoreApi* | [**get_core_api_versions**](docs/CoreApi.md#get_core_api_versions) | **GET** /api/ | +*BuildOpenshiftIoApi* | [**get_api_group**](docs/BuildOpenshiftIoApi.md#get_api_group) | **GET** /apis/build.openshift.io/ | +*BuildOpenshiftIoV1Api* | [**connect_post_namespaced_binary_build_request_options_instantiatebinary**](docs/BuildOpenshiftIoV1Api.md#connect_post_namespaced_binary_build_request_options_instantiatebinary) | **POST** /apis/build.openshift.io/v1/namespaces/{namespace}/buildconfigs/{name}/instantiatebinary | +*BuildOpenshiftIoV1Api* | [**connect_post_namespaced_build_webhooks**](docs/BuildOpenshiftIoV1Api.md#connect_post_namespaced_build_webhooks) | **POST** /apis/build.openshift.io/v1/namespaces/{namespace}/buildconfigs/{name}/webhooks | +*BuildOpenshiftIoV1Api* | [**connect_post_namespaced_build_webhooks_with_path**](docs/BuildOpenshiftIoV1Api.md#connect_post_namespaced_build_webhooks_with_path) | **POST** /apis/build.openshift.io/v1/namespaces/{namespace}/buildconfigs/{name}/webhooks/{path} | +*BuildOpenshiftIoV1Api* | [**create_build_config_for_all_namespaces**](docs/BuildOpenshiftIoV1Api.md#create_build_config_for_all_namespaces) | **POST** /apis/build.openshift.io/v1/buildconfigs | +*BuildOpenshiftIoV1Api* | [**create_build_for_all_namespaces**](docs/BuildOpenshiftIoV1Api.md#create_build_for_all_namespaces) | **POST** /apis/build.openshift.io/v1/builds | +*BuildOpenshiftIoV1Api* | [**create_namespaced_build**](docs/BuildOpenshiftIoV1Api.md#create_namespaced_build) | **POST** /apis/build.openshift.io/v1/namespaces/{namespace}/builds | +*BuildOpenshiftIoV1Api* | [**create_namespaced_build_config**](docs/BuildOpenshiftIoV1Api.md#create_namespaced_build_config) | **POST** /apis/build.openshift.io/v1/namespaces/{namespace}/buildconfigs | +*BuildOpenshiftIoV1Api* | [**create_namespaced_build_request_clone**](docs/BuildOpenshiftIoV1Api.md#create_namespaced_build_request_clone) | **POST** /apis/build.openshift.io/v1/namespaces/{namespace}/builds/{name}/clone | +*BuildOpenshiftIoV1Api* | [**create_namespaced_build_request_instantiate**](docs/BuildOpenshiftIoV1Api.md#create_namespaced_build_request_instantiate) | **POST** /apis/build.openshift.io/v1/namespaces/{namespace}/buildconfigs/{name}/instantiate | +*BuildOpenshiftIoV1Api* | [**delete_collection_namespaced_build**](docs/BuildOpenshiftIoV1Api.md#delete_collection_namespaced_build) | **DELETE** /apis/build.openshift.io/v1/namespaces/{namespace}/builds | +*BuildOpenshiftIoV1Api* | [**delete_collection_namespaced_build_config**](docs/BuildOpenshiftIoV1Api.md#delete_collection_namespaced_build_config) | **DELETE** /apis/build.openshift.io/v1/namespaces/{namespace}/buildconfigs | +*BuildOpenshiftIoV1Api* | [**delete_namespaced_build**](docs/BuildOpenshiftIoV1Api.md#delete_namespaced_build) | **DELETE** /apis/build.openshift.io/v1/namespaces/{namespace}/builds/{name} | +*BuildOpenshiftIoV1Api* | [**delete_namespaced_build_config**](docs/BuildOpenshiftIoV1Api.md#delete_namespaced_build_config) | **DELETE** /apis/build.openshift.io/v1/namespaces/{namespace}/buildconfigs/{name} | +*BuildOpenshiftIoV1Api* | [**get_api_resources**](docs/BuildOpenshiftIoV1Api.md#get_api_resources) | **GET** /apis/build.openshift.io/v1/ | +*BuildOpenshiftIoV1Api* | [**list_build_config_for_all_namespaces**](docs/BuildOpenshiftIoV1Api.md#list_build_config_for_all_namespaces) | **GET** /apis/build.openshift.io/v1/buildconfigs | +*BuildOpenshiftIoV1Api* | [**list_build_for_all_namespaces**](docs/BuildOpenshiftIoV1Api.md#list_build_for_all_namespaces) | **GET** /apis/build.openshift.io/v1/builds | +*BuildOpenshiftIoV1Api* | [**list_namespaced_build**](docs/BuildOpenshiftIoV1Api.md#list_namespaced_build) | **GET** /apis/build.openshift.io/v1/namespaces/{namespace}/builds | +*BuildOpenshiftIoV1Api* | [**list_namespaced_build_config**](docs/BuildOpenshiftIoV1Api.md#list_namespaced_build_config) | **GET** /apis/build.openshift.io/v1/namespaces/{namespace}/buildconfigs | +*BuildOpenshiftIoV1Api* | [**patch_namespaced_build**](docs/BuildOpenshiftIoV1Api.md#patch_namespaced_build) | **PATCH** /apis/build.openshift.io/v1/namespaces/{namespace}/builds/{name} | +*BuildOpenshiftIoV1Api* | [**patch_namespaced_build_config**](docs/BuildOpenshiftIoV1Api.md#patch_namespaced_build_config) | **PATCH** /apis/build.openshift.io/v1/namespaces/{namespace}/buildconfigs/{name} | +*BuildOpenshiftIoV1Api* | [**read_namespaced_build**](docs/BuildOpenshiftIoV1Api.md#read_namespaced_build) | **GET** /apis/build.openshift.io/v1/namespaces/{namespace}/builds/{name} | +*BuildOpenshiftIoV1Api* | [**read_namespaced_build_config**](docs/BuildOpenshiftIoV1Api.md#read_namespaced_build_config) | **GET** /apis/build.openshift.io/v1/namespaces/{namespace}/buildconfigs/{name} | +*BuildOpenshiftIoV1Api* | [**read_namespaced_build_log_log**](docs/BuildOpenshiftIoV1Api.md#read_namespaced_build_log_log) | **GET** /apis/build.openshift.io/v1/namespaces/{namespace}/builds/{name}/log | +*BuildOpenshiftIoV1Api* | [**replace_namespaced_build**](docs/BuildOpenshiftIoV1Api.md#replace_namespaced_build) | **PUT** /apis/build.openshift.io/v1/namespaces/{namespace}/builds/{name} | +*BuildOpenshiftIoV1Api* | [**replace_namespaced_build_config**](docs/BuildOpenshiftIoV1Api.md#replace_namespaced_build_config) | **PUT** /apis/build.openshift.io/v1/namespaces/{namespace}/buildconfigs/{name} | +*BuildOpenshiftIoV1Api* | [**replace_namespaced_build_details**](docs/BuildOpenshiftIoV1Api.md#replace_namespaced_build_details) | **PUT** /apis/build.openshift.io/v1/namespaces/{namespace}/builds/{name}/details | +*CertificatesApi* | [**get_api_group**](docs/CertificatesApi.md#get_api_group) | **GET** /apis/certificates.k8s.io/ | +*CertificatesV1beta1Api* | [**create_certificate_signing_request**](docs/CertificatesV1beta1Api.md#create_certificate_signing_request) | **POST** /apis/certificates.k8s.io/v1beta1/certificatesigningrequests | +*CertificatesV1beta1Api* | [**delete_certificate_signing_request**](docs/CertificatesV1beta1Api.md#delete_certificate_signing_request) | **DELETE** /apis/certificates.k8s.io/v1beta1/certificatesigningrequests/{name} | +*CertificatesV1beta1Api* | [**delete_collection_certificate_signing_request**](docs/CertificatesV1beta1Api.md#delete_collection_certificate_signing_request) | **DELETE** /apis/certificates.k8s.io/v1beta1/certificatesigningrequests | +*CertificatesV1beta1Api* | [**get_api_resources**](docs/CertificatesV1beta1Api.md#get_api_resources) | **GET** /apis/certificates.k8s.io/v1beta1/ | +*CertificatesV1beta1Api* | [**list_certificate_signing_request**](docs/CertificatesV1beta1Api.md#list_certificate_signing_request) | **GET** /apis/certificates.k8s.io/v1beta1/certificatesigningrequests | +*CertificatesV1beta1Api* | [**patch_certificate_signing_request**](docs/CertificatesV1beta1Api.md#patch_certificate_signing_request) | **PATCH** /apis/certificates.k8s.io/v1beta1/certificatesigningrequests/{name} | +*CertificatesV1beta1Api* | [**read_certificate_signing_request**](docs/CertificatesV1beta1Api.md#read_certificate_signing_request) | **GET** /apis/certificates.k8s.io/v1beta1/certificatesigningrequests/{name} | +*CertificatesV1beta1Api* | [**replace_certificate_signing_request**](docs/CertificatesV1beta1Api.md#replace_certificate_signing_request) | **PUT** /apis/certificates.k8s.io/v1beta1/certificatesigningrequests/{name} | +*CertificatesV1beta1Api* | [**replace_certificate_signing_request_approval**](docs/CertificatesV1beta1Api.md#replace_certificate_signing_request_approval) | **PUT** /apis/certificates.k8s.io/v1beta1/certificatesigningrequests/{name}/approval | +*CertificatesV1beta1Api* | [**replace_certificate_signing_request_status**](docs/CertificatesV1beta1Api.md#replace_certificate_signing_request_status) | **PUT** /apis/certificates.k8s.io/v1beta1/certificatesigningrequests/{name}/status | +*CoreApi* | [**get_legacy_api_versions**](docs/CoreApi.md#get_legacy_api_versions) | **GET** /api/ | *CoreV1Api* | [**connect_delete_namespaced_pod_proxy**](docs/CoreV1Api.md#connect_delete_namespaced_pod_proxy) | **DELETE** /api/v1/namespaces/{namespace}/pods/{name}/proxy | *CoreV1Api* | [**connect_delete_namespaced_pod_proxy_with_path**](docs/CoreV1Api.md#connect_delete_namespaced_pod_proxy_with_path) | **DELETE** /api/v1/namespaces/{namespace}/pods/{name}/proxy/{path} | *CoreV1Api* | [**connect_delete_namespaced_service_proxy**](docs/CoreV1Api.md#connect_delete_namespaced_service_proxy) | **DELETE** /api/v1/namespaces/{namespace}/services/{name}/proxy | @@ -325,6 +320,12 @@ Class | Method | HTTP request | Description *CoreV1Api* | [**connect_options_namespaced_service_proxy_with_path**](docs/CoreV1Api.md#connect_options_namespaced_service_proxy_with_path) | **OPTIONS** /api/v1/namespaces/{namespace}/services/{name}/proxy/{path} | *CoreV1Api* | [**connect_options_node_proxy**](docs/CoreV1Api.md#connect_options_node_proxy) | **OPTIONS** /api/v1/nodes/{name}/proxy | *CoreV1Api* | [**connect_options_node_proxy_with_path**](docs/CoreV1Api.md#connect_options_node_proxy_with_path) | **OPTIONS** /api/v1/nodes/{name}/proxy/{path} | +*CoreV1Api* | [**connect_patch_namespaced_pod_proxy**](docs/CoreV1Api.md#connect_patch_namespaced_pod_proxy) | **PATCH** /api/v1/namespaces/{namespace}/pods/{name}/proxy | +*CoreV1Api* | [**connect_patch_namespaced_pod_proxy_with_path**](docs/CoreV1Api.md#connect_patch_namespaced_pod_proxy_with_path) | **PATCH** /api/v1/namespaces/{namespace}/pods/{name}/proxy/{path} | +*CoreV1Api* | [**connect_patch_namespaced_service_proxy**](docs/CoreV1Api.md#connect_patch_namespaced_service_proxy) | **PATCH** /api/v1/namespaces/{namespace}/services/{name}/proxy | +*CoreV1Api* | [**connect_patch_namespaced_service_proxy_with_path**](docs/CoreV1Api.md#connect_patch_namespaced_service_proxy_with_path) | **PATCH** /api/v1/namespaces/{namespace}/services/{name}/proxy/{path} | +*CoreV1Api* | [**connect_patch_node_proxy**](docs/CoreV1Api.md#connect_patch_node_proxy) | **PATCH** /api/v1/nodes/{name}/proxy | +*CoreV1Api* | [**connect_patch_node_proxy_with_path**](docs/CoreV1Api.md#connect_patch_node_proxy_with_path) | **PATCH** /api/v1/nodes/{name}/proxy/{path} | *CoreV1Api* | [**connect_post_namespaced_pod_attach**](docs/CoreV1Api.md#connect_post_namespaced_pod_attach) | **POST** /api/v1/namespaces/{namespace}/pods/{name}/attach | *CoreV1Api* | [**connect_post_namespaced_pod_exec**](docs/CoreV1Api.md#connect_post_namespaced_pod_exec) | **POST** /api/v1/namespaces/{namespace}/pods/{name}/exec | *CoreV1Api* | [**connect_post_namespaced_pod_portforward**](docs/CoreV1Api.md#connect_post_namespaced_pod_portforward) | **POST** /api/v1/namespaces/{namespace}/pods/{name}/portforward | @@ -372,7 +373,6 @@ Class | Method | HTTP request | Description *CoreV1Api* | [**create_security_context_constraints**](docs/CoreV1Api.md#create_security_context_constraints) | **POST** /api/v1/securitycontextconstraints | *CoreV1Api* | [**create_service_account_for_all_namespaces**](docs/CoreV1Api.md#create_service_account_for_all_namespaces) | **POST** /api/v1/serviceaccounts | *CoreV1Api* | [**create_service_for_all_namespaces**](docs/CoreV1Api.md#create_service_for_all_namespaces) | **POST** /api/v1/services | -*CoreV1Api* | [**delete_collection_namespace**](docs/CoreV1Api.md#delete_collection_namespace) | **DELETE** /api/v1/namespaces | *CoreV1Api* | [**delete_collection_namespaced_config_map**](docs/CoreV1Api.md#delete_collection_namespaced_config_map) | **DELETE** /api/v1/namespaces/{namespace}/configmaps | *CoreV1Api* | [**delete_collection_namespaced_endpoints**](docs/CoreV1Api.md#delete_collection_namespaced_endpoints) | **DELETE** /api/v1/namespaces/{namespace}/endpoints | *CoreV1Api* | [**delete_collection_namespaced_event**](docs/CoreV1Api.md#delete_collection_namespaced_event) | **DELETE** /api/v1/namespaces/{namespace}/events | @@ -482,6 +482,12 @@ Class | Method | HTTP request | Description *CoreV1Api* | [**proxy_options_namespaced_service_with_path**](docs/CoreV1Api.md#proxy_options_namespaced_service_with_path) | **OPTIONS** /api/v1/proxy/namespaces/{namespace}/services/{name}/{path} | *CoreV1Api* | [**proxy_options_node**](docs/CoreV1Api.md#proxy_options_node) | **OPTIONS** /api/v1/proxy/nodes/{name} | *CoreV1Api* | [**proxy_options_node_with_path**](docs/CoreV1Api.md#proxy_options_node_with_path) | **OPTIONS** /api/v1/proxy/nodes/{name}/{path} | +*CoreV1Api* | [**proxy_patch_namespaced_pod**](docs/CoreV1Api.md#proxy_patch_namespaced_pod) | **PATCH** /api/v1/proxy/namespaces/{namespace}/pods/{name} | +*CoreV1Api* | [**proxy_patch_namespaced_pod_with_path**](docs/CoreV1Api.md#proxy_patch_namespaced_pod_with_path) | **PATCH** /api/v1/proxy/namespaces/{namespace}/pods/{name}/{path} | +*CoreV1Api* | [**proxy_patch_namespaced_service**](docs/CoreV1Api.md#proxy_patch_namespaced_service) | **PATCH** /api/v1/proxy/namespaces/{namespace}/services/{name} | +*CoreV1Api* | [**proxy_patch_namespaced_service_with_path**](docs/CoreV1Api.md#proxy_patch_namespaced_service_with_path) | **PATCH** /api/v1/proxy/namespaces/{namespace}/services/{name}/{path} | +*CoreV1Api* | [**proxy_patch_node**](docs/CoreV1Api.md#proxy_patch_node) | **PATCH** /api/v1/proxy/nodes/{name} | +*CoreV1Api* | [**proxy_patch_node_with_path**](docs/CoreV1Api.md#proxy_patch_node_with_path) | **PATCH** /api/v1/proxy/nodes/{name}/{path} | *CoreV1Api* | [**proxy_post_namespaced_pod**](docs/CoreV1Api.md#proxy_post_namespaced_pod) | **POST** /api/v1/proxy/namespaces/{namespace}/pods/{name} | *CoreV1Api* | [**proxy_post_namespaced_pod_with_path**](docs/CoreV1Api.md#proxy_post_namespaced_pod_with_path) | **POST** /api/v1/proxy/namespaces/{namespace}/pods/{name}/{path} | *CoreV1Api* | [**proxy_post_namespaced_service**](docs/CoreV1Api.md#proxy_post_namespaced_service) | **POST** /api/v1/proxy/namespaces/{namespace}/services/{name} | @@ -547,18 +553,24 @@ Class | Method | HTTP request | Description *CoreV1Api* | [**replace_persistent_volume**](docs/CoreV1Api.md#replace_persistent_volume) | **PUT** /api/v1/persistentvolumes/{name} | *CoreV1Api* | [**replace_persistent_volume_status**](docs/CoreV1Api.md#replace_persistent_volume_status) | **PUT** /api/v1/persistentvolumes/{name}/status | *CoreV1Api* | [**replace_security_context_constraints**](docs/CoreV1Api.md#replace_security_context_constraints) | **PUT** /api/v1/securitycontextconstraints/{name} | -*ExtensionsApi* | [**get_extensions_api_group**](docs/ExtensionsApi.md#get_extensions_api_group) | **GET** /apis/extensions/ | +*CustomObjectsApi* | [**create_cluster_custom_object**](docs/CustomObjectsApi.md#create_cluster_custom_object) | **POST** /apis/{group}/{version}/{plural} | +*CustomObjectsApi* | [**create_namespaced_custom_object**](docs/CustomObjectsApi.md#create_namespaced_custom_object) | **POST** /apis/{group}/{version}/namespaces/{namespace}/{plural} | +*CustomObjectsApi* | [**delete_cluster_custom_object**](docs/CustomObjectsApi.md#delete_cluster_custom_object) | **DELETE** /apis/{group}/{version}/{plural}/{name} | +*CustomObjectsApi* | [**delete_namespaced_custom_object**](docs/CustomObjectsApi.md#delete_namespaced_custom_object) | **DELETE** /apis/{group}/{version}/namespaces/{namespace}/{plural}/{name} | +*CustomObjectsApi* | [**get_cluster_custom_object**](docs/CustomObjectsApi.md#get_cluster_custom_object) | **GET** /apis/{group}/{version}/{plural}/{name} | +*CustomObjectsApi* | [**get_namespaced_custom_object**](docs/CustomObjectsApi.md#get_namespaced_custom_object) | **GET** /apis/{group}/{version}/namespaces/{namespace}/{plural}/{name} | +*CustomObjectsApi* | [**list_cluster_custom_object**](docs/CustomObjectsApi.md#list_cluster_custom_object) | **GET** /apis/{group}/{version}/{plural} | +*CustomObjectsApi* | [**list_namespaced_custom_object**](docs/CustomObjectsApi.md#list_namespaced_custom_object) | **GET** /apis/{group}/{version}/namespaces/{namespace}/{plural} | +*CustomObjectsApi* | [**replace_cluster_custom_object**](docs/CustomObjectsApi.md#replace_cluster_custom_object) | **PUT** /apis/{group}/{version}/{plural}/{name} | +*CustomObjectsApi* | [**replace_namespaced_custom_object**](docs/CustomObjectsApi.md#replace_namespaced_custom_object) | **PUT** /apis/{group}/{version}/namespaces/{namespace}/{plural}/{name} | +*ExtensionsApi* | [**get_api_group**](docs/ExtensionsApi.md#get_api_group) | **GET** /apis/extensions/ | *ExtensionsV1beta1Api* | [**create_daemon_set_for_all_namespaces**](docs/ExtensionsV1beta1Api.md#create_daemon_set_for_all_namespaces) | **POST** /apis/extensions/v1beta1/daemonsets | *ExtensionsV1beta1Api* | [**create_deployment_for_all_namespaces**](docs/ExtensionsV1beta1Api.md#create_deployment_for_all_namespaces) | **POST** /apis/extensions/v1beta1/deployments | -*ExtensionsV1beta1Api* | [**create_horizontal_pod_autoscaler_for_all_namespaces**](docs/ExtensionsV1beta1Api.md#create_horizontal_pod_autoscaler_for_all_namespaces) | **POST** /apis/extensions/v1beta1/horizontalpodautoscalers | *ExtensionsV1beta1Api* | [**create_ingress_for_all_namespaces**](docs/ExtensionsV1beta1Api.md#create_ingress_for_all_namespaces) | **POST** /apis/extensions/v1beta1/ingresses | -*ExtensionsV1beta1Api* | [**create_job_for_all_namespaces**](docs/ExtensionsV1beta1Api.md#create_job_for_all_namespaces) | **POST** /apis/extensions/v1beta1/jobs | *ExtensionsV1beta1Api* | [**create_namespaced_daemon_set**](docs/ExtensionsV1beta1Api.md#create_namespaced_daemon_set) | **POST** /apis/extensions/v1beta1/namespaces/{namespace}/daemonsets | *ExtensionsV1beta1Api* | [**create_namespaced_deployment**](docs/ExtensionsV1beta1Api.md#create_namespaced_deployment) | **POST** /apis/extensions/v1beta1/namespaces/{namespace}/deployments | *ExtensionsV1beta1Api* | [**create_namespaced_deployment_rollback_rollback**](docs/ExtensionsV1beta1Api.md#create_namespaced_deployment_rollback_rollback) | **POST** /apis/extensions/v1beta1/namespaces/{namespace}/deployments/{name}/rollback | -*ExtensionsV1beta1Api* | [**create_namespaced_horizontal_pod_autoscaler**](docs/ExtensionsV1beta1Api.md#create_namespaced_horizontal_pod_autoscaler) | **POST** /apis/extensions/v1beta1/namespaces/{namespace}/horizontalpodautoscalers | *ExtensionsV1beta1Api* | [**create_namespaced_ingress**](docs/ExtensionsV1beta1Api.md#create_namespaced_ingress) | **POST** /apis/extensions/v1beta1/namespaces/{namespace}/ingresses | -*ExtensionsV1beta1Api* | [**create_namespaced_job**](docs/ExtensionsV1beta1Api.md#create_namespaced_job) | **POST** /apis/extensions/v1beta1/namespaces/{namespace}/jobs | *ExtensionsV1beta1Api* | [**create_namespaced_network_policy**](docs/ExtensionsV1beta1Api.md#create_namespaced_network_policy) | **POST** /apis/extensions/v1beta1/namespaces/{namespace}/networkpolicies | *ExtensionsV1beta1Api* | [**create_namespaced_replica_set**](docs/ExtensionsV1beta1Api.md#create_namespaced_replica_set) | **POST** /apis/extensions/v1beta1/namespaces/{namespace}/replicasets | *ExtensionsV1beta1Api* | [**create_network_policy_for_all_namespaces**](docs/ExtensionsV1beta1Api.md#create_network_policy_for_all_namespaces) | **POST** /apis/extensions/v1beta1/networkpolicies | @@ -567,18 +579,14 @@ Class | Method | HTTP request | Description *ExtensionsV1beta1Api* | [**create_third_party_resource**](docs/ExtensionsV1beta1Api.md#create_third_party_resource) | **POST** /apis/extensions/v1beta1/thirdpartyresources | *ExtensionsV1beta1Api* | [**delete_collection_namespaced_daemon_set**](docs/ExtensionsV1beta1Api.md#delete_collection_namespaced_daemon_set) | **DELETE** /apis/extensions/v1beta1/namespaces/{namespace}/daemonsets | *ExtensionsV1beta1Api* | [**delete_collection_namespaced_deployment**](docs/ExtensionsV1beta1Api.md#delete_collection_namespaced_deployment) | **DELETE** /apis/extensions/v1beta1/namespaces/{namespace}/deployments | -*ExtensionsV1beta1Api* | [**delete_collection_namespaced_horizontal_pod_autoscaler**](docs/ExtensionsV1beta1Api.md#delete_collection_namespaced_horizontal_pod_autoscaler) | **DELETE** /apis/extensions/v1beta1/namespaces/{namespace}/horizontalpodautoscalers | *ExtensionsV1beta1Api* | [**delete_collection_namespaced_ingress**](docs/ExtensionsV1beta1Api.md#delete_collection_namespaced_ingress) | **DELETE** /apis/extensions/v1beta1/namespaces/{namespace}/ingresses | -*ExtensionsV1beta1Api* | [**delete_collection_namespaced_job**](docs/ExtensionsV1beta1Api.md#delete_collection_namespaced_job) | **DELETE** /apis/extensions/v1beta1/namespaces/{namespace}/jobs | *ExtensionsV1beta1Api* | [**delete_collection_namespaced_network_policy**](docs/ExtensionsV1beta1Api.md#delete_collection_namespaced_network_policy) | **DELETE** /apis/extensions/v1beta1/namespaces/{namespace}/networkpolicies | *ExtensionsV1beta1Api* | [**delete_collection_namespaced_replica_set**](docs/ExtensionsV1beta1Api.md#delete_collection_namespaced_replica_set) | **DELETE** /apis/extensions/v1beta1/namespaces/{namespace}/replicasets | *ExtensionsV1beta1Api* | [**delete_collection_pod_security_policy**](docs/ExtensionsV1beta1Api.md#delete_collection_pod_security_policy) | **DELETE** /apis/extensions/v1beta1/podsecuritypolicies | *ExtensionsV1beta1Api* | [**delete_collection_third_party_resource**](docs/ExtensionsV1beta1Api.md#delete_collection_third_party_resource) | **DELETE** /apis/extensions/v1beta1/thirdpartyresources | *ExtensionsV1beta1Api* | [**delete_namespaced_daemon_set**](docs/ExtensionsV1beta1Api.md#delete_namespaced_daemon_set) | **DELETE** /apis/extensions/v1beta1/namespaces/{namespace}/daemonsets/{name} | *ExtensionsV1beta1Api* | [**delete_namespaced_deployment**](docs/ExtensionsV1beta1Api.md#delete_namespaced_deployment) | **DELETE** /apis/extensions/v1beta1/namespaces/{namespace}/deployments/{name} | -*ExtensionsV1beta1Api* | [**delete_namespaced_horizontal_pod_autoscaler**](docs/ExtensionsV1beta1Api.md#delete_namespaced_horizontal_pod_autoscaler) | **DELETE** /apis/extensions/v1beta1/namespaces/{namespace}/horizontalpodautoscalers/{name} | *ExtensionsV1beta1Api* | [**delete_namespaced_ingress**](docs/ExtensionsV1beta1Api.md#delete_namespaced_ingress) | **DELETE** /apis/extensions/v1beta1/namespaces/{namespace}/ingresses/{name} | -*ExtensionsV1beta1Api* | [**delete_namespaced_job**](docs/ExtensionsV1beta1Api.md#delete_namespaced_job) | **DELETE** /apis/extensions/v1beta1/namespaces/{namespace}/jobs/{name} | *ExtensionsV1beta1Api* | [**delete_namespaced_network_policy**](docs/ExtensionsV1beta1Api.md#delete_namespaced_network_policy) | **DELETE** /apis/extensions/v1beta1/namespaces/{namespace}/networkpolicies/{name} | *ExtensionsV1beta1Api* | [**delete_namespaced_replica_set**](docs/ExtensionsV1beta1Api.md#delete_namespaced_replica_set) | **DELETE** /apis/extensions/v1beta1/namespaces/{namespace}/replicasets/{name} | *ExtensionsV1beta1Api* | [**delete_pod_security_policy**](docs/ExtensionsV1beta1Api.md#delete_pod_security_policy) | **DELETE** /apis/extensions/v1beta1/podsecuritypolicies/{name} | @@ -586,14 +594,10 @@ Class | Method | HTTP request | Description *ExtensionsV1beta1Api* | [**get_api_resources**](docs/ExtensionsV1beta1Api.md#get_api_resources) | **GET** /apis/extensions/v1beta1/ | *ExtensionsV1beta1Api* | [**list_daemon_set_for_all_namespaces**](docs/ExtensionsV1beta1Api.md#list_daemon_set_for_all_namespaces) | **GET** /apis/extensions/v1beta1/daemonsets | *ExtensionsV1beta1Api* | [**list_deployment_for_all_namespaces**](docs/ExtensionsV1beta1Api.md#list_deployment_for_all_namespaces) | **GET** /apis/extensions/v1beta1/deployments | -*ExtensionsV1beta1Api* | [**list_horizontal_pod_autoscaler_for_all_namespaces**](docs/ExtensionsV1beta1Api.md#list_horizontal_pod_autoscaler_for_all_namespaces) | **GET** /apis/extensions/v1beta1/horizontalpodautoscalers | *ExtensionsV1beta1Api* | [**list_ingress_for_all_namespaces**](docs/ExtensionsV1beta1Api.md#list_ingress_for_all_namespaces) | **GET** /apis/extensions/v1beta1/ingresses | -*ExtensionsV1beta1Api* | [**list_job_for_all_namespaces**](docs/ExtensionsV1beta1Api.md#list_job_for_all_namespaces) | **GET** /apis/extensions/v1beta1/jobs | *ExtensionsV1beta1Api* | [**list_namespaced_daemon_set**](docs/ExtensionsV1beta1Api.md#list_namespaced_daemon_set) | **GET** /apis/extensions/v1beta1/namespaces/{namespace}/daemonsets | *ExtensionsV1beta1Api* | [**list_namespaced_deployment**](docs/ExtensionsV1beta1Api.md#list_namespaced_deployment) | **GET** /apis/extensions/v1beta1/namespaces/{namespace}/deployments | -*ExtensionsV1beta1Api* | [**list_namespaced_horizontal_pod_autoscaler**](docs/ExtensionsV1beta1Api.md#list_namespaced_horizontal_pod_autoscaler) | **GET** /apis/extensions/v1beta1/namespaces/{namespace}/horizontalpodautoscalers | *ExtensionsV1beta1Api* | [**list_namespaced_ingress**](docs/ExtensionsV1beta1Api.md#list_namespaced_ingress) | **GET** /apis/extensions/v1beta1/namespaces/{namespace}/ingresses | -*ExtensionsV1beta1Api* | [**list_namespaced_job**](docs/ExtensionsV1beta1Api.md#list_namespaced_job) | **GET** /apis/extensions/v1beta1/namespaces/{namespace}/jobs | *ExtensionsV1beta1Api* | [**list_namespaced_network_policy**](docs/ExtensionsV1beta1Api.md#list_namespaced_network_policy) | **GET** /apis/extensions/v1beta1/namespaces/{namespace}/networkpolicies | *ExtensionsV1beta1Api* | [**list_namespaced_replica_set**](docs/ExtensionsV1beta1Api.md#list_namespaced_replica_set) | **GET** /apis/extensions/v1beta1/namespaces/{namespace}/replicasets | *ExtensionsV1beta1Api* | [**list_network_policy_for_all_namespaces**](docs/ExtensionsV1beta1Api.md#list_network_policy_for_all_namespaces) | **GET** /apis/extensions/v1beta1/networkpolicies | @@ -605,12 +609,8 @@ Class | Method | HTTP request | Description *ExtensionsV1beta1Api* | [**patch_namespaced_deployment**](docs/ExtensionsV1beta1Api.md#patch_namespaced_deployment) | **PATCH** /apis/extensions/v1beta1/namespaces/{namespace}/deployments/{name} | *ExtensionsV1beta1Api* | [**patch_namespaced_deployment_status**](docs/ExtensionsV1beta1Api.md#patch_namespaced_deployment_status) | **PATCH** /apis/extensions/v1beta1/namespaces/{namespace}/deployments/{name}/status | *ExtensionsV1beta1Api* | [**patch_namespaced_deployments_scale**](docs/ExtensionsV1beta1Api.md#patch_namespaced_deployments_scale) | **PATCH** /apis/extensions/v1beta1/namespaces/{namespace}/deployments/{name}/scale | -*ExtensionsV1beta1Api* | [**patch_namespaced_horizontal_pod_autoscaler**](docs/ExtensionsV1beta1Api.md#patch_namespaced_horizontal_pod_autoscaler) | **PATCH** /apis/extensions/v1beta1/namespaces/{namespace}/horizontalpodautoscalers/{name} | -*ExtensionsV1beta1Api* | [**patch_namespaced_horizontal_pod_autoscaler_status**](docs/ExtensionsV1beta1Api.md#patch_namespaced_horizontal_pod_autoscaler_status) | **PATCH** /apis/extensions/v1beta1/namespaces/{namespace}/horizontalpodautoscalers/{name}/status | *ExtensionsV1beta1Api* | [**patch_namespaced_ingress**](docs/ExtensionsV1beta1Api.md#patch_namespaced_ingress) | **PATCH** /apis/extensions/v1beta1/namespaces/{namespace}/ingresses/{name} | *ExtensionsV1beta1Api* | [**patch_namespaced_ingress_status**](docs/ExtensionsV1beta1Api.md#patch_namespaced_ingress_status) | **PATCH** /apis/extensions/v1beta1/namespaces/{namespace}/ingresses/{name}/status | -*ExtensionsV1beta1Api* | [**patch_namespaced_job**](docs/ExtensionsV1beta1Api.md#patch_namespaced_job) | **PATCH** /apis/extensions/v1beta1/namespaces/{namespace}/jobs/{name} | -*ExtensionsV1beta1Api* | [**patch_namespaced_job_status**](docs/ExtensionsV1beta1Api.md#patch_namespaced_job_status) | **PATCH** /apis/extensions/v1beta1/namespaces/{namespace}/jobs/{name}/status | *ExtensionsV1beta1Api* | [**patch_namespaced_network_policy**](docs/ExtensionsV1beta1Api.md#patch_namespaced_network_policy) | **PATCH** /apis/extensions/v1beta1/namespaces/{namespace}/networkpolicies/{name} | *ExtensionsV1beta1Api* | [**patch_namespaced_replica_set**](docs/ExtensionsV1beta1Api.md#patch_namespaced_replica_set) | **PATCH** /apis/extensions/v1beta1/namespaces/{namespace}/replicasets/{name} | *ExtensionsV1beta1Api* | [**patch_namespaced_replica_set_status**](docs/ExtensionsV1beta1Api.md#patch_namespaced_replica_set_status) | **PATCH** /apis/extensions/v1beta1/namespaces/{namespace}/replicasets/{name}/status | @@ -623,12 +623,8 @@ Class | Method | HTTP request | Description *ExtensionsV1beta1Api* | [**read_namespaced_deployment**](docs/ExtensionsV1beta1Api.md#read_namespaced_deployment) | **GET** /apis/extensions/v1beta1/namespaces/{namespace}/deployments/{name} | *ExtensionsV1beta1Api* | [**read_namespaced_deployment_status**](docs/ExtensionsV1beta1Api.md#read_namespaced_deployment_status) | **GET** /apis/extensions/v1beta1/namespaces/{namespace}/deployments/{name}/status | *ExtensionsV1beta1Api* | [**read_namespaced_deployments_scale**](docs/ExtensionsV1beta1Api.md#read_namespaced_deployments_scale) | **GET** /apis/extensions/v1beta1/namespaces/{namespace}/deployments/{name}/scale | -*ExtensionsV1beta1Api* | [**read_namespaced_horizontal_pod_autoscaler**](docs/ExtensionsV1beta1Api.md#read_namespaced_horizontal_pod_autoscaler) | **GET** /apis/extensions/v1beta1/namespaces/{namespace}/horizontalpodautoscalers/{name} | -*ExtensionsV1beta1Api* | [**read_namespaced_horizontal_pod_autoscaler_status**](docs/ExtensionsV1beta1Api.md#read_namespaced_horizontal_pod_autoscaler_status) | **GET** /apis/extensions/v1beta1/namespaces/{namespace}/horizontalpodautoscalers/{name}/status | *ExtensionsV1beta1Api* | [**read_namespaced_ingress**](docs/ExtensionsV1beta1Api.md#read_namespaced_ingress) | **GET** /apis/extensions/v1beta1/namespaces/{namespace}/ingresses/{name} | *ExtensionsV1beta1Api* | [**read_namespaced_ingress_status**](docs/ExtensionsV1beta1Api.md#read_namespaced_ingress_status) | **GET** /apis/extensions/v1beta1/namespaces/{namespace}/ingresses/{name}/status | -*ExtensionsV1beta1Api* | [**read_namespaced_job**](docs/ExtensionsV1beta1Api.md#read_namespaced_job) | **GET** /apis/extensions/v1beta1/namespaces/{namespace}/jobs/{name} | -*ExtensionsV1beta1Api* | [**read_namespaced_job_status**](docs/ExtensionsV1beta1Api.md#read_namespaced_job_status) | **GET** /apis/extensions/v1beta1/namespaces/{namespace}/jobs/{name}/status | *ExtensionsV1beta1Api* | [**read_namespaced_network_policy**](docs/ExtensionsV1beta1Api.md#read_namespaced_network_policy) | **GET** /apis/extensions/v1beta1/namespaces/{namespace}/networkpolicies/{name} | *ExtensionsV1beta1Api* | [**read_namespaced_replica_set**](docs/ExtensionsV1beta1Api.md#read_namespaced_replica_set) | **GET** /apis/extensions/v1beta1/namespaces/{namespace}/replicasets/{name} | *ExtensionsV1beta1Api* | [**read_namespaced_replica_set_status**](docs/ExtensionsV1beta1Api.md#read_namespaced_replica_set_status) | **GET** /apis/extensions/v1beta1/namespaces/{namespace}/replicasets/{name}/status | @@ -641,12 +637,8 @@ Class | Method | HTTP request | Description *ExtensionsV1beta1Api* | [**replace_namespaced_deployment**](docs/ExtensionsV1beta1Api.md#replace_namespaced_deployment) | **PUT** /apis/extensions/v1beta1/namespaces/{namespace}/deployments/{name} | *ExtensionsV1beta1Api* | [**replace_namespaced_deployment_status**](docs/ExtensionsV1beta1Api.md#replace_namespaced_deployment_status) | **PUT** /apis/extensions/v1beta1/namespaces/{namespace}/deployments/{name}/status | *ExtensionsV1beta1Api* | [**replace_namespaced_deployments_scale**](docs/ExtensionsV1beta1Api.md#replace_namespaced_deployments_scale) | **PUT** /apis/extensions/v1beta1/namespaces/{namespace}/deployments/{name}/scale | -*ExtensionsV1beta1Api* | [**replace_namespaced_horizontal_pod_autoscaler**](docs/ExtensionsV1beta1Api.md#replace_namespaced_horizontal_pod_autoscaler) | **PUT** /apis/extensions/v1beta1/namespaces/{namespace}/horizontalpodautoscalers/{name} | -*ExtensionsV1beta1Api* | [**replace_namespaced_horizontal_pod_autoscaler_status**](docs/ExtensionsV1beta1Api.md#replace_namespaced_horizontal_pod_autoscaler_status) | **PUT** /apis/extensions/v1beta1/namespaces/{namespace}/horizontalpodautoscalers/{name}/status | *ExtensionsV1beta1Api* | [**replace_namespaced_ingress**](docs/ExtensionsV1beta1Api.md#replace_namespaced_ingress) | **PUT** /apis/extensions/v1beta1/namespaces/{namespace}/ingresses/{name} | *ExtensionsV1beta1Api* | [**replace_namespaced_ingress_status**](docs/ExtensionsV1beta1Api.md#replace_namespaced_ingress_status) | **PUT** /apis/extensions/v1beta1/namespaces/{namespace}/ingresses/{name}/status | -*ExtensionsV1beta1Api* | [**replace_namespaced_job**](docs/ExtensionsV1beta1Api.md#replace_namespaced_job) | **PUT** /apis/extensions/v1beta1/namespaces/{namespace}/jobs/{name} | -*ExtensionsV1beta1Api* | [**replace_namespaced_job_status**](docs/ExtensionsV1beta1Api.md#replace_namespaced_job_status) | **PUT** /apis/extensions/v1beta1/namespaces/{namespace}/jobs/{name}/status | *ExtensionsV1beta1Api* | [**replace_namespaced_network_policy**](docs/ExtensionsV1beta1Api.md#replace_namespaced_network_policy) | **PUT** /apis/extensions/v1beta1/namespaces/{namespace}/networkpolicies/{name} | *ExtensionsV1beta1Api* | [**replace_namespaced_replica_set**](docs/ExtensionsV1beta1Api.md#replace_namespaced_replica_set) | **PUT** /apis/extensions/v1beta1/namespaces/{namespace}/replicasets/{name} | *ExtensionsV1beta1Api* | [**replace_namespaced_replica_set_status**](docs/ExtensionsV1beta1Api.md#replace_namespaced_replica_set_status) | **PUT** /apis/extensions/v1beta1/namespaces/{namespace}/replicasets/{name}/status | @@ -654,85 +646,92 @@ Class | Method | HTTP request | Description *ExtensionsV1beta1Api* | [**replace_namespaced_replicationcontrollers_scale**](docs/ExtensionsV1beta1Api.md#replace_namespaced_replicationcontrollers_scale) | **PUT** /apis/extensions/v1beta1/namespaces/{namespace}/replicationcontrollers/{name}/scale | *ExtensionsV1beta1Api* | [**replace_pod_security_policy**](docs/ExtensionsV1beta1Api.md#replace_pod_security_policy) | **PUT** /apis/extensions/v1beta1/podsecuritypolicies/{name} | *ExtensionsV1beta1Api* | [**replace_third_party_resource**](docs/ExtensionsV1beta1Api.md#replace_third_party_resource) | **PUT** /apis/extensions/v1beta1/thirdpartyresources/{name} | -*ImageOpenshiftIoApi* | [**get_image_openshift_io_api_group**](docs/ImageOpenshiftIoApi.md#get_image_openshift_io_api_group) | **GET** /apis/image.openshift.io/ | -*ImageOpenshiftIo0Api* | [**get_image_openshift_io0_api_resources**](docs/ImageOpenshiftIo0Api.md#get_image_openshift_io0_api_resources) | **GET** /apis/image.openshift.io/1.0/ | -*ImageOpenshiftIoPre012Api* | [**get_image_openshift_io_pre012_api_resources**](docs/ImageOpenshiftIoPre012Api.md#get_image_openshift_io_pre012_api_resources) | **GET** /apis/image.openshift.io/pre012/ | -*ImageOpenshiftIoV1Api* | [**create_image_openshift_io_v1_image**](docs/ImageOpenshiftIoV1Api.md#create_image_openshift_io_v1_image) | **POST** /apis/image.openshift.io/v1/images | -*ImageOpenshiftIoV1Api* | [**create_image_openshift_io_v1_image_signature**](docs/ImageOpenshiftIoV1Api.md#create_image_openshift_io_v1_image_signature) | **POST** /apis/image.openshift.io/v1/imagesignatures | -*ImageOpenshiftIoV1Api* | [**create_image_openshift_io_v1_image_stream_for_all_namespaces**](docs/ImageOpenshiftIoV1Api.md#create_image_openshift_io_v1_image_stream_for_all_namespaces) | **POST** /apis/image.openshift.io/v1/imagestreams | -*ImageOpenshiftIoV1Api* | [**create_image_openshift_io_v1_image_stream_import_for_all_namespaces**](docs/ImageOpenshiftIoV1Api.md#create_image_openshift_io_v1_image_stream_import_for_all_namespaces) | **POST** /apis/image.openshift.io/v1/imagestreamimports | -*ImageOpenshiftIoV1Api* | [**create_image_openshift_io_v1_image_stream_mapping_for_all_namespaces**](docs/ImageOpenshiftIoV1Api.md#create_image_openshift_io_v1_image_stream_mapping_for_all_namespaces) | **POST** /apis/image.openshift.io/v1/imagestreammappings | -*ImageOpenshiftIoV1Api* | [**create_image_openshift_io_v1_image_stream_tag_for_all_namespaces**](docs/ImageOpenshiftIoV1Api.md#create_image_openshift_io_v1_image_stream_tag_for_all_namespaces) | **POST** /apis/image.openshift.io/v1/imagestreamtags | -*ImageOpenshiftIoV1Api* | [**create_image_openshift_io_v1_namespaced_image_stream**](docs/ImageOpenshiftIoV1Api.md#create_image_openshift_io_v1_namespaced_image_stream) | **POST** /apis/image.openshift.io/v1/namespaces/{namespace}/imagestreams | -*ImageOpenshiftIoV1Api* | [**create_image_openshift_io_v1_namespaced_image_stream_import**](docs/ImageOpenshiftIoV1Api.md#create_image_openshift_io_v1_namespaced_image_stream_import) | **POST** /apis/image.openshift.io/v1/namespaces/{namespace}/imagestreamimports | -*ImageOpenshiftIoV1Api* | [**create_image_openshift_io_v1_namespaced_image_stream_mapping**](docs/ImageOpenshiftIoV1Api.md#create_image_openshift_io_v1_namespaced_image_stream_mapping) | **POST** /apis/image.openshift.io/v1/namespaces/{namespace}/imagestreammappings | -*ImageOpenshiftIoV1Api* | [**create_image_openshift_io_v1_namespaced_image_stream_tag**](docs/ImageOpenshiftIoV1Api.md#create_image_openshift_io_v1_namespaced_image_stream_tag) | **POST** /apis/image.openshift.io/v1/namespaces/{namespace}/imagestreamtags | -*ImageOpenshiftIoV1Api* | [**delete_image_openshift_io_v1_collection_image**](docs/ImageOpenshiftIoV1Api.md#delete_image_openshift_io_v1_collection_image) | **DELETE** /apis/image.openshift.io/v1/images | -*ImageOpenshiftIoV1Api* | [**delete_image_openshift_io_v1_collection_namespaced_image_stream**](docs/ImageOpenshiftIoV1Api.md#delete_image_openshift_io_v1_collection_namespaced_image_stream) | **DELETE** /apis/image.openshift.io/v1/namespaces/{namespace}/imagestreams | -*ImageOpenshiftIoV1Api* | [**delete_image_openshift_io_v1_image**](docs/ImageOpenshiftIoV1Api.md#delete_image_openshift_io_v1_image) | **DELETE** /apis/image.openshift.io/v1/images/{name} | -*ImageOpenshiftIoV1Api* | [**delete_image_openshift_io_v1_image_signature**](docs/ImageOpenshiftIoV1Api.md#delete_image_openshift_io_v1_image_signature) | **DELETE** /apis/image.openshift.io/v1/imagesignatures/{name} | -*ImageOpenshiftIoV1Api* | [**delete_image_openshift_io_v1_namespaced_image_stream**](docs/ImageOpenshiftIoV1Api.md#delete_image_openshift_io_v1_namespaced_image_stream) | **DELETE** /apis/image.openshift.io/v1/namespaces/{namespace}/imagestreams/{name} | -*ImageOpenshiftIoV1Api* | [**delete_image_openshift_io_v1_namespaced_image_stream_tag**](docs/ImageOpenshiftIoV1Api.md#delete_image_openshift_io_v1_namespaced_image_stream_tag) | **DELETE** /apis/image.openshift.io/v1/namespaces/{namespace}/imagestreamtags/{name} | -*ImageOpenshiftIoV1Api* | [**get_image_openshift_io_v1_api_resources**](docs/ImageOpenshiftIoV1Api.md#get_image_openshift_io_v1_api_resources) | **GET** /apis/image.openshift.io/v1/ | -*ImageOpenshiftIoV1Api* | [**list_image_openshift_io_v1_image**](docs/ImageOpenshiftIoV1Api.md#list_image_openshift_io_v1_image) | **GET** /apis/image.openshift.io/v1/images | -*ImageOpenshiftIoV1Api* | [**list_image_openshift_io_v1_image_stream_for_all_namespaces**](docs/ImageOpenshiftIoV1Api.md#list_image_openshift_io_v1_image_stream_for_all_namespaces) | **GET** /apis/image.openshift.io/v1/imagestreams | -*ImageOpenshiftIoV1Api* | [**list_image_openshift_io_v1_image_stream_tag_for_all_namespaces**](docs/ImageOpenshiftIoV1Api.md#list_image_openshift_io_v1_image_stream_tag_for_all_namespaces) | **GET** /apis/image.openshift.io/v1/imagestreamtags | -*ImageOpenshiftIoV1Api* | [**list_image_openshift_io_v1_namespaced_image_stream**](docs/ImageOpenshiftIoV1Api.md#list_image_openshift_io_v1_namespaced_image_stream) | **GET** /apis/image.openshift.io/v1/namespaces/{namespace}/imagestreams | -*ImageOpenshiftIoV1Api* | [**list_image_openshift_io_v1_namespaced_image_stream_tag**](docs/ImageOpenshiftIoV1Api.md#list_image_openshift_io_v1_namespaced_image_stream_tag) | **GET** /apis/image.openshift.io/v1/namespaces/{namespace}/imagestreamtags | -*ImageOpenshiftIoV1Api* | [**patch_image_openshift_io_v1_image**](docs/ImageOpenshiftIoV1Api.md#patch_image_openshift_io_v1_image) | **PATCH** /apis/image.openshift.io/v1/images/{name} | -*ImageOpenshiftIoV1Api* | [**patch_image_openshift_io_v1_namespaced_image_stream**](docs/ImageOpenshiftIoV1Api.md#patch_image_openshift_io_v1_namespaced_image_stream) | **PATCH** /apis/image.openshift.io/v1/namespaces/{namespace}/imagestreams/{name} | -*ImageOpenshiftIoV1Api* | [**patch_image_openshift_io_v1_namespaced_image_stream_status**](docs/ImageOpenshiftIoV1Api.md#patch_image_openshift_io_v1_namespaced_image_stream_status) | **PATCH** /apis/image.openshift.io/v1/namespaces/{namespace}/imagestreams/{name}/status | -*ImageOpenshiftIoV1Api* | [**patch_image_openshift_io_v1_namespaced_image_stream_tag**](docs/ImageOpenshiftIoV1Api.md#patch_image_openshift_io_v1_namespaced_image_stream_tag) | **PATCH** /apis/image.openshift.io/v1/namespaces/{namespace}/imagestreamtags/{name} | -*ImageOpenshiftIoV1Api* | [**read_image_openshift_io_v1_image**](docs/ImageOpenshiftIoV1Api.md#read_image_openshift_io_v1_image) | **GET** /apis/image.openshift.io/v1/images/{name} | -*ImageOpenshiftIoV1Api* | [**read_image_openshift_io_v1_namespaced_image_stream**](docs/ImageOpenshiftIoV1Api.md#read_image_openshift_io_v1_namespaced_image_stream) | **GET** /apis/image.openshift.io/v1/namespaces/{namespace}/imagestreams/{name} | -*ImageOpenshiftIoV1Api* | [**read_image_openshift_io_v1_namespaced_image_stream_image**](docs/ImageOpenshiftIoV1Api.md#read_image_openshift_io_v1_namespaced_image_stream_image) | **GET** /apis/image.openshift.io/v1/namespaces/{namespace}/imagestreamimages/{name} | -*ImageOpenshiftIoV1Api* | [**read_image_openshift_io_v1_namespaced_image_stream_status**](docs/ImageOpenshiftIoV1Api.md#read_image_openshift_io_v1_namespaced_image_stream_status) | **GET** /apis/image.openshift.io/v1/namespaces/{namespace}/imagestreams/{name}/status | -*ImageOpenshiftIoV1Api* | [**read_image_openshift_io_v1_namespaced_image_stream_tag**](docs/ImageOpenshiftIoV1Api.md#read_image_openshift_io_v1_namespaced_image_stream_tag) | **GET** /apis/image.openshift.io/v1/namespaces/{namespace}/imagestreamtags/{name} | -*ImageOpenshiftIoV1Api* | [**read_image_openshift_io_v1_namespaced_secret_list_secrets**](docs/ImageOpenshiftIoV1Api.md#read_image_openshift_io_v1_namespaced_secret_list_secrets) | **GET** /apis/image.openshift.io/v1/namespaces/{namespace}/imagestreams/{name}/secrets | -*ImageOpenshiftIoV1Api* | [**replace_image_openshift_io_v1_image**](docs/ImageOpenshiftIoV1Api.md#replace_image_openshift_io_v1_image) | **PUT** /apis/image.openshift.io/v1/images/{name} | -*ImageOpenshiftIoV1Api* | [**replace_image_openshift_io_v1_namespaced_image_stream**](docs/ImageOpenshiftIoV1Api.md#replace_image_openshift_io_v1_namespaced_image_stream) | **PUT** /apis/image.openshift.io/v1/namespaces/{namespace}/imagestreams/{name} | -*ImageOpenshiftIoV1Api* | [**replace_image_openshift_io_v1_namespaced_image_stream_status**](docs/ImageOpenshiftIoV1Api.md#replace_image_openshift_io_v1_namespaced_image_stream_status) | **PUT** /apis/image.openshift.io/v1/namespaces/{namespace}/imagestreams/{name}/status | -*ImageOpenshiftIoV1Api* | [**replace_image_openshift_io_v1_namespaced_image_stream_tag**](docs/ImageOpenshiftIoV1Api.md#replace_image_openshift_io_v1_namespaced_image_stream_tag) | **PUT** /apis/image.openshift.io/v1/namespaces/{namespace}/imagestreamtags/{name} | -*NetworkOpenshiftIoApi* | [**get_network_openshift_io_api_group**](docs/NetworkOpenshiftIoApi.md#get_network_openshift_io_api_group) | **GET** /apis/network.openshift.io/ | -*NetworkOpenshiftIoV1Api* | [**create_network_openshift_io_v1_cluster_network**](docs/NetworkOpenshiftIoV1Api.md#create_network_openshift_io_v1_cluster_network) | **POST** /apis/network.openshift.io/v1/clusternetworks | -*NetworkOpenshiftIoV1Api* | [**create_network_openshift_io_v1_egress_network_policy_for_all_namespaces**](docs/NetworkOpenshiftIoV1Api.md#create_network_openshift_io_v1_egress_network_policy_for_all_namespaces) | **POST** /apis/network.openshift.io/v1/egressnetworkpolicies | -*NetworkOpenshiftIoV1Api* | [**create_network_openshift_io_v1_host_subnet**](docs/NetworkOpenshiftIoV1Api.md#create_network_openshift_io_v1_host_subnet) | **POST** /apis/network.openshift.io/v1/hostsubnets | -*NetworkOpenshiftIoV1Api* | [**create_network_openshift_io_v1_namespaced_egress_network_policy**](docs/NetworkOpenshiftIoV1Api.md#create_network_openshift_io_v1_namespaced_egress_network_policy) | **POST** /apis/network.openshift.io/v1/namespaces/{namespace}/egressnetworkpolicies | -*NetworkOpenshiftIoV1Api* | [**create_network_openshift_io_v1_net_namespace**](docs/NetworkOpenshiftIoV1Api.md#create_network_openshift_io_v1_net_namespace) | **POST** /apis/network.openshift.io/v1/netnamespaces | -*NetworkOpenshiftIoV1Api* | [**delete_network_openshift_io_v1_cluster_network**](docs/NetworkOpenshiftIoV1Api.md#delete_network_openshift_io_v1_cluster_network) | **DELETE** /apis/network.openshift.io/v1/clusternetworks/{name} | -*NetworkOpenshiftIoV1Api* | [**delete_network_openshift_io_v1_collection_cluster_network**](docs/NetworkOpenshiftIoV1Api.md#delete_network_openshift_io_v1_collection_cluster_network) | **DELETE** /apis/network.openshift.io/v1/clusternetworks | -*NetworkOpenshiftIoV1Api* | [**delete_network_openshift_io_v1_collection_host_subnet**](docs/NetworkOpenshiftIoV1Api.md#delete_network_openshift_io_v1_collection_host_subnet) | **DELETE** /apis/network.openshift.io/v1/hostsubnets | -*NetworkOpenshiftIoV1Api* | [**delete_network_openshift_io_v1_collection_namespaced_egress_network_policy**](docs/NetworkOpenshiftIoV1Api.md#delete_network_openshift_io_v1_collection_namespaced_egress_network_policy) | **DELETE** /apis/network.openshift.io/v1/namespaces/{namespace}/egressnetworkpolicies | -*NetworkOpenshiftIoV1Api* | [**delete_network_openshift_io_v1_collection_net_namespace**](docs/NetworkOpenshiftIoV1Api.md#delete_network_openshift_io_v1_collection_net_namespace) | **DELETE** /apis/network.openshift.io/v1/netnamespaces | -*NetworkOpenshiftIoV1Api* | [**delete_network_openshift_io_v1_host_subnet**](docs/NetworkOpenshiftIoV1Api.md#delete_network_openshift_io_v1_host_subnet) | **DELETE** /apis/network.openshift.io/v1/hostsubnets/{name} | -*NetworkOpenshiftIoV1Api* | [**delete_network_openshift_io_v1_namespaced_egress_network_policy**](docs/NetworkOpenshiftIoV1Api.md#delete_network_openshift_io_v1_namespaced_egress_network_policy) | **DELETE** /apis/network.openshift.io/v1/namespaces/{namespace}/egressnetworkpolicies/{name} | -*NetworkOpenshiftIoV1Api* | [**delete_network_openshift_io_v1_net_namespace**](docs/NetworkOpenshiftIoV1Api.md#delete_network_openshift_io_v1_net_namespace) | **DELETE** /apis/network.openshift.io/v1/netnamespaces/{name} | -*NetworkOpenshiftIoV1Api* | [**get_network_openshift_io_v1_api_resources**](docs/NetworkOpenshiftIoV1Api.md#get_network_openshift_io_v1_api_resources) | **GET** /apis/network.openshift.io/v1/ | -*NetworkOpenshiftIoV1Api* | [**list_network_openshift_io_v1_cluster_network**](docs/NetworkOpenshiftIoV1Api.md#list_network_openshift_io_v1_cluster_network) | **GET** /apis/network.openshift.io/v1/clusternetworks | -*NetworkOpenshiftIoV1Api* | [**list_network_openshift_io_v1_egress_network_policy_for_all_namespaces**](docs/NetworkOpenshiftIoV1Api.md#list_network_openshift_io_v1_egress_network_policy_for_all_namespaces) | **GET** /apis/network.openshift.io/v1/egressnetworkpolicies | -*NetworkOpenshiftIoV1Api* | [**list_network_openshift_io_v1_host_subnet**](docs/NetworkOpenshiftIoV1Api.md#list_network_openshift_io_v1_host_subnet) | **GET** /apis/network.openshift.io/v1/hostsubnets | -*NetworkOpenshiftIoV1Api* | [**list_network_openshift_io_v1_namespaced_egress_network_policy**](docs/NetworkOpenshiftIoV1Api.md#list_network_openshift_io_v1_namespaced_egress_network_policy) | **GET** /apis/network.openshift.io/v1/namespaces/{namespace}/egressnetworkpolicies | -*NetworkOpenshiftIoV1Api* | [**list_network_openshift_io_v1_net_namespace**](docs/NetworkOpenshiftIoV1Api.md#list_network_openshift_io_v1_net_namespace) | **GET** /apis/network.openshift.io/v1/netnamespaces | -*NetworkOpenshiftIoV1Api* | [**patch_network_openshift_io_v1_cluster_network**](docs/NetworkOpenshiftIoV1Api.md#patch_network_openshift_io_v1_cluster_network) | **PATCH** /apis/network.openshift.io/v1/clusternetworks/{name} | -*NetworkOpenshiftIoV1Api* | [**patch_network_openshift_io_v1_host_subnet**](docs/NetworkOpenshiftIoV1Api.md#patch_network_openshift_io_v1_host_subnet) | **PATCH** /apis/network.openshift.io/v1/hostsubnets/{name} | -*NetworkOpenshiftIoV1Api* | [**patch_network_openshift_io_v1_namespaced_egress_network_policy**](docs/NetworkOpenshiftIoV1Api.md#patch_network_openshift_io_v1_namespaced_egress_network_policy) | **PATCH** /apis/network.openshift.io/v1/namespaces/{namespace}/egressnetworkpolicies/{name} | -*NetworkOpenshiftIoV1Api* | [**patch_network_openshift_io_v1_net_namespace**](docs/NetworkOpenshiftIoV1Api.md#patch_network_openshift_io_v1_net_namespace) | **PATCH** /apis/network.openshift.io/v1/netnamespaces/{name} | -*NetworkOpenshiftIoV1Api* | [**read_network_openshift_io_v1_cluster_network**](docs/NetworkOpenshiftIoV1Api.md#read_network_openshift_io_v1_cluster_network) | **GET** /apis/network.openshift.io/v1/clusternetworks/{name} | -*NetworkOpenshiftIoV1Api* | [**read_network_openshift_io_v1_host_subnet**](docs/NetworkOpenshiftIoV1Api.md#read_network_openshift_io_v1_host_subnet) | **GET** /apis/network.openshift.io/v1/hostsubnets/{name} | -*NetworkOpenshiftIoV1Api* | [**read_network_openshift_io_v1_namespaced_egress_network_policy**](docs/NetworkOpenshiftIoV1Api.md#read_network_openshift_io_v1_namespaced_egress_network_policy) | **GET** /apis/network.openshift.io/v1/namespaces/{namespace}/egressnetworkpolicies/{name} | -*NetworkOpenshiftIoV1Api* | [**read_network_openshift_io_v1_net_namespace**](docs/NetworkOpenshiftIoV1Api.md#read_network_openshift_io_v1_net_namespace) | **GET** /apis/network.openshift.io/v1/netnamespaces/{name} | -*NetworkOpenshiftIoV1Api* | [**replace_network_openshift_io_v1_cluster_network**](docs/NetworkOpenshiftIoV1Api.md#replace_network_openshift_io_v1_cluster_network) | **PUT** /apis/network.openshift.io/v1/clusternetworks/{name} | -*NetworkOpenshiftIoV1Api* | [**replace_network_openshift_io_v1_host_subnet**](docs/NetworkOpenshiftIoV1Api.md#replace_network_openshift_io_v1_host_subnet) | **PUT** /apis/network.openshift.io/v1/hostsubnets/{name} | -*NetworkOpenshiftIoV1Api* | [**replace_network_openshift_io_v1_namespaced_egress_network_policy**](docs/NetworkOpenshiftIoV1Api.md#replace_network_openshift_io_v1_namespaced_egress_network_policy) | **PUT** /apis/network.openshift.io/v1/namespaces/{namespace}/egressnetworkpolicies/{name} | -*NetworkOpenshiftIoV1Api* | [**replace_network_openshift_io_v1_net_namespace**](docs/NetworkOpenshiftIoV1Api.md#replace_network_openshift_io_v1_net_namespace) | **PUT** /apis/network.openshift.io/v1/netnamespaces/{name} | +*ImageOpenshiftIoApi* | [**get_api_group**](docs/ImageOpenshiftIoApi.md#get_api_group) | **GET** /apis/image.openshift.io/ | +*ImageOpenshiftIoV1Api* | [**create_image**](docs/ImageOpenshiftIoV1Api.md#create_image) | **POST** /apis/image.openshift.io/v1/images | +*ImageOpenshiftIoV1Api* | [**create_image_signature**](docs/ImageOpenshiftIoV1Api.md#create_image_signature) | **POST** /apis/image.openshift.io/v1/imagesignatures | +*ImageOpenshiftIoV1Api* | [**create_image_stream_for_all_namespaces**](docs/ImageOpenshiftIoV1Api.md#create_image_stream_for_all_namespaces) | **POST** /apis/image.openshift.io/v1/imagestreams | +*ImageOpenshiftIoV1Api* | [**create_image_stream_import_for_all_namespaces**](docs/ImageOpenshiftIoV1Api.md#create_image_stream_import_for_all_namespaces) | **POST** /apis/image.openshift.io/v1/imagestreamimports | +*ImageOpenshiftIoV1Api* | [**create_image_stream_mapping_for_all_namespaces**](docs/ImageOpenshiftIoV1Api.md#create_image_stream_mapping_for_all_namespaces) | **POST** /apis/image.openshift.io/v1/imagestreammappings | +*ImageOpenshiftIoV1Api* | [**create_image_stream_tag_for_all_namespaces**](docs/ImageOpenshiftIoV1Api.md#create_image_stream_tag_for_all_namespaces) | **POST** /apis/image.openshift.io/v1/imagestreamtags | +*ImageOpenshiftIoV1Api* | [**create_namespaced_image_stream**](docs/ImageOpenshiftIoV1Api.md#create_namespaced_image_stream) | **POST** /apis/image.openshift.io/v1/namespaces/{namespace}/imagestreams | +*ImageOpenshiftIoV1Api* | [**create_namespaced_image_stream_import**](docs/ImageOpenshiftIoV1Api.md#create_namespaced_image_stream_import) | **POST** /apis/image.openshift.io/v1/namespaces/{namespace}/imagestreamimports | +*ImageOpenshiftIoV1Api* | [**create_namespaced_image_stream_mapping**](docs/ImageOpenshiftIoV1Api.md#create_namespaced_image_stream_mapping) | **POST** /apis/image.openshift.io/v1/namespaces/{namespace}/imagestreammappings | +*ImageOpenshiftIoV1Api* | [**create_namespaced_image_stream_tag**](docs/ImageOpenshiftIoV1Api.md#create_namespaced_image_stream_tag) | **POST** /apis/image.openshift.io/v1/namespaces/{namespace}/imagestreamtags | +*ImageOpenshiftIoV1Api* | [**delete_collection_image**](docs/ImageOpenshiftIoV1Api.md#delete_collection_image) | **DELETE** /apis/image.openshift.io/v1/images | +*ImageOpenshiftIoV1Api* | [**delete_collection_namespaced_image_stream**](docs/ImageOpenshiftIoV1Api.md#delete_collection_namespaced_image_stream) | **DELETE** /apis/image.openshift.io/v1/namespaces/{namespace}/imagestreams | +*ImageOpenshiftIoV1Api* | [**delete_image**](docs/ImageOpenshiftIoV1Api.md#delete_image) | **DELETE** /apis/image.openshift.io/v1/images/{name} | +*ImageOpenshiftIoV1Api* | [**delete_image_signature**](docs/ImageOpenshiftIoV1Api.md#delete_image_signature) | **DELETE** /apis/image.openshift.io/v1/imagesignatures/{name} | +*ImageOpenshiftIoV1Api* | [**delete_namespaced_image_stream**](docs/ImageOpenshiftIoV1Api.md#delete_namespaced_image_stream) | **DELETE** /apis/image.openshift.io/v1/namespaces/{namespace}/imagestreams/{name} | +*ImageOpenshiftIoV1Api* | [**delete_namespaced_image_stream_tag**](docs/ImageOpenshiftIoV1Api.md#delete_namespaced_image_stream_tag) | **DELETE** /apis/image.openshift.io/v1/namespaces/{namespace}/imagestreamtags/{name} | +*ImageOpenshiftIoV1Api* | [**get_api_resources**](docs/ImageOpenshiftIoV1Api.md#get_api_resources) | **GET** /apis/image.openshift.io/v1/ | +*ImageOpenshiftIoV1Api* | [**list_image**](docs/ImageOpenshiftIoV1Api.md#list_image) | **GET** /apis/image.openshift.io/v1/images | +*ImageOpenshiftIoV1Api* | [**list_image_stream_for_all_namespaces**](docs/ImageOpenshiftIoV1Api.md#list_image_stream_for_all_namespaces) | **GET** /apis/image.openshift.io/v1/imagestreams | +*ImageOpenshiftIoV1Api* | [**list_image_stream_tag_for_all_namespaces**](docs/ImageOpenshiftIoV1Api.md#list_image_stream_tag_for_all_namespaces) | **GET** /apis/image.openshift.io/v1/imagestreamtags | +*ImageOpenshiftIoV1Api* | [**list_namespaced_image_stream**](docs/ImageOpenshiftIoV1Api.md#list_namespaced_image_stream) | **GET** /apis/image.openshift.io/v1/namespaces/{namespace}/imagestreams | +*ImageOpenshiftIoV1Api* | [**list_namespaced_image_stream_tag**](docs/ImageOpenshiftIoV1Api.md#list_namespaced_image_stream_tag) | **GET** /apis/image.openshift.io/v1/namespaces/{namespace}/imagestreamtags | +*ImageOpenshiftIoV1Api* | [**patch_image**](docs/ImageOpenshiftIoV1Api.md#patch_image) | **PATCH** /apis/image.openshift.io/v1/images/{name} | +*ImageOpenshiftIoV1Api* | [**patch_namespaced_image_stream**](docs/ImageOpenshiftIoV1Api.md#patch_namespaced_image_stream) | **PATCH** /apis/image.openshift.io/v1/namespaces/{namespace}/imagestreams/{name} | +*ImageOpenshiftIoV1Api* | [**patch_namespaced_image_stream_status**](docs/ImageOpenshiftIoV1Api.md#patch_namespaced_image_stream_status) | **PATCH** /apis/image.openshift.io/v1/namespaces/{namespace}/imagestreams/{name}/status | +*ImageOpenshiftIoV1Api* | [**patch_namespaced_image_stream_tag**](docs/ImageOpenshiftIoV1Api.md#patch_namespaced_image_stream_tag) | **PATCH** /apis/image.openshift.io/v1/namespaces/{namespace}/imagestreamtags/{name} | +*ImageOpenshiftIoV1Api* | [**read_image**](docs/ImageOpenshiftIoV1Api.md#read_image) | **GET** /apis/image.openshift.io/v1/images/{name} | +*ImageOpenshiftIoV1Api* | [**read_namespaced_image_stream**](docs/ImageOpenshiftIoV1Api.md#read_namespaced_image_stream) | **GET** /apis/image.openshift.io/v1/namespaces/{namespace}/imagestreams/{name} | +*ImageOpenshiftIoV1Api* | [**read_namespaced_image_stream_image**](docs/ImageOpenshiftIoV1Api.md#read_namespaced_image_stream_image) | **GET** /apis/image.openshift.io/v1/namespaces/{namespace}/imagestreamimages/{name} | +*ImageOpenshiftIoV1Api* | [**read_namespaced_image_stream_status**](docs/ImageOpenshiftIoV1Api.md#read_namespaced_image_stream_status) | **GET** /apis/image.openshift.io/v1/namespaces/{namespace}/imagestreams/{name}/status | +*ImageOpenshiftIoV1Api* | [**read_namespaced_image_stream_tag**](docs/ImageOpenshiftIoV1Api.md#read_namespaced_image_stream_tag) | **GET** /apis/image.openshift.io/v1/namespaces/{namespace}/imagestreamtags/{name} | +*ImageOpenshiftIoV1Api* | [**read_namespaced_secret_list_secrets**](docs/ImageOpenshiftIoV1Api.md#read_namespaced_secret_list_secrets) | **GET** /apis/image.openshift.io/v1/namespaces/{namespace}/imagestreams/{name}/secrets | +*ImageOpenshiftIoV1Api* | [**replace_image**](docs/ImageOpenshiftIoV1Api.md#replace_image) | **PUT** /apis/image.openshift.io/v1/images/{name} | +*ImageOpenshiftIoV1Api* | [**replace_namespaced_image_stream**](docs/ImageOpenshiftIoV1Api.md#replace_namespaced_image_stream) | **PUT** /apis/image.openshift.io/v1/namespaces/{namespace}/imagestreams/{name} | +*ImageOpenshiftIoV1Api* | [**replace_namespaced_image_stream_status**](docs/ImageOpenshiftIoV1Api.md#replace_namespaced_image_stream_status) | **PUT** /apis/image.openshift.io/v1/namespaces/{namespace}/imagestreams/{name}/status | +*ImageOpenshiftIoV1Api* | [**replace_namespaced_image_stream_tag**](docs/ImageOpenshiftIoV1Api.md#replace_namespaced_image_stream_tag) | **PUT** /apis/image.openshift.io/v1/namespaces/{namespace}/imagestreamtags/{name} | +*NetworkOpenshiftIoApi* | [**get_api_group**](docs/NetworkOpenshiftIoApi.md#get_api_group) | **GET** /apis/network.openshift.io/ | +*NetworkOpenshiftIoV1Api* | [**create_cluster_network**](docs/NetworkOpenshiftIoV1Api.md#create_cluster_network) | **POST** /apis/network.openshift.io/v1/clusternetworks | +*NetworkOpenshiftIoV1Api* | [**create_egress_network_policy_for_all_namespaces**](docs/NetworkOpenshiftIoV1Api.md#create_egress_network_policy_for_all_namespaces) | **POST** /apis/network.openshift.io/v1/egressnetworkpolicies | +*NetworkOpenshiftIoV1Api* | [**create_host_subnet**](docs/NetworkOpenshiftIoV1Api.md#create_host_subnet) | **POST** /apis/network.openshift.io/v1/hostsubnets | +*NetworkOpenshiftIoV1Api* | [**create_namespaced_egress_network_policy**](docs/NetworkOpenshiftIoV1Api.md#create_namespaced_egress_network_policy) | **POST** /apis/network.openshift.io/v1/namespaces/{namespace}/egressnetworkpolicies | +*NetworkOpenshiftIoV1Api* | [**create_net_namespace**](docs/NetworkOpenshiftIoV1Api.md#create_net_namespace) | **POST** /apis/network.openshift.io/v1/netnamespaces | +*NetworkOpenshiftIoV1Api* | [**delete_cluster_network**](docs/NetworkOpenshiftIoV1Api.md#delete_cluster_network) | **DELETE** /apis/network.openshift.io/v1/clusternetworks/{name} | +*NetworkOpenshiftIoV1Api* | [**delete_collection_cluster_network**](docs/NetworkOpenshiftIoV1Api.md#delete_collection_cluster_network) | **DELETE** /apis/network.openshift.io/v1/clusternetworks | +*NetworkOpenshiftIoV1Api* | [**delete_collection_host_subnet**](docs/NetworkOpenshiftIoV1Api.md#delete_collection_host_subnet) | **DELETE** /apis/network.openshift.io/v1/hostsubnets | +*NetworkOpenshiftIoV1Api* | [**delete_collection_namespaced_egress_network_policy**](docs/NetworkOpenshiftIoV1Api.md#delete_collection_namespaced_egress_network_policy) | **DELETE** /apis/network.openshift.io/v1/namespaces/{namespace}/egressnetworkpolicies | +*NetworkOpenshiftIoV1Api* | [**delete_collection_net_namespace**](docs/NetworkOpenshiftIoV1Api.md#delete_collection_net_namespace) | **DELETE** /apis/network.openshift.io/v1/netnamespaces | +*NetworkOpenshiftIoV1Api* | [**delete_host_subnet**](docs/NetworkOpenshiftIoV1Api.md#delete_host_subnet) | **DELETE** /apis/network.openshift.io/v1/hostsubnets/{name} | +*NetworkOpenshiftIoV1Api* | [**delete_namespaced_egress_network_policy**](docs/NetworkOpenshiftIoV1Api.md#delete_namespaced_egress_network_policy) | **DELETE** /apis/network.openshift.io/v1/namespaces/{namespace}/egressnetworkpolicies/{name} | +*NetworkOpenshiftIoV1Api* | [**delete_net_namespace**](docs/NetworkOpenshiftIoV1Api.md#delete_net_namespace) | **DELETE** /apis/network.openshift.io/v1/netnamespaces/{name} | +*NetworkOpenshiftIoV1Api* | [**get_api_resources**](docs/NetworkOpenshiftIoV1Api.md#get_api_resources) | **GET** /apis/network.openshift.io/v1/ | +*NetworkOpenshiftIoV1Api* | [**list_cluster_network**](docs/NetworkOpenshiftIoV1Api.md#list_cluster_network) | **GET** /apis/network.openshift.io/v1/clusternetworks | +*NetworkOpenshiftIoV1Api* | [**list_egress_network_policy_for_all_namespaces**](docs/NetworkOpenshiftIoV1Api.md#list_egress_network_policy_for_all_namespaces) | **GET** /apis/network.openshift.io/v1/egressnetworkpolicies | +*NetworkOpenshiftIoV1Api* | [**list_host_subnet**](docs/NetworkOpenshiftIoV1Api.md#list_host_subnet) | **GET** /apis/network.openshift.io/v1/hostsubnets | +*NetworkOpenshiftIoV1Api* | [**list_namespaced_egress_network_policy**](docs/NetworkOpenshiftIoV1Api.md#list_namespaced_egress_network_policy) | **GET** /apis/network.openshift.io/v1/namespaces/{namespace}/egressnetworkpolicies | +*NetworkOpenshiftIoV1Api* | [**list_net_namespace**](docs/NetworkOpenshiftIoV1Api.md#list_net_namespace) | **GET** /apis/network.openshift.io/v1/netnamespaces | +*NetworkOpenshiftIoV1Api* | [**patch_cluster_network**](docs/NetworkOpenshiftIoV1Api.md#patch_cluster_network) | **PATCH** /apis/network.openshift.io/v1/clusternetworks/{name} | +*NetworkOpenshiftIoV1Api* | [**patch_host_subnet**](docs/NetworkOpenshiftIoV1Api.md#patch_host_subnet) | **PATCH** /apis/network.openshift.io/v1/hostsubnets/{name} | +*NetworkOpenshiftIoV1Api* | [**patch_namespaced_egress_network_policy**](docs/NetworkOpenshiftIoV1Api.md#patch_namespaced_egress_network_policy) | **PATCH** /apis/network.openshift.io/v1/namespaces/{namespace}/egressnetworkpolicies/{name} | +*NetworkOpenshiftIoV1Api* | [**patch_net_namespace**](docs/NetworkOpenshiftIoV1Api.md#patch_net_namespace) | **PATCH** /apis/network.openshift.io/v1/netnamespaces/{name} | +*NetworkOpenshiftIoV1Api* | [**read_cluster_network**](docs/NetworkOpenshiftIoV1Api.md#read_cluster_network) | **GET** /apis/network.openshift.io/v1/clusternetworks/{name} | +*NetworkOpenshiftIoV1Api* | [**read_host_subnet**](docs/NetworkOpenshiftIoV1Api.md#read_host_subnet) | **GET** /apis/network.openshift.io/v1/hostsubnets/{name} | +*NetworkOpenshiftIoV1Api* | [**read_namespaced_egress_network_policy**](docs/NetworkOpenshiftIoV1Api.md#read_namespaced_egress_network_policy) | **GET** /apis/network.openshift.io/v1/namespaces/{namespace}/egressnetworkpolicies/{name} | +*NetworkOpenshiftIoV1Api* | [**read_net_namespace**](docs/NetworkOpenshiftIoV1Api.md#read_net_namespace) | **GET** /apis/network.openshift.io/v1/netnamespaces/{name} | +*NetworkOpenshiftIoV1Api* | [**replace_cluster_network**](docs/NetworkOpenshiftIoV1Api.md#replace_cluster_network) | **PUT** /apis/network.openshift.io/v1/clusternetworks/{name} | +*NetworkOpenshiftIoV1Api* | [**replace_host_subnet**](docs/NetworkOpenshiftIoV1Api.md#replace_host_subnet) | **PUT** /apis/network.openshift.io/v1/hostsubnets/{name} | +*NetworkOpenshiftIoV1Api* | [**replace_namespaced_egress_network_policy**](docs/NetworkOpenshiftIoV1Api.md#replace_namespaced_egress_network_policy) | **PUT** /apis/network.openshift.io/v1/namespaces/{namespace}/egressnetworkpolicies/{name} | +*NetworkOpenshiftIoV1Api* | [**replace_net_namespace**](docs/NetworkOpenshiftIoV1Api.md#replace_net_namespace) | **PUT** /apis/network.openshift.io/v1/netnamespaces/{name} | +*NetworkingApi* | [**get_api_group**](docs/NetworkingApi.md#get_api_group) | **GET** /apis/networking.k8s.io/ | +*NetworkingV1Api* | [**create_namespaced_network_policy**](docs/NetworkingV1Api.md#create_namespaced_network_policy) | **POST** /apis/networking.k8s.io/v1/namespaces/{namespace}/networkpolicies | +*NetworkingV1Api* | [**create_network_policy_for_all_namespaces**](docs/NetworkingV1Api.md#create_network_policy_for_all_namespaces) | **POST** /apis/networking.k8s.io/v1/networkpolicies | +*NetworkingV1Api* | [**delete_collection_namespaced_network_policy**](docs/NetworkingV1Api.md#delete_collection_namespaced_network_policy) | **DELETE** /apis/networking.k8s.io/v1/namespaces/{namespace}/networkpolicies | +*NetworkingV1Api* | [**delete_namespaced_network_policy**](docs/NetworkingV1Api.md#delete_namespaced_network_policy) | **DELETE** /apis/networking.k8s.io/v1/namespaces/{namespace}/networkpolicies/{name} | +*NetworkingV1Api* | [**get_api_resources**](docs/NetworkingV1Api.md#get_api_resources) | **GET** /apis/networking.k8s.io/v1/ | +*NetworkingV1Api* | [**list_namespaced_network_policy**](docs/NetworkingV1Api.md#list_namespaced_network_policy) | **GET** /apis/networking.k8s.io/v1/namespaces/{namespace}/networkpolicies | +*NetworkingV1Api* | [**list_network_policy_for_all_namespaces**](docs/NetworkingV1Api.md#list_network_policy_for_all_namespaces) | **GET** /apis/networking.k8s.io/v1/networkpolicies | +*NetworkingV1Api* | [**patch_namespaced_network_policy**](docs/NetworkingV1Api.md#patch_namespaced_network_policy) | **PATCH** /apis/networking.k8s.io/v1/namespaces/{namespace}/networkpolicies/{name} | +*NetworkingV1Api* | [**read_namespaced_network_policy**](docs/NetworkingV1Api.md#read_namespaced_network_policy) | **GET** /apis/networking.k8s.io/v1/namespaces/{namespace}/networkpolicies/{name} | +*NetworkingV1Api* | [**replace_namespaced_network_policy**](docs/NetworkingV1Api.md#replace_namespaced_network_policy) | **PUT** /apis/networking.k8s.io/v1/namespaces/{namespace}/networkpolicies/{name} | *OapiApi* | [**connect_post_namespaced_binary_build_request_options_instantiatebinary**](docs/OapiApi.md#connect_post_namespaced_binary_build_request_options_instantiatebinary) | **POST** /oapi/v1/namespaces/{namespace}/buildconfigs/{name}/instantiatebinary | -*OapiApi* | [**connect_post_namespaced_status_webhooks**](docs/OapiApi.md#connect_post_namespaced_status_webhooks) | **POST** /oapi/v1/namespaces/{namespace}/buildconfigs/{name}/webhooks | -*OapiApi* | [**connect_post_namespaced_status_webhooks_with_path**](docs/OapiApi.md#connect_post_namespaced_status_webhooks_with_path) | **POST** /oapi/v1/namespaces/{namespace}/buildconfigs/{name}/webhooks/{path} | +*OapiApi* | [**connect_post_namespaced_build_webhooks**](docs/OapiApi.md#connect_post_namespaced_build_webhooks) | **POST** /oapi/v1/namespaces/{namespace}/buildconfigs/{name}/webhooks | +*OapiApi* | [**connect_post_namespaced_build_webhooks_with_path**](docs/OapiApi.md#connect_post_namespaced_build_webhooks_with_path) | **POST** /oapi/v1/namespaces/{namespace}/buildconfigs/{name}/webhooks/{path} | *OapiApi* | [**create_build_config_for_all_namespaces**](docs/OapiApi.md#create_build_config_for_all_namespaces) | **POST** /oapi/v1/buildconfigs | *OapiApi* | [**create_build_for_all_namespaces**](docs/OapiApi.md#create_build_for_all_namespaces) | **POST** /oapi/v1/builds | *OapiApi* | [**create_cluster_network**](docs/OapiApi.md#create_cluster_network) | **POST** /oapi/v1/clusternetworks | -*OapiApi* | [**create_cluster_policy**](docs/OapiApi.md#create_cluster_policy) | **POST** /oapi/v1/clusterpolicies | -*OapiApi* | [**create_cluster_policy_binding**](docs/OapiApi.md#create_cluster_policy_binding) | **POST** /oapi/v1/clusterpolicybindings | *OapiApi* | [**create_cluster_resource_quota**](docs/OapiApi.md#create_cluster_resource_quota) | **POST** /oapi/v1/clusterresourcequotas | *OapiApi* | [**create_cluster_role**](docs/OapiApi.md#create_cluster_role) | **POST** /oapi/v1/clusterroles | *OapiApi* | [**create_cluster_role_binding**](docs/OapiApi.md#create_cluster_role_binding) | **POST** /oapi/v1/clusterrolebindings | @@ -768,8 +767,6 @@ Class | Method | HTTP request | Description *OapiApi* | [**create_namespaced_pod_security_policy_review**](docs/OapiApi.md#create_namespaced_pod_security_policy_review) | **POST** /oapi/v1/namespaces/{namespace}/podsecuritypolicyreviews | *OapiApi* | [**create_namespaced_pod_security_policy_self_subject_review**](docs/OapiApi.md#create_namespaced_pod_security_policy_self_subject_review) | **POST** /oapi/v1/namespaces/{namespace}/podsecuritypolicyselfsubjectreviews | *OapiApi* | [**create_namespaced_pod_security_policy_subject_review**](docs/OapiApi.md#create_namespaced_pod_security_policy_subject_review) | **POST** /oapi/v1/namespaces/{namespace}/podsecuritypolicysubjectreviews | -*OapiApi* | [**create_namespaced_policy**](docs/OapiApi.md#create_namespaced_policy) | **POST** /oapi/v1/namespaces/{namespace}/policies | -*OapiApi* | [**create_namespaced_policy_binding**](docs/OapiApi.md#create_namespaced_policy_binding) | **POST** /oapi/v1/namespaces/{namespace}/policybindings | *OapiApi* | [**create_namespaced_processed_template**](docs/OapiApi.md#create_namespaced_processed_template) | **POST** /oapi/v1/namespaces/{namespace}/processedtemplates | *OapiApi* | [**create_namespaced_resource_access_review**](docs/OapiApi.md#create_namespaced_resource_access_review) | **POST** /oapi/v1/namespaces/{namespace}/resourceaccessreviews | *OapiApi* | [**create_namespaced_role**](docs/OapiApi.md#create_namespaced_role) | **POST** /oapi/v1/namespaces/{namespace}/roles | @@ -788,8 +785,6 @@ Class | Method | HTTP request | Description *OapiApi* | [**create_pod_security_policy_review_for_all_namespaces**](docs/OapiApi.md#create_pod_security_policy_review_for_all_namespaces) | **POST** /oapi/v1/podsecuritypolicyreviews | *OapiApi* | [**create_pod_security_policy_self_subject_review_for_all_namespaces**](docs/OapiApi.md#create_pod_security_policy_self_subject_review_for_all_namespaces) | **POST** /oapi/v1/podsecuritypolicyselfsubjectreviews | *OapiApi* | [**create_pod_security_policy_subject_review_for_all_namespaces**](docs/OapiApi.md#create_pod_security_policy_subject_review_for_all_namespaces) | **POST** /oapi/v1/podsecuritypolicysubjectreviews | -*OapiApi* | [**create_policy_binding_for_all_namespaces**](docs/OapiApi.md#create_policy_binding_for_all_namespaces) | **POST** /oapi/v1/policybindings | -*OapiApi* | [**create_policy_for_all_namespaces**](docs/OapiApi.md#create_policy_for_all_namespaces) | **POST** /oapi/v1/policies | *OapiApi* | [**create_processed_template_for_all_namespaces_v1**](docs/OapiApi.md#create_processed_template_for_all_namespaces_v1) | **POST** /oapi/v1/processedtemplates | *OapiApi* | [**create_project**](docs/OapiApi.md#create_project) | **POST** /oapi/v1/projects | *OapiApi* | [**create_project_request**](docs/OapiApi.md#create_project_request) | **POST** /oapi/v1/projectrequests | @@ -805,14 +800,10 @@ Class | Method | HTTP request | Description *OapiApi* | [**create_user**](docs/OapiApi.md#create_user) | **POST** /oapi/v1/users | *OapiApi* | [**create_user_identity_mapping**](docs/OapiApi.md#create_user_identity_mapping) | **POST** /oapi/v1/useridentitymappings | *OapiApi* | [**delete_cluster_network**](docs/OapiApi.md#delete_cluster_network) | **DELETE** /oapi/v1/clusternetworks/{name} | -*OapiApi* | [**delete_cluster_policy**](docs/OapiApi.md#delete_cluster_policy) | **DELETE** /oapi/v1/clusterpolicies/{name} | -*OapiApi* | [**delete_cluster_policy_binding**](docs/OapiApi.md#delete_cluster_policy_binding) | **DELETE** /oapi/v1/clusterpolicybindings/{name} | *OapiApi* | [**delete_cluster_resource_quota**](docs/OapiApi.md#delete_cluster_resource_quota) | **DELETE** /oapi/v1/clusterresourcequotas/{name} | *OapiApi* | [**delete_cluster_role**](docs/OapiApi.md#delete_cluster_role) | **DELETE** /oapi/v1/clusterroles/{name} | *OapiApi* | [**delete_cluster_role_binding**](docs/OapiApi.md#delete_cluster_role_binding) | **DELETE** /oapi/v1/clusterrolebindings/{name} | *OapiApi* | [**delete_collection_cluster_network**](docs/OapiApi.md#delete_collection_cluster_network) | **DELETE** /oapi/v1/clusternetworks | -*OapiApi* | [**delete_collection_cluster_policy**](docs/OapiApi.md#delete_collection_cluster_policy) | **DELETE** /oapi/v1/clusterpolicies | -*OapiApi* | [**delete_collection_cluster_policy_binding**](docs/OapiApi.md#delete_collection_cluster_policy_binding) | **DELETE** /oapi/v1/clusterpolicybindings | *OapiApi* | [**delete_collection_cluster_resource_quota**](docs/OapiApi.md#delete_collection_cluster_resource_quota) | **DELETE** /oapi/v1/clusterresourcequotas | *OapiApi* | [**delete_collection_group**](docs/OapiApi.md#delete_collection_group) | **DELETE** /oapi/v1/groups | *OapiApi* | [**delete_collection_host_subnet**](docs/OapiApi.md#delete_collection_host_subnet) | **DELETE** /oapi/v1/hostsubnets | @@ -823,8 +814,6 @@ Class | Method | HTTP request | Description *OapiApi* | [**delete_collection_namespaced_deployment_config**](docs/OapiApi.md#delete_collection_namespaced_deployment_config) | **DELETE** /oapi/v1/namespaces/{namespace}/deploymentconfigs | *OapiApi* | [**delete_collection_namespaced_egress_network_policy**](docs/OapiApi.md#delete_collection_namespaced_egress_network_policy) | **DELETE** /oapi/v1/namespaces/{namespace}/egressnetworkpolicies | *OapiApi* | [**delete_collection_namespaced_image_stream**](docs/OapiApi.md#delete_collection_namespaced_image_stream) | **DELETE** /oapi/v1/namespaces/{namespace}/imagestreams | -*OapiApi* | [**delete_collection_namespaced_policy**](docs/OapiApi.md#delete_collection_namespaced_policy) | **DELETE** /oapi/v1/namespaces/{namespace}/policies | -*OapiApi* | [**delete_collection_namespaced_policy_binding**](docs/OapiApi.md#delete_collection_namespaced_policy_binding) | **DELETE** /oapi/v1/namespaces/{namespace}/policybindings | *OapiApi* | [**delete_collection_namespaced_role_binding_restriction**](docs/OapiApi.md#delete_collection_namespaced_role_binding_restriction) | **DELETE** /oapi/v1/namespaces/{namespace}/rolebindingrestrictions | *OapiApi* | [**delete_collection_namespaced_route**](docs/OapiApi.md#delete_collection_namespaced_route) | **DELETE** /oapi/v1/namespaces/{namespace}/routes | *OapiApi* | [**delete_collection_namespaced_template**](docs/OapiApi.md#delete_collection_namespaced_template) | **DELETE** /oapi/v1/namespaces/{namespace}/templates | @@ -845,8 +834,6 @@ Class | Method | HTTP request | Description *OapiApi* | [**delete_namespaced_egress_network_policy**](docs/OapiApi.md#delete_namespaced_egress_network_policy) | **DELETE** /oapi/v1/namespaces/{namespace}/egressnetworkpolicies/{name} | *OapiApi* | [**delete_namespaced_image_stream**](docs/OapiApi.md#delete_namespaced_image_stream) | **DELETE** /oapi/v1/namespaces/{namespace}/imagestreams/{name} | *OapiApi* | [**delete_namespaced_image_stream_tag**](docs/OapiApi.md#delete_namespaced_image_stream_tag) | **DELETE** /oapi/v1/namespaces/{namespace}/imagestreamtags/{name} | -*OapiApi* | [**delete_namespaced_policy**](docs/OapiApi.md#delete_namespaced_policy) | **DELETE** /oapi/v1/namespaces/{namespace}/policies/{name} | -*OapiApi* | [**delete_namespaced_policy_binding**](docs/OapiApi.md#delete_namespaced_policy_binding) | **DELETE** /oapi/v1/namespaces/{namespace}/policybindings/{name} | *OapiApi* | [**delete_namespaced_role**](docs/OapiApi.md#delete_namespaced_role) | **DELETE** /oapi/v1/namespaces/{namespace}/roles/{name} | *OapiApi* | [**delete_namespaced_role_binding**](docs/OapiApi.md#delete_namespaced_role_binding) | **DELETE** /oapi/v1/namespaces/{namespace}/rolebindings/{name} | *OapiApi* | [**delete_namespaced_role_binding_restriction**](docs/OapiApi.md#delete_namespaced_role_binding_restriction) | **DELETE** /oapi/v1/namespaces/{namespace}/rolebindingrestrictions/{name} | @@ -860,15 +847,12 @@ Class | Method | HTTP request | Description *OapiApi* | [**delete_project**](docs/OapiApi.md#delete_project) | **DELETE** /oapi/v1/projects/{name} | *OapiApi* | [**delete_user**](docs/OapiApi.md#delete_user) | **DELETE** /oapi/v1/users/{name} | *OapiApi* | [**delete_user_identity_mapping**](docs/OapiApi.md#delete_user_identity_mapping) | **DELETE** /oapi/v1/useridentitymappings/{name} | -*OapiApi* | [**generate_namespaced_deployment_config**](docs/OapiApi.md#generate_namespaced_deployment_config) | **GET** /oapi/v1/namespaces/{namespace}/generatedeploymentconfigs/{name} | *OapiApi* | [**get_api_resources**](docs/OapiApi.md#get_api_resources) | **GET** /oapi/v1/ | -*OapiApi* | [**get_oapi_version**](docs/OapiApi.md#get_oapi_version) | **GET** /oapi/ | +*OapiApi* | [**get_legacy_api_versions**](docs/OapiApi.md#get_legacy_api_versions) | **GET** /oapi/ | *OapiApi* | [**list_applied_cluster_resource_quota_for_all_namespaces**](docs/OapiApi.md#list_applied_cluster_resource_quota_for_all_namespaces) | **GET** /oapi/v1/appliedclusterresourcequotas | *OapiApi* | [**list_build_config_for_all_namespaces**](docs/OapiApi.md#list_build_config_for_all_namespaces) | **GET** /oapi/v1/buildconfigs | *OapiApi* | [**list_build_for_all_namespaces**](docs/OapiApi.md#list_build_for_all_namespaces) | **GET** /oapi/v1/builds | *OapiApi* | [**list_cluster_network**](docs/OapiApi.md#list_cluster_network) | **GET** /oapi/v1/clusternetworks | -*OapiApi* | [**list_cluster_policy**](docs/OapiApi.md#list_cluster_policy) | **GET** /oapi/v1/clusterpolicies | -*OapiApi* | [**list_cluster_policy_binding**](docs/OapiApi.md#list_cluster_policy_binding) | **GET** /oapi/v1/clusterpolicybindings | *OapiApi* | [**list_cluster_resource_quota**](docs/OapiApi.md#list_cluster_resource_quota) | **GET** /oapi/v1/clusterresourcequotas | *OapiApi* | [**list_cluster_role**](docs/OapiApi.md#list_cluster_role) | **GET** /oapi/v1/clusterroles | *OapiApi* | [**list_cluster_role_binding**](docs/OapiApi.md#list_cluster_role_binding) | **GET** /oapi/v1/clusterrolebindings | @@ -887,8 +871,6 @@ Class | Method | HTTP request | Description *OapiApi* | [**list_namespaced_egress_network_policy**](docs/OapiApi.md#list_namespaced_egress_network_policy) | **GET** /oapi/v1/namespaces/{namespace}/egressnetworkpolicies | *OapiApi* | [**list_namespaced_image_stream**](docs/OapiApi.md#list_namespaced_image_stream) | **GET** /oapi/v1/namespaces/{namespace}/imagestreams | *OapiApi* | [**list_namespaced_image_stream_tag**](docs/OapiApi.md#list_namespaced_image_stream_tag) | **GET** /oapi/v1/namespaces/{namespace}/imagestreamtags | -*OapiApi* | [**list_namespaced_policy**](docs/OapiApi.md#list_namespaced_policy) | **GET** /oapi/v1/namespaces/{namespace}/policies | -*OapiApi* | [**list_namespaced_policy_binding**](docs/OapiApi.md#list_namespaced_policy_binding) | **GET** /oapi/v1/namespaces/{namespace}/policybindings | *OapiApi* | [**list_namespaced_role**](docs/OapiApi.md#list_namespaced_role) | **GET** /oapi/v1/namespaces/{namespace}/roles | *OapiApi* | [**list_namespaced_role_binding**](docs/OapiApi.md#list_namespaced_role_binding) | **GET** /oapi/v1/namespaces/{namespace}/rolebindings | *OapiApi* | [**list_namespaced_role_binding_restriction**](docs/OapiApi.md#list_namespaced_role_binding_restriction) | **GET** /oapi/v1/namespaces/{namespace}/rolebindingrestrictions | @@ -899,8 +881,6 @@ Class | Method | HTTP request | Description *OapiApi* | [**list_o_auth_authorize_token**](docs/OapiApi.md#list_o_auth_authorize_token) | **GET** /oapi/v1/oauthauthorizetokens | *OapiApi* | [**list_o_auth_client**](docs/OapiApi.md#list_o_auth_client) | **GET** /oapi/v1/oauthclients | *OapiApi* | [**list_o_auth_client_authorization**](docs/OapiApi.md#list_o_auth_client_authorization) | **GET** /oapi/v1/oauthclientauthorizations | -*OapiApi* | [**list_policy_binding_for_all_namespaces**](docs/OapiApi.md#list_policy_binding_for_all_namespaces) | **GET** /oapi/v1/policybindings | -*OapiApi* | [**list_policy_for_all_namespaces**](docs/OapiApi.md#list_policy_for_all_namespaces) | **GET** /oapi/v1/policies | *OapiApi* | [**list_project**](docs/OapiApi.md#list_project) | **GET** /oapi/v1/projects | *OapiApi* | [**list_project_request**](docs/OapiApi.md#list_project_request) | **GET** /oapi/v1/projectrequests | *OapiApi* | [**list_role_binding_for_all_namespaces**](docs/OapiApi.md#list_role_binding_for_all_namespaces) | **GET** /oapi/v1/rolebindings | @@ -910,8 +890,6 @@ Class | Method | HTTP request | Description *OapiApi* | [**list_template_for_all_namespaces**](docs/OapiApi.md#list_template_for_all_namespaces) | **GET** /oapi/v1/templates | *OapiApi* | [**list_user**](docs/OapiApi.md#list_user) | **GET** /oapi/v1/users | *OapiApi* | [**patch_cluster_network**](docs/OapiApi.md#patch_cluster_network) | **PATCH** /oapi/v1/clusternetworks/{name} | -*OapiApi* | [**patch_cluster_policy**](docs/OapiApi.md#patch_cluster_policy) | **PATCH** /oapi/v1/clusterpolicies/{name} | -*OapiApi* | [**patch_cluster_policy_binding**](docs/OapiApi.md#patch_cluster_policy_binding) | **PATCH** /oapi/v1/clusterpolicybindings/{name} | *OapiApi* | [**patch_cluster_resource_quota**](docs/OapiApi.md#patch_cluster_resource_quota) | **PATCH** /oapi/v1/clusterresourcequotas/{name} | *OapiApi* | [**patch_cluster_resource_quota_status**](docs/OapiApi.md#patch_cluster_resource_quota_status) | **PATCH** /oapi/v1/clusterresourcequotas/{name}/status | *OapiApi* | [**patch_cluster_role**](docs/OapiApi.md#patch_cluster_role) | **PATCH** /oapi/v1/clusterroles/{name} | @@ -928,8 +906,6 @@ Class | Method | HTTP request | Description *OapiApi* | [**patch_namespaced_image_stream**](docs/OapiApi.md#patch_namespaced_image_stream) | **PATCH** /oapi/v1/namespaces/{namespace}/imagestreams/{name} | *OapiApi* | [**patch_namespaced_image_stream_status**](docs/OapiApi.md#patch_namespaced_image_stream_status) | **PATCH** /oapi/v1/namespaces/{namespace}/imagestreams/{name}/status | *OapiApi* | [**patch_namespaced_image_stream_tag**](docs/OapiApi.md#patch_namespaced_image_stream_tag) | **PATCH** /oapi/v1/namespaces/{namespace}/imagestreamtags/{name} | -*OapiApi* | [**patch_namespaced_policy**](docs/OapiApi.md#patch_namespaced_policy) | **PATCH** /oapi/v1/namespaces/{namespace}/policies/{name} | -*OapiApi* | [**patch_namespaced_policy_binding**](docs/OapiApi.md#patch_namespaced_policy_binding) | **PATCH** /oapi/v1/namespaces/{namespace}/policybindings/{name} | *OapiApi* | [**patch_namespaced_role**](docs/OapiApi.md#patch_namespaced_role) | **PATCH** /oapi/v1/namespaces/{namespace}/roles/{name} | *OapiApi* | [**patch_namespaced_role_binding**](docs/OapiApi.md#patch_namespaced_role_binding) | **PATCH** /oapi/v1/namespaces/{namespace}/rolebindings/{name} | *OapiApi* | [**patch_namespaced_role_binding_restriction**](docs/OapiApi.md#patch_namespaced_role_binding_restriction) | **PATCH** /oapi/v1/namespaces/{namespace}/rolebindingrestrictions/{name} | @@ -946,8 +922,6 @@ Class | Method | HTTP request | Description *OapiApi* | [**patch_user**](docs/OapiApi.md#patch_user) | **PATCH** /oapi/v1/users/{name} | *OapiApi* | [**patch_user_identity_mapping**](docs/OapiApi.md#patch_user_identity_mapping) | **PATCH** /oapi/v1/useridentitymappings/{name} | *OapiApi* | [**read_cluster_network**](docs/OapiApi.md#read_cluster_network) | **GET** /oapi/v1/clusternetworks/{name} | -*OapiApi* | [**read_cluster_policy**](docs/OapiApi.md#read_cluster_policy) | **GET** /oapi/v1/clusterpolicies/{name} | -*OapiApi* | [**read_cluster_policy_binding**](docs/OapiApi.md#read_cluster_policy_binding) | **GET** /oapi/v1/clusterpolicybindings/{name} | *OapiApi* | [**read_cluster_resource_quota**](docs/OapiApi.md#read_cluster_resource_quota) | **GET** /oapi/v1/clusterresourcequotas/{name} | *OapiApi* | [**read_cluster_resource_quota_status**](docs/OapiApi.md#read_cluster_resource_quota_status) | **GET** /oapi/v1/clusterresourcequotas/{name}/status | *OapiApi* | [**read_cluster_role**](docs/OapiApi.md#read_cluster_role) | **GET** /oapi/v1/clusterroles/{name} | @@ -968,8 +942,6 @@ Class | Method | HTTP request | Description *OapiApi* | [**read_namespaced_image_stream_image**](docs/OapiApi.md#read_namespaced_image_stream_image) | **GET** /oapi/v1/namespaces/{namespace}/imagestreamimages/{name} | *OapiApi* | [**read_namespaced_image_stream_status**](docs/OapiApi.md#read_namespaced_image_stream_status) | **GET** /oapi/v1/namespaces/{namespace}/imagestreams/{name}/status | *OapiApi* | [**read_namespaced_image_stream_tag**](docs/OapiApi.md#read_namespaced_image_stream_tag) | **GET** /oapi/v1/namespaces/{namespace}/imagestreamtags/{name} | -*OapiApi* | [**read_namespaced_policy**](docs/OapiApi.md#read_namespaced_policy) | **GET** /oapi/v1/namespaces/{namespace}/policies/{name} | -*OapiApi* | [**read_namespaced_policy_binding**](docs/OapiApi.md#read_namespaced_policy_binding) | **GET** /oapi/v1/namespaces/{namespace}/policybindings/{name} | *OapiApi* | [**read_namespaced_role**](docs/OapiApi.md#read_namespaced_role) | **GET** /oapi/v1/namespaces/{namespace}/roles/{name} | *OapiApi* | [**read_namespaced_role_binding**](docs/OapiApi.md#read_namespaced_role_binding) | **GET** /oapi/v1/namespaces/{namespace}/rolebindings/{name} | *OapiApi* | [**read_namespaced_role_binding_restriction**](docs/OapiApi.md#read_namespaced_role_binding_restriction) | **GET** /oapi/v1/namespaces/{namespace}/rolebindingrestrictions/{name} | @@ -987,8 +959,6 @@ Class | Method | HTTP request | Description *OapiApi* | [**read_user**](docs/OapiApi.md#read_user) | **GET** /oapi/v1/users/{name} | *OapiApi* | [**read_user_identity_mapping**](docs/OapiApi.md#read_user_identity_mapping) | **GET** /oapi/v1/useridentitymappings/{name} | *OapiApi* | [**replace_cluster_network**](docs/OapiApi.md#replace_cluster_network) | **PUT** /oapi/v1/clusternetworks/{name} | -*OapiApi* | [**replace_cluster_policy**](docs/OapiApi.md#replace_cluster_policy) | **PUT** /oapi/v1/clusterpolicies/{name} | -*OapiApi* | [**replace_cluster_policy_binding**](docs/OapiApi.md#replace_cluster_policy_binding) | **PUT** /oapi/v1/clusterpolicybindings/{name} | *OapiApi* | [**replace_cluster_resource_quota**](docs/OapiApi.md#replace_cluster_resource_quota) | **PUT** /oapi/v1/clusterresourcequotas/{name} | *OapiApi* | [**replace_cluster_resource_quota_status**](docs/OapiApi.md#replace_cluster_resource_quota_status) | **PUT** /oapi/v1/clusterresourcequotas/{name}/status | *OapiApi* | [**replace_cluster_role**](docs/OapiApi.md#replace_cluster_role) | **PUT** /oapi/v1/clusterroles/{name} | @@ -1006,8 +976,6 @@ Class | Method | HTTP request | Description *OapiApi* | [**replace_namespaced_image_stream**](docs/OapiApi.md#replace_namespaced_image_stream) | **PUT** /oapi/v1/namespaces/{namespace}/imagestreams/{name} | *OapiApi* | [**replace_namespaced_image_stream_status**](docs/OapiApi.md#replace_namespaced_image_stream_status) | **PUT** /oapi/v1/namespaces/{namespace}/imagestreams/{name}/status | *OapiApi* | [**replace_namespaced_image_stream_tag**](docs/OapiApi.md#replace_namespaced_image_stream_tag) | **PUT** /oapi/v1/namespaces/{namespace}/imagestreamtags/{name} | -*OapiApi* | [**replace_namespaced_policy**](docs/OapiApi.md#replace_namespaced_policy) | **PUT** /oapi/v1/namespaces/{namespace}/policies/{name} | -*OapiApi* | [**replace_namespaced_policy_binding**](docs/OapiApi.md#replace_namespaced_policy_binding) | **PUT** /oapi/v1/namespaces/{namespace}/policybindings/{name} | *OapiApi* | [**replace_namespaced_role**](docs/OapiApi.md#replace_namespaced_role) | **PUT** /oapi/v1/namespaces/{namespace}/roles/{name} | *OapiApi* | [**replace_namespaced_role_binding**](docs/OapiApi.md#replace_namespaced_role_binding) | **PUT** /oapi/v1/namespaces/{namespace}/rolebindings/{name} | *OapiApi* | [**replace_namespaced_role_binding_restriction**](docs/OapiApi.md#replace_namespaced_role_binding_restriction) | **PUT** /oapi/v1/namespaces/{namespace}/rolebindingrestrictions/{name} | @@ -1023,38 +991,37 @@ Class | Method | HTTP request | Description *OapiApi* | [**replace_project**](docs/OapiApi.md#replace_project) | **PUT** /oapi/v1/projects/{name} | *OapiApi* | [**replace_user**](docs/OapiApi.md#replace_user) | **PUT** /oapi/v1/users/{name} | *OapiApi* | [**replace_user_identity_mapping**](docs/OapiApi.md#replace_user_identity_mapping) | **PUT** /oapi/v1/useridentitymappings/{name} | -*OauthOpenshiftIoApi* | [**get_oauth_openshift_io_api_group**](docs/OauthOpenshiftIoApi.md#get_oauth_openshift_io_api_group) | **GET** /apis/oauth.openshift.io/ | -*OauthOpenshiftIoV1Api* | [**create_oauth_openshift_io_v1_o_auth_access_token**](docs/OauthOpenshiftIoV1Api.md#create_oauth_openshift_io_v1_o_auth_access_token) | **POST** /apis/oauth.openshift.io/v1/oauthaccesstokens | -*OauthOpenshiftIoV1Api* | [**create_oauth_openshift_io_v1_o_auth_authorize_token**](docs/OauthOpenshiftIoV1Api.md#create_oauth_openshift_io_v1_o_auth_authorize_token) | **POST** /apis/oauth.openshift.io/v1/oauthauthorizetokens | -*OauthOpenshiftIoV1Api* | [**create_oauth_openshift_io_v1_o_auth_client**](docs/OauthOpenshiftIoV1Api.md#create_oauth_openshift_io_v1_o_auth_client) | **POST** /apis/oauth.openshift.io/v1/oauthclients | -*OauthOpenshiftIoV1Api* | [**create_oauth_openshift_io_v1_o_auth_client_authorization**](docs/OauthOpenshiftIoV1Api.md#create_oauth_openshift_io_v1_o_auth_client_authorization) | **POST** /apis/oauth.openshift.io/v1/oauthclientauthorizations | -*OauthOpenshiftIoV1Api* | [**delete_oauth_openshift_io_v1_collection_o_auth_access_token**](docs/OauthOpenshiftIoV1Api.md#delete_oauth_openshift_io_v1_collection_o_auth_access_token) | **DELETE** /apis/oauth.openshift.io/v1/oauthaccesstokens | -*OauthOpenshiftIoV1Api* | [**delete_oauth_openshift_io_v1_collection_o_auth_authorize_token**](docs/OauthOpenshiftIoV1Api.md#delete_oauth_openshift_io_v1_collection_o_auth_authorize_token) | **DELETE** /apis/oauth.openshift.io/v1/oauthauthorizetokens | -*OauthOpenshiftIoV1Api* | [**delete_oauth_openshift_io_v1_collection_o_auth_client**](docs/OauthOpenshiftIoV1Api.md#delete_oauth_openshift_io_v1_collection_o_auth_client) | **DELETE** /apis/oauth.openshift.io/v1/oauthclients | -*OauthOpenshiftIoV1Api* | [**delete_oauth_openshift_io_v1_collection_o_auth_client_authorization**](docs/OauthOpenshiftIoV1Api.md#delete_oauth_openshift_io_v1_collection_o_auth_client_authorization) | **DELETE** /apis/oauth.openshift.io/v1/oauthclientauthorizations | -*OauthOpenshiftIoV1Api* | [**delete_oauth_openshift_io_v1_o_auth_access_token**](docs/OauthOpenshiftIoV1Api.md#delete_oauth_openshift_io_v1_o_auth_access_token) | **DELETE** /apis/oauth.openshift.io/v1/oauthaccesstokens/{name} | -*OauthOpenshiftIoV1Api* | [**delete_oauth_openshift_io_v1_o_auth_authorize_token**](docs/OauthOpenshiftIoV1Api.md#delete_oauth_openshift_io_v1_o_auth_authorize_token) | **DELETE** /apis/oauth.openshift.io/v1/oauthauthorizetokens/{name} | -*OauthOpenshiftIoV1Api* | [**delete_oauth_openshift_io_v1_o_auth_client**](docs/OauthOpenshiftIoV1Api.md#delete_oauth_openshift_io_v1_o_auth_client) | **DELETE** /apis/oauth.openshift.io/v1/oauthclients/{name} | -*OauthOpenshiftIoV1Api* | [**delete_oauth_openshift_io_v1_o_auth_client_authorization**](docs/OauthOpenshiftIoV1Api.md#delete_oauth_openshift_io_v1_o_auth_client_authorization) | **DELETE** /apis/oauth.openshift.io/v1/oauthclientauthorizations/{name} | -*OauthOpenshiftIoV1Api* | [**get_oauth_openshift_io_v1_api_resources**](docs/OauthOpenshiftIoV1Api.md#get_oauth_openshift_io_v1_api_resources) | **GET** /apis/oauth.openshift.io/v1/ | -*OauthOpenshiftIoV1Api* | [**list_oauth_openshift_io_v1_o_auth_access_token**](docs/OauthOpenshiftIoV1Api.md#list_oauth_openshift_io_v1_o_auth_access_token) | **GET** /apis/oauth.openshift.io/v1/oauthaccesstokens | -*OauthOpenshiftIoV1Api* | [**list_oauth_openshift_io_v1_o_auth_authorize_token**](docs/OauthOpenshiftIoV1Api.md#list_oauth_openshift_io_v1_o_auth_authorize_token) | **GET** /apis/oauth.openshift.io/v1/oauthauthorizetokens | -*OauthOpenshiftIoV1Api* | [**list_oauth_openshift_io_v1_o_auth_client**](docs/OauthOpenshiftIoV1Api.md#list_oauth_openshift_io_v1_o_auth_client) | **GET** /apis/oauth.openshift.io/v1/oauthclients | -*OauthOpenshiftIoV1Api* | [**list_oauth_openshift_io_v1_o_auth_client_authorization**](docs/OauthOpenshiftIoV1Api.md#list_oauth_openshift_io_v1_o_auth_client_authorization) | **GET** /apis/oauth.openshift.io/v1/oauthclientauthorizations | -*OauthOpenshiftIoV1Api* | [**patch_oauth_openshift_io_v1_o_auth_access_token**](docs/OauthOpenshiftIoV1Api.md#patch_oauth_openshift_io_v1_o_auth_access_token) | **PATCH** /apis/oauth.openshift.io/v1/oauthaccesstokens/{name} | -*OauthOpenshiftIoV1Api* | [**patch_oauth_openshift_io_v1_o_auth_authorize_token**](docs/OauthOpenshiftIoV1Api.md#patch_oauth_openshift_io_v1_o_auth_authorize_token) | **PATCH** /apis/oauth.openshift.io/v1/oauthauthorizetokens/{name} | -*OauthOpenshiftIoV1Api* | [**patch_oauth_openshift_io_v1_o_auth_client**](docs/OauthOpenshiftIoV1Api.md#patch_oauth_openshift_io_v1_o_auth_client) | **PATCH** /apis/oauth.openshift.io/v1/oauthclients/{name} | -*OauthOpenshiftIoV1Api* | [**patch_oauth_openshift_io_v1_o_auth_client_authorization**](docs/OauthOpenshiftIoV1Api.md#patch_oauth_openshift_io_v1_o_auth_client_authorization) | **PATCH** /apis/oauth.openshift.io/v1/oauthclientauthorizations/{name} | -*OauthOpenshiftIoV1Api* | [**read_oauth_openshift_io_v1_o_auth_access_token**](docs/OauthOpenshiftIoV1Api.md#read_oauth_openshift_io_v1_o_auth_access_token) | **GET** /apis/oauth.openshift.io/v1/oauthaccesstokens/{name} | -*OauthOpenshiftIoV1Api* | [**read_oauth_openshift_io_v1_o_auth_authorize_token**](docs/OauthOpenshiftIoV1Api.md#read_oauth_openshift_io_v1_o_auth_authorize_token) | **GET** /apis/oauth.openshift.io/v1/oauthauthorizetokens/{name} | -*OauthOpenshiftIoV1Api* | [**read_oauth_openshift_io_v1_o_auth_client**](docs/OauthOpenshiftIoV1Api.md#read_oauth_openshift_io_v1_o_auth_client) | **GET** /apis/oauth.openshift.io/v1/oauthclients/{name} | -*OauthOpenshiftIoV1Api* | [**read_oauth_openshift_io_v1_o_auth_client_authorization**](docs/OauthOpenshiftIoV1Api.md#read_oauth_openshift_io_v1_o_auth_client_authorization) | **GET** /apis/oauth.openshift.io/v1/oauthclientauthorizations/{name} | -*OauthOpenshiftIoV1Api* | [**replace_oauth_openshift_io_v1_o_auth_access_token**](docs/OauthOpenshiftIoV1Api.md#replace_oauth_openshift_io_v1_o_auth_access_token) | **PUT** /apis/oauth.openshift.io/v1/oauthaccesstokens/{name} | -*OauthOpenshiftIoV1Api* | [**replace_oauth_openshift_io_v1_o_auth_authorize_token**](docs/OauthOpenshiftIoV1Api.md#replace_oauth_openshift_io_v1_o_auth_authorize_token) | **PUT** /apis/oauth.openshift.io/v1/oauthauthorizetokens/{name} | -*OauthOpenshiftIoV1Api* | [**replace_oauth_openshift_io_v1_o_auth_client**](docs/OauthOpenshiftIoV1Api.md#replace_oauth_openshift_io_v1_o_auth_client) | **PUT** /apis/oauth.openshift.io/v1/oauthclients/{name} | -*OauthOpenshiftIoV1Api* | [**replace_oauth_openshift_io_v1_o_auth_client_authorization**](docs/OauthOpenshiftIoV1Api.md#replace_oauth_openshift_io_v1_o_auth_client_authorization) | **PUT** /apis/oauth.openshift.io/v1/oauthclientauthorizations/{name} | -*OsapiApi* | [**get_osapi_version**](docs/OsapiApi.md#get_osapi_version) | **GET** /osapi/ | -*PolicyApi* | [**get_policy_api_group**](docs/PolicyApi.md#get_policy_api_group) | **GET** /apis/policy/ | +*OauthOpenshiftIoApi* | [**get_api_group**](docs/OauthOpenshiftIoApi.md#get_api_group) | **GET** /apis/oauth.openshift.io/ | +*OauthOpenshiftIoV1Api* | [**create_o_auth_access_token**](docs/OauthOpenshiftIoV1Api.md#create_o_auth_access_token) | **POST** /apis/oauth.openshift.io/v1/oauthaccesstokens | +*OauthOpenshiftIoV1Api* | [**create_o_auth_authorize_token**](docs/OauthOpenshiftIoV1Api.md#create_o_auth_authorize_token) | **POST** /apis/oauth.openshift.io/v1/oauthauthorizetokens | +*OauthOpenshiftIoV1Api* | [**create_o_auth_client**](docs/OauthOpenshiftIoV1Api.md#create_o_auth_client) | **POST** /apis/oauth.openshift.io/v1/oauthclients | +*OauthOpenshiftIoV1Api* | [**create_o_auth_client_authorization**](docs/OauthOpenshiftIoV1Api.md#create_o_auth_client_authorization) | **POST** /apis/oauth.openshift.io/v1/oauthclientauthorizations | +*OauthOpenshiftIoV1Api* | [**delete_collection_o_auth_access_token**](docs/OauthOpenshiftIoV1Api.md#delete_collection_o_auth_access_token) | **DELETE** /apis/oauth.openshift.io/v1/oauthaccesstokens | +*OauthOpenshiftIoV1Api* | [**delete_collection_o_auth_authorize_token**](docs/OauthOpenshiftIoV1Api.md#delete_collection_o_auth_authorize_token) | **DELETE** /apis/oauth.openshift.io/v1/oauthauthorizetokens | +*OauthOpenshiftIoV1Api* | [**delete_collection_o_auth_client**](docs/OauthOpenshiftIoV1Api.md#delete_collection_o_auth_client) | **DELETE** /apis/oauth.openshift.io/v1/oauthclients | +*OauthOpenshiftIoV1Api* | [**delete_collection_o_auth_client_authorization**](docs/OauthOpenshiftIoV1Api.md#delete_collection_o_auth_client_authorization) | **DELETE** /apis/oauth.openshift.io/v1/oauthclientauthorizations | +*OauthOpenshiftIoV1Api* | [**delete_o_auth_access_token**](docs/OauthOpenshiftIoV1Api.md#delete_o_auth_access_token) | **DELETE** /apis/oauth.openshift.io/v1/oauthaccesstokens/{name} | +*OauthOpenshiftIoV1Api* | [**delete_o_auth_authorize_token**](docs/OauthOpenshiftIoV1Api.md#delete_o_auth_authorize_token) | **DELETE** /apis/oauth.openshift.io/v1/oauthauthorizetokens/{name} | +*OauthOpenshiftIoV1Api* | [**delete_o_auth_client**](docs/OauthOpenshiftIoV1Api.md#delete_o_auth_client) | **DELETE** /apis/oauth.openshift.io/v1/oauthclients/{name} | +*OauthOpenshiftIoV1Api* | [**delete_o_auth_client_authorization**](docs/OauthOpenshiftIoV1Api.md#delete_o_auth_client_authorization) | **DELETE** /apis/oauth.openshift.io/v1/oauthclientauthorizations/{name} | +*OauthOpenshiftIoV1Api* | [**get_api_resources**](docs/OauthOpenshiftIoV1Api.md#get_api_resources) | **GET** /apis/oauth.openshift.io/v1/ | +*OauthOpenshiftIoV1Api* | [**list_o_auth_access_token**](docs/OauthOpenshiftIoV1Api.md#list_o_auth_access_token) | **GET** /apis/oauth.openshift.io/v1/oauthaccesstokens | +*OauthOpenshiftIoV1Api* | [**list_o_auth_authorize_token**](docs/OauthOpenshiftIoV1Api.md#list_o_auth_authorize_token) | **GET** /apis/oauth.openshift.io/v1/oauthauthorizetokens | +*OauthOpenshiftIoV1Api* | [**list_o_auth_client**](docs/OauthOpenshiftIoV1Api.md#list_o_auth_client) | **GET** /apis/oauth.openshift.io/v1/oauthclients | +*OauthOpenshiftIoV1Api* | [**list_o_auth_client_authorization**](docs/OauthOpenshiftIoV1Api.md#list_o_auth_client_authorization) | **GET** /apis/oauth.openshift.io/v1/oauthclientauthorizations | +*OauthOpenshiftIoV1Api* | [**patch_o_auth_access_token**](docs/OauthOpenshiftIoV1Api.md#patch_o_auth_access_token) | **PATCH** /apis/oauth.openshift.io/v1/oauthaccesstokens/{name} | +*OauthOpenshiftIoV1Api* | [**patch_o_auth_authorize_token**](docs/OauthOpenshiftIoV1Api.md#patch_o_auth_authorize_token) | **PATCH** /apis/oauth.openshift.io/v1/oauthauthorizetokens/{name} | +*OauthOpenshiftIoV1Api* | [**patch_o_auth_client**](docs/OauthOpenshiftIoV1Api.md#patch_o_auth_client) | **PATCH** /apis/oauth.openshift.io/v1/oauthclients/{name} | +*OauthOpenshiftIoV1Api* | [**patch_o_auth_client_authorization**](docs/OauthOpenshiftIoV1Api.md#patch_o_auth_client_authorization) | **PATCH** /apis/oauth.openshift.io/v1/oauthclientauthorizations/{name} | +*OauthOpenshiftIoV1Api* | [**read_o_auth_access_token**](docs/OauthOpenshiftIoV1Api.md#read_o_auth_access_token) | **GET** /apis/oauth.openshift.io/v1/oauthaccesstokens/{name} | +*OauthOpenshiftIoV1Api* | [**read_o_auth_authorize_token**](docs/OauthOpenshiftIoV1Api.md#read_o_auth_authorize_token) | **GET** /apis/oauth.openshift.io/v1/oauthauthorizetokens/{name} | +*OauthOpenshiftIoV1Api* | [**read_o_auth_client**](docs/OauthOpenshiftIoV1Api.md#read_o_auth_client) | **GET** /apis/oauth.openshift.io/v1/oauthclients/{name} | +*OauthOpenshiftIoV1Api* | [**read_o_auth_client_authorization**](docs/OauthOpenshiftIoV1Api.md#read_o_auth_client_authorization) | **GET** /apis/oauth.openshift.io/v1/oauthclientauthorizations/{name} | +*OauthOpenshiftIoV1Api* | [**replace_o_auth_access_token**](docs/OauthOpenshiftIoV1Api.md#replace_o_auth_access_token) | **PUT** /apis/oauth.openshift.io/v1/oauthaccesstokens/{name} | +*OauthOpenshiftIoV1Api* | [**replace_o_auth_authorize_token**](docs/OauthOpenshiftIoV1Api.md#replace_o_auth_authorize_token) | **PUT** /apis/oauth.openshift.io/v1/oauthauthorizetokens/{name} | +*OauthOpenshiftIoV1Api* | [**replace_o_auth_client**](docs/OauthOpenshiftIoV1Api.md#replace_o_auth_client) | **PUT** /apis/oauth.openshift.io/v1/oauthclients/{name} | +*OauthOpenshiftIoV1Api* | [**replace_o_auth_client_authorization**](docs/OauthOpenshiftIoV1Api.md#replace_o_auth_client_authorization) | **PUT** /apis/oauth.openshift.io/v1/oauthclientauthorizations/{name} | +*PolicyApi* | [**get_api_group**](docs/PolicyApi.md#get_api_group) | **GET** /apis/policy/ | *PolicyV1beta1Api* | [**create_namespaced_pod_disruption_budget**](docs/PolicyV1beta1Api.md#create_namespaced_pod_disruption_budget) | **POST** /apis/policy/v1beta1/namespaces/{namespace}/poddisruptionbudgets | *PolicyV1beta1Api* | [**create_pod_disruption_budget_for_all_namespaces**](docs/PolicyV1beta1Api.md#create_pod_disruption_budget_for_all_namespaces) | **POST** /apis/policy/v1beta1/poddisruptionbudgets | *PolicyV1beta1Api* | [**delete_collection_namespaced_pod_disruption_budget**](docs/PolicyV1beta1Api.md#delete_collection_namespaced_pod_disruption_budget) | **DELETE** /apis/policy/v1beta1/namespaces/{namespace}/poddisruptionbudgets | @@ -1068,54 +1035,103 @@ Class | Method | HTTP request | Description *PolicyV1beta1Api* | [**read_namespaced_pod_disruption_budget_status**](docs/PolicyV1beta1Api.md#read_namespaced_pod_disruption_budget_status) | **GET** /apis/policy/v1beta1/namespaces/{namespace}/poddisruptionbudgets/{name}/status | *PolicyV1beta1Api* | [**replace_namespaced_pod_disruption_budget**](docs/PolicyV1beta1Api.md#replace_namespaced_pod_disruption_budget) | **PUT** /apis/policy/v1beta1/namespaces/{namespace}/poddisruptionbudgets/{name} | *PolicyV1beta1Api* | [**replace_namespaced_pod_disruption_budget_status**](docs/PolicyV1beta1Api.md#replace_namespaced_pod_disruption_budget_status) | **PUT** /apis/policy/v1beta1/namespaces/{namespace}/poddisruptionbudgets/{name}/status | -*ProjectOpenshiftIoApi* | [**get_project_openshift_io_api_group**](docs/ProjectOpenshiftIoApi.md#get_project_openshift_io_api_group) | **GET** /apis/project.openshift.io/ | -*ProjectOpenshiftIoV1Api* | [**create_project_openshift_io_v1_project**](docs/ProjectOpenshiftIoV1Api.md#create_project_openshift_io_v1_project) | **POST** /apis/project.openshift.io/v1/projects | -*ProjectOpenshiftIoV1Api* | [**create_project_openshift_io_v1_project_request**](docs/ProjectOpenshiftIoV1Api.md#create_project_openshift_io_v1_project_request) | **POST** /apis/project.openshift.io/v1/projectrequests | -*ProjectOpenshiftIoV1Api* | [**delete_project_openshift_io_v1_project**](docs/ProjectOpenshiftIoV1Api.md#delete_project_openshift_io_v1_project) | **DELETE** /apis/project.openshift.io/v1/projects/{name} | -*ProjectOpenshiftIoV1Api* | [**get_project_openshift_io_v1_api_resources**](docs/ProjectOpenshiftIoV1Api.md#get_project_openshift_io_v1_api_resources) | **GET** /apis/project.openshift.io/v1/ | -*ProjectOpenshiftIoV1Api* | [**list_project_openshift_io_v1_project**](docs/ProjectOpenshiftIoV1Api.md#list_project_openshift_io_v1_project) | **GET** /apis/project.openshift.io/v1/projects | -*ProjectOpenshiftIoV1Api* | [**list_project_openshift_io_v1_project_request**](docs/ProjectOpenshiftIoV1Api.md#list_project_openshift_io_v1_project_request) | **GET** /apis/project.openshift.io/v1/projectrequests | -*ProjectOpenshiftIoV1Api* | [**patch_project_openshift_io_v1_project**](docs/ProjectOpenshiftIoV1Api.md#patch_project_openshift_io_v1_project) | **PATCH** /apis/project.openshift.io/v1/projects/{name} | -*ProjectOpenshiftIoV1Api* | [**read_project_openshift_io_v1_project**](docs/ProjectOpenshiftIoV1Api.md#read_project_openshift_io_v1_project) | **GET** /apis/project.openshift.io/v1/projects/{name} | -*ProjectOpenshiftIoV1Api* | [**replace_project_openshift_io_v1_project**](docs/ProjectOpenshiftIoV1Api.md#replace_project_openshift_io_v1_project) | **PUT** /apis/project.openshift.io/v1/projects/{name} | -*QuotaOpenshiftIoApi* | [**get_quota_openshift_io_api_group**](docs/QuotaOpenshiftIoApi.md#get_quota_openshift_io_api_group) | **GET** /apis/quota.openshift.io/ | -*QuotaOpenshiftIoV1Api* | [**create_quota_openshift_io_v1_cluster_resource_quota**](docs/QuotaOpenshiftIoV1Api.md#create_quota_openshift_io_v1_cluster_resource_quota) | **POST** /apis/quota.openshift.io/v1/clusterresourcequotas | -*QuotaOpenshiftIoV1Api* | [**delete_quota_openshift_io_v1_cluster_resource_quota**](docs/QuotaOpenshiftIoV1Api.md#delete_quota_openshift_io_v1_cluster_resource_quota) | **DELETE** /apis/quota.openshift.io/v1/clusterresourcequotas/{name} | -*QuotaOpenshiftIoV1Api* | [**delete_quota_openshift_io_v1_collection_cluster_resource_quota**](docs/QuotaOpenshiftIoV1Api.md#delete_quota_openshift_io_v1_collection_cluster_resource_quota) | **DELETE** /apis/quota.openshift.io/v1/clusterresourcequotas | -*QuotaOpenshiftIoV1Api* | [**get_quota_openshift_io_v1_api_resources**](docs/QuotaOpenshiftIoV1Api.md#get_quota_openshift_io_v1_api_resources) | **GET** /apis/quota.openshift.io/v1/ | -*QuotaOpenshiftIoV1Api* | [**list_quota_openshift_io_v1_applied_cluster_resource_quota_for_all_namespaces**](docs/QuotaOpenshiftIoV1Api.md#list_quota_openshift_io_v1_applied_cluster_resource_quota_for_all_namespaces) | **GET** /apis/quota.openshift.io/v1/appliedclusterresourcequotas | -*QuotaOpenshiftIoV1Api* | [**list_quota_openshift_io_v1_cluster_resource_quota**](docs/QuotaOpenshiftIoV1Api.md#list_quota_openshift_io_v1_cluster_resource_quota) | **GET** /apis/quota.openshift.io/v1/clusterresourcequotas | -*QuotaOpenshiftIoV1Api* | [**list_quota_openshift_io_v1_namespaced_applied_cluster_resource_quota**](docs/QuotaOpenshiftIoV1Api.md#list_quota_openshift_io_v1_namespaced_applied_cluster_resource_quota) | **GET** /apis/quota.openshift.io/v1/namespaces/{namespace}/appliedclusterresourcequotas | -*QuotaOpenshiftIoV1Api* | [**patch_quota_openshift_io_v1_cluster_resource_quota**](docs/QuotaOpenshiftIoV1Api.md#patch_quota_openshift_io_v1_cluster_resource_quota) | **PATCH** /apis/quota.openshift.io/v1/clusterresourcequotas/{name} | -*QuotaOpenshiftIoV1Api* | [**patch_quota_openshift_io_v1_cluster_resource_quota_status**](docs/QuotaOpenshiftIoV1Api.md#patch_quota_openshift_io_v1_cluster_resource_quota_status) | **PATCH** /apis/quota.openshift.io/v1/clusterresourcequotas/{name}/status | -*QuotaOpenshiftIoV1Api* | [**read_quota_openshift_io_v1_cluster_resource_quota**](docs/QuotaOpenshiftIoV1Api.md#read_quota_openshift_io_v1_cluster_resource_quota) | **GET** /apis/quota.openshift.io/v1/clusterresourcequotas/{name} | -*QuotaOpenshiftIoV1Api* | [**read_quota_openshift_io_v1_cluster_resource_quota_status**](docs/QuotaOpenshiftIoV1Api.md#read_quota_openshift_io_v1_cluster_resource_quota_status) | **GET** /apis/quota.openshift.io/v1/clusterresourcequotas/{name}/status | -*QuotaOpenshiftIoV1Api* | [**read_quota_openshift_io_v1_namespaced_applied_cluster_resource_quota**](docs/QuotaOpenshiftIoV1Api.md#read_quota_openshift_io_v1_namespaced_applied_cluster_resource_quota) | **GET** /apis/quota.openshift.io/v1/namespaces/{namespace}/appliedclusterresourcequotas/{name} | -*QuotaOpenshiftIoV1Api* | [**replace_quota_openshift_io_v1_cluster_resource_quota**](docs/QuotaOpenshiftIoV1Api.md#replace_quota_openshift_io_v1_cluster_resource_quota) | **PUT** /apis/quota.openshift.io/v1/clusterresourcequotas/{name} | -*QuotaOpenshiftIoV1Api* | [**replace_quota_openshift_io_v1_cluster_resource_quota_status**](docs/QuotaOpenshiftIoV1Api.md#replace_quota_openshift_io_v1_cluster_resource_quota_status) | **PUT** /apis/quota.openshift.io/v1/clusterresourcequotas/{name}/status | -*RouteOpenshiftIoApi* | [**get_route_openshift_io_api_group**](docs/RouteOpenshiftIoApi.md#get_route_openshift_io_api_group) | **GET** /apis/route.openshift.io/ | -*RouteOpenshiftIoV1Api* | [**create_route_openshift_io_v1_namespaced_route**](docs/RouteOpenshiftIoV1Api.md#create_route_openshift_io_v1_namespaced_route) | **POST** /apis/route.openshift.io/v1/namespaces/{namespace}/routes | -*RouteOpenshiftIoV1Api* | [**create_route_openshift_io_v1_route_for_all_namespaces**](docs/RouteOpenshiftIoV1Api.md#create_route_openshift_io_v1_route_for_all_namespaces) | **POST** /apis/route.openshift.io/v1/routes | -*RouteOpenshiftIoV1Api* | [**delete_route_openshift_io_v1_collection_namespaced_route**](docs/RouteOpenshiftIoV1Api.md#delete_route_openshift_io_v1_collection_namespaced_route) | **DELETE** /apis/route.openshift.io/v1/namespaces/{namespace}/routes | -*RouteOpenshiftIoV1Api* | [**delete_route_openshift_io_v1_namespaced_route**](docs/RouteOpenshiftIoV1Api.md#delete_route_openshift_io_v1_namespaced_route) | **DELETE** /apis/route.openshift.io/v1/namespaces/{namespace}/routes/{name} | -*RouteOpenshiftIoV1Api* | [**get_route_openshift_io_v1_api_resources**](docs/RouteOpenshiftIoV1Api.md#get_route_openshift_io_v1_api_resources) | **GET** /apis/route.openshift.io/v1/ | -*RouteOpenshiftIoV1Api* | [**list_route_openshift_io_v1_namespaced_route**](docs/RouteOpenshiftIoV1Api.md#list_route_openshift_io_v1_namespaced_route) | **GET** /apis/route.openshift.io/v1/namespaces/{namespace}/routes | -*RouteOpenshiftIoV1Api* | [**list_route_openshift_io_v1_route_for_all_namespaces**](docs/RouteOpenshiftIoV1Api.md#list_route_openshift_io_v1_route_for_all_namespaces) | **GET** /apis/route.openshift.io/v1/routes | -*RouteOpenshiftIoV1Api* | [**patch_route_openshift_io_v1_namespaced_route**](docs/RouteOpenshiftIoV1Api.md#patch_route_openshift_io_v1_namespaced_route) | **PATCH** /apis/route.openshift.io/v1/namespaces/{namespace}/routes/{name} | -*RouteOpenshiftIoV1Api* | [**patch_route_openshift_io_v1_namespaced_route_status**](docs/RouteOpenshiftIoV1Api.md#patch_route_openshift_io_v1_namespaced_route_status) | **PATCH** /apis/route.openshift.io/v1/namespaces/{namespace}/routes/{name}/status | -*RouteOpenshiftIoV1Api* | [**read_route_openshift_io_v1_namespaced_route**](docs/RouteOpenshiftIoV1Api.md#read_route_openshift_io_v1_namespaced_route) | **GET** /apis/route.openshift.io/v1/namespaces/{namespace}/routes/{name} | -*RouteOpenshiftIoV1Api* | [**read_route_openshift_io_v1_namespaced_route_status**](docs/RouteOpenshiftIoV1Api.md#read_route_openshift_io_v1_namespaced_route_status) | **GET** /apis/route.openshift.io/v1/namespaces/{namespace}/routes/{name}/status | -*RouteOpenshiftIoV1Api* | [**replace_route_openshift_io_v1_namespaced_route**](docs/RouteOpenshiftIoV1Api.md#replace_route_openshift_io_v1_namespaced_route) | **PUT** /apis/route.openshift.io/v1/namespaces/{namespace}/routes/{name} | -*RouteOpenshiftIoV1Api* | [**replace_route_openshift_io_v1_namespaced_route_status**](docs/RouteOpenshiftIoV1Api.md#replace_route_openshift_io_v1_namespaced_route_status) | **PUT** /apis/route.openshift.io/v1/namespaces/{namespace}/routes/{name}/status | -*SecurityOpenshiftIoApi* | [**get_security_openshift_io_api_group**](docs/SecurityOpenshiftIoApi.md#get_security_openshift_io_api_group) | **GET** /apis/security.openshift.io/ | -*SecurityOpenshiftIoV1Api* | [**create_security_openshift_io_v1_namespaced_pod_security_policy_review**](docs/SecurityOpenshiftIoV1Api.md#create_security_openshift_io_v1_namespaced_pod_security_policy_review) | **POST** /apis/security.openshift.io/v1/namespaces/{namespace}/podsecuritypolicyreviews | -*SecurityOpenshiftIoV1Api* | [**create_security_openshift_io_v1_namespaced_pod_security_policy_self_subject_review**](docs/SecurityOpenshiftIoV1Api.md#create_security_openshift_io_v1_namespaced_pod_security_policy_self_subject_review) | **POST** /apis/security.openshift.io/v1/namespaces/{namespace}/podsecuritypolicyselfsubjectreviews | -*SecurityOpenshiftIoV1Api* | [**create_security_openshift_io_v1_namespaced_pod_security_policy_subject_review**](docs/SecurityOpenshiftIoV1Api.md#create_security_openshift_io_v1_namespaced_pod_security_policy_subject_review) | **POST** /apis/security.openshift.io/v1/namespaces/{namespace}/podsecuritypolicysubjectreviews | -*SecurityOpenshiftIoV1Api* | [**create_security_openshift_io_v1_pod_security_policy_review_for_all_namespaces**](docs/SecurityOpenshiftIoV1Api.md#create_security_openshift_io_v1_pod_security_policy_review_for_all_namespaces) | **POST** /apis/security.openshift.io/v1/podsecuritypolicyreviews | -*SecurityOpenshiftIoV1Api* | [**create_security_openshift_io_v1_pod_security_policy_self_subject_review_for_all_namespaces**](docs/SecurityOpenshiftIoV1Api.md#create_security_openshift_io_v1_pod_security_policy_self_subject_review_for_all_namespaces) | **POST** /apis/security.openshift.io/v1/podsecuritypolicyselfsubjectreviews | -*SecurityOpenshiftIoV1Api* | [**create_security_openshift_io_v1_pod_security_policy_subject_review_for_all_namespaces**](docs/SecurityOpenshiftIoV1Api.md#create_security_openshift_io_v1_pod_security_policy_subject_review_for_all_namespaces) | **POST** /apis/security.openshift.io/v1/podsecuritypolicysubjectreviews | -*SecurityOpenshiftIoV1Api* | [**get_security_openshift_io_v1_api_resources**](docs/SecurityOpenshiftIoV1Api.md#get_security_openshift_io_v1_api_resources) | **GET** /apis/security.openshift.io/v1/ | -*StorageApi* | [**get_storage_api_group**](docs/StorageApi.md#get_storage_api_group) | **GET** /apis/storage.k8s.io/ | +*ProjectOpenshiftIoApi* | [**get_api_group**](docs/ProjectOpenshiftIoApi.md#get_api_group) | **GET** /apis/project.openshift.io/ | +*ProjectOpenshiftIoV1Api* | [**create_project**](docs/ProjectOpenshiftIoV1Api.md#create_project) | **POST** /apis/project.openshift.io/v1/projects | +*ProjectOpenshiftIoV1Api* | [**create_project_request**](docs/ProjectOpenshiftIoV1Api.md#create_project_request) | **POST** /apis/project.openshift.io/v1/projectrequests | +*ProjectOpenshiftIoV1Api* | [**delete_project**](docs/ProjectOpenshiftIoV1Api.md#delete_project) | **DELETE** /apis/project.openshift.io/v1/projects/{name} | +*ProjectOpenshiftIoV1Api* | [**get_api_resources**](docs/ProjectOpenshiftIoV1Api.md#get_api_resources) | **GET** /apis/project.openshift.io/v1/ | +*ProjectOpenshiftIoV1Api* | [**list_project**](docs/ProjectOpenshiftIoV1Api.md#list_project) | **GET** /apis/project.openshift.io/v1/projects | +*ProjectOpenshiftIoV1Api* | [**list_project_request**](docs/ProjectOpenshiftIoV1Api.md#list_project_request) | **GET** /apis/project.openshift.io/v1/projectrequests | +*ProjectOpenshiftIoV1Api* | [**patch_project**](docs/ProjectOpenshiftIoV1Api.md#patch_project) | **PATCH** /apis/project.openshift.io/v1/projects/{name} | +*ProjectOpenshiftIoV1Api* | [**read_project**](docs/ProjectOpenshiftIoV1Api.md#read_project) | **GET** /apis/project.openshift.io/v1/projects/{name} | +*ProjectOpenshiftIoV1Api* | [**replace_project**](docs/ProjectOpenshiftIoV1Api.md#replace_project) | **PUT** /apis/project.openshift.io/v1/projects/{name} | +*QuotaOpenshiftIoApi* | [**get_api_group**](docs/QuotaOpenshiftIoApi.md#get_api_group) | **GET** /apis/quota.openshift.io/ | +*QuotaOpenshiftIoV1Api* | [**create_cluster_resource_quota**](docs/QuotaOpenshiftIoV1Api.md#create_cluster_resource_quota) | **POST** /apis/quota.openshift.io/v1/clusterresourcequotas | +*QuotaOpenshiftIoV1Api* | [**delete_cluster_resource_quota**](docs/QuotaOpenshiftIoV1Api.md#delete_cluster_resource_quota) | **DELETE** /apis/quota.openshift.io/v1/clusterresourcequotas/{name} | +*QuotaOpenshiftIoV1Api* | [**delete_collection_cluster_resource_quota**](docs/QuotaOpenshiftIoV1Api.md#delete_collection_cluster_resource_quota) | **DELETE** /apis/quota.openshift.io/v1/clusterresourcequotas | +*QuotaOpenshiftIoV1Api* | [**get_api_resources**](docs/QuotaOpenshiftIoV1Api.md#get_api_resources) | **GET** /apis/quota.openshift.io/v1/ | +*QuotaOpenshiftIoV1Api* | [**list_applied_cluster_resource_quota_for_all_namespaces**](docs/QuotaOpenshiftIoV1Api.md#list_applied_cluster_resource_quota_for_all_namespaces) | **GET** /apis/quota.openshift.io/v1/appliedclusterresourcequotas | +*QuotaOpenshiftIoV1Api* | [**list_cluster_resource_quota**](docs/QuotaOpenshiftIoV1Api.md#list_cluster_resource_quota) | **GET** /apis/quota.openshift.io/v1/clusterresourcequotas | +*QuotaOpenshiftIoV1Api* | [**list_namespaced_applied_cluster_resource_quota**](docs/QuotaOpenshiftIoV1Api.md#list_namespaced_applied_cluster_resource_quota) | **GET** /apis/quota.openshift.io/v1/namespaces/{namespace}/appliedclusterresourcequotas | +*QuotaOpenshiftIoV1Api* | [**patch_cluster_resource_quota**](docs/QuotaOpenshiftIoV1Api.md#patch_cluster_resource_quota) | **PATCH** /apis/quota.openshift.io/v1/clusterresourcequotas/{name} | +*QuotaOpenshiftIoV1Api* | [**patch_cluster_resource_quota_status**](docs/QuotaOpenshiftIoV1Api.md#patch_cluster_resource_quota_status) | **PATCH** /apis/quota.openshift.io/v1/clusterresourcequotas/{name}/status | +*QuotaOpenshiftIoV1Api* | [**read_cluster_resource_quota**](docs/QuotaOpenshiftIoV1Api.md#read_cluster_resource_quota) | **GET** /apis/quota.openshift.io/v1/clusterresourcequotas/{name} | +*QuotaOpenshiftIoV1Api* | [**read_cluster_resource_quota_status**](docs/QuotaOpenshiftIoV1Api.md#read_cluster_resource_quota_status) | **GET** /apis/quota.openshift.io/v1/clusterresourcequotas/{name}/status | +*QuotaOpenshiftIoV1Api* | [**read_namespaced_applied_cluster_resource_quota**](docs/QuotaOpenshiftIoV1Api.md#read_namespaced_applied_cluster_resource_quota) | **GET** /apis/quota.openshift.io/v1/namespaces/{namespace}/appliedclusterresourcequotas/{name} | +*QuotaOpenshiftIoV1Api* | [**replace_cluster_resource_quota**](docs/QuotaOpenshiftIoV1Api.md#replace_cluster_resource_quota) | **PUT** /apis/quota.openshift.io/v1/clusterresourcequotas/{name} | +*QuotaOpenshiftIoV1Api* | [**replace_cluster_resource_quota_status**](docs/QuotaOpenshiftIoV1Api.md#replace_cluster_resource_quota_status) | **PUT** /apis/quota.openshift.io/v1/clusterresourcequotas/{name}/status | +*RbacAuthorizationApi* | [**get_api_group**](docs/RbacAuthorizationApi.md#get_api_group) | **GET** /apis/rbac.authorization.k8s.io/ | +*RbacAuthorizationV1beta1Api* | [**create_cluster_role**](docs/RbacAuthorizationV1beta1Api.md#create_cluster_role) | **POST** /apis/rbac.authorization.k8s.io/v1beta1/clusterroles | +*RbacAuthorizationV1beta1Api* | [**create_cluster_role_binding**](docs/RbacAuthorizationV1beta1Api.md#create_cluster_role_binding) | **POST** /apis/rbac.authorization.k8s.io/v1beta1/clusterrolebindings | +*RbacAuthorizationV1beta1Api* | [**create_namespaced_role**](docs/RbacAuthorizationV1beta1Api.md#create_namespaced_role) | **POST** /apis/rbac.authorization.k8s.io/v1beta1/namespaces/{namespace}/roles | +*RbacAuthorizationV1beta1Api* | [**create_namespaced_role_binding**](docs/RbacAuthorizationV1beta1Api.md#create_namespaced_role_binding) | **POST** /apis/rbac.authorization.k8s.io/v1beta1/namespaces/{namespace}/rolebindings | +*RbacAuthorizationV1beta1Api* | [**create_role_binding_for_all_namespaces**](docs/RbacAuthorizationV1beta1Api.md#create_role_binding_for_all_namespaces) | **POST** /apis/rbac.authorization.k8s.io/v1beta1/rolebindings | +*RbacAuthorizationV1beta1Api* | [**create_role_for_all_namespaces**](docs/RbacAuthorizationV1beta1Api.md#create_role_for_all_namespaces) | **POST** /apis/rbac.authorization.k8s.io/v1beta1/roles | +*RbacAuthorizationV1beta1Api* | [**delete_cluster_role**](docs/RbacAuthorizationV1beta1Api.md#delete_cluster_role) | **DELETE** /apis/rbac.authorization.k8s.io/v1beta1/clusterroles/{name} | +*RbacAuthorizationV1beta1Api* | [**delete_cluster_role_binding**](docs/RbacAuthorizationV1beta1Api.md#delete_cluster_role_binding) | **DELETE** /apis/rbac.authorization.k8s.io/v1beta1/clusterrolebindings/{name} | +*RbacAuthorizationV1beta1Api* | [**delete_collection_cluster_role**](docs/RbacAuthorizationV1beta1Api.md#delete_collection_cluster_role) | **DELETE** /apis/rbac.authorization.k8s.io/v1beta1/clusterroles | +*RbacAuthorizationV1beta1Api* | [**delete_collection_cluster_role_binding**](docs/RbacAuthorizationV1beta1Api.md#delete_collection_cluster_role_binding) | **DELETE** /apis/rbac.authorization.k8s.io/v1beta1/clusterrolebindings | +*RbacAuthorizationV1beta1Api* | [**delete_collection_namespaced_role**](docs/RbacAuthorizationV1beta1Api.md#delete_collection_namespaced_role) | **DELETE** /apis/rbac.authorization.k8s.io/v1beta1/namespaces/{namespace}/roles | +*RbacAuthorizationV1beta1Api* | [**delete_collection_namespaced_role_binding**](docs/RbacAuthorizationV1beta1Api.md#delete_collection_namespaced_role_binding) | **DELETE** /apis/rbac.authorization.k8s.io/v1beta1/namespaces/{namespace}/rolebindings | +*RbacAuthorizationV1beta1Api* | [**delete_namespaced_role**](docs/RbacAuthorizationV1beta1Api.md#delete_namespaced_role) | **DELETE** /apis/rbac.authorization.k8s.io/v1beta1/namespaces/{namespace}/roles/{name} | +*RbacAuthorizationV1beta1Api* | [**delete_namespaced_role_binding**](docs/RbacAuthorizationV1beta1Api.md#delete_namespaced_role_binding) | **DELETE** /apis/rbac.authorization.k8s.io/v1beta1/namespaces/{namespace}/rolebindings/{name} | +*RbacAuthorizationV1beta1Api* | [**get_api_resources**](docs/RbacAuthorizationV1beta1Api.md#get_api_resources) | **GET** /apis/rbac.authorization.k8s.io/v1beta1/ | +*RbacAuthorizationV1beta1Api* | [**list_cluster_role**](docs/RbacAuthorizationV1beta1Api.md#list_cluster_role) | **GET** /apis/rbac.authorization.k8s.io/v1beta1/clusterroles | +*RbacAuthorizationV1beta1Api* | [**list_cluster_role_binding**](docs/RbacAuthorizationV1beta1Api.md#list_cluster_role_binding) | **GET** /apis/rbac.authorization.k8s.io/v1beta1/clusterrolebindings | +*RbacAuthorizationV1beta1Api* | [**list_namespaced_role**](docs/RbacAuthorizationV1beta1Api.md#list_namespaced_role) | **GET** /apis/rbac.authorization.k8s.io/v1beta1/namespaces/{namespace}/roles | +*RbacAuthorizationV1beta1Api* | [**list_namespaced_role_binding**](docs/RbacAuthorizationV1beta1Api.md#list_namespaced_role_binding) | **GET** /apis/rbac.authorization.k8s.io/v1beta1/namespaces/{namespace}/rolebindings | +*RbacAuthorizationV1beta1Api* | [**list_role_binding_for_all_namespaces**](docs/RbacAuthorizationV1beta1Api.md#list_role_binding_for_all_namespaces) | **GET** /apis/rbac.authorization.k8s.io/v1beta1/rolebindings | +*RbacAuthorizationV1beta1Api* | [**list_role_for_all_namespaces**](docs/RbacAuthorizationV1beta1Api.md#list_role_for_all_namespaces) | **GET** /apis/rbac.authorization.k8s.io/v1beta1/roles | +*RbacAuthorizationV1beta1Api* | [**patch_cluster_role**](docs/RbacAuthorizationV1beta1Api.md#patch_cluster_role) | **PATCH** /apis/rbac.authorization.k8s.io/v1beta1/clusterroles/{name} | +*RbacAuthorizationV1beta1Api* | [**patch_cluster_role_binding**](docs/RbacAuthorizationV1beta1Api.md#patch_cluster_role_binding) | **PATCH** /apis/rbac.authorization.k8s.io/v1beta1/clusterrolebindings/{name} | +*RbacAuthorizationV1beta1Api* | [**patch_namespaced_role**](docs/RbacAuthorizationV1beta1Api.md#patch_namespaced_role) | **PATCH** /apis/rbac.authorization.k8s.io/v1beta1/namespaces/{namespace}/roles/{name} | +*RbacAuthorizationV1beta1Api* | [**patch_namespaced_role_binding**](docs/RbacAuthorizationV1beta1Api.md#patch_namespaced_role_binding) | **PATCH** /apis/rbac.authorization.k8s.io/v1beta1/namespaces/{namespace}/rolebindings/{name} | +*RbacAuthorizationV1beta1Api* | [**read_cluster_role**](docs/RbacAuthorizationV1beta1Api.md#read_cluster_role) | **GET** /apis/rbac.authorization.k8s.io/v1beta1/clusterroles/{name} | +*RbacAuthorizationV1beta1Api* | [**read_cluster_role_binding**](docs/RbacAuthorizationV1beta1Api.md#read_cluster_role_binding) | **GET** /apis/rbac.authorization.k8s.io/v1beta1/clusterrolebindings/{name} | +*RbacAuthorizationV1beta1Api* | [**read_namespaced_role**](docs/RbacAuthorizationV1beta1Api.md#read_namespaced_role) | **GET** /apis/rbac.authorization.k8s.io/v1beta1/namespaces/{namespace}/roles/{name} | +*RbacAuthorizationV1beta1Api* | [**read_namespaced_role_binding**](docs/RbacAuthorizationV1beta1Api.md#read_namespaced_role_binding) | **GET** /apis/rbac.authorization.k8s.io/v1beta1/namespaces/{namespace}/rolebindings/{name} | +*RbacAuthorizationV1beta1Api* | [**replace_cluster_role**](docs/RbacAuthorizationV1beta1Api.md#replace_cluster_role) | **PUT** /apis/rbac.authorization.k8s.io/v1beta1/clusterroles/{name} | +*RbacAuthorizationV1beta1Api* | [**replace_cluster_role_binding**](docs/RbacAuthorizationV1beta1Api.md#replace_cluster_role_binding) | **PUT** /apis/rbac.authorization.k8s.io/v1beta1/clusterrolebindings/{name} | +*RbacAuthorizationV1beta1Api* | [**replace_namespaced_role**](docs/RbacAuthorizationV1beta1Api.md#replace_namespaced_role) | **PUT** /apis/rbac.authorization.k8s.io/v1beta1/namespaces/{namespace}/roles/{name} | +*RbacAuthorizationV1beta1Api* | [**replace_namespaced_role_binding**](docs/RbacAuthorizationV1beta1Api.md#replace_namespaced_role_binding) | **PUT** /apis/rbac.authorization.k8s.io/v1beta1/namespaces/{namespace}/rolebindings/{name} | +*RouteOpenshiftIoApi* | [**get_api_group**](docs/RouteOpenshiftIoApi.md#get_api_group) | **GET** /apis/route.openshift.io/ | +*RouteOpenshiftIoV1Api* | [**create_namespaced_route**](docs/RouteOpenshiftIoV1Api.md#create_namespaced_route) | **POST** /apis/route.openshift.io/v1/namespaces/{namespace}/routes | +*RouteOpenshiftIoV1Api* | [**create_route_for_all_namespaces**](docs/RouteOpenshiftIoV1Api.md#create_route_for_all_namespaces) | **POST** /apis/route.openshift.io/v1/routes | +*RouteOpenshiftIoV1Api* | [**delete_collection_namespaced_route**](docs/RouteOpenshiftIoV1Api.md#delete_collection_namespaced_route) | **DELETE** /apis/route.openshift.io/v1/namespaces/{namespace}/routes | +*RouteOpenshiftIoV1Api* | [**delete_namespaced_route**](docs/RouteOpenshiftIoV1Api.md#delete_namespaced_route) | **DELETE** /apis/route.openshift.io/v1/namespaces/{namespace}/routes/{name} | +*RouteOpenshiftIoV1Api* | [**get_api_resources**](docs/RouteOpenshiftIoV1Api.md#get_api_resources) | **GET** /apis/route.openshift.io/v1/ | +*RouteOpenshiftIoV1Api* | [**list_namespaced_route**](docs/RouteOpenshiftIoV1Api.md#list_namespaced_route) | **GET** /apis/route.openshift.io/v1/namespaces/{namespace}/routes | +*RouteOpenshiftIoV1Api* | [**list_route_for_all_namespaces**](docs/RouteOpenshiftIoV1Api.md#list_route_for_all_namespaces) | **GET** /apis/route.openshift.io/v1/routes | +*RouteOpenshiftIoV1Api* | [**patch_namespaced_route**](docs/RouteOpenshiftIoV1Api.md#patch_namespaced_route) | **PATCH** /apis/route.openshift.io/v1/namespaces/{namespace}/routes/{name} | +*RouteOpenshiftIoV1Api* | [**patch_namespaced_route_status**](docs/RouteOpenshiftIoV1Api.md#patch_namespaced_route_status) | **PATCH** /apis/route.openshift.io/v1/namespaces/{namespace}/routes/{name}/status | +*RouteOpenshiftIoV1Api* | [**read_namespaced_route**](docs/RouteOpenshiftIoV1Api.md#read_namespaced_route) | **GET** /apis/route.openshift.io/v1/namespaces/{namespace}/routes/{name} | +*RouteOpenshiftIoV1Api* | [**read_namespaced_route_status**](docs/RouteOpenshiftIoV1Api.md#read_namespaced_route_status) | **GET** /apis/route.openshift.io/v1/namespaces/{namespace}/routes/{name}/status | +*RouteOpenshiftIoV1Api* | [**replace_namespaced_route**](docs/RouteOpenshiftIoV1Api.md#replace_namespaced_route) | **PUT** /apis/route.openshift.io/v1/namespaces/{namespace}/routes/{name} | +*RouteOpenshiftIoV1Api* | [**replace_namespaced_route_status**](docs/RouteOpenshiftIoV1Api.md#replace_namespaced_route_status) | **PUT** /apis/route.openshift.io/v1/namespaces/{namespace}/routes/{name}/status | +*SecurityOpenshiftIoApi* | [**get_api_group**](docs/SecurityOpenshiftIoApi.md#get_api_group) | **GET** /apis/security.openshift.io/ | +*SecurityOpenshiftIoV1Api* | [**create_namespaced_pod_security_policy_review**](docs/SecurityOpenshiftIoV1Api.md#create_namespaced_pod_security_policy_review) | **POST** /apis/security.openshift.io/v1/namespaces/{namespace}/podsecuritypolicyreviews | +*SecurityOpenshiftIoV1Api* | [**create_namespaced_pod_security_policy_self_subject_review**](docs/SecurityOpenshiftIoV1Api.md#create_namespaced_pod_security_policy_self_subject_review) | **POST** /apis/security.openshift.io/v1/namespaces/{namespace}/podsecuritypolicyselfsubjectreviews | +*SecurityOpenshiftIoV1Api* | [**create_namespaced_pod_security_policy_subject_review**](docs/SecurityOpenshiftIoV1Api.md#create_namespaced_pod_security_policy_subject_review) | **POST** /apis/security.openshift.io/v1/namespaces/{namespace}/podsecuritypolicysubjectreviews | +*SecurityOpenshiftIoV1Api* | [**create_pod_security_policy_review_for_all_namespaces**](docs/SecurityOpenshiftIoV1Api.md#create_pod_security_policy_review_for_all_namespaces) | **POST** /apis/security.openshift.io/v1/podsecuritypolicyreviews | +*SecurityOpenshiftIoV1Api* | [**create_pod_security_policy_self_subject_review_for_all_namespaces**](docs/SecurityOpenshiftIoV1Api.md#create_pod_security_policy_self_subject_review_for_all_namespaces) | **POST** /apis/security.openshift.io/v1/podsecuritypolicyselfsubjectreviews | +*SecurityOpenshiftIoV1Api* | [**create_pod_security_policy_subject_review_for_all_namespaces**](docs/SecurityOpenshiftIoV1Api.md#create_pod_security_policy_subject_review_for_all_namespaces) | **POST** /apis/security.openshift.io/v1/podsecuritypolicysubjectreviews | +*SecurityOpenshiftIoV1Api* | [**create_security_context_constraints**](docs/SecurityOpenshiftIoV1Api.md#create_security_context_constraints) | **POST** /apis/security.openshift.io/v1/securitycontextconstraints | +*SecurityOpenshiftIoV1Api* | [**delete_collection_security_context_constraints**](docs/SecurityOpenshiftIoV1Api.md#delete_collection_security_context_constraints) | **DELETE** /apis/security.openshift.io/v1/securitycontextconstraints | +*SecurityOpenshiftIoV1Api* | [**delete_security_context_constraints**](docs/SecurityOpenshiftIoV1Api.md#delete_security_context_constraints) | **DELETE** /apis/security.openshift.io/v1/securitycontextconstraints/{name} | +*SecurityOpenshiftIoV1Api* | [**get_api_resources**](docs/SecurityOpenshiftIoV1Api.md#get_api_resources) | **GET** /apis/security.openshift.io/v1/ | +*SecurityOpenshiftIoV1Api* | [**list_security_context_constraints**](docs/SecurityOpenshiftIoV1Api.md#list_security_context_constraints) | **GET** /apis/security.openshift.io/v1/securitycontextconstraints | +*SecurityOpenshiftIoV1Api* | [**patch_security_context_constraints**](docs/SecurityOpenshiftIoV1Api.md#patch_security_context_constraints) | **PATCH** /apis/security.openshift.io/v1/securitycontextconstraints/{name} | +*SecurityOpenshiftIoV1Api* | [**read_security_context_constraints**](docs/SecurityOpenshiftIoV1Api.md#read_security_context_constraints) | **GET** /apis/security.openshift.io/v1/securitycontextconstraints/{name} | +*SecurityOpenshiftIoV1Api* | [**replace_security_context_constraints**](docs/SecurityOpenshiftIoV1Api.md#replace_security_context_constraints) | **PUT** /apis/security.openshift.io/v1/securitycontextconstraints/{name} | +*StorageApi* | [**get_api_group**](docs/StorageApi.md#get_api_group) | **GET** /apis/storage.k8s.io/ | +*StorageV1Api* | [**create_storage_class**](docs/StorageV1Api.md#create_storage_class) | **POST** /apis/storage.k8s.io/v1/storageclasses | +*StorageV1Api* | [**delete_collection_storage_class**](docs/StorageV1Api.md#delete_collection_storage_class) | **DELETE** /apis/storage.k8s.io/v1/storageclasses | +*StorageV1Api* | [**delete_storage_class**](docs/StorageV1Api.md#delete_storage_class) | **DELETE** /apis/storage.k8s.io/v1/storageclasses/{name} | +*StorageV1Api* | [**get_api_resources**](docs/StorageV1Api.md#get_api_resources) | **GET** /apis/storage.k8s.io/v1/ | +*StorageV1Api* | [**list_storage_class**](docs/StorageV1Api.md#list_storage_class) | **GET** /apis/storage.k8s.io/v1/storageclasses | +*StorageV1Api* | [**patch_storage_class**](docs/StorageV1Api.md#patch_storage_class) | **PATCH** /apis/storage.k8s.io/v1/storageclasses/{name} | +*StorageV1Api* | [**read_storage_class**](docs/StorageV1Api.md#read_storage_class) | **GET** /apis/storage.k8s.io/v1/storageclasses/{name} | +*StorageV1Api* | [**replace_storage_class**](docs/StorageV1Api.md#replace_storage_class) | **PUT** /apis/storage.k8s.io/v1/storageclasses/{name} | *StorageV1beta1Api* | [**create_storage_class**](docs/StorageV1beta1Api.md#create_storage_class) | **POST** /apis/storage.k8s.io/v1beta1/storageclasses | *StorageV1beta1Api* | [**delete_collection_storage_class**](docs/StorageV1beta1Api.md#delete_collection_storage_class) | **DELETE** /apis/storage.k8s.io/v1beta1/storageclasses | *StorageV1beta1Api* | [**delete_storage_class**](docs/StorageV1beta1Api.md#delete_storage_class) | **DELETE** /apis/storage.k8s.io/v1beta1/storageclasses/{name} | @@ -1124,70 +1140,103 @@ Class | Method | HTTP request | Description *StorageV1beta1Api* | [**patch_storage_class**](docs/StorageV1beta1Api.md#patch_storage_class) | **PATCH** /apis/storage.k8s.io/v1beta1/storageclasses/{name} | *StorageV1beta1Api* | [**read_storage_class**](docs/StorageV1beta1Api.md#read_storage_class) | **GET** /apis/storage.k8s.io/v1beta1/storageclasses/{name} | *StorageV1beta1Api* | [**replace_storage_class**](docs/StorageV1beta1Api.md#replace_storage_class) | **PUT** /apis/storage.k8s.io/v1beta1/storageclasses/{name} | -*TemplateOpenshiftIoApi* | [**get_template_openshift_io_api_group**](docs/TemplateOpenshiftIoApi.md#get_template_openshift_io_api_group) | **GET** /apis/template.openshift.io/ | -*TemplateOpenshiftIoV1Api* | [**create_template_openshift_io_v1_namespaced_template**](docs/TemplateOpenshiftIoV1Api.md#create_template_openshift_io_v1_namespaced_template) | **POST** /apis/template.openshift.io/v1/namespaces/{namespace}/templates | -*TemplateOpenshiftIoV1Api* | [**create_template_openshift_io_v1_template_for_all_namespaces**](docs/TemplateOpenshiftIoV1Api.md#create_template_openshift_io_v1_template_for_all_namespaces) | **POST** /apis/template.openshift.io/v1/templates | -*TemplateOpenshiftIoV1Api* | [**delete_template_openshift_io_v1_collection_namespaced_template**](docs/TemplateOpenshiftIoV1Api.md#delete_template_openshift_io_v1_collection_namespaced_template) | **DELETE** /apis/template.openshift.io/v1/namespaces/{namespace}/templates | -*TemplateOpenshiftIoV1Api* | [**delete_template_openshift_io_v1_namespaced_template**](docs/TemplateOpenshiftIoV1Api.md#delete_template_openshift_io_v1_namespaced_template) | **DELETE** /apis/template.openshift.io/v1/namespaces/{namespace}/templates/{name} | -*TemplateOpenshiftIoV1Api* | [**get_template_openshift_io_v1_api_resources**](docs/TemplateOpenshiftIoV1Api.md#get_template_openshift_io_v1_api_resources) | **GET** /apis/template.openshift.io/v1/ | -*TemplateOpenshiftIoV1Api* | [**list_template_openshift_io_v1_namespaced_template**](docs/TemplateOpenshiftIoV1Api.md#list_template_openshift_io_v1_namespaced_template) | **GET** /apis/template.openshift.io/v1/namespaces/{namespace}/templates | -*TemplateOpenshiftIoV1Api* | [**list_template_openshift_io_v1_template_for_all_namespaces**](docs/TemplateOpenshiftIoV1Api.md#list_template_openshift_io_v1_template_for_all_namespaces) | **GET** /apis/template.openshift.io/v1/templates | -*TemplateOpenshiftIoV1Api* | [**patch_template_openshift_io_v1_namespaced_template**](docs/TemplateOpenshiftIoV1Api.md#patch_template_openshift_io_v1_namespaced_template) | **PATCH** /apis/template.openshift.io/v1/namespaces/{namespace}/templates/{name} | -*TemplateOpenshiftIoV1Api* | [**read_template_openshift_io_v1_namespaced_template**](docs/TemplateOpenshiftIoV1Api.md#read_template_openshift_io_v1_namespaced_template) | **GET** /apis/template.openshift.io/v1/namespaces/{namespace}/templates/{name} | -*TemplateOpenshiftIoV1Api* | [**replace_template_openshift_io_v1_namespaced_template**](docs/TemplateOpenshiftIoV1Api.md#replace_template_openshift_io_v1_namespaced_template) | **PUT** /apis/template.openshift.io/v1/namespaces/{namespace}/templates/{name} | +*TemplateOpenshiftIoApi* | [**get_api_group**](docs/TemplateOpenshiftIoApi.md#get_api_group) | **GET** /apis/template.openshift.io/ | +*TemplateOpenshiftIoV1Api* | [**create_broker_template_instance**](docs/TemplateOpenshiftIoV1Api.md#create_broker_template_instance) | **POST** /apis/template.openshift.io/v1/brokertemplateinstances | +*TemplateOpenshiftIoV1Api* | [**create_namespaced_template**](docs/TemplateOpenshiftIoV1Api.md#create_namespaced_template) | **POST** /apis/template.openshift.io/v1/namespaces/{namespace}/templates | +*TemplateOpenshiftIoV1Api* | [**create_namespaced_template_instance**](docs/TemplateOpenshiftIoV1Api.md#create_namespaced_template_instance) | **POST** /apis/template.openshift.io/v1/namespaces/{namespace}/templateinstances | +*TemplateOpenshiftIoV1Api* | [**create_template_for_all_namespaces**](docs/TemplateOpenshiftIoV1Api.md#create_template_for_all_namespaces) | **POST** /apis/template.openshift.io/v1/templates | +*TemplateOpenshiftIoV1Api* | [**create_template_instance_for_all_namespaces**](docs/TemplateOpenshiftIoV1Api.md#create_template_instance_for_all_namespaces) | **POST** /apis/template.openshift.io/v1/templateinstances | +*TemplateOpenshiftIoV1Api* | [**delete_broker_template_instance**](docs/TemplateOpenshiftIoV1Api.md#delete_broker_template_instance) | **DELETE** /apis/template.openshift.io/v1/brokertemplateinstances/{name} | +*TemplateOpenshiftIoV1Api* | [**delete_collection_broker_template_instance**](docs/TemplateOpenshiftIoV1Api.md#delete_collection_broker_template_instance) | **DELETE** /apis/template.openshift.io/v1/brokertemplateinstances | +*TemplateOpenshiftIoV1Api* | [**delete_collection_namespaced_template**](docs/TemplateOpenshiftIoV1Api.md#delete_collection_namespaced_template) | **DELETE** /apis/template.openshift.io/v1/namespaces/{namespace}/templates | +*TemplateOpenshiftIoV1Api* | [**delete_collection_namespaced_template_instance**](docs/TemplateOpenshiftIoV1Api.md#delete_collection_namespaced_template_instance) | **DELETE** /apis/template.openshift.io/v1/namespaces/{namespace}/templateinstances | +*TemplateOpenshiftIoV1Api* | [**delete_namespaced_template**](docs/TemplateOpenshiftIoV1Api.md#delete_namespaced_template) | **DELETE** /apis/template.openshift.io/v1/namespaces/{namespace}/templates/{name} | +*TemplateOpenshiftIoV1Api* | [**delete_namespaced_template_instance**](docs/TemplateOpenshiftIoV1Api.md#delete_namespaced_template_instance) | **DELETE** /apis/template.openshift.io/v1/namespaces/{namespace}/templateinstances/{name} | +*TemplateOpenshiftIoV1Api* | [**get_api_resources**](docs/TemplateOpenshiftIoV1Api.md#get_api_resources) | **GET** /apis/template.openshift.io/v1/ | +*TemplateOpenshiftIoV1Api* | [**list_broker_template_instance**](docs/TemplateOpenshiftIoV1Api.md#list_broker_template_instance) | **GET** /apis/template.openshift.io/v1/brokertemplateinstances | +*TemplateOpenshiftIoV1Api* | [**list_namespaced_template**](docs/TemplateOpenshiftIoV1Api.md#list_namespaced_template) | **GET** /apis/template.openshift.io/v1/namespaces/{namespace}/templates | +*TemplateOpenshiftIoV1Api* | [**list_namespaced_template_instance**](docs/TemplateOpenshiftIoV1Api.md#list_namespaced_template_instance) | **GET** /apis/template.openshift.io/v1/namespaces/{namespace}/templateinstances | +*TemplateOpenshiftIoV1Api* | [**list_template_for_all_namespaces**](docs/TemplateOpenshiftIoV1Api.md#list_template_for_all_namespaces) | **GET** /apis/template.openshift.io/v1/templates | +*TemplateOpenshiftIoV1Api* | [**list_template_instance_for_all_namespaces**](docs/TemplateOpenshiftIoV1Api.md#list_template_instance_for_all_namespaces) | **GET** /apis/template.openshift.io/v1/templateinstances | +*TemplateOpenshiftIoV1Api* | [**patch_broker_template_instance**](docs/TemplateOpenshiftIoV1Api.md#patch_broker_template_instance) | **PATCH** /apis/template.openshift.io/v1/brokertemplateinstances/{name} | +*TemplateOpenshiftIoV1Api* | [**patch_namespaced_template**](docs/TemplateOpenshiftIoV1Api.md#patch_namespaced_template) | **PATCH** /apis/template.openshift.io/v1/namespaces/{namespace}/templates/{name} | +*TemplateOpenshiftIoV1Api* | [**patch_namespaced_template_instance**](docs/TemplateOpenshiftIoV1Api.md#patch_namespaced_template_instance) | **PATCH** /apis/template.openshift.io/v1/namespaces/{namespace}/templateinstances/{name} | +*TemplateOpenshiftIoV1Api* | [**patch_namespaced_template_instance_status**](docs/TemplateOpenshiftIoV1Api.md#patch_namespaced_template_instance_status) | **PATCH** /apis/template.openshift.io/v1/namespaces/{namespace}/templateinstances/{name}/status | +*TemplateOpenshiftIoV1Api* | [**read_broker_template_instance**](docs/TemplateOpenshiftIoV1Api.md#read_broker_template_instance) | **GET** /apis/template.openshift.io/v1/brokertemplateinstances/{name} | +*TemplateOpenshiftIoV1Api* | [**read_namespaced_template**](docs/TemplateOpenshiftIoV1Api.md#read_namespaced_template) | **GET** /apis/template.openshift.io/v1/namespaces/{namespace}/templates/{name} | +*TemplateOpenshiftIoV1Api* | [**read_namespaced_template_instance**](docs/TemplateOpenshiftIoV1Api.md#read_namespaced_template_instance) | **GET** /apis/template.openshift.io/v1/namespaces/{namespace}/templateinstances/{name} | +*TemplateOpenshiftIoV1Api* | [**read_namespaced_template_instance_status**](docs/TemplateOpenshiftIoV1Api.md#read_namespaced_template_instance_status) | **GET** /apis/template.openshift.io/v1/namespaces/{namespace}/templateinstances/{name}/status | +*TemplateOpenshiftIoV1Api* | [**replace_broker_template_instance**](docs/TemplateOpenshiftIoV1Api.md#replace_broker_template_instance) | **PUT** /apis/template.openshift.io/v1/brokertemplateinstances/{name} | +*TemplateOpenshiftIoV1Api* | [**replace_namespaced_template**](docs/TemplateOpenshiftIoV1Api.md#replace_namespaced_template) | **PUT** /apis/template.openshift.io/v1/namespaces/{namespace}/templates/{name} | +*TemplateOpenshiftIoV1Api* | [**replace_namespaced_template_instance**](docs/TemplateOpenshiftIoV1Api.md#replace_namespaced_template_instance) | **PUT** /apis/template.openshift.io/v1/namespaces/{namespace}/templateinstances/{name} | +*TemplateOpenshiftIoV1Api* | [**replace_namespaced_template_instance_status**](docs/TemplateOpenshiftIoV1Api.md#replace_namespaced_template_instance_status) | **PUT** /apis/template.openshift.io/v1/namespaces/{namespace}/templateinstances/{name}/status | *TemplateOpenshiftIoApi* | [**create_namespaced_processed_template_v1**](docs/TemplateOpenshiftIoApi.md#create_namespaced_processed_template_v1) | **POST** /apis/template.openshift.io/v1/namespaces/{namespace}/processedtemplates | *TemplateOpenshiftIoApi* | [**create_processed_template_for_all_namespaces**](docs/TemplateOpenshiftIoApi.md#create_processed_template_for_all_namespaces) | **POST** /apis/template.openshift.io/v1/processedtemplates | -*UserOpenshiftIoApi* | [**get_user_openshift_io_api_group**](docs/UserOpenshiftIoApi.md#get_user_openshift_io_api_group) | **GET** /apis/user.openshift.io/ | -*UserOpenshiftIoV1Api* | [**create_user_openshift_io_v1_group**](docs/UserOpenshiftIoV1Api.md#create_user_openshift_io_v1_group) | **POST** /apis/user.openshift.io/v1/groups | -*UserOpenshiftIoV1Api* | [**create_user_openshift_io_v1_identity**](docs/UserOpenshiftIoV1Api.md#create_user_openshift_io_v1_identity) | **POST** /apis/user.openshift.io/v1/identities | -*UserOpenshiftIoV1Api* | [**create_user_openshift_io_v1_user**](docs/UserOpenshiftIoV1Api.md#create_user_openshift_io_v1_user) | **POST** /apis/user.openshift.io/v1/users | -*UserOpenshiftIoV1Api* | [**create_user_openshift_io_v1_user_identity_mapping**](docs/UserOpenshiftIoV1Api.md#create_user_openshift_io_v1_user_identity_mapping) | **POST** /apis/user.openshift.io/v1/useridentitymappings | -*UserOpenshiftIoV1Api* | [**delete_user_openshift_io_v1_collection_group**](docs/UserOpenshiftIoV1Api.md#delete_user_openshift_io_v1_collection_group) | **DELETE** /apis/user.openshift.io/v1/groups | -*UserOpenshiftIoV1Api* | [**delete_user_openshift_io_v1_collection_identity**](docs/UserOpenshiftIoV1Api.md#delete_user_openshift_io_v1_collection_identity) | **DELETE** /apis/user.openshift.io/v1/identities | -*UserOpenshiftIoV1Api* | [**delete_user_openshift_io_v1_collection_user**](docs/UserOpenshiftIoV1Api.md#delete_user_openshift_io_v1_collection_user) | **DELETE** /apis/user.openshift.io/v1/users | -*UserOpenshiftIoV1Api* | [**delete_user_openshift_io_v1_group**](docs/UserOpenshiftIoV1Api.md#delete_user_openshift_io_v1_group) | **DELETE** /apis/user.openshift.io/v1/groups/{name} | -*UserOpenshiftIoV1Api* | [**delete_user_openshift_io_v1_identity**](docs/UserOpenshiftIoV1Api.md#delete_user_openshift_io_v1_identity) | **DELETE** /apis/user.openshift.io/v1/identities/{name} | -*UserOpenshiftIoV1Api* | [**delete_user_openshift_io_v1_user**](docs/UserOpenshiftIoV1Api.md#delete_user_openshift_io_v1_user) | **DELETE** /apis/user.openshift.io/v1/users/{name} | -*UserOpenshiftIoV1Api* | [**delete_user_openshift_io_v1_user_identity_mapping**](docs/UserOpenshiftIoV1Api.md#delete_user_openshift_io_v1_user_identity_mapping) | **DELETE** /apis/user.openshift.io/v1/useridentitymappings/{name} | -*UserOpenshiftIoV1Api* | [**get_user_openshift_io_v1_api_resources**](docs/UserOpenshiftIoV1Api.md#get_user_openshift_io_v1_api_resources) | **GET** /apis/user.openshift.io/v1/ | -*UserOpenshiftIoV1Api* | [**list_user_openshift_io_v1_group**](docs/UserOpenshiftIoV1Api.md#list_user_openshift_io_v1_group) | **GET** /apis/user.openshift.io/v1/groups | -*UserOpenshiftIoV1Api* | [**list_user_openshift_io_v1_identity**](docs/UserOpenshiftIoV1Api.md#list_user_openshift_io_v1_identity) | **GET** /apis/user.openshift.io/v1/identities | -*UserOpenshiftIoV1Api* | [**list_user_openshift_io_v1_user**](docs/UserOpenshiftIoV1Api.md#list_user_openshift_io_v1_user) | **GET** /apis/user.openshift.io/v1/users | -*UserOpenshiftIoV1Api* | [**patch_user_openshift_io_v1_group**](docs/UserOpenshiftIoV1Api.md#patch_user_openshift_io_v1_group) | **PATCH** /apis/user.openshift.io/v1/groups/{name} | -*UserOpenshiftIoV1Api* | [**patch_user_openshift_io_v1_identity**](docs/UserOpenshiftIoV1Api.md#patch_user_openshift_io_v1_identity) | **PATCH** /apis/user.openshift.io/v1/identities/{name} | -*UserOpenshiftIoV1Api* | [**patch_user_openshift_io_v1_user**](docs/UserOpenshiftIoV1Api.md#patch_user_openshift_io_v1_user) | **PATCH** /apis/user.openshift.io/v1/users/{name} | -*UserOpenshiftIoV1Api* | [**patch_user_openshift_io_v1_user_identity_mapping**](docs/UserOpenshiftIoV1Api.md#patch_user_openshift_io_v1_user_identity_mapping) | **PATCH** /apis/user.openshift.io/v1/useridentitymappings/{name} | -*UserOpenshiftIoV1Api* | [**read_user_openshift_io_v1_group**](docs/UserOpenshiftIoV1Api.md#read_user_openshift_io_v1_group) | **GET** /apis/user.openshift.io/v1/groups/{name} | -*UserOpenshiftIoV1Api* | [**read_user_openshift_io_v1_identity**](docs/UserOpenshiftIoV1Api.md#read_user_openshift_io_v1_identity) | **GET** /apis/user.openshift.io/v1/identities/{name} | -*UserOpenshiftIoV1Api* | [**read_user_openshift_io_v1_user**](docs/UserOpenshiftIoV1Api.md#read_user_openshift_io_v1_user) | **GET** /apis/user.openshift.io/v1/users/{name} | -*UserOpenshiftIoV1Api* | [**read_user_openshift_io_v1_user_identity_mapping**](docs/UserOpenshiftIoV1Api.md#read_user_openshift_io_v1_user_identity_mapping) | **GET** /apis/user.openshift.io/v1/useridentitymappings/{name} | -*UserOpenshiftIoV1Api* | [**replace_user_openshift_io_v1_group**](docs/UserOpenshiftIoV1Api.md#replace_user_openshift_io_v1_group) | **PUT** /apis/user.openshift.io/v1/groups/{name} | -*UserOpenshiftIoV1Api* | [**replace_user_openshift_io_v1_identity**](docs/UserOpenshiftIoV1Api.md#replace_user_openshift_io_v1_identity) | **PUT** /apis/user.openshift.io/v1/identities/{name} | -*UserOpenshiftIoV1Api* | [**replace_user_openshift_io_v1_user**](docs/UserOpenshiftIoV1Api.md#replace_user_openshift_io_v1_user) | **PUT** /apis/user.openshift.io/v1/users/{name} | -*UserOpenshiftIoV1Api* | [**replace_user_openshift_io_v1_user_identity_mapping**](docs/UserOpenshiftIoV1Api.md#replace_user_openshift_io_v1_user_identity_mapping) | **PUT** /apis/user.openshift.io/v1/useridentitymappings/{name} | -*VersionApi* | [**get_code_version**](docs/VersionApi.md#get_code_version) | **GET** /version/ | +*UserOpenshiftIoApi* | [**get_api_group**](docs/UserOpenshiftIoApi.md#get_api_group) | **GET** /apis/user.openshift.io/ | +*UserOpenshiftIoV1Api* | [**create_group**](docs/UserOpenshiftIoV1Api.md#create_group) | **POST** /apis/user.openshift.io/v1/groups | +*UserOpenshiftIoV1Api* | [**create_identity**](docs/UserOpenshiftIoV1Api.md#create_identity) | **POST** /apis/user.openshift.io/v1/identities | +*UserOpenshiftIoV1Api* | [**create_user**](docs/UserOpenshiftIoV1Api.md#create_user) | **POST** /apis/user.openshift.io/v1/users | +*UserOpenshiftIoV1Api* | [**create_user_identity_mapping**](docs/UserOpenshiftIoV1Api.md#create_user_identity_mapping) | **POST** /apis/user.openshift.io/v1/useridentitymappings | +*UserOpenshiftIoV1Api* | [**delete_collection_group**](docs/UserOpenshiftIoV1Api.md#delete_collection_group) | **DELETE** /apis/user.openshift.io/v1/groups | +*UserOpenshiftIoV1Api* | [**delete_collection_identity**](docs/UserOpenshiftIoV1Api.md#delete_collection_identity) | **DELETE** /apis/user.openshift.io/v1/identities | +*UserOpenshiftIoV1Api* | [**delete_collection_user**](docs/UserOpenshiftIoV1Api.md#delete_collection_user) | **DELETE** /apis/user.openshift.io/v1/users | +*UserOpenshiftIoV1Api* | [**delete_group**](docs/UserOpenshiftIoV1Api.md#delete_group) | **DELETE** /apis/user.openshift.io/v1/groups/{name} | +*UserOpenshiftIoV1Api* | [**delete_identity**](docs/UserOpenshiftIoV1Api.md#delete_identity) | **DELETE** /apis/user.openshift.io/v1/identities/{name} | +*UserOpenshiftIoV1Api* | [**delete_user**](docs/UserOpenshiftIoV1Api.md#delete_user) | **DELETE** /apis/user.openshift.io/v1/users/{name} | +*UserOpenshiftIoV1Api* | [**delete_user_identity_mapping**](docs/UserOpenshiftIoV1Api.md#delete_user_identity_mapping) | **DELETE** /apis/user.openshift.io/v1/useridentitymappings/{name} | +*UserOpenshiftIoV1Api* | [**get_api_resources**](docs/UserOpenshiftIoV1Api.md#get_api_resources) | **GET** /apis/user.openshift.io/v1/ | +*UserOpenshiftIoV1Api* | [**list_group**](docs/UserOpenshiftIoV1Api.md#list_group) | **GET** /apis/user.openshift.io/v1/groups | +*UserOpenshiftIoV1Api* | [**list_identity**](docs/UserOpenshiftIoV1Api.md#list_identity) | **GET** /apis/user.openshift.io/v1/identities | +*UserOpenshiftIoV1Api* | [**list_user**](docs/UserOpenshiftIoV1Api.md#list_user) | **GET** /apis/user.openshift.io/v1/users | +*UserOpenshiftIoV1Api* | [**patch_group**](docs/UserOpenshiftIoV1Api.md#patch_group) | **PATCH** /apis/user.openshift.io/v1/groups/{name} | +*UserOpenshiftIoV1Api* | [**patch_identity**](docs/UserOpenshiftIoV1Api.md#patch_identity) | **PATCH** /apis/user.openshift.io/v1/identities/{name} | +*UserOpenshiftIoV1Api* | [**patch_user**](docs/UserOpenshiftIoV1Api.md#patch_user) | **PATCH** /apis/user.openshift.io/v1/users/{name} | +*UserOpenshiftIoV1Api* | [**patch_user_identity_mapping**](docs/UserOpenshiftIoV1Api.md#patch_user_identity_mapping) | **PATCH** /apis/user.openshift.io/v1/useridentitymappings/{name} | +*UserOpenshiftIoV1Api* | [**read_group**](docs/UserOpenshiftIoV1Api.md#read_group) | **GET** /apis/user.openshift.io/v1/groups/{name} | +*UserOpenshiftIoV1Api* | [**read_identity**](docs/UserOpenshiftIoV1Api.md#read_identity) | **GET** /apis/user.openshift.io/v1/identities/{name} | +*UserOpenshiftIoV1Api* | [**read_user**](docs/UserOpenshiftIoV1Api.md#read_user) | **GET** /apis/user.openshift.io/v1/users/{name} | +*UserOpenshiftIoV1Api* | [**read_user_identity_mapping**](docs/UserOpenshiftIoV1Api.md#read_user_identity_mapping) | **GET** /apis/user.openshift.io/v1/useridentitymappings/{name} | +*UserOpenshiftIoV1Api* | [**replace_group**](docs/UserOpenshiftIoV1Api.md#replace_group) | **PUT** /apis/user.openshift.io/v1/groups/{name} | +*UserOpenshiftIoV1Api* | [**replace_identity**](docs/UserOpenshiftIoV1Api.md#replace_identity) | **PUT** /apis/user.openshift.io/v1/identities/{name} | +*UserOpenshiftIoV1Api* | [**replace_user**](docs/UserOpenshiftIoV1Api.md#replace_user) | **PUT** /apis/user.openshift.io/v1/users/{name} | +*UserOpenshiftIoV1Api* | [**replace_user_identity_mapping**](docs/UserOpenshiftIoV1Api.md#replace_user_identity_mapping) | **PUT** /apis/user.openshift.io/v1/useridentitymappings/{name} | ## Documentation For Models - - [IntstrIntOrString](docs/IntstrIntOrString.md) - - [ResourceQuantity](docs/ResourceQuantity.md) + - [AppsV1beta1Deployment](docs/AppsV1beta1Deployment.md) + - [AppsV1beta1DeploymentCondition](docs/AppsV1beta1DeploymentCondition.md) + - [AppsV1beta1DeploymentList](docs/AppsV1beta1DeploymentList.md) + - [AppsV1beta1DeploymentRollback](docs/AppsV1beta1DeploymentRollback.md) + - [AppsV1beta1DeploymentSpec](docs/AppsV1beta1DeploymentSpec.md) + - [AppsV1beta1DeploymentStatus](docs/AppsV1beta1DeploymentStatus.md) + - [AppsV1beta1DeploymentStrategy](docs/AppsV1beta1DeploymentStrategy.md) + - [AppsV1beta1RollbackConfig](docs/AppsV1beta1RollbackConfig.md) + - [AppsV1beta1RollingUpdateDeployment](docs/AppsV1beta1RollingUpdateDeployment.md) + - [AppsV1beta1Scale](docs/AppsV1beta1Scale.md) + - [AppsV1beta1ScaleSpec](docs/AppsV1beta1ScaleSpec.md) + - [AppsV1beta1ScaleStatus](docs/AppsV1beta1ScaleStatus.md) + - [ExtensionsV1beta1Deployment](docs/ExtensionsV1beta1Deployment.md) + - [ExtensionsV1beta1DeploymentCondition](docs/ExtensionsV1beta1DeploymentCondition.md) + - [ExtensionsV1beta1DeploymentList](docs/ExtensionsV1beta1DeploymentList.md) + - [ExtensionsV1beta1DeploymentRollback](docs/ExtensionsV1beta1DeploymentRollback.md) + - [ExtensionsV1beta1DeploymentSpec](docs/ExtensionsV1beta1DeploymentSpec.md) + - [ExtensionsV1beta1DeploymentStatus](docs/ExtensionsV1beta1DeploymentStatus.md) + - [ExtensionsV1beta1DeploymentStrategy](docs/ExtensionsV1beta1DeploymentStrategy.md) + - [ExtensionsV1beta1RollbackConfig](docs/ExtensionsV1beta1RollbackConfig.md) + - [ExtensionsV1beta1RollingUpdateDeployment](docs/ExtensionsV1beta1RollingUpdateDeployment.md) + - [ExtensionsV1beta1Scale](docs/ExtensionsV1beta1Scale.md) + - [ExtensionsV1beta1ScaleSpec](docs/ExtensionsV1beta1ScaleSpec.md) + - [ExtensionsV1beta1ScaleStatus](docs/ExtensionsV1beta1ScaleStatus.md) - [RuntimeRawExtension](docs/RuntimeRawExtension.md) - - [UnversionedAPIGroup](docs/UnversionedAPIGroup.md) - - [UnversionedAPIGroupList](docs/UnversionedAPIGroupList.md) - - [UnversionedAPIResource](docs/UnversionedAPIResource.md) - - [UnversionedAPIResourceList](docs/UnversionedAPIResourceList.md) - - [UnversionedAPIVersions](docs/UnversionedAPIVersions.md) - - [UnversionedGroupVersionForDiscovery](docs/UnversionedGroupVersionForDiscovery.md) - - [UnversionedLabelSelector](docs/UnversionedLabelSelector.md) - - [UnversionedLabelSelectorRequirement](docs/UnversionedLabelSelectorRequirement.md) - - [UnversionedListMeta](docs/UnversionedListMeta.md) - - [UnversionedServerAddressByClientCIDR](docs/UnversionedServerAddressByClientCIDR.md) - - [UnversionedStatus](docs/UnversionedStatus.md) - - [UnversionedStatusCause](docs/UnversionedStatusCause.md) - - [UnversionedStatusDetails](docs/UnversionedStatusDetails.md) - - [UnversionedTime](docs/UnversionedTime.md) + - [V1APIGroup](docs/V1APIGroup.md) + - [V1APIGroupList](docs/V1APIGroupList.md) + - [V1APIResource](docs/V1APIResource.md) + - [V1APIResourceList](docs/V1APIResourceList.md) + - [V1APIVersions](docs/V1APIVersions.md) - [V1AWSElasticBlockStoreVolumeSource](docs/V1AWSElasticBlockStoreVolumeSource.md) + - [V1Affinity](docs/V1Affinity.md) + - [V1AllowedFlexVolume](docs/V1AllowedFlexVolume.md) - [V1AppliedClusterResourceQuota](docs/V1AppliedClusterResourceQuota.md) - [V1AppliedClusterResourceQuotaList](docs/V1AppliedClusterResourceQuotaList.md) - [V1AttachedVolume](docs/V1AttachedVolume.md) @@ -1195,6 +1244,10 @@ Class | Method | HTTP request | Description - [V1AzureFileVolumeSource](docs/V1AzureFileVolumeSource.md) - [V1BinaryBuildSource](docs/V1BinaryBuildSource.md) - [V1Binding](docs/V1Binding.md) + - [V1BitbucketWebHookCause](docs/V1BitbucketWebHookCause.md) + - [V1BrokerTemplateInstance](docs/V1BrokerTemplateInstance.md) + - [V1BrokerTemplateInstanceList](docs/V1BrokerTemplateInstanceList.md) + - [V1BrokerTemplateInstanceSpec](docs/V1BrokerTemplateInstanceSpec.md) - [V1Build](docs/V1Build.md) - [V1BuildConfig](docs/V1BuildConfig.md) - [V1BuildConfigList](docs/V1BuildConfigList.md) @@ -1218,10 +1271,6 @@ Class | Method | HTTP request | Description - [V1CinderVolumeSource](docs/V1CinderVolumeSource.md) - [V1ClusterNetwork](docs/V1ClusterNetwork.md) - [V1ClusterNetworkList](docs/V1ClusterNetworkList.md) - - [V1ClusterPolicy](docs/V1ClusterPolicy.md) - - [V1ClusterPolicyBinding](docs/V1ClusterPolicyBinding.md) - - [V1ClusterPolicyBindingList](docs/V1ClusterPolicyBindingList.md) - - [V1ClusterPolicyList](docs/V1ClusterPolicyList.md) - [V1ClusterResourceQuota](docs/V1ClusterResourceQuota.md) - [V1ClusterResourceQuotaList](docs/V1ClusterResourceQuotaList.md) - [V1ClusterResourceQuotaSelector](docs/V1ClusterResourceQuotaSelector.md) @@ -1236,8 +1285,10 @@ Class | Method | HTTP request | Description - [V1ComponentStatus](docs/V1ComponentStatus.md) - [V1ComponentStatusList](docs/V1ComponentStatusList.md) - [V1ConfigMap](docs/V1ConfigMap.md) + - [V1ConfigMapEnvSource](docs/V1ConfigMapEnvSource.md) - [V1ConfigMapKeySelector](docs/V1ConfigMapKeySelector.md) - [V1ConfigMapList](docs/V1ConfigMapList.md) + - [V1ConfigMapProjection](docs/V1ConfigMapProjection.md) - [V1ConfigMapVolumeSource](docs/V1ConfigMapVolumeSource.md) - [V1Container](docs/V1Container.md) - [V1ContainerImage](docs/V1ContainerImage.md) @@ -1267,10 +1318,9 @@ Class | Method | HTTP request | Description - [V1DeploymentStrategy](docs/V1DeploymentStrategy.md) - [V1DeploymentTriggerImageChangeParams](docs/V1DeploymentTriggerImageChangeParams.md) - [V1DeploymentTriggerPolicy](docs/V1DeploymentTriggerPolicy.md) - - [V1DeprecatedDownwardAPIVolumeFile](docs/V1DeprecatedDownwardAPIVolumeFile.md) - - [V1DeprecatedDownwardAPIVolumeSource](docs/V1DeprecatedDownwardAPIVolumeSource.md) - [V1DockerBuildStrategy](docs/V1DockerBuildStrategy.md) - [V1DockerStrategyOptions](docs/V1DockerStrategyOptions.md) + - [V1DownwardAPIProjection](docs/V1DownwardAPIProjection.md) - [V1DownwardAPIVolumeFile](docs/V1DownwardAPIVolumeFile.md) - [V1DownwardAPIVolumeSource](docs/V1DownwardAPIVolumeSource.md) - [V1EgressNetworkPolicy](docs/V1EgressNetworkPolicy.md) @@ -1284,6 +1334,7 @@ Class | Method | HTTP request | Description - [V1EndpointSubset](docs/V1EndpointSubset.md) - [V1Endpoints](docs/V1Endpoints.md) - [V1EndpointsList](docs/V1EndpointsList.md) + - [V1EnvFromSource](docs/V1EnvFromSource.md) - [V1EnvVar](docs/V1EnvVar.md) - [V1EnvVarSource](docs/V1EnvVarSource.md) - [V1Event](docs/V1Event.md) @@ -1299,12 +1350,14 @@ Class | Method | HTTP request | Description - [V1GenericWebHookCause](docs/V1GenericWebHookCause.md) - [V1GitBuildSource](docs/V1GitBuildSource.md) - [V1GitHubWebHookCause](docs/V1GitHubWebHookCause.md) + - [V1GitLabWebHookCause](docs/V1GitLabWebHookCause.md) - [V1GitRepoVolumeSource](docs/V1GitRepoVolumeSource.md) - [V1GitSourceRevision](docs/V1GitSourceRevision.md) - [V1GlusterfsVolumeSource](docs/V1GlusterfsVolumeSource.md) - [V1Group](docs/V1Group.md) - [V1GroupList](docs/V1GroupList.md) - [V1GroupRestriction](docs/V1GroupRestriction.md) + - [V1GroupVersionForDiscovery](docs/V1GroupVersionForDiscovery.md) - [V1HTTPGetAction](docs/V1HTTPGetAction.md) - [V1HTTPHeader](docs/V1HTTPHeader.md) - [V1Handler](docs/V1Handler.md) @@ -1312,6 +1365,7 @@ Class | Method | HTTP request | Description - [V1HorizontalPodAutoscalerList](docs/V1HorizontalPodAutoscalerList.md) - [V1HorizontalPodAutoscalerSpec](docs/V1HorizontalPodAutoscalerSpec.md) - [V1HorizontalPodAutoscalerStatus](docs/V1HorizontalPodAutoscalerStatus.md) + - [V1HostAlias](docs/V1HostAlias.md) - [V1HostPathVolumeSource](docs/V1HostPathVolumeSource.md) - [V1HostSubnet](docs/V1HostSubnet.md) - [V1HostSubnetList](docs/V1HostSubnetList.md) @@ -1327,6 +1381,7 @@ Class | Method | HTTP request | Description - [V1ImageLabel](docs/V1ImageLabel.md) - [V1ImageLayer](docs/V1ImageLayer.md) - [V1ImageList](docs/V1ImageList.md) + - [V1ImageLookupPolicy](docs/V1ImageLookupPolicy.md) - [V1ImageSignature](docs/V1ImageSignature.md) - [V1ImageSource](docs/V1ImageSource.md) - [V1ImageSourcePath](docs/V1ImageSourcePath.md) @@ -1341,6 +1396,8 @@ Class | Method | HTTP request | Description - [V1ImageStreamStatus](docs/V1ImageStreamStatus.md) - [V1ImageStreamTag](docs/V1ImageStreamTag.md) - [V1ImageStreamTagList](docs/V1ImageStreamTagList.md) + - [V1Initializer](docs/V1Initializer.md) + - [V1Initializers](docs/V1Initializers.md) - [V1JenkinsPipelineBuildStrategy](docs/V1JenkinsPipelineBuildStrategy.md) - [V1Job](docs/V1Job.md) - [V1JobCondition](docs/V1JobCondition.md) @@ -1348,22 +1405,22 @@ Class | Method | HTTP request | Description - [V1JobSpec](docs/V1JobSpec.md) - [V1JobStatus](docs/V1JobStatus.md) - [V1KeyToPath](docs/V1KeyToPath.md) + - [V1LabelSelector](docs/V1LabelSelector.md) + - [V1LabelSelectorRequirement](docs/V1LabelSelectorRequirement.md) - [V1Lifecycle](docs/V1Lifecycle.md) - [V1LifecycleHook](docs/V1LifecycleHook.md) - [V1LimitRange](docs/V1LimitRange.md) - [V1LimitRangeItem](docs/V1LimitRangeItem.md) - [V1LimitRangeList](docs/V1LimitRangeList.md) - [V1LimitRangeSpec](docs/V1LimitRangeSpec.md) + - [V1ListMeta](docs/V1ListMeta.md) - [V1LoadBalancerIngress](docs/V1LoadBalancerIngress.md) - [V1LoadBalancerStatus](docs/V1LoadBalancerStatus.md) - [V1LocalObjectReference](docs/V1LocalObjectReference.md) - [V1LocalResourceAccessReview](docs/V1LocalResourceAccessReview.md) - [V1LocalSubjectAccessReview](docs/V1LocalSubjectAccessReview.md) + - [V1LocalVolumeSource](docs/V1LocalVolumeSource.md) - [V1NFSVolumeSource](docs/V1NFSVolumeSource.md) - - [V1NamedClusterRole](docs/V1NamedClusterRole.md) - - [V1NamedClusterRoleBinding](docs/V1NamedClusterRoleBinding.md) - - [V1NamedRole](docs/V1NamedRole.md) - - [V1NamedRoleBinding](docs/V1NamedRoleBinding.md) - [V1NamedTagEventList](docs/V1NamedTagEventList.md) - [V1Namespace](docs/V1Namespace.md) - [V1NamespaceList](docs/V1NamespaceList.md) @@ -1371,14 +1428,25 @@ Class | Method | HTTP request | Description - [V1NamespaceStatus](docs/V1NamespaceStatus.md) - [V1NetNamespace](docs/V1NetNamespace.md) - [V1NetNamespaceList](docs/V1NetNamespaceList.md) + - [V1NetworkPolicy](docs/V1NetworkPolicy.md) + - [V1NetworkPolicyIngressRule](docs/V1NetworkPolicyIngressRule.md) + - [V1NetworkPolicyList](docs/V1NetworkPolicyList.md) + - [V1NetworkPolicyPeer](docs/V1NetworkPolicyPeer.md) + - [V1NetworkPolicyPort](docs/V1NetworkPolicyPort.md) + - [V1NetworkPolicySpec](docs/V1NetworkPolicySpec.md) - [V1Node](docs/V1Node.md) - [V1NodeAddress](docs/V1NodeAddress.md) + - [V1NodeAffinity](docs/V1NodeAffinity.md) - [V1NodeCondition](docs/V1NodeCondition.md) - [V1NodeDaemonEndpoints](docs/V1NodeDaemonEndpoints.md) - [V1NodeList](docs/V1NodeList.md) + - [V1NodeSelector](docs/V1NodeSelector.md) + - [V1NodeSelectorRequirement](docs/V1NodeSelectorRequirement.md) + - [V1NodeSelectorTerm](docs/V1NodeSelectorTerm.md) - [V1NodeSpec](docs/V1NodeSpec.md) - [V1NodeStatus](docs/V1NodeStatus.md) - [V1NodeSystemInfo](docs/V1NodeSystemInfo.md) + - [V1NonResourceAttributes](docs/V1NonResourceAttributes.md) - [V1OAuthAccessToken](docs/V1OAuthAccessToken.md) - [V1OAuthAccessTokenList](docs/V1OAuthAccessTokenList.md) - [V1OAuthAuthorizeToken](docs/V1OAuthAuthorizeToken.md) @@ -1403,6 +1471,9 @@ Class | Method | HTTP request | Description - [V1PersistentVolumeStatus](docs/V1PersistentVolumeStatus.md) - [V1PhotonPersistentDiskVolumeSource](docs/V1PhotonPersistentDiskVolumeSource.md) - [V1Pod](docs/V1Pod.md) + - [V1PodAffinity](docs/V1PodAffinity.md) + - [V1PodAffinityTerm](docs/V1PodAffinityTerm.md) + - [V1PodAntiAffinity](docs/V1PodAntiAffinity.md) - [V1PodCondition](docs/V1PodCondition.md) - [V1PodList](docs/V1PodList.md) - [V1PodSecurityContext](docs/V1PodSecurityContext.md) @@ -1419,18 +1490,17 @@ Class | Method | HTTP request | Description - [V1PodTemplate](docs/V1PodTemplate.md) - [V1PodTemplateList](docs/V1PodTemplateList.md) - [V1PodTemplateSpec](docs/V1PodTemplateSpec.md) - - [V1Policy](docs/V1Policy.md) - - [V1PolicyBinding](docs/V1PolicyBinding.md) - - [V1PolicyBindingList](docs/V1PolicyBindingList.md) - - [V1PolicyList](docs/V1PolicyList.md) - [V1PolicyRule](docs/V1PolicyRule.md) + - [V1PortworxVolumeSource](docs/V1PortworxVolumeSource.md) - [V1Preconditions](docs/V1Preconditions.md) + - [V1PreferredSchedulingTerm](docs/V1PreferredSchedulingTerm.md) - [V1Probe](docs/V1Probe.md) - [V1Project](docs/V1Project.md) - [V1ProjectList](docs/V1ProjectList.md) - [V1ProjectRequest](docs/V1ProjectRequest.md) - [V1ProjectSpec](docs/V1ProjectSpec.md) - [V1ProjectStatus](docs/V1ProjectStatus.md) + - [V1ProjectedVolumeSource](docs/V1ProjectedVolumeSource.md) - [V1QuobyteVolumeSource](docs/V1QuobyteVolumeSource.md) - [V1RBDVolumeSource](docs/V1RBDVolumeSource.md) - [V1RecreateDeploymentStrategyParams](docs/V1RecreateDeploymentStrategyParams.md) @@ -1442,6 +1512,7 @@ Class | Method | HTTP request | Description - [V1RepositoryImportSpec](docs/V1RepositoryImportSpec.md) - [V1RepositoryImportStatus](docs/V1RepositoryImportStatus.md) - [V1ResourceAccessReview](docs/V1ResourceAccessReview.md) + - [V1ResourceAttributes](docs/V1ResourceAttributes.md) - [V1ResourceFieldSelector](docs/V1ResourceFieldSelector.md) - [V1ResourceQuota](docs/V1ResourceQuota.md) - [V1ResourceQuotaList](docs/V1ResourceQuotaList.md) @@ -1469,20 +1540,26 @@ Class | Method | HTTP request | Description - [V1SELinuxContextStrategyOptions](docs/V1SELinuxContextStrategyOptions.md) - [V1SELinuxOptions](docs/V1SELinuxOptions.md) - [V1Scale](docs/V1Scale.md) + - [V1ScaleIOVolumeSource](docs/V1ScaleIOVolumeSource.md) - [V1ScaleSpec](docs/V1ScaleSpec.md) - [V1ScaleStatus](docs/V1ScaleStatus.md) - [V1ScopeRestriction](docs/V1ScopeRestriction.md) - [V1Secret](docs/V1Secret.md) - [V1SecretBuildSource](docs/V1SecretBuildSource.md) + - [V1SecretEnvSource](docs/V1SecretEnvSource.md) - [V1SecretKeySelector](docs/V1SecretKeySelector.md) - [V1SecretList](docs/V1SecretList.md) + - [V1SecretProjection](docs/V1SecretProjection.md) - [V1SecretSpec](docs/V1SecretSpec.md) - [V1SecretVolumeSource](docs/V1SecretVolumeSource.md) - [V1SecurityContext](docs/V1SecurityContext.md) - [V1SecurityContextConstraints](docs/V1SecurityContextConstraints.md) - [V1SecurityContextConstraintsList](docs/V1SecurityContextConstraintsList.md) + - [V1SelfSubjectAccessReview](docs/V1SelfSubjectAccessReview.md) + - [V1SelfSubjectAccessReviewSpec](docs/V1SelfSubjectAccessReviewSpec.md) - [V1SelfSubjectRulesReview](docs/V1SelfSubjectRulesReview.md) - [V1SelfSubjectRulesReviewSpec](docs/V1SelfSubjectRulesReviewSpec.md) + - [V1ServerAddressByClientCIDR](docs/V1ServerAddressByClientCIDR.md) - [V1Service](docs/V1Service.md) - [V1ServiceAccount](docs/V1ServiceAccount.md) - [V1ServiceAccountList](docs/V1ServiceAccountList.md) @@ -1499,7 +1576,19 @@ Class | Method | HTTP request | Description - [V1SourceBuildStrategy](docs/V1SourceBuildStrategy.md) - [V1SourceControlUser](docs/V1SourceControlUser.md) - [V1SourceRevision](docs/V1SourceRevision.md) + - [V1SourceStrategyOptions](docs/V1SourceStrategyOptions.md) + - [V1StageInfo](docs/V1StageInfo.md) + - [V1Status](docs/V1Status.md) + - [V1StatusCause](docs/V1StatusCause.md) + - [V1StatusDetails](docs/V1StatusDetails.md) + - [V1StepInfo](docs/V1StepInfo.md) + - [V1StorageClass](docs/V1StorageClass.md) + - [V1StorageClassList](docs/V1StorageClassList.md) + - [V1StorageOSPersistentVolumeSource](docs/V1StorageOSPersistentVolumeSource.md) + - [V1StorageOSVolumeSource](docs/V1StorageOSVolumeSource.md) - [V1SubjectAccessReview](docs/V1SubjectAccessReview.md) + - [V1SubjectAccessReviewSpec](docs/V1SubjectAccessReviewSpec.md) + - [V1SubjectAccessReviewStatus](docs/V1SubjectAccessReviewStatus.md) - [V1SubjectRulesReview](docs/V1SubjectRulesReview.md) - [V1SubjectRulesReviewSpec](docs/V1SubjectRulesReviewSpec.md) - [V1SubjectRulesReviewStatus](docs/V1SubjectRulesReviewStatus.md) @@ -1512,42 +1601,53 @@ Class | Method | HTTP request | Description - [V1TagImportPolicy](docs/V1TagImportPolicy.md) - [V1TagReference](docs/V1TagReference.md) - [V1TagReferencePolicy](docs/V1TagReferencePolicy.md) + - [V1Taint](docs/V1Taint.md) - [V1Template](docs/V1Template.md) + - [V1TemplateInstance](docs/V1TemplateInstance.md) + - [V1TemplateInstanceCondition](docs/V1TemplateInstanceCondition.md) + - [V1TemplateInstanceList](docs/V1TemplateInstanceList.md) + - [V1TemplateInstanceObject](docs/V1TemplateInstanceObject.md) + - [V1TemplateInstanceRequester](docs/V1TemplateInstanceRequester.md) + - [V1TemplateInstanceSpec](docs/V1TemplateInstanceSpec.md) + - [V1TemplateInstanceStatus](docs/V1TemplateInstanceStatus.md) - [V1TemplateList](docs/V1TemplateList.md) + - [V1TokenReview](docs/V1TokenReview.md) + - [V1TokenReviewSpec](docs/V1TokenReviewSpec.md) + - [V1TokenReviewStatus](docs/V1TokenReviewStatus.md) + - [V1Toleration](docs/V1Toleration.md) - [V1User](docs/V1User.md) - [V1UserIdentityMapping](docs/V1UserIdentityMapping.md) + - [V1UserInfo](docs/V1UserInfo.md) - [V1UserList](docs/V1UserList.md) - [V1UserRestriction](docs/V1UserRestriction.md) - [V1Volume](docs/V1Volume.md) - [V1VolumeMount](docs/V1VolumeMount.md) + - [V1VolumeProjection](docs/V1VolumeProjection.md) - [V1VsphereVirtualDiskVolumeSource](docs/V1VsphereVirtualDiskVolumeSource.md) + - [V1WatchEvent](docs/V1WatchEvent.md) - [V1WebHookTrigger](docs/V1WebHookTrigger.md) - - [V1alpha1CertificateSigningRequest](docs/V1alpha1CertificateSigningRequest.md) - - [V1alpha1CertificateSigningRequestCondition](docs/V1alpha1CertificateSigningRequestCondition.md) - - [V1alpha1CertificateSigningRequestList](docs/V1alpha1CertificateSigningRequestList.md) - - [V1alpha1CertificateSigningRequestSpec](docs/V1alpha1CertificateSigningRequestSpec.md) - - [V1alpha1CertificateSigningRequestStatus](docs/V1alpha1CertificateSigningRequestStatus.md) + - [V1WeightedPodAffinityTerm](docs/V1WeightedPodAffinityTerm.md) - [V1beta1APIVersion](docs/V1beta1APIVersion.md) - - [V1beta1CPUTargetUtilization](docs/V1beta1CPUTargetUtilization.md) + - [V1beta1CertificateSigningRequest](docs/V1beta1CertificateSigningRequest.md) + - [V1beta1CertificateSigningRequestCondition](docs/V1beta1CertificateSigningRequestCondition.md) + - [V1beta1CertificateSigningRequestList](docs/V1beta1CertificateSigningRequestList.md) + - [V1beta1CertificateSigningRequestSpec](docs/V1beta1CertificateSigningRequestSpec.md) + - [V1beta1CertificateSigningRequestStatus](docs/V1beta1CertificateSigningRequestStatus.md) + - [V1beta1ClusterRole](docs/V1beta1ClusterRole.md) + - [V1beta1ClusterRoleBinding](docs/V1beta1ClusterRoleBinding.md) + - [V1beta1ClusterRoleBindingList](docs/V1beta1ClusterRoleBindingList.md) + - [V1beta1ClusterRoleList](docs/V1beta1ClusterRoleList.md) + - [V1beta1ControllerRevision](docs/V1beta1ControllerRevision.md) + - [V1beta1ControllerRevisionList](docs/V1beta1ControllerRevisionList.md) - [V1beta1DaemonSet](docs/V1beta1DaemonSet.md) - [V1beta1DaemonSetList](docs/V1beta1DaemonSetList.md) - [V1beta1DaemonSetSpec](docs/V1beta1DaemonSetSpec.md) - [V1beta1DaemonSetStatus](docs/V1beta1DaemonSetStatus.md) - - [V1beta1Deployment](docs/V1beta1Deployment.md) - - [V1beta1DeploymentCondition](docs/V1beta1DeploymentCondition.md) - - [V1beta1DeploymentList](docs/V1beta1DeploymentList.md) - - [V1beta1DeploymentRollback](docs/V1beta1DeploymentRollback.md) - - [V1beta1DeploymentSpec](docs/V1beta1DeploymentSpec.md) - - [V1beta1DeploymentStatus](docs/V1beta1DeploymentStatus.md) - - [V1beta1DeploymentStrategy](docs/V1beta1DeploymentStrategy.md) + - [V1beta1DaemonSetUpdateStrategy](docs/V1beta1DaemonSetUpdateStrategy.md) - [V1beta1Eviction](docs/V1beta1Eviction.md) - [V1beta1FSGroupStrategyOptions](docs/V1beta1FSGroupStrategyOptions.md) - [V1beta1HTTPIngressPath](docs/V1beta1HTTPIngressPath.md) - [V1beta1HTTPIngressRuleValue](docs/V1beta1HTTPIngressRuleValue.md) - - [V1beta1HorizontalPodAutoscaler](docs/V1beta1HorizontalPodAutoscaler.md) - - [V1beta1HorizontalPodAutoscalerList](docs/V1beta1HorizontalPodAutoscalerList.md) - - [V1beta1HorizontalPodAutoscalerSpec](docs/V1beta1HorizontalPodAutoscalerSpec.md) - - [V1beta1HorizontalPodAutoscalerStatus](docs/V1beta1HorizontalPodAutoscalerStatus.md) - [V1beta1HostPortRange](docs/V1beta1HostPortRange.md) - [V1beta1IDRange](docs/V1beta1IDRange.md) - [V1beta1Ingress](docs/V1beta1Ingress.md) @@ -1557,11 +1657,6 @@ Class | Method | HTTP request | Description - [V1beta1IngressSpec](docs/V1beta1IngressSpec.md) - [V1beta1IngressStatus](docs/V1beta1IngressStatus.md) - [V1beta1IngressTLS](docs/V1beta1IngressTLS.md) - - [V1beta1Job](docs/V1beta1Job.md) - - [V1beta1JobCondition](docs/V1beta1JobCondition.md) - - [V1beta1JobList](docs/V1beta1JobList.md) - - [V1beta1JobSpec](docs/V1beta1JobSpec.md) - - [V1beta1JobStatus](docs/V1beta1JobStatus.md) - [V1beta1LocalSubjectAccessReview](docs/V1beta1LocalSubjectAccessReview.md) - [V1beta1NetworkPolicy](docs/V1beta1NetworkPolicy.md) - [V1beta1NetworkPolicyIngressRule](docs/V1beta1NetworkPolicyIngressRule.md) @@ -1577,31 +1672,35 @@ Class | Method | HTTP request | Description - [V1beta1PodSecurityPolicy](docs/V1beta1PodSecurityPolicy.md) - [V1beta1PodSecurityPolicyList](docs/V1beta1PodSecurityPolicyList.md) - [V1beta1PodSecurityPolicySpec](docs/V1beta1PodSecurityPolicySpec.md) + - [V1beta1PolicyRule](docs/V1beta1PolicyRule.md) - [V1beta1ReplicaSet](docs/V1beta1ReplicaSet.md) - [V1beta1ReplicaSetCondition](docs/V1beta1ReplicaSetCondition.md) - [V1beta1ReplicaSetList](docs/V1beta1ReplicaSetList.md) - [V1beta1ReplicaSetSpec](docs/V1beta1ReplicaSetSpec.md) - [V1beta1ReplicaSetStatus](docs/V1beta1ReplicaSetStatus.md) - [V1beta1ResourceAttributes](docs/V1beta1ResourceAttributes.md) - - [V1beta1RollbackConfig](docs/V1beta1RollbackConfig.md) - - [V1beta1RollingUpdateDeployment](docs/V1beta1RollingUpdateDeployment.md) + - [V1beta1Role](docs/V1beta1Role.md) + - [V1beta1RoleBinding](docs/V1beta1RoleBinding.md) + - [V1beta1RoleBindingList](docs/V1beta1RoleBindingList.md) + - [V1beta1RoleList](docs/V1beta1RoleList.md) + - [V1beta1RoleRef](docs/V1beta1RoleRef.md) + - [V1beta1RollingUpdateDaemonSet](docs/V1beta1RollingUpdateDaemonSet.md) + - [V1beta1RollingUpdateStatefulSetStrategy](docs/V1beta1RollingUpdateStatefulSetStrategy.md) - [V1beta1RunAsUserStrategyOptions](docs/V1beta1RunAsUserStrategyOptions.md) - [V1beta1SELinuxStrategyOptions](docs/V1beta1SELinuxStrategyOptions.md) - - [V1beta1Scale](docs/V1beta1Scale.md) - - [V1beta1ScaleSpec](docs/V1beta1ScaleSpec.md) - - [V1beta1ScaleStatus](docs/V1beta1ScaleStatus.md) - [V1beta1SelfSubjectAccessReview](docs/V1beta1SelfSubjectAccessReview.md) - [V1beta1SelfSubjectAccessReviewSpec](docs/V1beta1SelfSubjectAccessReviewSpec.md) - [V1beta1StatefulSet](docs/V1beta1StatefulSet.md) - [V1beta1StatefulSetList](docs/V1beta1StatefulSetList.md) - [V1beta1StatefulSetSpec](docs/V1beta1StatefulSetSpec.md) - [V1beta1StatefulSetStatus](docs/V1beta1StatefulSetStatus.md) + - [V1beta1StatefulSetUpdateStrategy](docs/V1beta1StatefulSetUpdateStrategy.md) - [V1beta1StorageClass](docs/V1beta1StorageClass.md) - [V1beta1StorageClassList](docs/V1beta1StorageClassList.md) + - [V1beta1Subject](docs/V1beta1Subject.md) - [V1beta1SubjectAccessReview](docs/V1beta1SubjectAccessReview.md) - [V1beta1SubjectAccessReviewSpec](docs/V1beta1SubjectAccessReviewSpec.md) - [V1beta1SubjectAccessReviewStatus](docs/V1beta1SubjectAccessReviewStatus.md) - - [V1beta1SubresourceReference](docs/V1beta1SubresourceReference.md) - [V1beta1SupplementalGroupsStrategyOptions](docs/V1beta1SupplementalGroupsStrategyOptions.md) - [V1beta1ThirdPartyResource](docs/V1beta1ThirdPartyResource.md) - [V1beta1ThirdPartyResourceList](docs/V1beta1ThirdPartyResourceList.md) @@ -1613,19 +1712,41 @@ Class | Method | HTTP request | Description - [V2alpha1CronJobList](docs/V2alpha1CronJobList.md) - [V2alpha1CronJobSpec](docs/V2alpha1CronJobSpec.md) - [V2alpha1CronJobStatus](docs/V2alpha1CronJobStatus.md) - - [V2alpha1Job](docs/V2alpha1Job.md) - - [V2alpha1JobCondition](docs/V2alpha1JobCondition.md) - - [V2alpha1JobList](docs/V2alpha1JobList.md) - - [V2alpha1JobSpec](docs/V2alpha1JobSpec.md) - - [V2alpha1JobStatus](docs/V2alpha1JobStatus.md) - [V2alpha1JobTemplateSpec](docs/V2alpha1JobTemplateSpec.md) - - [VersionInfo](docs/VersionInfo.md) - - [VersionedEvent](docs/VersionedEvent.md) ## Documentation For Authorization - All endpoints do not require authorization. + +## BearerToken + +- **Type**: API key +- **API key parameter name**: authorization +- **Location**: HTTP header + +## Oauth2AccessToken + +- **Type**: OAuth +- **Flow**: accessCode +- **Authorization URL**: https://127.0.0.1:8443/oauth/authorize +- **Scopes**: + - **user:check-access**: Read-only access to view your privileges (for example, \"can I create builds?\") + - **user:full**: Full read/write access with all of your permissions + - **user:info**: Read-only access to your user information (including username, identities, and group membership) + - **user:list-projects**: Read-only access to list your projects and view their metadata (display name, description, etc.) + - **user:list-scoped-projects**: Read-only access to list your projects viewable with this token and view their metadata (display name, description, etc.) + +## Oauth2Implicit + +- **Type**: OAuth +- **Flow**: implicit +- **Authorization URL**: https://127.0.0.1:8443/oauth/authorize +- **Scopes**: + - **user:check-access**: Read-only access to view your privileges (for example, \"can I create builds?\") + - **user:full**: Full read/write access with all of your permissions + - **user:info**: Read-only access to your user information (including username, identities, and group membership) + - **user:list-projects**: Read-only access to list your projects and view their metadata (display name, description, etc.) + - **user:list-scoped-projects**: Read-only access to list your projects viewable with this token and view their metadata (display name, description, etc.) ## Author diff --git a/openshift/__init__.py b/openshift/__init__.py index 08230a79..ab6a3269 100644 --- a/openshift/__init__.py +++ b/openshift/__init__.py @@ -18,5 +18,5 @@ # Do not edit these constants. They will be updated automatically # by scripts/update-client.sh. -__version__ = "1.0.0-snapshot" -__k8s_client_version__ = "1.0.0" +__version__ = "0.3.0" +__k8s_client_version__ = "3.0.0" diff --git a/openshift/client/__init__.py b/openshift/client/__init__.py index a1719bdc..1ee027f2 100644 --- a/openshift/client/__init__.py +++ b/openshift/client/__init__.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -14,10 +14,14 @@ from __future__ import absolute_import # import models into sdk package -from .models.unversioned_server_address_by_client_cidr import UnversionedServerAddressByClientCIDR +from .models.v1_allowed_flex_volume import V1AllowedFlexVolume from .models.v1_applied_cluster_resource_quota import V1AppliedClusterResourceQuota from .models.v1_applied_cluster_resource_quota_list import V1AppliedClusterResourceQuotaList from .models.v1_binary_build_source import V1BinaryBuildSource +from .models.v1_bitbucket_web_hook_cause import V1BitbucketWebHookCause +from .models.v1_broker_template_instance import V1BrokerTemplateInstance +from .models.v1_broker_template_instance_list import V1BrokerTemplateInstanceList +from .models.v1_broker_template_instance_spec import V1BrokerTemplateInstanceSpec from .models.v1_build import V1Build from .models.v1_build_config import V1BuildConfig from .models.v1_build_config_list import V1BuildConfigList @@ -38,10 +42,6 @@ from .models.v1_build_trigger_policy import V1BuildTriggerPolicy from .models.v1_cluster_network import V1ClusterNetwork from .models.v1_cluster_network_list import V1ClusterNetworkList -from .models.v1_cluster_policy import V1ClusterPolicy -from .models.v1_cluster_policy_binding import V1ClusterPolicyBinding -from .models.v1_cluster_policy_binding_list import V1ClusterPolicyBindingList -from .models.v1_cluster_policy_list import V1ClusterPolicyList from .models.v1_cluster_resource_quota import V1ClusterResourceQuota from .models.v1_cluster_resource_quota_list import V1ClusterResourceQuotaList from .models.v1_cluster_resource_quota_selector import V1ClusterResourceQuotaSelector @@ -69,8 +69,6 @@ from .models.v1_deployment_strategy import V1DeploymentStrategy from .models.v1_deployment_trigger_image_change_params import V1DeploymentTriggerImageChangeParams from .models.v1_deployment_trigger_policy import V1DeploymentTriggerPolicy -from .models.v1_deprecated_downward_api_volume_file import V1DeprecatedDownwardAPIVolumeFile -from .models.v1_deprecated_downward_api_volume_source import V1DeprecatedDownwardAPIVolumeSource from .models.v1_docker_build_strategy import V1DockerBuildStrategy from .models.v1_docker_strategy_options import V1DockerStrategyOptions from .models.v1_egress_network_policy import V1EgressNetworkPolicy @@ -83,6 +81,7 @@ from .models.v1_generic_web_hook_cause import V1GenericWebHookCause from .models.v1_git_build_source import V1GitBuildSource from .models.v1_git_hub_web_hook_cause import V1GitHubWebHookCause +from .models.v1_git_lab_web_hook_cause import V1GitLabWebHookCause from .models.v1_git_source_revision import V1GitSourceRevision from .models.v1_group import V1Group from .models.v1_group_list import V1GroupList @@ -100,6 +99,7 @@ from .models.v1_image_label import V1ImageLabel from .models.v1_image_layer import V1ImageLayer from .models.v1_image_list import V1ImageList +from .models.v1_image_lookup_policy import V1ImageLookupPolicy from .models.v1_image_signature import V1ImageSignature from .models.v1_image_source import V1ImageSource from .models.v1_image_source_path import V1ImageSourcePath @@ -117,11 +117,6 @@ from .models.v1_jenkins_pipeline_build_strategy import V1JenkinsPipelineBuildStrategy from .models.v1_lifecycle_hook import V1LifecycleHook from .models.v1_local_resource_access_review import V1LocalResourceAccessReview -from .models.v1_local_subject_access_review import V1LocalSubjectAccessReview -from .models.v1_named_cluster_role import V1NamedClusterRole -from .models.v1_named_cluster_role_binding import V1NamedClusterRoleBinding -from .models.v1_named_role import V1NamedRole -from .models.v1_named_role_binding import V1NamedRoleBinding from .models.v1_named_tag_event_list import V1NamedTagEventList from .models.v1_net_namespace import V1NetNamespace from .models.v1_net_namespace_list import V1NetNamespaceList @@ -142,10 +137,6 @@ from .models.v1_pod_security_policy_subject_review import V1PodSecurityPolicySubjectReview from .models.v1_pod_security_policy_subject_review_spec import V1PodSecurityPolicySubjectReviewSpec from .models.v1_pod_security_policy_subject_review_status import V1PodSecurityPolicySubjectReviewStatus -from .models.v1_policy import V1Policy -from .models.v1_policy_binding import V1PolicyBinding -from .models.v1_policy_binding_list import V1PolicyBindingList -from .models.v1_policy_list import V1PolicyList from .models.v1_policy_rule import V1PolicyRule from .models.v1_project import V1Project from .models.v1_project_list import V1ProjectList @@ -182,6 +173,7 @@ from .models.v1_security_context_constraints_list import V1SecurityContextConstraintsList from .models.v1_self_subject_rules_review import V1SelfSubjectRulesReview from .models.v1_self_subject_rules_review_spec import V1SelfSubjectRulesReviewSpec +from .models.v1_server_address_by_client_cidr import V1ServerAddressByClientCIDR from .models.v1_service_account_pod_security_policy_review_status import V1ServiceAccountPodSecurityPolicyReviewStatus from .models.v1_service_account_reference import V1ServiceAccountReference from .models.v1_service_account_restriction import V1ServiceAccountRestriction @@ -191,7 +183,9 @@ from .models.v1_source_build_strategy import V1SourceBuildStrategy from .models.v1_source_control_user import V1SourceControlUser from .models.v1_source_revision import V1SourceRevision -from .models.v1_subject_access_review import V1SubjectAccessReview +from .models.v1_source_strategy_options import V1SourceStrategyOptions +from .models.v1_stage_info import V1StageInfo +from .models.v1_step_info import V1StepInfo from .models.v1_subject_rules_review import V1SubjectRulesReview from .models.v1_subject_rules_review_spec import V1SubjectRulesReviewSpec from .models.v1_subject_rules_review_status import V1SubjectRulesReviewStatus @@ -204,22 +198,20 @@ from .models.v1_tag_reference import V1TagReference from .models.v1_tag_reference_policy import V1TagReferencePolicy from .models.v1_template import V1Template +from .models.v1_template_instance import V1TemplateInstance +from .models.v1_template_instance_condition import V1TemplateInstanceCondition +from .models.v1_template_instance_list import V1TemplateInstanceList +from .models.v1_template_instance_object import V1TemplateInstanceObject +from .models.v1_template_instance_requester import V1TemplateInstanceRequester +from .models.v1_template_instance_spec import V1TemplateInstanceSpec +from .models.v1_template_instance_status import V1TemplateInstanceStatus from .models.v1_template_list import V1TemplateList from .models.v1_user import V1User from .models.v1_user_identity_mapping import V1UserIdentityMapping from .models.v1_user_list import V1UserList from .models.v1_user_restriction import V1UserRestriction from .models.v1_web_hook_trigger import V1WebHookTrigger -from .models.v1beta1_fs_group_strategy_options import V1beta1FSGroupStrategyOptions -from .models.v1beta1_host_port_range import V1beta1HostPortRange -from .models.v1beta1_id_range import V1beta1IDRange from .models.v1beta1_ingress_tls import V1beta1IngressTLS -from .models.v1beta1_pod_security_policy import V1beta1PodSecurityPolicy -from .models.v1beta1_pod_security_policy_list import V1beta1PodSecurityPolicyList -from .models.v1beta1_pod_security_policy_spec import V1beta1PodSecurityPolicySpec -from .models.v1beta1_run_as_user_strategy_options import V1beta1RunAsUserStrategyOptions -from .models.v1beta1_se_linux_strategy_options import V1beta1SELinuxStrategyOptions -from .models.v1beta1_supplemental_groups_strategy_options import V1beta1SupplementalGroupsStrategyOptions # import apis into sdk package from .apis.apps_openshift_io_api import AppsOpenshiftIoApi @@ -235,7 +227,6 @@ from .apis.oapi_api import OapiApi from .apis.oauth_openshift_io_api import OauthOpenshiftIoApi from .apis.oauth_openshift_io_v1_api import OauthOpenshiftIoV1Api -from .apis.osapi_api import OsapiApi from .apis.project_openshift_io_api import ProjectOpenshiftIoApi from .apis.project_openshift_io_v1_api import ProjectOpenshiftIoV1Api from .apis.quota_openshift_io_api import QuotaOpenshiftIoApi @@ -253,4 +244,5 @@ # import ApiClient from .api_client import ApiClient +from kubernetes.client.configuration import Configuration, ConfigurationObject, configuration from kubernetes.client.configuration import Configuration, ConfigurationObject, configuration \ No newline at end of file diff --git a/openshift/client/apis/__init__.py b/openshift/client/apis/__init__.py index 879fafc4..0c4d4b50 100644 --- a/openshift/client/apis/__init__.py +++ b/openshift/client/apis/__init__.py @@ -14,7 +14,6 @@ from .oapi_api import OapiApi from .oauth_openshift_io_api import OauthOpenshiftIoApi from .oauth_openshift_io_v1_api import OauthOpenshiftIoV1Api -from .osapi_api import OsapiApi from .project_openshift_io_api import ProjectOpenshiftIoApi from .project_openshift_io_v1_api import ProjectOpenshiftIoV1Api from .quota_openshift_io_api import QuotaOpenshiftIoApi diff --git a/openshift/client/apis/apps_openshift_io_api.py b/openshift/client/apis/apps_openshift_io_api.py index 62b57362..4d4e2c28 100644 --- a/openshift/client/apis/apps_openshift_io_api.py +++ b/openshift/client/apis/apps_openshift_io_api.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -40,7 +40,7 @@ def __init__(self, api_client=None): config.api_client = ApiClient() self.api_client = config.api_client - def get_apps_openshift_io_api_group(self, **kwargs): + def get_api_group(self, **kwargs): """ get information of a group This method makes a synchronous HTTP request by default. To make an @@ -49,22 +49,22 @@ def get_apps_openshift_io_api_group(self, **kwargs): >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.get_apps_openshift_io_api_group(callback=callback_function) + >>> thread = api.get_api_group(callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) - :return: UnversionedAPIGroup + :return: V1APIGroup If the method is called asynchronously, returns the request thread. """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.get_apps_openshift_io_api_group_with_http_info(**kwargs) + return self.get_api_group_with_http_info(**kwargs) else: - (data) = self.get_apps_openshift_io_api_group_with_http_info(**kwargs) + (data) = self.get_api_group_with_http_info(**kwargs) return data - def get_apps_openshift_io_api_group_with_http_info(self, **kwargs): + def get_api_group_with_http_info(self, **kwargs): """ get information of a group This method makes a synchronous HTTP request by default. To make an @@ -73,11 +73,11 @@ def get_apps_openshift_io_api_group_with_http_info(self, **kwargs): >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.get_apps_openshift_io_api_group_with_http_info(callback=callback_function) + >>> thread = api.get_api_group_with_http_info(callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) - :return: UnversionedAPIGroup + :return: V1APIGroup If the method is called asynchronously, returns the request thread. """ @@ -93,7 +93,7 @@ def get_apps_openshift_io_api_group_with_http_info(self, **kwargs): if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method get_apps_openshift_io_api_group" % key + " to method get_api_group" % key ) params[key] = val del params['kwargs'] @@ -120,7 +120,7 @@ def get_apps_openshift_io_api_group_with_http_info(self, **kwargs): select_header_content_type(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -129,7 +129,7 @@ def get_apps_openshift_io_api_group_with_http_info(self, **kwargs): body=body_params, post_params=form_params, files=local_var_files, - response_type='UnversionedAPIGroup', + response_type='V1APIGroup', auth_settings=auth_settings, callback=params.get('callback'), _return_http_data_only=params.get('_return_http_data_only'), diff --git a/openshift/client/apis/apps_openshift_io_v1_api.py b/openshift/client/apis/apps_openshift_io_v1_api.py index 0ba79580..cf2a2eca 100644 --- a/openshift/client/apis/apps_openshift_io_v1_api.py +++ b/openshift/client/apis/apps_openshift_io_v1_api.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -40,7 +40,7 @@ def __init__(self, api_client=None): config.api_client = ApiClient() self.api_client = config.api_client - def create_apps_openshift_io_v1_deployment_config_for_all_namespaces(self, body, **kwargs): + def create_deployment_config_for_all_namespaces(self, body, **kwargs): """ create a DeploymentConfig This method makes a synchronous HTTP request by default. To make an @@ -49,7 +49,7 @@ def create_apps_openshift_io_v1_deployment_config_for_all_namespaces(self, body, >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.create_apps_openshift_io_v1_deployment_config_for_all_namespaces(body, callback=callback_function) + >>> thread = api.create_deployment_config_for_all_namespaces(body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) @@ -61,12 +61,12 @@ def create_apps_openshift_io_v1_deployment_config_for_all_namespaces(self, body, """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.create_apps_openshift_io_v1_deployment_config_for_all_namespaces_with_http_info(body, **kwargs) + return self.create_deployment_config_for_all_namespaces_with_http_info(body, **kwargs) else: - (data) = self.create_apps_openshift_io_v1_deployment_config_for_all_namespaces_with_http_info(body, **kwargs) + (data) = self.create_deployment_config_for_all_namespaces_with_http_info(body, **kwargs) return data - def create_apps_openshift_io_v1_deployment_config_for_all_namespaces_with_http_info(self, body, **kwargs): + def create_deployment_config_for_all_namespaces_with_http_info(self, body, **kwargs): """ create a DeploymentConfig This method makes a synchronous HTTP request by default. To make an @@ -75,7 +75,7 @@ def create_apps_openshift_io_v1_deployment_config_for_all_namespaces_with_http_i >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.create_apps_openshift_io_v1_deployment_config_for_all_namespaces_with_http_info(body, callback=callback_function) + >>> thread = api.create_deployment_config_for_all_namespaces_with_http_info(body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) @@ -97,13 +97,13 @@ def create_apps_openshift_io_v1_deployment_config_for_all_namespaces_with_http_i if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method create_apps_openshift_io_v1_deployment_config_for_all_namespaces" % key + " to method create_deployment_config_for_all_namespaces" % key ) params[key] = val del params['kwargs'] # verify the required parameter 'body' is set if ('body' not in params) or (params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `create_apps_openshift_io_v1_deployment_config_for_all_namespaces`") + raise ValueError("Missing the required parameter `body` when calling `create_deployment_config_for_all_namespaces`") collection_formats = {} @@ -132,7 +132,7 @@ def create_apps_openshift_io_v1_deployment_config_for_all_namespaces_with_http_i select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'POST', path_params, @@ -149,7 +149,7 @@ def create_apps_openshift_io_v1_deployment_config_for_all_namespaces_with_http_i _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def create_apps_openshift_io_v1_namespaced_deployment_config(self, namespace, body, **kwargs): + def create_namespaced_deployment_config(self, namespace, body, **kwargs): """ create a DeploymentConfig This method makes a synchronous HTTP request by default. To make an @@ -158,7 +158,7 @@ def create_apps_openshift_io_v1_namespaced_deployment_config(self, namespace, bo >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.create_apps_openshift_io_v1_namespaced_deployment_config(namespace, body, callback=callback_function) + >>> thread = api.create_namespaced_deployment_config(namespace, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) @@ -171,12 +171,12 @@ def create_apps_openshift_io_v1_namespaced_deployment_config(self, namespace, bo """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.create_apps_openshift_io_v1_namespaced_deployment_config_with_http_info(namespace, body, **kwargs) + return self.create_namespaced_deployment_config_with_http_info(namespace, body, **kwargs) else: - (data) = self.create_apps_openshift_io_v1_namespaced_deployment_config_with_http_info(namespace, body, **kwargs) + (data) = self.create_namespaced_deployment_config_with_http_info(namespace, body, **kwargs) return data - def create_apps_openshift_io_v1_namespaced_deployment_config_with_http_info(self, namespace, body, **kwargs): + def create_namespaced_deployment_config_with_http_info(self, namespace, body, **kwargs): """ create a DeploymentConfig This method makes a synchronous HTTP request by default. To make an @@ -185,7 +185,7 @@ def create_apps_openshift_io_v1_namespaced_deployment_config_with_http_info(self >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.create_apps_openshift_io_v1_namespaced_deployment_config_with_http_info(namespace, body, callback=callback_function) + >>> thread = api.create_namespaced_deployment_config_with_http_info(namespace, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) @@ -208,16 +208,16 @@ def create_apps_openshift_io_v1_namespaced_deployment_config_with_http_info(self if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method create_apps_openshift_io_v1_namespaced_deployment_config" % key + " to method create_namespaced_deployment_config" % key ) params[key] = val del params['kwargs'] # verify the required parameter 'namespace' is set if ('namespace' not in params) or (params['namespace'] is None): - raise ValueError("Missing the required parameter `namespace` when calling `create_apps_openshift_io_v1_namespaced_deployment_config`") + raise ValueError("Missing the required parameter `namespace` when calling `create_namespaced_deployment_config`") # verify the required parameter 'body' is set if ('body' not in params) or (params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `create_apps_openshift_io_v1_namespaced_deployment_config`") + raise ValueError("Missing the required parameter `body` when calling `create_namespaced_deployment_config`") collection_formats = {} @@ -248,7 +248,7 @@ def create_apps_openshift_io_v1_namespaced_deployment_config_with_http_info(self select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'POST', path_params, @@ -265,7 +265,7 @@ def create_apps_openshift_io_v1_namespaced_deployment_config_with_http_info(self _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def create_apps_openshift_io_v1_namespaced_deployment_config_rollback_rollback(self, body, name, namespace, **kwargs): + def create_namespaced_deployment_config_rollback_rollback(self, name, namespace, body, **kwargs): """ create rollback of a DeploymentConfigRollback This method makes a synchronous HTTP request by default. To make an @@ -274,13 +274,13 @@ def create_apps_openshift_io_v1_namespaced_deployment_config_rollback_rollback(s >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.create_apps_openshift_io_v1_namespaced_deployment_config_rollback_rollback(body, name, namespace, callback=callback_function) + >>> thread = api.create_namespaced_deployment_config_rollback_rollback(name, namespace, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) - :param V1DeploymentConfigRollback body: (required) :param str name: name of the DeploymentConfigRollback (required) :param str namespace: object name and auth scope, such as for teams and projects (required) + :param V1DeploymentConfigRollback body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1DeploymentConfigRollback If the method is called asynchronously, @@ -288,12 +288,12 @@ def create_apps_openshift_io_v1_namespaced_deployment_config_rollback_rollback(s """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.create_apps_openshift_io_v1_namespaced_deployment_config_rollback_rollback_with_http_info(body, name, namespace, **kwargs) + return self.create_namespaced_deployment_config_rollback_rollback_with_http_info(name, namespace, body, **kwargs) else: - (data) = self.create_apps_openshift_io_v1_namespaced_deployment_config_rollback_rollback_with_http_info(body, name, namespace, **kwargs) + (data) = self.create_namespaced_deployment_config_rollback_rollback_with_http_info(name, namespace, body, **kwargs) return data - def create_apps_openshift_io_v1_namespaced_deployment_config_rollback_rollback_with_http_info(self, body, name, namespace, **kwargs): + def create_namespaced_deployment_config_rollback_rollback_with_http_info(self, name, namespace, body, **kwargs): """ create rollback of a DeploymentConfigRollback This method makes a synchronous HTTP request by default. To make an @@ -302,20 +302,20 @@ def create_apps_openshift_io_v1_namespaced_deployment_config_rollback_rollback_w >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.create_apps_openshift_io_v1_namespaced_deployment_config_rollback_rollback_with_http_info(body, name, namespace, callback=callback_function) + >>> thread = api.create_namespaced_deployment_config_rollback_rollback_with_http_info(name, namespace, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) - :param V1DeploymentConfigRollback body: (required) :param str name: name of the DeploymentConfigRollback (required) :param str namespace: object name and auth scope, such as for teams and projects (required) + :param V1DeploymentConfigRollback body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1DeploymentConfigRollback If the method is called asynchronously, returns the request thread. """ - all_params = ['body', 'name', 'namespace', 'pretty'] + all_params = ['name', 'namespace', 'body', 'pretty'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -326,19 +326,19 @@ def create_apps_openshift_io_v1_namespaced_deployment_config_rollback_rollback_w if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method create_apps_openshift_io_v1_namespaced_deployment_config_rollback_rollback" % key + " to method create_namespaced_deployment_config_rollback_rollback" % key ) params[key] = val del params['kwargs'] - # verify the required parameter 'body' is set - if ('body' not in params) or (params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `create_apps_openshift_io_v1_namespaced_deployment_config_rollback_rollback`") # verify the required parameter 'name' is set if ('name' not in params) or (params['name'] is None): - raise ValueError("Missing the required parameter `name` when calling `create_apps_openshift_io_v1_namespaced_deployment_config_rollback_rollback`") + raise ValueError("Missing the required parameter `name` when calling `create_namespaced_deployment_config_rollback_rollback`") # verify the required parameter 'namespace' is set if ('namespace' not in params) or (params['namespace'] is None): - raise ValueError("Missing the required parameter `namespace` when calling `create_apps_openshift_io_v1_namespaced_deployment_config_rollback_rollback`") + raise ValueError("Missing the required parameter `namespace` when calling `create_namespaced_deployment_config_rollback_rollback`") + # verify the required parameter 'body' is set + if ('body' not in params) or (params['body'] is None): + raise ValueError("Missing the required parameter `body` when calling `create_namespaced_deployment_config_rollback_rollback`") collection_formats = {} @@ -371,7 +371,7 @@ def create_apps_openshift_io_v1_namespaced_deployment_config_rollback_rollback_w select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'POST', path_params, @@ -388,7 +388,7 @@ def create_apps_openshift_io_v1_namespaced_deployment_config_rollback_rollback_w _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def create_apps_openshift_io_v1_namespaced_deployment_request_instantiate(self, body, name, namespace, **kwargs): + def create_namespaced_deployment_request_instantiate(self, name, namespace, body, **kwargs): """ create instantiate of a DeploymentRequest This method makes a synchronous HTTP request by default. To make an @@ -397,13 +397,13 @@ def create_apps_openshift_io_v1_namespaced_deployment_request_instantiate(self, >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.create_apps_openshift_io_v1_namespaced_deployment_request_instantiate(body, name, namespace, callback=callback_function) + >>> thread = api.create_namespaced_deployment_request_instantiate(name, namespace, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) - :param V1DeploymentRequest body: (required) :param str name: name of the DeploymentRequest (required) :param str namespace: object name and auth scope, such as for teams and projects (required) + :param V1DeploymentRequest body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1DeploymentRequest If the method is called asynchronously, @@ -411,12 +411,12 @@ def create_apps_openshift_io_v1_namespaced_deployment_request_instantiate(self, """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.create_apps_openshift_io_v1_namespaced_deployment_request_instantiate_with_http_info(body, name, namespace, **kwargs) + return self.create_namespaced_deployment_request_instantiate_with_http_info(name, namespace, body, **kwargs) else: - (data) = self.create_apps_openshift_io_v1_namespaced_deployment_request_instantiate_with_http_info(body, name, namespace, **kwargs) + (data) = self.create_namespaced_deployment_request_instantiate_with_http_info(name, namespace, body, **kwargs) return data - def create_apps_openshift_io_v1_namespaced_deployment_request_instantiate_with_http_info(self, body, name, namespace, **kwargs): + def create_namespaced_deployment_request_instantiate_with_http_info(self, name, namespace, body, **kwargs): """ create instantiate of a DeploymentRequest This method makes a synchronous HTTP request by default. To make an @@ -425,20 +425,20 @@ def create_apps_openshift_io_v1_namespaced_deployment_request_instantiate_with_h >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.create_apps_openshift_io_v1_namespaced_deployment_request_instantiate_with_http_info(body, name, namespace, callback=callback_function) + >>> thread = api.create_namespaced_deployment_request_instantiate_with_http_info(name, namespace, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) - :param V1DeploymentRequest body: (required) :param str name: name of the DeploymentRequest (required) :param str namespace: object name and auth scope, such as for teams and projects (required) + :param V1DeploymentRequest body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1DeploymentRequest If the method is called asynchronously, returns the request thread. """ - all_params = ['body', 'name', 'namespace', 'pretty'] + all_params = ['name', 'namespace', 'body', 'pretty'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -449,19 +449,19 @@ def create_apps_openshift_io_v1_namespaced_deployment_request_instantiate_with_h if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method create_apps_openshift_io_v1_namespaced_deployment_request_instantiate" % key + " to method create_namespaced_deployment_request_instantiate" % key ) params[key] = val del params['kwargs'] - # verify the required parameter 'body' is set - if ('body' not in params) or (params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `create_apps_openshift_io_v1_namespaced_deployment_request_instantiate`") # verify the required parameter 'name' is set if ('name' not in params) or (params['name'] is None): - raise ValueError("Missing the required parameter `name` when calling `create_apps_openshift_io_v1_namespaced_deployment_request_instantiate`") + raise ValueError("Missing the required parameter `name` when calling `create_namespaced_deployment_request_instantiate`") # verify the required parameter 'namespace' is set if ('namespace' not in params) or (params['namespace'] is None): - raise ValueError("Missing the required parameter `namespace` when calling `create_apps_openshift_io_v1_namespaced_deployment_request_instantiate`") + raise ValueError("Missing the required parameter `namespace` when calling `create_namespaced_deployment_request_instantiate`") + # verify the required parameter 'body' is set + if ('body' not in params) or (params['body'] is None): + raise ValueError("Missing the required parameter `body` when calling `create_namespaced_deployment_request_instantiate`") collection_formats = {} @@ -494,7 +494,7 @@ def create_apps_openshift_io_v1_namespaced_deployment_request_instantiate_with_h select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'POST', path_params, @@ -511,7 +511,7 @@ def create_apps_openshift_io_v1_namespaced_deployment_request_instantiate_with_h _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def delete_apps_openshift_io_v1_collection_namespaced_deployment_config(self, namespace, **kwargs): + def delete_collection_namespaced_deployment_config(self, namespace, **kwargs): """ delete collection of DeploymentConfig This method makes a synchronous HTTP request by default. To make an @@ -520,29 +520,30 @@ def delete_apps_openshift_io_v1_collection_namespaced_deployment_config(self, na >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.delete_apps_openshift_io_v1_collection_namespaced_deployment_config(namespace, callback=callback_function) + >>> thread = api.delete_collection_namespaced_deployment_config(namespace, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param str namespace: object name and auth scope, such as for teams and projects (required) :param str pretty: If 'true', then the output is pretty printed. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param bool include_uninitialized: If true, partially initialized resources are included in the response. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. - :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. + :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. :param int timeout_seconds: Timeout for the list/watch call. :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - :return: UnversionedStatus + :return: V1Status If the method is called asynchronously, returns the request thread. """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.delete_apps_openshift_io_v1_collection_namespaced_deployment_config_with_http_info(namespace, **kwargs) + return self.delete_collection_namespaced_deployment_config_with_http_info(namespace, **kwargs) else: - (data) = self.delete_apps_openshift_io_v1_collection_namespaced_deployment_config_with_http_info(namespace, **kwargs) + (data) = self.delete_collection_namespaced_deployment_config_with_http_info(namespace, **kwargs) return data - def delete_apps_openshift_io_v1_collection_namespaced_deployment_config_with_http_info(self, namespace, **kwargs): + def delete_collection_namespaced_deployment_config_with_http_info(self, namespace, **kwargs): """ delete collection of DeploymentConfig This method makes a synchronous HTTP request by default. To make an @@ -551,23 +552,24 @@ def delete_apps_openshift_io_v1_collection_namespaced_deployment_config_with_htt >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.delete_apps_openshift_io_v1_collection_namespaced_deployment_config_with_http_info(namespace, callback=callback_function) + >>> thread = api.delete_collection_namespaced_deployment_config_with_http_info(namespace, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param str namespace: object name and auth scope, such as for teams and projects (required) :param str pretty: If 'true', then the output is pretty printed. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param bool include_uninitialized: If true, partially initialized resources are included in the response. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. - :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. + :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. :param int timeout_seconds: Timeout for the list/watch call. :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - :return: UnversionedStatus + :return: V1Status If the method is called asynchronously, returns the request thread. """ - all_params = ['namespace', 'pretty', 'field_selector', 'label_selector', 'resource_version', 'timeout_seconds', 'watch'] + all_params = ['namespace', 'pretty', 'field_selector', 'include_uninitialized', 'label_selector', 'resource_version', 'timeout_seconds', 'watch'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -578,13 +580,13 @@ def delete_apps_openshift_io_v1_collection_namespaced_deployment_config_with_htt if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method delete_apps_openshift_io_v1_collection_namespaced_deployment_config" % key + " to method delete_collection_namespaced_deployment_config" % key ) params[key] = val del params['kwargs'] # verify the required parameter 'namespace' is set if ('namespace' not in params) or (params['namespace'] is None): - raise ValueError("Missing the required parameter `namespace` when calling `delete_apps_openshift_io_v1_collection_namespaced_deployment_config`") + raise ValueError("Missing the required parameter `namespace` when calling `delete_collection_namespaced_deployment_config`") collection_formats = {} @@ -599,6 +601,8 @@ def delete_apps_openshift_io_v1_collection_namespaced_deployment_config_with_htt query_params['pretty'] = params['pretty'] if 'field_selector' in params: query_params['fieldSelector'] = params['field_selector'] + if 'include_uninitialized' in params: + query_params['includeUninitialized'] = params['include_uninitialized'] if 'label_selector' in params: query_params['labelSelector'] = params['label_selector'] if 'resource_version' in params: @@ -623,7 +627,7 @@ def delete_apps_openshift_io_v1_collection_namespaced_deployment_config_with_htt select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'DELETE', path_params, @@ -632,7 +636,7 @@ def delete_apps_openshift_io_v1_collection_namespaced_deployment_config_with_htt body=body_params, post_params=form_params, files=local_var_files, - response_type='UnversionedStatus', + response_type='V1Status', auth_settings=auth_settings, callback=params.get('callback'), _return_http_data_only=params.get('_return_http_data_only'), @@ -640,7 +644,7 @@ def delete_apps_openshift_io_v1_collection_namespaced_deployment_config_with_htt _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def delete_apps_openshift_io_v1_namespaced_deployment_config(self, name, namespace, body, **kwargs): + def delete_namespaced_deployment_config(self, name, namespace, body, **kwargs): """ delete a DeploymentConfig This method makes a synchronous HTTP request by default. To make an @@ -649,7 +653,7 @@ def delete_apps_openshift_io_v1_namespaced_deployment_config(self, name, namespa >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.delete_apps_openshift_io_v1_namespaced_deployment_config(name, namespace, body, callback=callback_function) + >>> thread = api.delete_namespaced_deployment_config(name, namespace, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) @@ -658,19 +662,20 @@ def delete_apps_openshift_io_v1_namespaced_deployment_config(self, name, namespa :param V1DeleteOptions body: (required) :param str pretty: If 'true', then the output is pretty printed. :param int grace_period_seconds: 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. - :param bool orphan_dependents: Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. - :return: UnversionedStatus + :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. + :param str propagation_policy: Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. + :return: V1Status If the method is called asynchronously, returns the request thread. """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.delete_apps_openshift_io_v1_namespaced_deployment_config_with_http_info(name, namespace, body, **kwargs) + return self.delete_namespaced_deployment_config_with_http_info(name, namespace, body, **kwargs) else: - (data) = self.delete_apps_openshift_io_v1_namespaced_deployment_config_with_http_info(name, namespace, body, **kwargs) + (data) = self.delete_namespaced_deployment_config_with_http_info(name, namespace, body, **kwargs) return data - def delete_apps_openshift_io_v1_namespaced_deployment_config_with_http_info(self, name, namespace, body, **kwargs): + def delete_namespaced_deployment_config_with_http_info(self, name, namespace, body, **kwargs): """ delete a DeploymentConfig This method makes a synchronous HTTP request by default. To make an @@ -679,7 +684,7 @@ def delete_apps_openshift_io_v1_namespaced_deployment_config_with_http_info(self >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.delete_apps_openshift_io_v1_namespaced_deployment_config_with_http_info(name, namespace, body, callback=callback_function) + >>> thread = api.delete_namespaced_deployment_config_with_http_info(name, namespace, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) @@ -688,13 +693,14 @@ def delete_apps_openshift_io_v1_namespaced_deployment_config_with_http_info(self :param V1DeleteOptions body: (required) :param str pretty: If 'true', then the output is pretty printed. :param int grace_period_seconds: 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. - :param bool orphan_dependents: Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. - :return: UnversionedStatus + :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. + :param str propagation_policy: Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. + :return: V1Status If the method is called asynchronously, returns the request thread. """ - all_params = ['name', 'namespace', 'body', 'pretty', 'grace_period_seconds', 'orphan_dependents'] + all_params = ['name', 'namespace', 'body', 'pretty', 'grace_period_seconds', 'orphan_dependents', 'propagation_policy'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -705,19 +711,19 @@ def delete_apps_openshift_io_v1_namespaced_deployment_config_with_http_info(self if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method delete_apps_openshift_io_v1_namespaced_deployment_config" % key + " to method delete_namespaced_deployment_config" % key ) params[key] = val del params['kwargs'] # verify the required parameter 'name' is set if ('name' not in params) or (params['name'] is None): - raise ValueError("Missing the required parameter `name` when calling `delete_apps_openshift_io_v1_namespaced_deployment_config`") + raise ValueError("Missing the required parameter `name` when calling `delete_namespaced_deployment_config`") # verify the required parameter 'namespace' is set if ('namespace' not in params) or (params['namespace'] is None): - raise ValueError("Missing the required parameter `namespace` when calling `delete_apps_openshift_io_v1_namespaced_deployment_config`") + raise ValueError("Missing the required parameter `namespace` when calling `delete_namespaced_deployment_config`") # verify the required parameter 'body' is set if ('body' not in params) or (params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `delete_apps_openshift_io_v1_namespaced_deployment_config`") + raise ValueError("Missing the required parameter `body` when calling `delete_namespaced_deployment_config`") collection_formats = {} @@ -736,6 +742,8 @@ def delete_apps_openshift_io_v1_namespaced_deployment_config_with_http_info(self query_params['gracePeriodSeconds'] = params['grace_period_seconds'] if 'orphan_dependents' in params: query_params['orphanDependents'] = params['orphan_dependents'] + if 'propagation_policy' in params: + query_params['propagationPolicy'] = params['propagation_policy'] header_params = {} @@ -754,7 +762,7 @@ def delete_apps_openshift_io_v1_namespaced_deployment_config_with_http_info(self select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'DELETE', path_params, @@ -763,7 +771,7 @@ def delete_apps_openshift_io_v1_namespaced_deployment_config_with_http_info(self body=body_params, post_params=form_params, files=local_var_files, - response_type='UnversionedStatus', + response_type='V1Status', auth_settings=auth_settings, callback=params.get('callback'), _return_http_data_only=params.get('_return_http_data_only'), @@ -771,7 +779,7 @@ def delete_apps_openshift_io_v1_namespaced_deployment_config_with_http_info(self _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def get_apps_openshift_io_v1_api_resources(self, **kwargs): + def get_api_resources(self, **kwargs): """ get available resources This method makes a synchronous HTTP request by default. To make an @@ -780,22 +788,22 @@ def get_apps_openshift_io_v1_api_resources(self, **kwargs): >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.get_apps_openshift_io_v1_api_resources(callback=callback_function) + >>> thread = api.get_api_resources(callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) - :return: UnversionedAPIResourceList + :return: V1APIResourceList If the method is called asynchronously, returns the request thread. """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.get_apps_openshift_io_v1_api_resources_with_http_info(**kwargs) + return self.get_api_resources_with_http_info(**kwargs) else: - (data) = self.get_apps_openshift_io_v1_api_resources_with_http_info(**kwargs) + (data) = self.get_api_resources_with_http_info(**kwargs) return data - def get_apps_openshift_io_v1_api_resources_with_http_info(self, **kwargs): + def get_api_resources_with_http_info(self, **kwargs): """ get available resources This method makes a synchronous HTTP request by default. To make an @@ -804,11 +812,11 @@ def get_apps_openshift_io_v1_api_resources_with_http_info(self, **kwargs): >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.get_apps_openshift_io_v1_api_resources_with_http_info(callback=callback_function) + >>> thread = api.get_api_resources_with_http_info(callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) - :return: UnversionedAPIResourceList + :return: V1APIResourceList If the method is called asynchronously, returns the request thread. """ @@ -824,7 +832,7 @@ def get_apps_openshift_io_v1_api_resources_with_http_info(self, **kwargs): if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method get_apps_openshift_io_v1_api_resources" % key + " to method get_api_resources" % key ) params[key] = val del params['kwargs'] @@ -851,7 +859,7 @@ def get_apps_openshift_io_v1_api_resources_with_http_info(self, **kwargs): select_header_content_type(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -860,7 +868,7 @@ def get_apps_openshift_io_v1_api_resources_with_http_info(self, **kwargs): body=body_params, post_params=form_params, files=local_var_files, - response_type='UnversionedAPIResourceList', + response_type='V1APIResourceList', auth_settings=auth_settings, callback=params.get('callback'), _return_http_data_only=params.get('_return_http_data_only'), @@ -868,7 +876,7 @@ def get_apps_openshift_io_v1_api_resources_with_http_info(self, **kwargs): _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def list_apps_openshift_io_v1_deployment_config_for_all_namespaces(self, **kwargs): + def list_deployment_config_for_all_namespaces(self, **kwargs): """ list or watch objects of kind DeploymentConfig This method makes a synchronous HTTP request by default. To make an @@ -877,14 +885,15 @@ def list_apps_openshift_io_v1_deployment_config_for_all_namespaces(self, **kwarg >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.list_apps_openshift_io_v1_deployment_config_for_all_namespaces(callback=callback_function) + >>> thread = api.list_deployment_config_for_all_namespaces(callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param str pretty: If 'true', then the output is pretty printed. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param bool include_uninitialized: If true, partially initialized resources are included in the response. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. - :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. + :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. :param int timeout_seconds: Timeout for the list/watch call. :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. :return: V1DeploymentConfigList @@ -893,12 +902,12 @@ def list_apps_openshift_io_v1_deployment_config_for_all_namespaces(self, **kwarg """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.list_apps_openshift_io_v1_deployment_config_for_all_namespaces_with_http_info(**kwargs) + return self.list_deployment_config_for_all_namespaces_with_http_info(**kwargs) else: - (data) = self.list_apps_openshift_io_v1_deployment_config_for_all_namespaces_with_http_info(**kwargs) + (data) = self.list_deployment_config_for_all_namespaces_with_http_info(**kwargs) return data - def list_apps_openshift_io_v1_deployment_config_for_all_namespaces_with_http_info(self, **kwargs): + def list_deployment_config_for_all_namespaces_with_http_info(self, **kwargs): """ list or watch objects of kind DeploymentConfig This method makes a synchronous HTTP request by default. To make an @@ -907,14 +916,15 @@ def list_apps_openshift_io_v1_deployment_config_for_all_namespaces_with_http_inf >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.list_apps_openshift_io_v1_deployment_config_for_all_namespaces_with_http_info(callback=callback_function) + >>> thread = api.list_deployment_config_for_all_namespaces_with_http_info(callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param str pretty: If 'true', then the output is pretty printed. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param bool include_uninitialized: If true, partially initialized resources are included in the response. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. - :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. + :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. :param int timeout_seconds: Timeout for the list/watch call. :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. :return: V1DeploymentConfigList @@ -922,7 +932,7 @@ def list_apps_openshift_io_v1_deployment_config_for_all_namespaces_with_http_inf returns the request thread. """ - all_params = ['pretty', 'field_selector', 'label_selector', 'resource_version', 'timeout_seconds', 'watch'] + all_params = ['pretty', 'field_selector', 'include_uninitialized', 'label_selector', 'resource_version', 'timeout_seconds', 'watch'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -933,7 +943,7 @@ def list_apps_openshift_io_v1_deployment_config_for_all_namespaces_with_http_inf if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method list_apps_openshift_io_v1_deployment_config_for_all_namespaces" % key + " to method list_deployment_config_for_all_namespaces" % key ) params[key] = val del params['kwargs'] @@ -949,6 +959,8 @@ def list_apps_openshift_io_v1_deployment_config_for_all_namespaces_with_http_inf query_params['pretty'] = params['pretty'] if 'field_selector' in params: query_params['fieldSelector'] = params['field_selector'] + if 'include_uninitialized' in params: + query_params['includeUninitialized'] = params['include_uninitialized'] if 'label_selector' in params: query_params['labelSelector'] = params['label_selector'] if 'resource_version' in params: @@ -973,7 +985,7 @@ def list_apps_openshift_io_v1_deployment_config_for_all_namespaces_with_http_inf select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -990,7 +1002,7 @@ def list_apps_openshift_io_v1_deployment_config_for_all_namespaces_with_http_inf _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def list_apps_openshift_io_v1_namespaced_deployment_config(self, namespace, **kwargs): + def list_namespaced_deployment_config(self, namespace, **kwargs): """ list or watch objects of kind DeploymentConfig This method makes a synchronous HTTP request by default. To make an @@ -999,15 +1011,16 @@ def list_apps_openshift_io_v1_namespaced_deployment_config(self, namespace, **kw >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.list_apps_openshift_io_v1_namespaced_deployment_config(namespace, callback=callback_function) + >>> thread = api.list_namespaced_deployment_config(namespace, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param str namespace: object name and auth scope, such as for teams and projects (required) :param str pretty: If 'true', then the output is pretty printed. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param bool include_uninitialized: If true, partially initialized resources are included in the response. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. - :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. + :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. :param int timeout_seconds: Timeout for the list/watch call. :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. :return: V1DeploymentConfigList @@ -1016,12 +1029,12 @@ def list_apps_openshift_io_v1_namespaced_deployment_config(self, namespace, **kw """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.list_apps_openshift_io_v1_namespaced_deployment_config_with_http_info(namespace, **kwargs) + return self.list_namespaced_deployment_config_with_http_info(namespace, **kwargs) else: - (data) = self.list_apps_openshift_io_v1_namespaced_deployment_config_with_http_info(namespace, **kwargs) + (data) = self.list_namespaced_deployment_config_with_http_info(namespace, **kwargs) return data - def list_apps_openshift_io_v1_namespaced_deployment_config_with_http_info(self, namespace, **kwargs): + def list_namespaced_deployment_config_with_http_info(self, namespace, **kwargs): """ list or watch objects of kind DeploymentConfig This method makes a synchronous HTTP request by default. To make an @@ -1030,15 +1043,16 @@ def list_apps_openshift_io_v1_namespaced_deployment_config_with_http_info(self, >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.list_apps_openshift_io_v1_namespaced_deployment_config_with_http_info(namespace, callback=callback_function) + >>> thread = api.list_namespaced_deployment_config_with_http_info(namespace, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param str namespace: object name and auth scope, such as for teams and projects (required) :param str pretty: If 'true', then the output is pretty printed. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param bool include_uninitialized: If true, partially initialized resources are included in the response. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. - :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. + :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. :param int timeout_seconds: Timeout for the list/watch call. :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. :return: V1DeploymentConfigList @@ -1046,7 +1060,7 @@ def list_apps_openshift_io_v1_namespaced_deployment_config_with_http_info(self, returns the request thread. """ - all_params = ['namespace', 'pretty', 'field_selector', 'label_selector', 'resource_version', 'timeout_seconds', 'watch'] + all_params = ['namespace', 'pretty', 'field_selector', 'include_uninitialized', 'label_selector', 'resource_version', 'timeout_seconds', 'watch'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -1057,13 +1071,13 @@ def list_apps_openshift_io_v1_namespaced_deployment_config_with_http_info(self, if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method list_apps_openshift_io_v1_namespaced_deployment_config" % key + " to method list_namespaced_deployment_config" % key ) params[key] = val del params['kwargs'] # verify the required parameter 'namespace' is set if ('namespace' not in params) or (params['namespace'] is None): - raise ValueError("Missing the required parameter `namespace` when calling `list_apps_openshift_io_v1_namespaced_deployment_config`") + raise ValueError("Missing the required parameter `namespace` when calling `list_namespaced_deployment_config`") collection_formats = {} @@ -1078,6 +1092,8 @@ def list_apps_openshift_io_v1_namespaced_deployment_config_with_http_info(self, query_params['pretty'] = params['pretty'] if 'field_selector' in params: query_params['fieldSelector'] = params['field_selector'] + if 'include_uninitialized' in params: + query_params['includeUninitialized'] = params['include_uninitialized'] if 'label_selector' in params: query_params['labelSelector'] = params['label_selector'] if 'resource_version' in params: @@ -1102,7 +1118,7 @@ def list_apps_openshift_io_v1_namespaced_deployment_config_with_http_info(self, select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -1119,7 +1135,7 @@ def list_apps_openshift_io_v1_namespaced_deployment_config_with_http_info(self, _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def patch_apps_openshift_io_v1_namespaced_deployment_config(self, name, namespace, body, **kwargs): + def patch_namespaced_deployment_config(self, name, namespace, body, **kwargs): """ partially update the specified DeploymentConfig This method makes a synchronous HTTP request by default. To make an @@ -1128,13 +1144,13 @@ def patch_apps_openshift_io_v1_namespaced_deployment_config(self, name, namespac >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.patch_apps_openshift_io_v1_namespaced_deployment_config(name, namespace, body, callback=callback_function) + >>> thread = api.patch_namespaced_deployment_config(name, namespace, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param str name: name of the DeploymentConfig (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param UnversionedPatch body: (required) + :param object body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1DeploymentConfig If the method is called asynchronously, @@ -1142,12 +1158,12 @@ def patch_apps_openshift_io_v1_namespaced_deployment_config(self, name, namespac """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.patch_apps_openshift_io_v1_namespaced_deployment_config_with_http_info(name, namespace, body, **kwargs) + return self.patch_namespaced_deployment_config_with_http_info(name, namespace, body, **kwargs) else: - (data) = self.patch_apps_openshift_io_v1_namespaced_deployment_config_with_http_info(name, namespace, body, **kwargs) + (data) = self.patch_namespaced_deployment_config_with_http_info(name, namespace, body, **kwargs) return data - def patch_apps_openshift_io_v1_namespaced_deployment_config_with_http_info(self, name, namespace, body, **kwargs): + def patch_namespaced_deployment_config_with_http_info(self, name, namespace, body, **kwargs): """ partially update the specified DeploymentConfig This method makes a synchronous HTTP request by default. To make an @@ -1156,13 +1172,13 @@ def patch_apps_openshift_io_v1_namespaced_deployment_config_with_http_info(self, >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.patch_apps_openshift_io_v1_namespaced_deployment_config_with_http_info(name, namespace, body, callback=callback_function) + >>> thread = api.patch_namespaced_deployment_config_with_http_info(name, namespace, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param str name: name of the DeploymentConfig (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param UnversionedPatch body: (required) + :param object body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1DeploymentConfig If the method is called asynchronously, @@ -1180,19 +1196,19 @@ def patch_apps_openshift_io_v1_namespaced_deployment_config_with_http_info(self, if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method patch_apps_openshift_io_v1_namespaced_deployment_config" % key + " to method patch_namespaced_deployment_config" % key ) params[key] = val del params['kwargs'] # verify the required parameter 'name' is set if ('name' not in params) or (params['name'] is None): - raise ValueError("Missing the required parameter `name` when calling `patch_apps_openshift_io_v1_namespaced_deployment_config`") + raise ValueError("Missing the required parameter `name` when calling `patch_namespaced_deployment_config`") # verify the required parameter 'namespace' is set if ('namespace' not in params) or (params['namespace'] is None): - raise ValueError("Missing the required parameter `namespace` when calling `patch_apps_openshift_io_v1_namespaced_deployment_config`") + raise ValueError("Missing the required parameter `namespace` when calling `patch_namespaced_deployment_config`") # verify the required parameter 'body' is set if ('body' not in params) or (params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `patch_apps_openshift_io_v1_namespaced_deployment_config`") + raise ValueError("Missing the required parameter `body` when calling `patch_namespaced_deployment_config`") collection_formats = {} @@ -1225,7 +1241,7 @@ def patch_apps_openshift_io_v1_namespaced_deployment_config_with_http_info(self, select_header_content_type(['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'PATCH', path_params, @@ -1242,7 +1258,7 @@ def patch_apps_openshift_io_v1_namespaced_deployment_config_with_http_info(self, _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def patch_apps_openshift_io_v1_namespaced_deployment_config_status(self, name, namespace, body, **kwargs): + def patch_namespaced_deployment_config_status(self, name, namespace, body, **kwargs): """ partially update status of the specified DeploymentConfig This method makes a synchronous HTTP request by default. To make an @@ -1251,13 +1267,13 @@ def patch_apps_openshift_io_v1_namespaced_deployment_config_status(self, name, n >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.patch_apps_openshift_io_v1_namespaced_deployment_config_status(name, namespace, body, callback=callback_function) + >>> thread = api.patch_namespaced_deployment_config_status(name, namespace, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param str name: name of the DeploymentConfig (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param UnversionedPatch body: (required) + :param object body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1DeploymentConfig If the method is called asynchronously, @@ -1265,12 +1281,12 @@ def patch_apps_openshift_io_v1_namespaced_deployment_config_status(self, name, n """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.patch_apps_openshift_io_v1_namespaced_deployment_config_status_with_http_info(name, namespace, body, **kwargs) + return self.patch_namespaced_deployment_config_status_with_http_info(name, namespace, body, **kwargs) else: - (data) = self.patch_apps_openshift_io_v1_namespaced_deployment_config_status_with_http_info(name, namespace, body, **kwargs) + (data) = self.patch_namespaced_deployment_config_status_with_http_info(name, namespace, body, **kwargs) return data - def patch_apps_openshift_io_v1_namespaced_deployment_config_status_with_http_info(self, name, namespace, body, **kwargs): + def patch_namespaced_deployment_config_status_with_http_info(self, name, namespace, body, **kwargs): """ partially update status of the specified DeploymentConfig This method makes a synchronous HTTP request by default. To make an @@ -1279,13 +1295,13 @@ def patch_apps_openshift_io_v1_namespaced_deployment_config_status_with_http_inf >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.patch_apps_openshift_io_v1_namespaced_deployment_config_status_with_http_info(name, namespace, body, callback=callback_function) + >>> thread = api.patch_namespaced_deployment_config_status_with_http_info(name, namespace, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param str name: name of the DeploymentConfig (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param UnversionedPatch body: (required) + :param object body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1DeploymentConfig If the method is called asynchronously, @@ -1303,19 +1319,19 @@ def patch_apps_openshift_io_v1_namespaced_deployment_config_status_with_http_inf if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method patch_apps_openshift_io_v1_namespaced_deployment_config_status" % key + " to method patch_namespaced_deployment_config_status" % key ) params[key] = val del params['kwargs'] # verify the required parameter 'name' is set if ('name' not in params) or (params['name'] is None): - raise ValueError("Missing the required parameter `name` when calling `patch_apps_openshift_io_v1_namespaced_deployment_config_status`") + raise ValueError("Missing the required parameter `name` when calling `patch_namespaced_deployment_config_status`") # verify the required parameter 'namespace' is set if ('namespace' not in params) or (params['namespace'] is None): - raise ValueError("Missing the required parameter `namespace` when calling `patch_apps_openshift_io_v1_namespaced_deployment_config_status`") + raise ValueError("Missing the required parameter `namespace` when calling `patch_namespaced_deployment_config_status`") # verify the required parameter 'body' is set if ('body' not in params) or (params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `patch_apps_openshift_io_v1_namespaced_deployment_config_status`") + raise ValueError("Missing the required parameter `body` when calling `patch_namespaced_deployment_config_status`") collection_formats = {} @@ -1348,7 +1364,7 @@ def patch_apps_openshift_io_v1_namespaced_deployment_config_status_with_http_inf select_header_content_type(['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'PATCH', path_params, @@ -1365,7 +1381,7 @@ def patch_apps_openshift_io_v1_namespaced_deployment_config_status_with_http_inf _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def patch_apps_openshift_io_v1_namespaced_scale_scale(self, name, namespace, body, **kwargs): + def patch_namespaced_scale_scale(self, name, namespace, body, **kwargs): """ partially update scale of the specified Scale This method makes a synchronous HTTP request by default. To make an @@ -1374,26 +1390,26 @@ def patch_apps_openshift_io_v1_namespaced_scale_scale(self, name, namespace, bod >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.patch_apps_openshift_io_v1_namespaced_scale_scale(name, namespace, body, callback=callback_function) + >>> thread = api.patch_namespaced_scale_scale(name, namespace, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param str name: name of the Scale (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param UnversionedPatch body: (required) + :param object body: (required) :param str pretty: If 'true', then the output is pretty printed. - :return: V1beta1Scale + :return: ExtensionsV1beta1Scale If the method is called asynchronously, returns the request thread. """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.patch_apps_openshift_io_v1_namespaced_scale_scale_with_http_info(name, namespace, body, **kwargs) + return self.patch_namespaced_scale_scale_with_http_info(name, namespace, body, **kwargs) else: - (data) = self.patch_apps_openshift_io_v1_namespaced_scale_scale_with_http_info(name, namespace, body, **kwargs) + (data) = self.patch_namespaced_scale_scale_with_http_info(name, namespace, body, **kwargs) return data - def patch_apps_openshift_io_v1_namespaced_scale_scale_with_http_info(self, name, namespace, body, **kwargs): + def patch_namespaced_scale_scale_with_http_info(self, name, namespace, body, **kwargs): """ partially update scale of the specified Scale This method makes a synchronous HTTP request by default. To make an @@ -1402,15 +1418,15 @@ def patch_apps_openshift_io_v1_namespaced_scale_scale_with_http_info(self, name, >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.patch_apps_openshift_io_v1_namespaced_scale_scale_with_http_info(name, namespace, body, callback=callback_function) + >>> thread = api.patch_namespaced_scale_scale_with_http_info(name, namespace, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param str name: name of the Scale (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param UnversionedPatch body: (required) + :param object body: (required) :param str pretty: If 'true', then the output is pretty printed. - :return: V1beta1Scale + :return: ExtensionsV1beta1Scale If the method is called asynchronously, returns the request thread. """ @@ -1426,19 +1442,19 @@ def patch_apps_openshift_io_v1_namespaced_scale_scale_with_http_info(self, name, if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method patch_apps_openshift_io_v1_namespaced_scale_scale" % key + " to method patch_namespaced_scale_scale" % key ) params[key] = val del params['kwargs'] # verify the required parameter 'name' is set if ('name' not in params) or (params['name'] is None): - raise ValueError("Missing the required parameter `name` when calling `patch_apps_openshift_io_v1_namespaced_scale_scale`") + raise ValueError("Missing the required parameter `name` when calling `patch_namespaced_scale_scale`") # verify the required parameter 'namespace' is set if ('namespace' not in params) or (params['namespace'] is None): - raise ValueError("Missing the required parameter `namespace` when calling `patch_apps_openshift_io_v1_namespaced_scale_scale`") + raise ValueError("Missing the required parameter `namespace` when calling `patch_namespaced_scale_scale`") # verify the required parameter 'body' is set if ('body' not in params) or (params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `patch_apps_openshift_io_v1_namespaced_scale_scale`") + raise ValueError("Missing the required parameter `body` when calling `patch_namespaced_scale_scale`") collection_formats = {} @@ -1471,7 +1487,7 @@ def patch_apps_openshift_io_v1_namespaced_scale_scale_with_http_info(self, name, select_header_content_type(['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'PATCH', path_params, @@ -1480,7 +1496,7 @@ def patch_apps_openshift_io_v1_namespaced_scale_scale_with_http_info(self, name, body=body_params, post_params=form_params, files=local_var_files, - response_type='V1beta1Scale', + response_type='ExtensionsV1beta1Scale', auth_settings=auth_settings, callback=params.get('callback'), _return_http_data_only=params.get('_return_http_data_only'), @@ -1488,7 +1504,7 @@ def patch_apps_openshift_io_v1_namespaced_scale_scale_with_http_info(self, name, _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def read_apps_openshift_io_v1_namespaced_deployment_config(self, name, namespace, **kwargs): + def read_namespaced_deployment_config(self, name, namespace, **kwargs): """ read the specified DeploymentConfig This method makes a synchronous HTTP request by default. To make an @@ -1497,14 +1513,14 @@ def read_apps_openshift_io_v1_namespaced_deployment_config(self, name, namespace >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.read_apps_openshift_io_v1_namespaced_deployment_config(name, namespace, callback=callback_function) + >>> thread = api.read_namespaced_deployment_config(name, namespace, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param str name: name of the DeploymentConfig (required) :param str namespace: object name and auth scope, such as for teams and projects (required) :param str pretty: If 'true', then the output is pretty printed. - :param bool exact: Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace' + :param bool exact: Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. :param bool export: Should this value be exported. Export strips fields that a user can not specify. :return: V1DeploymentConfig If the method is called asynchronously, @@ -1512,12 +1528,12 @@ def read_apps_openshift_io_v1_namespaced_deployment_config(self, name, namespace """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.read_apps_openshift_io_v1_namespaced_deployment_config_with_http_info(name, namespace, **kwargs) + return self.read_namespaced_deployment_config_with_http_info(name, namespace, **kwargs) else: - (data) = self.read_apps_openshift_io_v1_namespaced_deployment_config_with_http_info(name, namespace, **kwargs) + (data) = self.read_namespaced_deployment_config_with_http_info(name, namespace, **kwargs) return data - def read_apps_openshift_io_v1_namespaced_deployment_config_with_http_info(self, name, namespace, **kwargs): + def read_namespaced_deployment_config_with_http_info(self, name, namespace, **kwargs): """ read the specified DeploymentConfig This method makes a synchronous HTTP request by default. To make an @@ -1526,14 +1542,14 @@ def read_apps_openshift_io_v1_namespaced_deployment_config_with_http_info(self, >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.read_apps_openshift_io_v1_namespaced_deployment_config_with_http_info(name, namespace, callback=callback_function) + >>> thread = api.read_namespaced_deployment_config_with_http_info(name, namespace, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param str name: name of the DeploymentConfig (required) :param str namespace: object name and auth scope, such as for teams and projects (required) :param str pretty: If 'true', then the output is pretty printed. - :param bool exact: Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace' + :param bool exact: Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. :param bool export: Should this value be exported. Export strips fields that a user can not specify. :return: V1DeploymentConfig If the method is called asynchronously, @@ -1551,16 +1567,16 @@ def read_apps_openshift_io_v1_namespaced_deployment_config_with_http_info(self, if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method read_apps_openshift_io_v1_namespaced_deployment_config" % key + " to method read_namespaced_deployment_config" % key ) params[key] = val del params['kwargs'] # verify the required parameter 'name' is set if ('name' not in params) or (params['name'] is None): - raise ValueError("Missing the required parameter `name` when calling `read_apps_openshift_io_v1_namespaced_deployment_config`") + raise ValueError("Missing the required parameter `name` when calling `read_namespaced_deployment_config`") # verify the required parameter 'namespace' is set if ('namespace' not in params) or (params['namespace'] is None): - raise ValueError("Missing the required parameter `namespace` when calling `read_apps_openshift_io_v1_namespaced_deployment_config`") + raise ValueError("Missing the required parameter `namespace` when calling `read_namespaced_deployment_config`") collection_formats = {} @@ -1595,7 +1611,7 @@ def read_apps_openshift_io_v1_namespaced_deployment_config_with_http_info(self, select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -1612,7 +1628,7 @@ def read_apps_openshift_io_v1_namespaced_deployment_config_with_http_info(self, _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def read_apps_openshift_io_v1_namespaced_deployment_config_status(self, name, namespace, **kwargs): + def read_namespaced_deployment_config_status(self, name, namespace, **kwargs): """ read status of the specified DeploymentConfig This method makes a synchronous HTTP request by default. To make an @@ -1621,7 +1637,7 @@ def read_apps_openshift_io_v1_namespaced_deployment_config_status(self, name, na >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.read_apps_openshift_io_v1_namespaced_deployment_config_status(name, namespace, callback=callback_function) + >>> thread = api.read_namespaced_deployment_config_status(name, namespace, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) @@ -1634,12 +1650,12 @@ def read_apps_openshift_io_v1_namespaced_deployment_config_status(self, name, na """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.read_apps_openshift_io_v1_namespaced_deployment_config_status_with_http_info(name, namespace, **kwargs) + return self.read_namespaced_deployment_config_status_with_http_info(name, namespace, **kwargs) else: - (data) = self.read_apps_openshift_io_v1_namespaced_deployment_config_status_with_http_info(name, namespace, **kwargs) + (data) = self.read_namespaced_deployment_config_status_with_http_info(name, namespace, **kwargs) return data - def read_apps_openshift_io_v1_namespaced_deployment_config_status_with_http_info(self, name, namespace, **kwargs): + def read_namespaced_deployment_config_status_with_http_info(self, name, namespace, **kwargs): """ read status of the specified DeploymentConfig This method makes a synchronous HTTP request by default. To make an @@ -1648,7 +1664,7 @@ def read_apps_openshift_io_v1_namespaced_deployment_config_status_with_http_info >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.read_apps_openshift_io_v1_namespaced_deployment_config_status_with_http_info(name, namespace, callback=callback_function) + >>> thread = api.read_namespaced_deployment_config_status_with_http_info(name, namespace, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) @@ -1671,16 +1687,16 @@ def read_apps_openshift_io_v1_namespaced_deployment_config_status_with_http_info if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method read_apps_openshift_io_v1_namespaced_deployment_config_status" % key + " to method read_namespaced_deployment_config_status" % key ) params[key] = val del params['kwargs'] # verify the required parameter 'name' is set if ('name' not in params) or (params['name'] is None): - raise ValueError("Missing the required parameter `name` when calling `read_apps_openshift_io_v1_namespaced_deployment_config_status`") + raise ValueError("Missing the required parameter `name` when calling `read_namespaced_deployment_config_status`") # verify the required parameter 'namespace' is set if ('namespace' not in params) or (params['namespace'] is None): - raise ValueError("Missing the required parameter `namespace` when calling `read_apps_openshift_io_v1_namespaced_deployment_config_status`") + raise ValueError("Missing the required parameter `namespace` when calling `read_namespaced_deployment_config_status`") collection_formats = {} @@ -1711,7 +1727,7 @@ def read_apps_openshift_io_v1_namespaced_deployment_config_status_with_http_info select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -1728,7 +1744,7 @@ def read_apps_openshift_io_v1_namespaced_deployment_config_status_with_http_info _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def read_apps_openshift_io_v1_namespaced_deployment_log_log(self, name, namespace, **kwargs): + def read_namespaced_deployment_log_log(self, name, namespace, **kwargs): """ read log of the specified DeploymentLog This method makes a synchronous HTTP request by default. To make an @@ -1737,7 +1753,7 @@ def read_apps_openshift_io_v1_namespaced_deployment_log_log(self, name, namespac >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.read_apps_openshift_io_v1_namespaced_deployment_log_log(name, namespace, callback=callback_function) + >>> thread = api.read_namespaced_deployment_log_log(name, namespace, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) @@ -1750,7 +1766,6 @@ def read_apps_openshift_io_v1_namespaced_deployment_log_log(self, name, namespac :param str pretty: If 'true', then the output is pretty printed. :param bool previous: Return previous deployment logs. Defaults to false. :param int since_seconds: A relative time in seconds before the current time from which to show logs. If this value precedes the time a pod was started, only logs since the pod start will be returned. If this value is in the future, no logs will be returned. Only one of sinceSeconds or sinceTime may be specified. - :param str since_time: An RFC3339 timestamp from which to show logs. If this value precedes the time a pod was started, only logs since the pod start will be returned. If this value is in the future, no logs will be returned. Only one of sinceSeconds or sinceTime may be specified. :param int tail_lines: If set, the number of lines from the end of the logs to show. If not specified, logs are shown from the creation of the container or sinceSeconds or sinceTime :param bool timestamps: If true, add an RFC3339 or RFC3339Nano timestamp at the beginning of every line of log output. Defaults to false. :param int version: Version of the deployment for which to view logs. @@ -1760,12 +1775,12 @@ def read_apps_openshift_io_v1_namespaced_deployment_log_log(self, name, namespac """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.read_apps_openshift_io_v1_namespaced_deployment_log_log_with_http_info(name, namespace, **kwargs) + return self.read_namespaced_deployment_log_log_with_http_info(name, namespace, **kwargs) else: - (data) = self.read_apps_openshift_io_v1_namespaced_deployment_log_log_with_http_info(name, namespace, **kwargs) + (data) = self.read_namespaced_deployment_log_log_with_http_info(name, namespace, **kwargs) return data - def read_apps_openshift_io_v1_namespaced_deployment_log_log_with_http_info(self, name, namespace, **kwargs): + def read_namespaced_deployment_log_log_with_http_info(self, name, namespace, **kwargs): """ read log of the specified DeploymentLog This method makes a synchronous HTTP request by default. To make an @@ -1774,7 +1789,7 @@ def read_apps_openshift_io_v1_namespaced_deployment_log_log_with_http_info(self, >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.read_apps_openshift_io_v1_namespaced_deployment_log_log_with_http_info(name, namespace, callback=callback_function) + >>> thread = api.read_namespaced_deployment_log_log_with_http_info(name, namespace, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) @@ -1787,7 +1802,6 @@ def read_apps_openshift_io_v1_namespaced_deployment_log_log_with_http_info(self, :param str pretty: If 'true', then the output is pretty printed. :param bool previous: Return previous deployment logs. Defaults to false. :param int since_seconds: A relative time in seconds before the current time from which to show logs. If this value precedes the time a pod was started, only logs since the pod start will be returned. If this value is in the future, no logs will be returned. Only one of sinceSeconds or sinceTime may be specified. - :param str since_time: An RFC3339 timestamp from which to show logs. If this value precedes the time a pod was started, only logs since the pod start will be returned. If this value is in the future, no logs will be returned. Only one of sinceSeconds or sinceTime may be specified. :param int tail_lines: If set, the number of lines from the end of the logs to show. If not specified, logs are shown from the creation of the container or sinceSeconds or sinceTime :param bool timestamps: If true, add an RFC3339 or RFC3339Nano timestamp at the beginning of every line of log output. Defaults to false. :param int version: Version of the deployment for which to view logs. @@ -1796,7 +1810,7 @@ def read_apps_openshift_io_v1_namespaced_deployment_log_log_with_http_info(self, returns the request thread. """ - all_params = ['name', 'namespace', 'container', 'follow', 'limit_bytes', 'nowait', 'pretty', 'previous', 'since_seconds', 'since_time', 'tail_lines', 'timestamps', 'version'] + all_params = ['name', 'namespace', 'container', 'follow', 'limit_bytes', 'nowait', 'pretty', 'previous', 'since_seconds', 'tail_lines', 'timestamps', 'version'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -1807,16 +1821,16 @@ def read_apps_openshift_io_v1_namespaced_deployment_log_log_with_http_info(self, if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method read_apps_openshift_io_v1_namespaced_deployment_log_log" % key + " to method read_namespaced_deployment_log_log" % key ) params[key] = val del params['kwargs'] # verify the required parameter 'name' is set if ('name' not in params) or (params['name'] is None): - raise ValueError("Missing the required parameter `name` when calling `read_apps_openshift_io_v1_namespaced_deployment_log_log`") + raise ValueError("Missing the required parameter `name` when calling `read_namespaced_deployment_log_log`") # verify the required parameter 'namespace' is set if ('namespace' not in params) or (params['namespace'] is None): - raise ValueError("Missing the required parameter `namespace` when calling `read_apps_openshift_io_v1_namespaced_deployment_log_log`") + raise ValueError("Missing the required parameter `namespace` when calling `read_namespaced_deployment_log_log`") collection_formats = {} @@ -1843,8 +1857,6 @@ def read_apps_openshift_io_v1_namespaced_deployment_log_log_with_http_info(self, query_params['previous'] = params['previous'] if 'since_seconds' in params: query_params['sinceSeconds'] = params['since_seconds'] - if 'since_time' in params: - query_params['sinceTime'] = params['since_time'] if 'tail_lines' in params: query_params['tailLines'] = params['tail_lines'] if 'timestamps' in params: @@ -1867,7 +1879,7 @@ def read_apps_openshift_io_v1_namespaced_deployment_log_log_with_http_info(self, select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -1884,7 +1896,7 @@ def read_apps_openshift_io_v1_namespaced_deployment_log_log_with_http_info(self, _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def read_apps_openshift_io_v1_namespaced_scale_scale(self, name, namespace, **kwargs): + def read_namespaced_scale_scale(self, name, namespace, **kwargs): """ read scale of the specified Scale This method makes a synchronous HTTP request by default. To make an @@ -1893,25 +1905,25 @@ def read_apps_openshift_io_v1_namespaced_scale_scale(self, name, namespace, **kw >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.read_apps_openshift_io_v1_namespaced_scale_scale(name, namespace, callback=callback_function) + >>> thread = api.read_namespaced_scale_scale(name, namespace, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param str name: name of the Scale (required) :param str namespace: object name and auth scope, such as for teams and projects (required) :param str pretty: If 'true', then the output is pretty printed. - :return: V1beta1Scale + :return: ExtensionsV1beta1Scale If the method is called asynchronously, returns the request thread. """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.read_apps_openshift_io_v1_namespaced_scale_scale_with_http_info(name, namespace, **kwargs) + return self.read_namespaced_scale_scale_with_http_info(name, namespace, **kwargs) else: - (data) = self.read_apps_openshift_io_v1_namespaced_scale_scale_with_http_info(name, namespace, **kwargs) + (data) = self.read_namespaced_scale_scale_with_http_info(name, namespace, **kwargs) return data - def read_apps_openshift_io_v1_namespaced_scale_scale_with_http_info(self, name, namespace, **kwargs): + def read_namespaced_scale_scale_with_http_info(self, name, namespace, **kwargs): """ read scale of the specified Scale This method makes a synchronous HTTP request by default. To make an @@ -1920,14 +1932,14 @@ def read_apps_openshift_io_v1_namespaced_scale_scale_with_http_info(self, name, >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.read_apps_openshift_io_v1_namespaced_scale_scale_with_http_info(name, namespace, callback=callback_function) + >>> thread = api.read_namespaced_scale_scale_with_http_info(name, namespace, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param str name: name of the Scale (required) :param str namespace: object name and auth scope, such as for teams and projects (required) :param str pretty: If 'true', then the output is pretty printed. - :return: V1beta1Scale + :return: ExtensionsV1beta1Scale If the method is called asynchronously, returns the request thread. """ @@ -1943,16 +1955,16 @@ def read_apps_openshift_io_v1_namespaced_scale_scale_with_http_info(self, name, if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method read_apps_openshift_io_v1_namespaced_scale_scale" % key + " to method read_namespaced_scale_scale" % key ) params[key] = val del params['kwargs'] # verify the required parameter 'name' is set if ('name' not in params) or (params['name'] is None): - raise ValueError("Missing the required parameter `name` when calling `read_apps_openshift_io_v1_namespaced_scale_scale`") + raise ValueError("Missing the required parameter `name` when calling `read_namespaced_scale_scale`") # verify the required parameter 'namespace' is set if ('namespace' not in params) or (params['namespace'] is None): - raise ValueError("Missing the required parameter `namespace` when calling `read_apps_openshift_io_v1_namespaced_scale_scale`") + raise ValueError("Missing the required parameter `namespace` when calling `read_namespaced_scale_scale`") collection_formats = {} @@ -1983,7 +1995,7 @@ def read_apps_openshift_io_v1_namespaced_scale_scale_with_http_info(self, name, select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -1992,7 +2004,7 @@ def read_apps_openshift_io_v1_namespaced_scale_scale_with_http_info(self, name, body=body_params, post_params=form_params, files=local_var_files, - response_type='V1beta1Scale', + response_type='ExtensionsV1beta1Scale', auth_settings=auth_settings, callback=params.get('callback'), _return_http_data_only=params.get('_return_http_data_only'), @@ -2000,7 +2012,7 @@ def read_apps_openshift_io_v1_namespaced_scale_scale_with_http_info(self, name, _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def replace_apps_openshift_io_v1_namespaced_deployment_config(self, name, namespace, body, **kwargs): + def replace_namespaced_deployment_config(self, name, namespace, body, **kwargs): """ replace the specified DeploymentConfig This method makes a synchronous HTTP request by default. To make an @@ -2009,7 +2021,7 @@ def replace_apps_openshift_io_v1_namespaced_deployment_config(self, name, namesp >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.replace_apps_openshift_io_v1_namespaced_deployment_config(name, namespace, body, callback=callback_function) + >>> thread = api.replace_namespaced_deployment_config(name, namespace, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) @@ -2023,12 +2035,12 @@ def replace_apps_openshift_io_v1_namespaced_deployment_config(self, name, namesp """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.replace_apps_openshift_io_v1_namespaced_deployment_config_with_http_info(name, namespace, body, **kwargs) + return self.replace_namespaced_deployment_config_with_http_info(name, namespace, body, **kwargs) else: - (data) = self.replace_apps_openshift_io_v1_namespaced_deployment_config_with_http_info(name, namespace, body, **kwargs) + (data) = self.replace_namespaced_deployment_config_with_http_info(name, namespace, body, **kwargs) return data - def replace_apps_openshift_io_v1_namespaced_deployment_config_with_http_info(self, name, namespace, body, **kwargs): + def replace_namespaced_deployment_config_with_http_info(self, name, namespace, body, **kwargs): """ replace the specified DeploymentConfig This method makes a synchronous HTTP request by default. To make an @@ -2037,7 +2049,7 @@ def replace_apps_openshift_io_v1_namespaced_deployment_config_with_http_info(sel >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.replace_apps_openshift_io_v1_namespaced_deployment_config_with_http_info(name, namespace, body, callback=callback_function) + >>> thread = api.replace_namespaced_deployment_config_with_http_info(name, namespace, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) @@ -2061,19 +2073,19 @@ def replace_apps_openshift_io_v1_namespaced_deployment_config_with_http_info(sel if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method replace_apps_openshift_io_v1_namespaced_deployment_config" % key + " to method replace_namespaced_deployment_config" % key ) params[key] = val del params['kwargs'] # verify the required parameter 'name' is set if ('name' not in params) or (params['name'] is None): - raise ValueError("Missing the required parameter `name` when calling `replace_apps_openshift_io_v1_namespaced_deployment_config`") + raise ValueError("Missing the required parameter `name` when calling `replace_namespaced_deployment_config`") # verify the required parameter 'namespace' is set if ('namespace' not in params) or (params['namespace'] is None): - raise ValueError("Missing the required parameter `namespace` when calling `replace_apps_openshift_io_v1_namespaced_deployment_config`") + raise ValueError("Missing the required parameter `namespace` when calling `replace_namespaced_deployment_config`") # verify the required parameter 'body' is set if ('body' not in params) or (params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `replace_apps_openshift_io_v1_namespaced_deployment_config`") + raise ValueError("Missing the required parameter `body` when calling `replace_namespaced_deployment_config`") collection_formats = {} @@ -2106,7 +2118,7 @@ def replace_apps_openshift_io_v1_namespaced_deployment_config_with_http_info(sel select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'PUT', path_params, @@ -2123,7 +2135,7 @@ def replace_apps_openshift_io_v1_namespaced_deployment_config_with_http_info(sel _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def replace_apps_openshift_io_v1_namespaced_deployment_config_status(self, name, namespace, body, **kwargs): + def replace_namespaced_deployment_config_status(self, name, namespace, body, **kwargs): """ replace status of the specified DeploymentConfig This method makes a synchronous HTTP request by default. To make an @@ -2132,7 +2144,7 @@ def replace_apps_openshift_io_v1_namespaced_deployment_config_status(self, name, >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.replace_apps_openshift_io_v1_namespaced_deployment_config_status(name, namespace, body, callback=callback_function) + >>> thread = api.replace_namespaced_deployment_config_status(name, namespace, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) @@ -2146,12 +2158,12 @@ def replace_apps_openshift_io_v1_namespaced_deployment_config_status(self, name, """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.replace_apps_openshift_io_v1_namespaced_deployment_config_status_with_http_info(name, namespace, body, **kwargs) + return self.replace_namespaced_deployment_config_status_with_http_info(name, namespace, body, **kwargs) else: - (data) = self.replace_apps_openshift_io_v1_namespaced_deployment_config_status_with_http_info(name, namespace, body, **kwargs) + (data) = self.replace_namespaced_deployment_config_status_with_http_info(name, namespace, body, **kwargs) return data - def replace_apps_openshift_io_v1_namespaced_deployment_config_status_with_http_info(self, name, namespace, body, **kwargs): + def replace_namespaced_deployment_config_status_with_http_info(self, name, namespace, body, **kwargs): """ replace status of the specified DeploymentConfig This method makes a synchronous HTTP request by default. To make an @@ -2160,7 +2172,7 @@ def replace_apps_openshift_io_v1_namespaced_deployment_config_status_with_http_i >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.replace_apps_openshift_io_v1_namespaced_deployment_config_status_with_http_info(name, namespace, body, callback=callback_function) + >>> thread = api.replace_namespaced_deployment_config_status_with_http_info(name, namespace, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) @@ -2184,19 +2196,19 @@ def replace_apps_openshift_io_v1_namespaced_deployment_config_status_with_http_i if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method replace_apps_openshift_io_v1_namespaced_deployment_config_status" % key + " to method replace_namespaced_deployment_config_status" % key ) params[key] = val del params['kwargs'] # verify the required parameter 'name' is set if ('name' not in params) or (params['name'] is None): - raise ValueError("Missing the required parameter `name` when calling `replace_apps_openshift_io_v1_namespaced_deployment_config_status`") + raise ValueError("Missing the required parameter `name` when calling `replace_namespaced_deployment_config_status`") # verify the required parameter 'namespace' is set if ('namespace' not in params) or (params['namespace'] is None): - raise ValueError("Missing the required parameter `namespace` when calling `replace_apps_openshift_io_v1_namespaced_deployment_config_status`") + raise ValueError("Missing the required parameter `namespace` when calling `replace_namespaced_deployment_config_status`") # verify the required parameter 'body' is set if ('body' not in params) or (params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `replace_apps_openshift_io_v1_namespaced_deployment_config_status`") + raise ValueError("Missing the required parameter `body` when calling `replace_namespaced_deployment_config_status`") collection_formats = {} @@ -2229,7 +2241,7 @@ def replace_apps_openshift_io_v1_namespaced_deployment_config_status_with_http_i select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'PUT', path_params, @@ -2246,7 +2258,7 @@ def replace_apps_openshift_io_v1_namespaced_deployment_config_status_with_http_i _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def replace_apps_openshift_io_v1_namespaced_scale_scale(self, name, namespace, body, **kwargs): + def replace_namespaced_scale_scale(self, name, namespace, body, **kwargs): """ replace scale of the specified Scale This method makes a synchronous HTTP request by default. To make an @@ -2255,26 +2267,26 @@ def replace_apps_openshift_io_v1_namespaced_scale_scale(self, name, namespace, b >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.replace_apps_openshift_io_v1_namespaced_scale_scale(name, namespace, body, callback=callback_function) + >>> thread = api.replace_namespaced_scale_scale(name, namespace, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param str name: name of the Scale (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1beta1Scale body: (required) + :param ExtensionsV1beta1Scale body: (required) :param str pretty: If 'true', then the output is pretty printed. - :return: V1beta1Scale + :return: ExtensionsV1beta1Scale If the method is called asynchronously, returns the request thread. """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.replace_apps_openshift_io_v1_namespaced_scale_scale_with_http_info(name, namespace, body, **kwargs) + return self.replace_namespaced_scale_scale_with_http_info(name, namespace, body, **kwargs) else: - (data) = self.replace_apps_openshift_io_v1_namespaced_scale_scale_with_http_info(name, namespace, body, **kwargs) + (data) = self.replace_namespaced_scale_scale_with_http_info(name, namespace, body, **kwargs) return data - def replace_apps_openshift_io_v1_namespaced_scale_scale_with_http_info(self, name, namespace, body, **kwargs): + def replace_namespaced_scale_scale_with_http_info(self, name, namespace, body, **kwargs): """ replace scale of the specified Scale This method makes a synchronous HTTP request by default. To make an @@ -2283,15 +2295,15 @@ def replace_apps_openshift_io_v1_namespaced_scale_scale_with_http_info(self, nam >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.replace_apps_openshift_io_v1_namespaced_scale_scale_with_http_info(name, namespace, body, callback=callback_function) + >>> thread = api.replace_namespaced_scale_scale_with_http_info(name, namespace, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param str name: name of the Scale (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1beta1Scale body: (required) + :param ExtensionsV1beta1Scale body: (required) :param str pretty: If 'true', then the output is pretty printed. - :return: V1beta1Scale + :return: ExtensionsV1beta1Scale If the method is called asynchronously, returns the request thread. """ @@ -2307,19 +2319,19 @@ def replace_apps_openshift_io_v1_namespaced_scale_scale_with_http_info(self, nam if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method replace_apps_openshift_io_v1_namespaced_scale_scale" % key + " to method replace_namespaced_scale_scale" % key ) params[key] = val del params['kwargs'] # verify the required parameter 'name' is set if ('name' not in params) or (params['name'] is None): - raise ValueError("Missing the required parameter `name` when calling `replace_apps_openshift_io_v1_namespaced_scale_scale`") + raise ValueError("Missing the required parameter `name` when calling `replace_namespaced_scale_scale`") # verify the required parameter 'namespace' is set if ('namespace' not in params) or (params['namespace'] is None): - raise ValueError("Missing the required parameter `namespace` when calling `replace_apps_openshift_io_v1_namespaced_scale_scale`") + raise ValueError("Missing the required parameter `namespace` when calling `replace_namespaced_scale_scale`") # verify the required parameter 'body' is set if ('body' not in params) or (params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `replace_apps_openshift_io_v1_namespaced_scale_scale`") + raise ValueError("Missing the required parameter `body` when calling `replace_namespaced_scale_scale`") collection_formats = {} @@ -2352,7 +2364,7 @@ def replace_apps_openshift_io_v1_namespaced_scale_scale_with_http_info(self, nam select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'PUT', path_params, @@ -2361,7 +2373,7 @@ def replace_apps_openshift_io_v1_namespaced_scale_scale_with_http_info(self, nam body=body_params, post_params=form_params, files=local_var_files, - response_type='V1beta1Scale', + response_type='ExtensionsV1beta1Scale', auth_settings=auth_settings, callback=params.get('callback'), _return_http_data_only=params.get('_return_http_data_only'), diff --git a/openshift/client/apis/authorization_openshift_io_api.py b/openshift/client/apis/authorization_openshift_io_api.py index 35c79936..f674c369 100644 --- a/openshift/client/apis/authorization_openshift_io_api.py +++ b/openshift/client/apis/authorization_openshift_io_api.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -40,7 +40,7 @@ def __init__(self, api_client=None): config.api_client = ApiClient() self.api_client = config.api_client - def get_authorization_openshift_io_api_group(self, **kwargs): + def get_api_group(self, **kwargs): """ get information of a group This method makes a synchronous HTTP request by default. To make an @@ -49,22 +49,22 @@ def get_authorization_openshift_io_api_group(self, **kwargs): >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.get_authorization_openshift_io_api_group(callback=callback_function) + >>> thread = api.get_api_group(callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) - :return: UnversionedAPIGroup + :return: V1APIGroup If the method is called asynchronously, returns the request thread. """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.get_authorization_openshift_io_api_group_with_http_info(**kwargs) + return self.get_api_group_with_http_info(**kwargs) else: - (data) = self.get_authorization_openshift_io_api_group_with_http_info(**kwargs) + (data) = self.get_api_group_with_http_info(**kwargs) return data - def get_authorization_openshift_io_api_group_with_http_info(self, **kwargs): + def get_api_group_with_http_info(self, **kwargs): """ get information of a group This method makes a synchronous HTTP request by default. To make an @@ -73,11 +73,11 @@ def get_authorization_openshift_io_api_group_with_http_info(self, **kwargs): >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.get_authorization_openshift_io_api_group_with_http_info(callback=callback_function) + >>> thread = api.get_api_group_with_http_info(callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) - :return: UnversionedAPIGroup + :return: V1APIGroup If the method is called asynchronously, returns the request thread. """ @@ -93,7 +93,7 @@ def get_authorization_openshift_io_api_group_with_http_info(self, **kwargs): if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method get_authorization_openshift_io_api_group" % key + " to method get_api_group" % key ) params[key] = val del params['kwargs'] @@ -120,7 +120,7 @@ def get_authorization_openshift_io_api_group_with_http_info(self, **kwargs): select_header_content_type(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -129,7 +129,7 @@ def get_authorization_openshift_io_api_group_with_http_info(self, **kwargs): body=body_params, post_params=form_params, files=local_var_files, - response_type='UnversionedAPIGroup', + response_type='V1APIGroup', auth_settings=auth_settings, callback=params.get('callback'), _return_http_data_only=params.get('_return_http_data_only'), diff --git a/openshift/client/apis/authorization_openshift_io_v1_api.py b/openshift/client/apis/authorization_openshift_io_v1_api.py index 4ef7d2e3..caa04591 100644 --- a/openshift/client/apis/authorization_openshift_io_v1_api.py +++ b/openshift/client/apis/authorization_openshift_io_v1_api.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -40,48 +40,48 @@ def __init__(self, api_client=None): config.api_client = ApiClient() self.api_client = config.api_client - def create_authorization_openshift_io_v1_cluster_policy(self, body, **kwargs): + def create_cluster_role(self, body, **kwargs): """ - create a ClusterPolicy + create a ClusterRole This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.create_authorization_openshift_io_v1_cluster_policy(body, callback=callback_function) + >>> thread = api.create_cluster_role(body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) - :param V1ClusterPolicy body: (required) + :param V1ClusterRole body: (required) :param str pretty: If 'true', then the output is pretty printed. - :return: V1ClusterPolicy + :return: V1ClusterRole If the method is called asynchronously, returns the request thread. """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.create_authorization_openshift_io_v1_cluster_policy_with_http_info(body, **kwargs) + return self.create_cluster_role_with_http_info(body, **kwargs) else: - (data) = self.create_authorization_openshift_io_v1_cluster_policy_with_http_info(body, **kwargs) + (data) = self.create_cluster_role_with_http_info(body, **kwargs) return data - def create_authorization_openshift_io_v1_cluster_policy_with_http_info(self, body, **kwargs): + def create_cluster_role_with_http_info(self, body, **kwargs): """ - create a ClusterPolicy + create a ClusterRole This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.create_authorization_openshift_io_v1_cluster_policy_with_http_info(body, callback=callback_function) + >>> thread = api.create_cluster_role_with_http_info(body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) - :param V1ClusterPolicy body: (required) + :param V1ClusterRole body: (required) :param str pretty: If 'true', then the output is pretty printed. - :return: V1ClusterPolicy + :return: V1ClusterRole If the method is called asynchronously, returns the request thread. """ @@ -97,18 +97,18 @@ def create_authorization_openshift_io_v1_cluster_policy_with_http_info(self, bod if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method create_authorization_openshift_io_v1_cluster_policy" % key + " to method create_cluster_role" % key ) params[key] = val del params['kwargs'] # verify the required parameter 'body' is set if ('body' not in params) or (params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `create_authorization_openshift_io_v1_cluster_policy`") + raise ValueError("Missing the required parameter `body` when calling `create_cluster_role`") collection_formats = {} - resource_path = '/apis/authorization.openshift.io/v1/clusterpolicies'.replace('{format}', 'json') + resource_path = '/apis/authorization.openshift.io/v1/clusterroles'.replace('{format}', 'json') path_params = {} query_params = {} @@ -132,7 +132,7 @@ def create_authorization_openshift_io_v1_cluster_policy_with_http_info(self, bod select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'POST', path_params, @@ -141,7 +141,7 @@ def create_authorization_openshift_io_v1_cluster_policy_with_http_info(self, bod body=body_params, post_params=form_params, files=local_var_files, - response_type='V1ClusterPolicy', + response_type='V1ClusterRole', auth_settings=auth_settings, callback=params.get('callback'), _return_http_data_only=params.get('_return_http_data_only'), @@ -149,48 +149,48 @@ def create_authorization_openshift_io_v1_cluster_policy_with_http_info(self, bod _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def create_authorization_openshift_io_v1_cluster_policy_binding(self, body, **kwargs): + def create_cluster_role_binding(self, body, **kwargs): """ - create a ClusterPolicyBinding + create a ClusterRoleBinding This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.create_authorization_openshift_io_v1_cluster_policy_binding(body, callback=callback_function) + >>> thread = api.create_cluster_role_binding(body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) - :param V1ClusterPolicyBinding body: (required) + :param V1ClusterRoleBinding body: (required) :param str pretty: If 'true', then the output is pretty printed. - :return: V1ClusterPolicyBinding + :return: V1ClusterRoleBinding If the method is called asynchronously, returns the request thread. """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.create_authorization_openshift_io_v1_cluster_policy_binding_with_http_info(body, **kwargs) + return self.create_cluster_role_binding_with_http_info(body, **kwargs) else: - (data) = self.create_authorization_openshift_io_v1_cluster_policy_binding_with_http_info(body, **kwargs) + (data) = self.create_cluster_role_binding_with_http_info(body, **kwargs) return data - def create_authorization_openshift_io_v1_cluster_policy_binding_with_http_info(self, body, **kwargs): + def create_cluster_role_binding_with_http_info(self, body, **kwargs): """ - create a ClusterPolicyBinding + create a ClusterRoleBinding This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.create_authorization_openshift_io_v1_cluster_policy_binding_with_http_info(body, callback=callback_function) + >>> thread = api.create_cluster_role_binding_with_http_info(body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) - :param V1ClusterPolicyBinding body: (required) + :param V1ClusterRoleBinding body: (required) :param str pretty: If 'true', then the output is pretty printed. - :return: V1ClusterPolicyBinding + :return: V1ClusterRoleBinding If the method is called asynchronously, returns the request thread. """ @@ -206,18 +206,18 @@ def create_authorization_openshift_io_v1_cluster_policy_binding_with_http_info(s if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method create_authorization_openshift_io_v1_cluster_policy_binding" % key + " to method create_cluster_role_binding" % key ) params[key] = val del params['kwargs'] # verify the required parameter 'body' is set if ('body' not in params) or (params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `create_authorization_openshift_io_v1_cluster_policy_binding`") + raise ValueError("Missing the required parameter `body` when calling `create_cluster_role_binding`") collection_formats = {} - resource_path = '/apis/authorization.openshift.io/v1/clusterpolicybindings'.replace('{format}', 'json') + resource_path = '/apis/authorization.openshift.io/v1/clusterrolebindings'.replace('{format}', 'json') path_params = {} query_params = {} @@ -241,7 +241,7 @@ def create_authorization_openshift_io_v1_cluster_policy_binding_with_http_info(s select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'POST', path_params, @@ -250,7 +250,7 @@ def create_authorization_openshift_io_v1_cluster_policy_binding_with_http_info(s body=body_params, post_params=form_params, files=local_var_files, - response_type='V1ClusterPolicyBinding', + response_type='V1ClusterRoleBinding', auth_settings=auth_settings, callback=params.get('callback'), _return_http_data_only=params.get('_return_http_data_only'), @@ -258,48 +258,48 @@ def create_authorization_openshift_io_v1_cluster_policy_binding_with_http_info(s _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def create_authorization_openshift_io_v1_cluster_role(self, body, **kwargs): + def create_local_resource_access_review_for_all_namespaces(self, body, **kwargs): """ - create a ClusterRole + create a LocalResourceAccessReview This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.create_authorization_openshift_io_v1_cluster_role(body, callback=callback_function) + >>> thread = api.create_local_resource_access_review_for_all_namespaces(body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) - :param V1ClusterRole body: (required) + :param V1LocalResourceAccessReview body: (required) :param str pretty: If 'true', then the output is pretty printed. - :return: V1ClusterRole + :return: V1LocalResourceAccessReview If the method is called asynchronously, returns the request thread. """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.create_authorization_openshift_io_v1_cluster_role_with_http_info(body, **kwargs) + return self.create_local_resource_access_review_for_all_namespaces_with_http_info(body, **kwargs) else: - (data) = self.create_authorization_openshift_io_v1_cluster_role_with_http_info(body, **kwargs) + (data) = self.create_local_resource_access_review_for_all_namespaces_with_http_info(body, **kwargs) return data - def create_authorization_openshift_io_v1_cluster_role_with_http_info(self, body, **kwargs): + def create_local_resource_access_review_for_all_namespaces_with_http_info(self, body, **kwargs): """ - create a ClusterRole + create a LocalResourceAccessReview This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.create_authorization_openshift_io_v1_cluster_role_with_http_info(body, callback=callback_function) + >>> thread = api.create_local_resource_access_review_for_all_namespaces_with_http_info(body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) - :param V1ClusterRole body: (required) + :param V1LocalResourceAccessReview body: (required) :param str pretty: If 'true', then the output is pretty printed. - :return: V1ClusterRole + :return: V1LocalResourceAccessReview If the method is called asynchronously, returns the request thread. """ @@ -315,18 +315,18 @@ def create_authorization_openshift_io_v1_cluster_role_with_http_info(self, body, if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method create_authorization_openshift_io_v1_cluster_role" % key + " to method create_local_resource_access_review_for_all_namespaces" % key ) params[key] = val del params['kwargs'] # verify the required parameter 'body' is set if ('body' not in params) or (params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `create_authorization_openshift_io_v1_cluster_role`") + raise ValueError("Missing the required parameter `body` when calling `create_local_resource_access_review_for_all_namespaces`") collection_formats = {} - resource_path = '/apis/authorization.openshift.io/v1/clusterroles'.replace('{format}', 'json') + resource_path = '/apis/authorization.openshift.io/v1/localresourceaccessreviews'.replace('{format}', 'json') path_params = {} query_params = {} @@ -350,7 +350,7 @@ def create_authorization_openshift_io_v1_cluster_role_with_http_info(self, body, select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'POST', path_params, @@ -359,7 +359,7 @@ def create_authorization_openshift_io_v1_cluster_role_with_http_info(self, body, body=body_params, post_params=form_params, files=local_var_files, - response_type='V1ClusterRole', + response_type='V1LocalResourceAccessReview', auth_settings=auth_settings, callback=params.get('callback'), _return_http_data_only=params.get('_return_http_data_only'), @@ -367,48 +367,48 @@ def create_authorization_openshift_io_v1_cluster_role_with_http_info(self, body, _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def create_authorization_openshift_io_v1_cluster_role_binding(self, body, **kwargs): + def create_local_subject_access_review_for_all_namespaces(self, body, **kwargs): """ - create a ClusterRoleBinding + create a LocalSubjectAccessReview This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.create_authorization_openshift_io_v1_cluster_role_binding(body, callback=callback_function) + >>> thread = api.create_local_subject_access_review_for_all_namespaces(body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) - :param V1ClusterRoleBinding body: (required) + :param V1LocalSubjectAccessReview body: (required) :param str pretty: If 'true', then the output is pretty printed. - :return: V1ClusterRoleBinding + :return: V1LocalSubjectAccessReview If the method is called asynchronously, returns the request thread. """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.create_authorization_openshift_io_v1_cluster_role_binding_with_http_info(body, **kwargs) + return self.create_local_subject_access_review_for_all_namespaces_with_http_info(body, **kwargs) else: - (data) = self.create_authorization_openshift_io_v1_cluster_role_binding_with_http_info(body, **kwargs) + (data) = self.create_local_subject_access_review_for_all_namespaces_with_http_info(body, **kwargs) return data - def create_authorization_openshift_io_v1_cluster_role_binding_with_http_info(self, body, **kwargs): + def create_local_subject_access_review_for_all_namespaces_with_http_info(self, body, **kwargs): """ - create a ClusterRoleBinding + create a LocalSubjectAccessReview This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.create_authorization_openshift_io_v1_cluster_role_binding_with_http_info(body, callback=callback_function) + >>> thread = api.create_local_subject_access_review_for_all_namespaces_with_http_info(body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) - :param V1ClusterRoleBinding body: (required) + :param V1LocalSubjectAccessReview body: (required) :param str pretty: If 'true', then the output is pretty printed. - :return: V1ClusterRoleBinding + :return: V1LocalSubjectAccessReview If the method is called asynchronously, returns the request thread. """ @@ -424,18 +424,18 @@ def create_authorization_openshift_io_v1_cluster_role_binding_with_http_info(sel if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method create_authorization_openshift_io_v1_cluster_role_binding" % key + " to method create_local_subject_access_review_for_all_namespaces" % key ) params[key] = val del params['kwargs'] # verify the required parameter 'body' is set if ('body' not in params) or (params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `create_authorization_openshift_io_v1_cluster_role_binding`") + raise ValueError("Missing the required parameter `body` when calling `create_local_subject_access_review_for_all_namespaces`") collection_formats = {} - resource_path = '/apis/authorization.openshift.io/v1/clusterrolebindings'.replace('{format}', 'json') + resource_path = '/apis/authorization.openshift.io/v1/localsubjectaccessreviews'.replace('{format}', 'json') path_params = {} query_params = {} @@ -459,7 +459,7 @@ def create_authorization_openshift_io_v1_cluster_role_binding_with_http_info(sel select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'POST', path_params, @@ -468,7 +468,7 @@ def create_authorization_openshift_io_v1_cluster_role_binding_with_http_info(sel body=body_params, post_params=form_params, files=local_var_files, - response_type='V1ClusterRoleBinding', + response_type='V1LocalSubjectAccessReview', auth_settings=auth_settings, callback=params.get('callback'), _return_http_data_only=params.get('_return_http_data_only'), @@ -476,7 +476,7 @@ def create_authorization_openshift_io_v1_cluster_role_binding_with_http_info(sel _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def create_authorization_openshift_io_v1_local_resource_access_review_for_all_namespaces(self, body, **kwargs): + def create_namespaced_local_resource_access_review(self, namespace, body, **kwargs): """ create a LocalResourceAccessReview This method makes a synchronous HTTP request by default. To make an @@ -485,10 +485,11 @@ def create_authorization_openshift_io_v1_local_resource_access_review_for_all_na >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.create_authorization_openshift_io_v1_local_resource_access_review_for_all_namespaces(body, callback=callback_function) + >>> thread = api.create_namespaced_local_resource_access_review(namespace, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) + :param str namespace: object name and auth scope, such as for teams and projects (required) :param V1LocalResourceAccessReview body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1LocalResourceAccessReview @@ -497,12 +498,12 @@ def create_authorization_openshift_io_v1_local_resource_access_review_for_all_na """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.create_authorization_openshift_io_v1_local_resource_access_review_for_all_namespaces_with_http_info(body, **kwargs) + return self.create_namespaced_local_resource_access_review_with_http_info(namespace, body, **kwargs) else: - (data) = self.create_authorization_openshift_io_v1_local_resource_access_review_for_all_namespaces_with_http_info(body, **kwargs) + (data) = self.create_namespaced_local_resource_access_review_with_http_info(namespace, body, **kwargs) return data - def create_authorization_openshift_io_v1_local_resource_access_review_for_all_namespaces_with_http_info(self, body, **kwargs): + def create_namespaced_local_resource_access_review_with_http_info(self, namespace, body, **kwargs): """ create a LocalResourceAccessReview This method makes a synchronous HTTP request by default. To make an @@ -511,10 +512,11 @@ def create_authorization_openshift_io_v1_local_resource_access_review_for_all_na >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.create_authorization_openshift_io_v1_local_resource_access_review_for_all_namespaces_with_http_info(body, callback=callback_function) + >>> thread = api.create_namespaced_local_resource_access_review_with_http_info(namespace, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) + :param str namespace: object name and auth scope, such as for teams and projects (required) :param V1LocalResourceAccessReview body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1LocalResourceAccessReview @@ -522,7 +524,7 @@ def create_authorization_openshift_io_v1_local_resource_access_review_for_all_na returns the request thread. """ - all_params = ['body', 'pretty'] + all_params = ['namespace', 'body', 'pretty'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -533,19 +535,24 @@ def create_authorization_openshift_io_v1_local_resource_access_review_for_all_na if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method create_authorization_openshift_io_v1_local_resource_access_review_for_all_namespaces" % key + " to method create_namespaced_local_resource_access_review" % key ) params[key] = val del params['kwargs'] + # verify the required parameter 'namespace' is set + if ('namespace' not in params) or (params['namespace'] is None): + raise ValueError("Missing the required parameter `namespace` when calling `create_namespaced_local_resource_access_review`") # verify the required parameter 'body' is set if ('body' not in params) or (params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `create_authorization_openshift_io_v1_local_resource_access_review_for_all_namespaces`") + raise ValueError("Missing the required parameter `body` when calling `create_namespaced_local_resource_access_review`") collection_formats = {} - resource_path = '/apis/authorization.openshift.io/v1/localresourceaccessreviews'.replace('{format}', 'json') + resource_path = '/apis/authorization.openshift.io/v1/namespaces/{namespace}/localresourceaccessreviews'.replace('{format}', 'json') path_params = {} + if 'namespace' in params: + path_params['namespace'] = params['namespace'] query_params = {} if 'pretty' in params: @@ -568,7 +575,7 @@ def create_authorization_openshift_io_v1_local_resource_access_review_for_all_na select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'POST', path_params, @@ -585,7 +592,7 @@ def create_authorization_openshift_io_v1_local_resource_access_review_for_all_na _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def create_authorization_openshift_io_v1_local_subject_access_review_for_all_namespaces(self, body, **kwargs): + def create_namespaced_local_subject_access_review(self, namespace, body, **kwargs): """ create a LocalSubjectAccessReview This method makes a synchronous HTTP request by default. To make an @@ -594,10 +601,11 @@ def create_authorization_openshift_io_v1_local_subject_access_review_for_all_nam >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.create_authorization_openshift_io_v1_local_subject_access_review_for_all_namespaces(body, callback=callback_function) + >>> thread = api.create_namespaced_local_subject_access_review(namespace, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) + :param str namespace: object name and auth scope, such as for teams and projects (required) :param V1LocalSubjectAccessReview body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1LocalSubjectAccessReview @@ -606,12 +614,12 @@ def create_authorization_openshift_io_v1_local_subject_access_review_for_all_nam """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.create_authorization_openshift_io_v1_local_subject_access_review_for_all_namespaces_with_http_info(body, **kwargs) + return self.create_namespaced_local_subject_access_review_with_http_info(namespace, body, **kwargs) else: - (data) = self.create_authorization_openshift_io_v1_local_subject_access_review_for_all_namespaces_with_http_info(body, **kwargs) + (data) = self.create_namespaced_local_subject_access_review_with_http_info(namespace, body, **kwargs) return data - def create_authorization_openshift_io_v1_local_subject_access_review_for_all_namespaces_with_http_info(self, body, **kwargs): + def create_namespaced_local_subject_access_review_with_http_info(self, namespace, body, **kwargs): """ create a LocalSubjectAccessReview This method makes a synchronous HTTP request by default. To make an @@ -620,10 +628,11 @@ def create_authorization_openshift_io_v1_local_subject_access_review_for_all_nam >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.create_authorization_openshift_io_v1_local_subject_access_review_for_all_namespaces_with_http_info(body, callback=callback_function) + >>> thread = api.create_namespaced_local_subject_access_review_with_http_info(namespace, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) + :param str namespace: object name and auth scope, such as for teams and projects (required) :param V1LocalSubjectAccessReview body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1LocalSubjectAccessReview @@ -631,7 +640,7 @@ def create_authorization_openshift_io_v1_local_subject_access_review_for_all_nam returns the request thread. """ - all_params = ['body', 'pretty'] + all_params = ['namespace', 'body', 'pretty'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -642,19 +651,24 @@ def create_authorization_openshift_io_v1_local_subject_access_review_for_all_nam if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method create_authorization_openshift_io_v1_local_subject_access_review_for_all_namespaces" % key + " to method create_namespaced_local_subject_access_review" % key ) params[key] = val del params['kwargs'] + # verify the required parameter 'namespace' is set + if ('namespace' not in params) or (params['namespace'] is None): + raise ValueError("Missing the required parameter `namespace` when calling `create_namespaced_local_subject_access_review`") # verify the required parameter 'body' is set if ('body' not in params) or (params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `create_authorization_openshift_io_v1_local_subject_access_review_for_all_namespaces`") + raise ValueError("Missing the required parameter `body` when calling `create_namespaced_local_subject_access_review`") collection_formats = {} - resource_path = '/apis/authorization.openshift.io/v1/localsubjectaccessreviews'.replace('{format}', 'json') + resource_path = '/apis/authorization.openshift.io/v1/namespaces/{namespace}/localsubjectaccessreviews'.replace('{format}', 'json') path_params = {} + if 'namespace' in params: + path_params['namespace'] = params['namespace'] query_params = {} if 'pretty' in params: @@ -677,7 +691,7 @@ def create_authorization_openshift_io_v1_local_subject_access_review_for_all_nam select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'POST', path_params, @@ -694,55 +708,55 @@ def create_authorization_openshift_io_v1_local_subject_access_review_for_all_nam _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def create_authorization_openshift_io_v1_namespaced_local_resource_access_review(self, body, namespace, **kwargs): + def create_namespaced_role(self, namespace, body, **kwargs): """ - create a LocalResourceAccessReview + create a Role This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.create_authorization_openshift_io_v1_namespaced_local_resource_access_review(body, namespace, callback=callback_function) + >>> thread = api.create_namespaced_role(namespace, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) - :param V1LocalResourceAccessReview body: (required) :param str namespace: object name and auth scope, such as for teams and projects (required) + :param V1Role body: (required) :param str pretty: If 'true', then the output is pretty printed. - :return: V1LocalResourceAccessReview + :return: V1Role If the method is called asynchronously, returns the request thread. """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.create_authorization_openshift_io_v1_namespaced_local_resource_access_review_with_http_info(body, namespace, **kwargs) + return self.create_namespaced_role_with_http_info(namespace, body, **kwargs) else: - (data) = self.create_authorization_openshift_io_v1_namespaced_local_resource_access_review_with_http_info(body, namespace, **kwargs) + (data) = self.create_namespaced_role_with_http_info(namespace, body, **kwargs) return data - def create_authorization_openshift_io_v1_namespaced_local_resource_access_review_with_http_info(self, body, namespace, **kwargs): + def create_namespaced_role_with_http_info(self, namespace, body, **kwargs): """ - create a LocalResourceAccessReview + create a Role This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.create_authorization_openshift_io_v1_namespaced_local_resource_access_review_with_http_info(body, namespace, callback=callback_function) + >>> thread = api.create_namespaced_role_with_http_info(namespace, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) - :param V1LocalResourceAccessReview body: (required) :param str namespace: object name and auth scope, such as for teams and projects (required) + :param V1Role body: (required) :param str pretty: If 'true', then the output is pretty printed. - :return: V1LocalResourceAccessReview + :return: V1Role If the method is called asynchronously, returns the request thread. """ - all_params = ['body', 'namespace', 'pretty'] + all_params = ['namespace', 'body', 'pretty'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -753,21 +767,21 @@ def create_authorization_openshift_io_v1_namespaced_local_resource_access_review if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method create_authorization_openshift_io_v1_namespaced_local_resource_access_review" % key + " to method create_namespaced_role" % key ) params[key] = val del params['kwargs'] - # verify the required parameter 'body' is set - if ('body' not in params) or (params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `create_authorization_openshift_io_v1_namespaced_local_resource_access_review`") # verify the required parameter 'namespace' is set if ('namespace' not in params) or (params['namespace'] is None): - raise ValueError("Missing the required parameter `namespace` when calling `create_authorization_openshift_io_v1_namespaced_local_resource_access_review`") + raise ValueError("Missing the required parameter `namespace` when calling `create_namespaced_role`") + # verify the required parameter 'body' is set + if ('body' not in params) or (params['body'] is None): + raise ValueError("Missing the required parameter `body` when calling `create_namespaced_role`") collection_formats = {} - resource_path = '/apis/authorization.openshift.io/v1/namespaces/{namespace}/localresourceaccessreviews'.replace('{format}', 'json') + resource_path = '/apis/authorization.openshift.io/v1/namespaces/{namespace}/roles'.replace('{format}', 'json') path_params = {} if 'namespace' in params: path_params['namespace'] = params['namespace'] @@ -793,7 +807,7 @@ def create_authorization_openshift_io_v1_namespaced_local_resource_access_review select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'POST', path_params, @@ -802,7 +816,7 @@ def create_authorization_openshift_io_v1_namespaced_local_resource_access_review body=body_params, post_params=form_params, files=local_var_files, - response_type='V1LocalResourceAccessReview', + response_type='V1Role', auth_settings=auth_settings, callback=params.get('callback'), _return_http_data_only=params.get('_return_http_data_only'), @@ -810,55 +824,55 @@ def create_authorization_openshift_io_v1_namespaced_local_resource_access_review _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def create_authorization_openshift_io_v1_namespaced_local_subject_access_review(self, body, namespace, **kwargs): + def create_namespaced_role_binding(self, namespace, body, **kwargs): """ - create a LocalSubjectAccessReview + create a RoleBinding This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.create_authorization_openshift_io_v1_namespaced_local_subject_access_review(body, namespace, callback=callback_function) + >>> thread = api.create_namespaced_role_binding(namespace, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) - :param V1LocalSubjectAccessReview body: (required) :param str namespace: object name and auth scope, such as for teams and projects (required) + :param V1RoleBinding body: (required) :param str pretty: If 'true', then the output is pretty printed. - :return: V1LocalSubjectAccessReview + :return: V1RoleBinding If the method is called asynchronously, returns the request thread. """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.create_authorization_openshift_io_v1_namespaced_local_subject_access_review_with_http_info(body, namespace, **kwargs) + return self.create_namespaced_role_binding_with_http_info(namespace, body, **kwargs) else: - (data) = self.create_authorization_openshift_io_v1_namespaced_local_subject_access_review_with_http_info(body, namespace, **kwargs) + (data) = self.create_namespaced_role_binding_with_http_info(namespace, body, **kwargs) return data - def create_authorization_openshift_io_v1_namespaced_local_subject_access_review_with_http_info(self, body, namespace, **kwargs): + def create_namespaced_role_binding_with_http_info(self, namespace, body, **kwargs): """ - create a LocalSubjectAccessReview + create a RoleBinding This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.create_authorization_openshift_io_v1_namespaced_local_subject_access_review_with_http_info(body, namespace, callback=callback_function) + >>> thread = api.create_namespaced_role_binding_with_http_info(namespace, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) - :param V1LocalSubjectAccessReview body: (required) :param str namespace: object name and auth scope, such as for teams and projects (required) + :param V1RoleBinding body: (required) :param str pretty: If 'true', then the output is pretty printed. - :return: V1LocalSubjectAccessReview + :return: V1RoleBinding If the method is called asynchronously, returns the request thread. """ - all_params = ['body', 'namespace', 'pretty'] + all_params = ['namespace', 'body', 'pretty'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -869,21 +883,21 @@ def create_authorization_openshift_io_v1_namespaced_local_subject_access_review_ if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method create_authorization_openshift_io_v1_namespaced_local_subject_access_review" % key + " to method create_namespaced_role_binding" % key ) params[key] = val del params['kwargs'] - # verify the required parameter 'body' is set - if ('body' not in params) or (params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `create_authorization_openshift_io_v1_namespaced_local_subject_access_review`") # verify the required parameter 'namespace' is set if ('namespace' not in params) or (params['namespace'] is None): - raise ValueError("Missing the required parameter `namespace` when calling `create_authorization_openshift_io_v1_namespaced_local_subject_access_review`") + raise ValueError("Missing the required parameter `namespace` when calling `create_namespaced_role_binding`") + # verify the required parameter 'body' is set + if ('body' not in params) or (params['body'] is None): + raise ValueError("Missing the required parameter `body` when calling `create_namespaced_role_binding`") collection_formats = {} - resource_path = '/apis/authorization.openshift.io/v1/namespaces/{namespace}/localsubjectaccessreviews'.replace('{format}', 'json') + resource_path = '/apis/authorization.openshift.io/v1/namespaces/{namespace}/rolebindings'.replace('{format}', 'json') path_params = {} if 'namespace' in params: path_params['namespace'] = params['namespace'] @@ -909,7 +923,7 @@ def create_authorization_openshift_io_v1_namespaced_local_subject_access_review_ select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'POST', path_params, @@ -918,7 +932,7 @@ def create_authorization_openshift_io_v1_namespaced_local_subject_access_review_ body=body_params, post_params=form_params, files=local_var_files, - response_type='V1LocalSubjectAccessReview', + response_type='V1RoleBinding', auth_settings=auth_settings, callback=params.get('callback'), _return_http_data_only=params.get('_return_http_data_only'), @@ -926,50 +940,50 @@ def create_authorization_openshift_io_v1_namespaced_local_subject_access_review_ _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def create_authorization_openshift_io_v1_namespaced_policy(self, namespace, body, **kwargs): + def create_namespaced_role_binding_restriction(self, namespace, body, **kwargs): """ - create a Policy + create a RoleBindingRestriction This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.create_authorization_openshift_io_v1_namespaced_policy(namespace, body, callback=callback_function) + >>> thread = api.create_namespaced_role_binding_restriction(namespace, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1Policy body: (required) + :param V1RoleBindingRestriction body: (required) :param str pretty: If 'true', then the output is pretty printed. - :return: V1Policy + :return: V1RoleBindingRestriction If the method is called asynchronously, returns the request thread. """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.create_authorization_openshift_io_v1_namespaced_policy_with_http_info(namespace, body, **kwargs) + return self.create_namespaced_role_binding_restriction_with_http_info(namespace, body, **kwargs) else: - (data) = self.create_authorization_openshift_io_v1_namespaced_policy_with_http_info(namespace, body, **kwargs) + (data) = self.create_namespaced_role_binding_restriction_with_http_info(namespace, body, **kwargs) return data - def create_authorization_openshift_io_v1_namespaced_policy_with_http_info(self, namespace, body, **kwargs): + def create_namespaced_role_binding_restriction_with_http_info(self, namespace, body, **kwargs): """ - create a Policy + create a RoleBindingRestriction This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.create_authorization_openshift_io_v1_namespaced_policy_with_http_info(namespace, body, callback=callback_function) + >>> thread = api.create_namespaced_role_binding_restriction_with_http_info(namespace, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1Policy body: (required) + :param V1RoleBindingRestriction body: (required) :param str pretty: If 'true', then the output is pretty printed. - :return: V1Policy + :return: V1RoleBindingRestriction If the method is called asynchronously, returns the request thread. """ @@ -985,21 +999,21 @@ def create_authorization_openshift_io_v1_namespaced_policy_with_http_info(self, if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method create_authorization_openshift_io_v1_namespaced_policy" % key + " to method create_namespaced_role_binding_restriction" % key ) params[key] = val del params['kwargs'] # verify the required parameter 'namespace' is set if ('namespace' not in params) or (params['namespace'] is None): - raise ValueError("Missing the required parameter `namespace` when calling `create_authorization_openshift_io_v1_namespaced_policy`") + raise ValueError("Missing the required parameter `namespace` when calling `create_namespaced_role_binding_restriction`") # verify the required parameter 'body' is set if ('body' not in params) or (params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `create_authorization_openshift_io_v1_namespaced_policy`") + raise ValueError("Missing the required parameter `body` when calling `create_namespaced_role_binding_restriction`") collection_formats = {} - resource_path = '/apis/authorization.openshift.io/v1/namespaces/{namespace}/policies'.replace('{format}', 'json') + resource_path = '/apis/authorization.openshift.io/v1/namespaces/{namespace}/rolebindingrestrictions'.replace('{format}', 'json') path_params = {} if 'namespace' in params: path_params['namespace'] = params['namespace'] @@ -1025,7 +1039,7 @@ def create_authorization_openshift_io_v1_namespaced_policy_with_http_info(self, select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'POST', path_params, @@ -1034,7 +1048,7 @@ def create_authorization_openshift_io_v1_namespaced_policy_with_http_info(self, body=body_params, post_params=form_params, files=local_var_files, - response_type='V1Policy', + response_type='V1RoleBindingRestriction', auth_settings=auth_settings, callback=params.get('callback'), _return_http_data_only=params.get('_return_http_data_only'), @@ -1042,50 +1056,50 @@ def create_authorization_openshift_io_v1_namespaced_policy_with_http_info(self, _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def create_authorization_openshift_io_v1_namespaced_policy_binding(self, namespace, body, **kwargs): + def create_namespaced_self_subject_rules_review(self, namespace, body, **kwargs): """ - create a PolicyBinding + create a SelfSubjectRulesReview This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.create_authorization_openshift_io_v1_namespaced_policy_binding(namespace, body, callback=callback_function) + >>> thread = api.create_namespaced_self_subject_rules_review(namespace, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1PolicyBinding body: (required) + :param V1SelfSubjectRulesReview body: (required) :param str pretty: If 'true', then the output is pretty printed. - :return: V1PolicyBinding + :return: V1SelfSubjectRulesReview If the method is called asynchronously, returns the request thread. """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.create_authorization_openshift_io_v1_namespaced_policy_binding_with_http_info(namespace, body, **kwargs) + return self.create_namespaced_self_subject_rules_review_with_http_info(namespace, body, **kwargs) else: - (data) = self.create_authorization_openshift_io_v1_namespaced_policy_binding_with_http_info(namespace, body, **kwargs) + (data) = self.create_namespaced_self_subject_rules_review_with_http_info(namespace, body, **kwargs) return data - def create_authorization_openshift_io_v1_namespaced_policy_binding_with_http_info(self, namespace, body, **kwargs): + def create_namespaced_self_subject_rules_review_with_http_info(self, namespace, body, **kwargs): """ - create a PolicyBinding + create a SelfSubjectRulesReview This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.create_authorization_openshift_io_v1_namespaced_policy_binding_with_http_info(namespace, body, callback=callback_function) + >>> thread = api.create_namespaced_self_subject_rules_review_with_http_info(namespace, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1PolicyBinding body: (required) + :param V1SelfSubjectRulesReview body: (required) :param str pretty: If 'true', then the output is pretty printed. - :return: V1PolicyBinding + :return: V1SelfSubjectRulesReview If the method is called asynchronously, returns the request thread. """ @@ -1101,21 +1115,21 @@ def create_authorization_openshift_io_v1_namespaced_policy_binding_with_http_inf if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method create_authorization_openshift_io_v1_namespaced_policy_binding" % key + " to method create_namespaced_self_subject_rules_review" % key ) params[key] = val del params['kwargs'] # verify the required parameter 'namespace' is set if ('namespace' not in params) or (params['namespace'] is None): - raise ValueError("Missing the required parameter `namespace` when calling `create_authorization_openshift_io_v1_namespaced_policy_binding`") + raise ValueError("Missing the required parameter `namespace` when calling `create_namespaced_self_subject_rules_review`") # verify the required parameter 'body' is set if ('body' not in params) or (params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `create_authorization_openshift_io_v1_namespaced_policy_binding`") + raise ValueError("Missing the required parameter `body` when calling `create_namespaced_self_subject_rules_review`") collection_formats = {} - resource_path = '/apis/authorization.openshift.io/v1/namespaces/{namespace}/policybindings'.replace('{format}', 'json') + resource_path = '/apis/authorization.openshift.io/v1/namespaces/{namespace}/selfsubjectrulesreviews'.replace('{format}', 'json') path_params = {} if 'namespace' in params: path_params['namespace'] = params['namespace'] @@ -1141,7 +1155,7 @@ def create_authorization_openshift_io_v1_namespaced_policy_binding_with_http_inf select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'POST', path_params, @@ -1150,7 +1164,7 @@ def create_authorization_openshift_io_v1_namespaced_policy_binding_with_http_inf body=body_params, post_params=form_params, files=local_var_files, - response_type='V1PolicyBinding', + response_type='V1SelfSubjectRulesReview', auth_settings=auth_settings, callback=params.get('callback'), _return_http_data_only=params.get('_return_http_data_only'), @@ -1158,55 +1172,55 @@ def create_authorization_openshift_io_v1_namespaced_policy_binding_with_http_inf _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def create_authorization_openshift_io_v1_namespaced_resource_access_review(self, body, namespace, **kwargs): + def create_namespaced_subject_rules_review(self, namespace, body, **kwargs): """ - create a ResourceAccessReview + create a SubjectRulesReview This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.create_authorization_openshift_io_v1_namespaced_resource_access_review(body, namespace, callback=callback_function) + >>> thread = api.create_namespaced_subject_rules_review(namespace, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) - :param V1ResourceAccessReview body: (required) :param str namespace: object name and auth scope, such as for teams and projects (required) + :param V1SubjectRulesReview body: (required) :param str pretty: If 'true', then the output is pretty printed. - :return: V1ResourceAccessReview + :return: V1SubjectRulesReview If the method is called asynchronously, returns the request thread. """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.create_authorization_openshift_io_v1_namespaced_resource_access_review_with_http_info(body, namespace, **kwargs) + return self.create_namespaced_subject_rules_review_with_http_info(namespace, body, **kwargs) else: - (data) = self.create_authorization_openshift_io_v1_namespaced_resource_access_review_with_http_info(body, namespace, **kwargs) + (data) = self.create_namespaced_subject_rules_review_with_http_info(namespace, body, **kwargs) return data - def create_authorization_openshift_io_v1_namespaced_resource_access_review_with_http_info(self, body, namespace, **kwargs): + def create_namespaced_subject_rules_review_with_http_info(self, namespace, body, **kwargs): """ - create a ResourceAccessReview + create a SubjectRulesReview This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.create_authorization_openshift_io_v1_namespaced_resource_access_review_with_http_info(body, namespace, callback=callback_function) + >>> thread = api.create_namespaced_subject_rules_review_with_http_info(namespace, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) - :param V1ResourceAccessReview body: (required) :param str namespace: object name and auth scope, such as for teams and projects (required) + :param V1SubjectRulesReview body: (required) :param str pretty: If 'true', then the output is pretty printed. - :return: V1ResourceAccessReview + :return: V1SubjectRulesReview If the method is called asynchronously, returns the request thread. """ - all_params = ['body', 'namespace', 'pretty'] + all_params = ['namespace', 'body', 'pretty'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -1217,21 +1231,21 @@ def create_authorization_openshift_io_v1_namespaced_resource_access_review_with_ if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method create_authorization_openshift_io_v1_namespaced_resource_access_review" % key + " to method create_namespaced_subject_rules_review" % key ) params[key] = val del params['kwargs'] - # verify the required parameter 'body' is set - if ('body' not in params) or (params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `create_authorization_openshift_io_v1_namespaced_resource_access_review`") # verify the required parameter 'namespace' is set if ('namespace' not in params) or (params['namespace'] is None): - raise ValueError("Missing the required parameter `namespace` when calling `create_authorization_openshift_io_v1_namespaced_resource_access_review`") + raise ValueError("Missing the required parameter `namespace` when calling `create_namespaced_subject_rules_review`") + # verify the required parameter 'body' is set + if ('body' not in params) or (params['body'] is None): + raise ValueError("Missing the required parameter `body` when calling `create_namespaced_subject_rules_review`") collection_formats = {} - resource_path = '/apis/authorization.openshift.io/v1/namespaces/{namespace}/resourceaccessreviews'.replace('{format}', 'json') + resource_path = '/apis/authorization.openshift.io/v1/namespaces/{namespace}/subjectrulesreviews'.replace('{format}', 'json') path_params = {} if 'namespace' in params: path_params['namespace'] = params['namespace'] @@ -1257,7 +1271,7 @@ def create_authorization_openshift_io_v1_namespaced_resource_access_review_with_ select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'POST', path_params, @@ -1266,7 +1280,7 @@ def create_authorization_openshift_io_v1_namespaced_resource_access_review_with_ body=body_params, post_params=form_params, files=local_var_files, - response_type='V1ResourceAccessReview', + response_type='V1SubjectRulesReview', auth_settings=auth_settings, callback=params.get('callback'), _return_http_data_only=params.get('_return_http_data_only'), @@ -1274,55 +1288,53 @@ def create_authorization_openshift_io_v1_namespaced_resource_access_review_with_ _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def create_authorization_openshift_io_v1_namespaced_role(self, namespace, body, **kwargs): + def create_resource_access_review(self, body, **kwargs): """ - create a Role + create a ResourceAccessReview This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.create_authorization_openshift_io_v1_namespaced_role(namespace, body, callback=callback_function) + >>> thread = api.create_resource_access_review(body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) - :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1Role body: (required) + :param V1ResourceAccessReview body: (required) :param str pretty: If 'true', then the output is pretty printed. - :return: V1Role + :return: V1ResourceAccessReview If the method is called asynchronously, returns the request thread. """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.create_authorization_openshift_io_v1_namespaced_role_with_http_info(namespace, body, **kwargs) + return self.create_resource_access_review_with_http_info(body, **kwargs) else: - (data) = self.create_authorization_openshift_io_v1_namespaced_role_with_http_info(namespace, body, **kwargs) + (data) = self.create_resource_access_review_with_http_info(body, **kwargs) return data - def create_authorization_openshift_io_v1_namespaced_role_with_http_info(self, namespace, body, **kwargs): + def create_resource_access_review_with_http_info(self, body, **kwargs): """ - create a Role + create a ResourceAccessReview This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.create_authorization_openshift_io_v1_namespaced_role_with_http_info(namespace, body, callback=callback_function) + >>> thread = api.create_resource_access_review_with_http_info(body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) - :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1Role body: (required) + :param V1ResourceAccessReview body: (required) :param str pretty: If 'true', then the output is pretty printed. - :return: V1Role + :return: V1ResourceAccessReview If the method is called asynchronously, returns the request thread. """ - all_params = ['namespace', 'body', 'pretty'] + all_params = ['body', 'pretty'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -1333,24 +1345,19 @@ def create_authorization_openshift_io_v1_namespaced_role_with_http_info(self, na if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method create_authorization_openshift_io_v1_namespaced_role" % key + " to method create_resource_access_review" % key ) params[key] = val del params['kwargs'] - # verify the required parameter 'namespace' is set - if ('namespace' not in params) or (params['namespace'] is None): - raise ValueError("Missing the required parameter `namespace` when calling `create_authorization_openshift_io_v1_namespaced_role`") # verify the required parameter 'body' is set if ('body' not in params) or (params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `create_authorization_openshift_io_v1_namespaced_role`") + raise ValueError("Missing the required parameter `body` when calling `create_resource_access_review`") collection_formats = {} - resource_path = '/apis/authorization.openshift.io/v1/namespaces/{namespace}/roles'.replace('{format}', 'json') + resource_path = '/apis/authorization.openshift.io/v1/resourceaccessreviews'.replace('{format}', 'json') path_params = {} - if 'namespace' in params: - path_params['namespace'] = params['namespace'] query_params = {} if 'pretty' in params: @@ -1373,7 +1380,7 @@ def create_authorization_openshift_io_v1_namespaced_role_with_http_info(self, na select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'POST', path_params, @@ -1382,7 +1389,7 @@ def create_authorization_openshift_io_v1_namespaced_role_with_http_info(self, na body=body_params, post_params=form_params, files=local_var_files, - response_type='V1Role', + response_type='V1ResourceAccessReview', auth_settings=auth_settings, callback=params.get('callback'), _return_http_data_only=params.get('_return_http_data_only'), @@ -1390,7 +1397,7 @@ def create_authorization_openshift_io_v1_namespaced_role_with_http_info(self, na _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def create_authorization_openshift_io_v1_namespaced_role_binding(self, namespace, body, **kwargs): + def create_role_binding_for_all_namespaces(self, body, **kwargs): """ create a RoleBinding This method makes a synchronous HTTP request by default. To make an @@ -1399,11 +1406,10 @@ def create_authorization_openshift_io_v1_namespaced_role_binding(self, namespace >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.create_authorization_openshift_io_v1_namespaced_role_binding(namespace, body, callback=callback_function) + >>> thread = api.create_role_binding_for_all_namespaces(body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) - :param str namespace: object name and auth scope, such as for teams and projects (required) :param V1RoleBinding body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1RoleBinding @@ -1412,12 +1418,12 @@ def create_authorization_openshift_io_v1_namespaced_role_binding(self, namespace """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.create_authorization_openshift_io_v1_namespaced_role_binding_with_http_info(namespace, body, **kwargs) + return self.create_role_binding_for_all_namespaces_with_http_info(body, **kwargs) else: - (data) = self.create_authorization_openshift_io_v1_namespaced_role_binding_with_http_info(namespace, body, **kwargs) + (data) = self.create_role_binding_for_all_namespaces_with_http_info(body, **kwargs) return data - def create_authorization_openshift_io_v1_namespaced_role_binding_with_http_info(self, namespace, body, **kwargs): + def create_role_binding_for_all_namespaces_with_http_info(self, body, **kwargs): """ create a RoleBinding This method makes a synchronous HTTP request by default. To make an @@ -1426,11 +1432,10 @@ def create_authorization_openshift_io_v1_namespaced_role_binding_with_http_info( >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.create_authorization_openshift_io_v1_namespaced_role_binding_with_http_info(namespace, body, callback=callback_function) + >>> thread = api.create_role_binding_for_all_namespaces_with_http_info(body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) - :param str namespace: object name and auth scope, such as for teams and projects (required) :param V1RoleBinding body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1RoleBinding @@ -1438,7 +1443,7 @@ def create_authorization_openshift_io_v1_namespaced_role_binding_with_http_info( returns the request thread. """ - all_params = ['namespace', 'body', 'pretty'] + all_params = ['body', 'pretty'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -1449,24 +1454,19 @@ def create_authorization_openshift_io_v1_namespaced_role_binding_with_http_info( if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method create_authorization_openshift_io_v1_namespaced_role_binding" % key + " to method create_role_binding_for_all_namespaces" % key ) params[key] = val del params['kwargs'] - # verify the required parameter 'namespace' is set - if ('namespace' not in params) or (params['namespace'] is None): - raise ValueError("Missing the required parameter `namespace` when calling `create_authorization_openshift_io_v1_namespaced_role_binding`") # verify the required parameter 'body' is set if ('body' not in params) or (params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `create_authorization_openshift_io_v1_namespaced_role_binding`") + raise ValueError("Missing the required parameter `body` when calling `create_role_binding_for_all_namespaces`") collection_formats = {} - resource_path = '/apis/authorization.openshift.io/v1/namespaces/{namespace}/rolebindings'.replace('{format}', 'json') + resource_path = '/apis/authorization.openshift.io/v1/rolebindings'.replace('{format}', 'json') path_params = {} - if 'namespace' in params: - path_params['namespace'] = params['namespace'] query_params = {} if 'pretty' in params: @@ -1489,7 +1489,7 @@ def create_authorization_openshift_io_v1_namespaced_role_binding_with_http_info( select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'POST', path_params, @@ -1506,7 +1506,7 @@ def create_authorization_openshift_io_v1_namespaced_role_binding_with_http_info( _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def create_authorization_openshift_io_v1_namespaced_role_binding_restriction(self, namespace, body, **kwargs): + def create_role_binding_restriction_for_all_namespaces(self, body, **kwargs): """ create a RoleBindingRestriction This method makes a synchronous HTTP request by default. To make an @@ -1515,11 +1515,10 @@ def create_authorization_openshift_io_v1_namespaced_role_binding_restriction(sel >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.create_authorization_openshift_io_v1_namespaced_role_binding_restriction(namespace, body, callback=callback_function) + >>> thread = api.create_role_binding_restriction_for_all_namespaces(body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) - :param str namespace: object name and auth scope, such as for teams and projects (required) :param V1RoleBindingRestriction body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1RoleBindingRestriction @@ -1528,12 +1527,12 @@ def create_authorization_openshift_io_v1_namespaced_role_binding_restriction(sel """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.create_authorization_openshift_io_v1_namespaced_role_binding_restriction_with_http_info(namespace, body, **kwargs) + return self.create_role_binding_restriction_for_all_namespaces_with_http_info(body, **kwargs) else: - (data) = self.create_authorization_openshift_io_v1_namespaced_role_binding_restriction_with_http_info(namespace, body, **kwargs) + (data) = self.create_role_binding_restriction_for_all_namespaces_with_http_info(body, **kwargs) return data - def create_authorization_openshift_io_v1_namespaced_role_binding_restriction_with_http_info(self, namespace, body, **kwargs): + def create_role_binding_restriction_for_all_namespaces_with_http_info(self, body, **kwargs): """ create a RoleBindingRestriction This method makes a synchronous HTTP request by default. To make an @@ -1542,11 +1541,10 @@ def create_authorization_openshift_io_v1_namespaced_role_binding_restriction_wit >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.create_authorization_openshift_io_v1_namespaced_role_binding_restriction_with_http_info(namespace, body, callback=callback_function) + >>> thread = api.create_role_binding_restriction_for_all_namespaces_with_http_info(body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) - :param str namespace: object name and auth scope, such as for teams and projects (required) :param V1RoleBindingRestriction body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1RoleBindingRestriction @@ -1554,7 +1552,7 @@ def create_authorization_openshift_io_v1_namespaced_role_binding_restriction_wit returns the request thread. """ - all_params = ['namespace', 'body', 'pretty'] + all_params = ['body', 'pretty'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -1565,24 +1563,19 @@ def create_authorization_openshift_io_v1_namespaced_role_binding_restriction_wit if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method create_authorization_openshift_io_v1_namespaced_role_binding_restriction" % key + " to method create_role_binding_restriction_for_all_namespaces" % key ) params[key] = val del params['kwargs'] - # verify the required parameter 'namespace' is set - if ('namespace' not in params) or (params['namespace'] is None): - raise ValueError("Missing the required parameter `namespace` when calling `create_authorization_openshift_io_v1_namespaced_role_binding_restriction`") # verify the required parameter 'body' is set if ('body' not in params) or (params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `create_authorization_openshift_io_v1_namespaced_role_binding_restriction`") + raise ValueError("Missing the required parameter `body` when calling `create_role_binding_restriction_for_all_namespaces`") collection_formats = {} - resource_path = '/apis/authorization.openshift.io/v1/namespaces/{namespace}/rolebindingrestrictions'.replace('{format}', 'json') + resource_path = '/apis/authorization.openshift.io/v1/rolebindingrestrictions'.replace('{format}', 'json') path_params = {} - if 'namespace' in params: - path_params['namespace'] = params['namespace'] query_params = {} if 'pretty' in params: @@ -1605,7 +1598,7 @@ def create_authorization_openshift_io_v1_namespaced_role_binding_restriction_wit select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'POST', path_params, @@ -1622,55 +1615,53 @@ def create_authorization_openshift_io_v1_namespaced_role_binding_restriction_wit _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def create_authorization_openshift_io_v1_namespaced_self_subject_rules_review(self, body, namespace, **kwargs): + def create_role_for_all_namespaces(self, body, **kwargs): """ - create a SelfSubjectRulesReview + create a Role This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.create_authorization_openshift_io_v1_namespaced_self_subject_rules_review(body, namespace, callback=callback_function) + >>> thread = api.create_role_for_all_namespaces(body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) - :param V1SelfSubjectRulesReview body: (required) - :param str namespace: object name and auth scope, such as for teams and projects (required) + :param V1Role body: (required) :param str pretty: If 'true', then the output is pretty printed. - :return: V1SelfSubjectRulesReview + :return: V1Role If the method is called asynchronously, returns the request thread. """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.create_authorization_openshift_io_v1_namespaced_self_subject_rules_review_with_http_info(body, namespace, **kwargs) + return self.create_role_for_all_namespaces_with_http_info(body, **kwargs) else: - (data) = self.create_authorization_openshift_io_v1_namespaced_self_subject_rules_review_with_http_info(body, namespace, **kwargs) + (data) = self.create_role_for_all_namespaces_with_http_info(body, **kwargs) return data - def create_authorization_openshift_io_v1_namespaced_self_subject_rules_review_with_http_info(self, body, namespace, **kwargs): + def create_role_for_all_namespaces_with_http_info(self, body, **kwargs): """ - create a SelfSubjectRulesReview + create a Role This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.create_authorization_openshift_io_v1_namespaced_self_subject_rules_review_with_http_info(body, namespace, callback=callback_function) + >>> thread = api.create_role_for_all_namespaces_with_http_info(body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) - :param V1SelfSubjectRulesReview body: (required) - :param str namespace: object name and auth scope, such as for teams and projects (required) + :param V1Role body: (required) :param str pretty: If 'true', then the output is pretty printed. - :return: V1SelfSubjectRulesReview + :return: V1Role If the method is called asynchronously, returns the request thread. """ - all_params = ['body', 'namespace', 'pretty'] + all_params = ['body', 'pretty'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -1681,24 +1672,19 @@ def create_authorization_openshift_io_v1_namespaced_self_subject_rules_review_wi if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method create_authorization_openshift_io_v1_namespaced_self_subject_rules_review" % key + " to method create_role_for_all_namespaces" % key ) params[key] = val del params['kwargs'] # verify the required parameter 'body' is set if ('body' not in params) or (params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `create_authorization_openshift_io_v1_namespaced_self_subject_rules_review`") - # verify the required parameter 'namespace' is set - if ('namespace' not in params) or (params['namespace'] is None): - raise ValueError("Missing the required parameter `namespace` when calling `create_authorization_openshift_io_v1_namespaced_self_subject_rules_review`") + raise ValueError("Missing the required parameter `body` when calling `create_role_for_all_namespaces`") collection_formats = {} - resource_path = '/apis/authorization.openshift.io/v1/namespaces/{namespace}/selfsubjectrulesreviews'.replace('{format}', 'json') + resource_path = '/apis/authorization.openshift.io/v1/roles'.replace('{format}', 'json') path_params = {} - if 'namespace' in params: - path_params['namespace'] = params['namespace'] query_params = {} if 'pretty' in params: @@ -1721,7 +1707,7 @@ def create_authorization_openshift_io_v1_namespaced_self_subject_rules_review_wi select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'POST', path_params, @@ -1730,7 +1716,7 @@ def create_authorization_openshift_io_v1_namespaced_self_subject_rules_review_wi body=body_params, post_params=form_params, files=local_var_files, - response_type='V1SelfSubjectRulesReview', + response_type='V1Role', auth_settings=auth_settings, callback=params.get('callback'), _return_http_data_only=params.get('_return_http_data_only'), @@ -1738,55 +1724,53 @@ def create_authorization_openshift_io_v1_namespaced_self_subject_rules_review_wi _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def create_authorization_openshift_io_v1_namespaced_subject_access_review(self, body, namespace, **kwargs): + def create_self_subject_rules_review_for_all_namespaces(self, body, **kwargs): """ - create a SubjectAccessReview + create a SelfSubjectRulesReview This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.create_authorization_openshift_io_v1_namespaced_subject_access_review(body, namespace, callback=callback_function) + >>> thread = api.create_self_subject_rules_review_for_all_namespaces(body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) - :param V1SubjectAccessReview body: (required) - :param str namespace: object name and auth scope, such as for teams and projects (required) + :param V1SelfSubjectRulesReview body: (required) :param str pretty: If 'true', then the output is pretty printed. - :return: V1SubjectAccessReview + :return: V1SelfSubjectRulesReview If the method is called asynchronously, returns the request thread. """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.create_authorization_openshift_io_v1_namespaced_subject_access_review_with_http_info(body, namespace, **kwargs) + return self.create_self_subject_rules_review_for_all_namespaces_with_http_info(body, **kwargs) else: - (data) = self.create_authorization_openshift_io_v1_namespaced_subject_access_review_with_http_info(body, namespace, **kwargs) + (data) = self.create_self_subject_rules_review_for_all_namespaces_with_http_info(body, **kwargs) return data - def create_authorization_openshift_io_v1_namespaced_subject_access_review_with_http_info(self, body, namespace, **kwargs): + def create_self_subject_rules_review_for_all_namespaces_with_http_info(self, body, **kwargs): """ - create a SubjectAccessReview + create a SelfSubjectRulesReview This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.create_authorization_openshift_io_v1_namespaced_subject_access_review_with_http_info(body, namespace, callback=callback_function) + >>> thread = api.create_self_subject_rules_review_for_all_namespaces_with_http_info(body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) - :param V1SubjectAccessReview body: (required) - :param str namespace: object name and auth scope, such as for teams and projects (required) + :param V1SelfSubjectRulesReview body: (required) :param str pretty: If 'true', then the output is pretty printed. - :return: V1SubjectAccessReview + :return: V1SelfSubjectRulesReview If the method is called asynchronously, returns the request thread. """ - all_params = ['body', 'namespace', 'pretty'] + all_params = ['body', 'pretty'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -1797,24 +1781,19 @@ def create_authorization_openshift_io_v1_namespaced_subject_access_review_with_h if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method create_authorization_openshift_io_v1_namespaced_subject_access_review" % key + " to method create_self_subject_rules_review_for_all_namespaces" % key ) params[key] = val del params['kwargs'] # verify the required parameter 'body' is set if ('body' not in params) or (params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `create_authorization_openshift_io_v1_namespaced_subject_access_review`") - # verify the required parameter 'namespace' is set - if ('namespace' not in params) or (params['namespace'] is None): - raise ValueError("Missing the required parameter `namespace` when calling `create_authorization_openshift_io_v1_namespaced_subject_access_review`") + raise ValueError("Missing the required parameter `body` when calling `create_self_subject_rules_review_for_all_namespaces`") collection_formats = {} - resource_path = '/apis/authorization.openshift.io/v1/namespaces/{namespace}/subjectaccessreviews'.replace('{format}', 'json') + resource_path = '/apis/authorization.openshift.io/v1/selfsubjectrulesreviews'.replace('{format}', 'json') path_params = {} - if 'namespace' in params: - path_params['namespace'] = params['namespace'] query_params = {} if 'pretty' in params: @@ -1837,7 +1816,7 @@ def create_authorization_openshift_io_v1_namespaced_subject_access_review_with_h select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'POST', path_params, @@ -1846,7 +1825,7 @@ def create_authorization_openshift_io_v1_namespaced_subject_access_review_with_h body=body_params, post_params=form_params, files=local_var_files, - response_type='V1SubjectAccessReview', + response_type='V1SelfSubjectRulesReview', auth_settings=auth_settings, callback=params.get('callback'), _return_http_data_only=params.get('_return_http_data_only'), @@ -1854,55 +1833,53 @@ def create_authorization_openshift_io_v1_namespaced_subject_access_review_with_h _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def create_authorization_openshift_io_v1_namespaced_subject_rules_review(self, body, namespace, **kwargs): + def create_subject_access_review(self, body, **kwargs): """ - create a SubjectRulesReview + create a SubjectAccessReview This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.create_authorization_openshift_io_v1_namespaced_subject_rules_review(body, namespace, callback=callback_function) + >>> thread = api.create_subject_access_review(body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) - :param V1SubjectRulesReview body: (required) - :param str namespace: object name and auth scope, such as for teams and projects (required) + :param V1SubjectAccessReview body: (required) :param str pretty: If 'true', then the output is pretty printed. - :return: V1SubjectRulesReview + :return: V1SubjectAccessReview If the method is called asynchronously, returns the request thread. """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.create_authorization_openshift_io_v1_namespaced_subject_rules_review_with_http_info(body, namespace, **kwargs) + return self.create_subject_access_review_with_http_info(body, **kwargs) else: - (data) = self.create_authorization_openshift_io_v1_namespaced_subject_rules_review_with_http_info(body, namespace, **kwargs) + (data) = self.create_subject_access_review_with_http_info(body, **kwargs) return data - def create_authorization_openshift_io_v1_namespaced_subject_rules_review_with_http_info(self, body, namespace, **kwargs): + def create_subject_access_review_with_http_info(self, body, **kwargs): """ - create a SubjectRulesReview + create a SubjectAccessReview This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.create_authorization_openshift_io_v1_namespaced_subject_rules_review_with_http_info(body, namespace, callback=callback_function) + >>> thread = api.create_subject_access_review_with_http_info(body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) - :param V1SubjectRulesReview body: (required) - :param str namespace: object name and auth scope, such as for teams and projects (required) + :param V1SubjectAccessReview body: (required) :param str pretty: If 'true', then the output is pretty printed. - :return: V1SubjectRulesReview + :return: V1SubjectAccessReview If the method is called asynchronously, returns the request thread. """ - all_params = ['body', 'namespace', 'pretty'] + all_params = ['body', 'pretty'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -1913,24 +1890,19 @@ def create_authorization_openshift_io_v1_namespaced_subject_rules_review_with_ht if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method create_authorization_openshift_io_v1_namespaced_subject_rules_review" % key + " to method create_subject_access_review" % key ) params[key] = val del params['kwargs'] # verify the required parameter 'body' is set if ('body' not in params) or (params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `create_authorization_openshift_io_v1_namespaced_subject_rules_review`") - # verify the required parameter 'namespace' is set - if ('namespace' not in params) or (params['namespace'] is None): - raise ValueError("Missing the required parameter `namespace` when calling `create_authorization_openshift_io_v1_namespaced_subject_rules_review`") + raise ValueError("Missing the required parameter `body` when calling `create_subject_access_review`") collection_formats = {} - resource_path = '/apis/authorization.openshift.io/v1/namespaces/{namespace}/subjectrulesreviews'.replace('{format}', 'json') + resource_path = '/apis/authorization.openshift.io/v1/subjectaccessreviews'.replace('{format}', 'json') path_params = {} - if 'namespace' in params: - path_params['namespace'] = params['namespace'] query_params = {} if 'pretty' in params: @@ -1953,7 +1925,7 @@ def create_authorization_openshift_io_v1_namespaced_subject_rules_review_with_ht select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'POST', path_params, @@ -1962,7 +1934,7 @@ def create_authorization_openshift_io_v1_namespaced_subject_rules_review_with_ht body=body_params, post_params=form_params, files=local_var_files, - response_type='V1SubjectRulesReview', + response_type='V1SubjectAccessReview', auth_settings=auth_settings, callback=params.get('callback'), _return_http_data_only=params.get('_return_http_data_only'), @@ -1970,48 +1942,48 @@ def create_authorization_openshift_io_v1_namespaced_subject_rules_review_with_ht _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def create_authorization_openshift_io_v1_policy_binding_for_all_namespaces(self, body, **kwargs): + def create_subject_rules_review_for_all_namespaces(self, body, **kwargs): """ - create a PolicyBinding + create a SubjectRulesReview This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.create_authorization_openshift_io_v1_policy_binding_for_all_namespaces(body, callback=callback_function) + >>> thread = api.create_subject_rules_review_for_all_namespaces(body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) - :param V1PolicyBinding body: (required) + :param V1SubjectRulesReview body: (required) :param str pretty: If 'true', then the output is pretty printed. - :return: V1PolicyBinding + :return: V1SubjectRulesReview If the method is called asynchronously, returns the request thread. """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.create_authorization_openshift_io_v1_policy_binding_for_all_namespaces_with_http_info(body, **kwargs) + return self.create_subject_rules_review_for_all_namespaces_with_http_info(body, **kwargs) else: - (data) = self.create_authorization_openshift_io_v1_policy_binding_for_all_namespaces_with_http_info(body, **kwargs) + (data) = self.create_subject_rules_review_for_all_namespaces_with_http_info(body, **kwargs) return data - def create_authorization_openshift_io_v1_policy_binding_for_all_namespaces_with_http_info(self, body, **kwargs): + def create_subject_rules_review_for_all_namespaces_with_http_info(self, body, **kwargs): """ - create a PolicyBinding + create a SubjectRulesReview This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.create_authorization_openshift_io_v1_policy_binding_for_all_namespaces_with_http_info(body, callback=callback_function) + >>> thread = api.create_subject_rules_review_for_all_namespaces_with_http_info(body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) - :param V1PolicyBinding body: (required) + :param V1SubjectRulesReview body: (required) :param str pretty: If 'true', then the output is pretty printed. - :return: V1PolicyBinding + :return: V1SubjectRulesReview If the method is called asynchronously, returns the request thread. """ @@ -2027,18 +1999,18 @@ def create_authorization_openshift_io_v1_policy_binding_for_all_namespaces_with_ if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method create_authorization_openshift_io_v1_policy_binding_for_all_namespaces" % key + " to method create_subject_rules_review_for_all_namespaces" % key ) params[key] = val del params['kwargs'] # verify the required parameter 'body' is set if ('body' not in params) or (params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `create_authorization_openshift_io_v1_policy_binding_for_all_namespaces`") + raise ValueError("Missing the required parameter `body` when calling `create_subject_rules_review_for_all_namespaces`") collection_formats = {} - resource_path = '/apis/authorization.openshift.io/v1/policybindings'.replace('{format}', 'json') + resource_path = '/apis/authorization.openshift.io/v1/subjectrulesreviews'.replace('{format}', 'json') path_params = {} query_params = {} @@ -2062,7 +2034,7 @@ def create_authorization_openshift_io_v1_policy_binding_for_all_namespaces_with_ select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'POST', path_params, @@ -2071,7 +2043,7 @@ def create_authorization_openshift_io_v1_policy_binding_for_all_namespaces_with_ body=body_params, post_params=form_params, files=local_var_files, - response_type='V1PolicyBinding', + response_type='V1SubjectRulesReview', auth_settings=auth_settings, callback=params.get('callback'), _return_http_data_only=params.get('_return_http_data_only'), @@ -2079,53 +2051,61 @@ def create_authorization_openshift_io_v1_policy_binding_for_all_namespaces_with_ _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def create_authorization_openshift_io_v1_policy_for_all_namespaces(self, body, **kwargs): + def delete_cluster_role(self, name, body, **kwargs): """ - create a Policy + delete a ClusterRole This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.create_authorization_openshift_io_v1_policy_for_all_namespaces(body, callback=callback_function) + >>> thread = api.delete_cluster_role(name, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) - :param V1Policy body: (required) + :param str name: name of the ClusterRole (required) + :param V1DeleteOptions body: (required) :param str pretty: If 'true', then the output is pretty printed. - :return: V1Policy + :param int grace_period_seconds: 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. + :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. + :param str propagation_policy: Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. + :return: V1Status If the method is called asynchronously, returns the request thread. """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.create_authorization_openshift_io_v1_policy_for_all_namespaces_with_http_info(body, **kwargs) + return self.delete_cluster_role_with_http_info(name, body, **kwargs) else: - (data) = self.create_authorization_openshift_io_v1_policy_for_all_namespaces_with_http_info(body, **kwargs) + (data) = self.delete_cluster_role_with_http_info(name, body, **kwargs) return data - def create_authorization_openshift_io_v1_policy_for_all_namespaces_with_http_info(self, body, **kwargs): + def delete_cluster_role_with_http_info(self, name, body, **kwargs): """ - create a Policy + delete a ClusterRole This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.create_authorization_openshift_io_v1_policy_for_all_namespaces_with_http_info(body, callback=callback_function) + >>> thread = api.delete_cluster_role_with_http_info(name, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) - :param V1Policy body: (required) + :param str name: name of the ClusterRole (required) + :param V1DeleteOptions body: (required) :param str pretty: If 'true', then the output is pretty printed. - :return: V1Policy + :param int grace_period_seconds: 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. + :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. + :param str propagation_policy: Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. + :return: V1Status If the method is called asynchronously, returns the request thread. """ - all_params = ['body', 'pretty'] + all_params = ['name', 'body', 'pretty', 'grace_period_seconds', 'orphan_dependents', 'propagation_policy'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -2136,23 +2116,34 @@ def create_authorization_openshift_io_v1_policy_for_all_namespaces_with_http_inf if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method create_authorization_openshift_io_v1_policy_for_all_namespaces" % key + " to method delete_cluster_role" % key ) params[key] = val del params['kwargs'] + # verify the required parameter 'name' is set + if ('name' not in params) or (params['name'] is None): + raise ValueError("Missing the required parameter `name` when calling `delete_cluster_role`") # verify the required parameter 'body' is set if ('body' not in params) or (params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `create_authorization_openshift_io_v1_policy_for_all_namespaces`") + raise ValueError("Missing the required parameter `body` when calling `delete_cluster_role`") collection_formats = {} - resource_path = '/apis/authorization.openshift.io/v1/policies'.replace('{format}', 'json') + resource_path = '/apis/authorization.openshift.io/v1/clusterroles/{name}'.replace('{format}', 'json') path_params = {} + if 'name' in params: + path_params['name'] = params['name'] query_params = {} if 'pretty' in params: query_params['pretty'] = params['pretty'] + if 'grace_period_seconds' in params: + query_params['gracePeriodSeconds'] = params['grace_period_seconds'] + if 'orphan_dependents' in params: + query_params['orphanDependents'] = params['orphan_dependents'] + if 'propagation_policy' in params: + query_params['propagationPolicy'] = params['propagation_policy'] header_params = {} @@ -2171,16 +2162,16 @@ def create_authorization_openshift_io_v1_policy_for_all_namespaces_with_http_inf select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] - return self.api_client.call_api(resource_path, 'POST', + return self.api_client.call_api(resource_path, 'DELETE', path_params, query_params, header_params, body=body_params, post_params=form_params, files=local_var_files, - response_type='V1Policy', + response_type='V1Status', auth_settings=auth_settings, callback=params.get('callback'), _return_http_data_only=params.get('_return_http_data_only'), @@ -2188,53 +2179,61 @@ def create_authorization_openshift_io_v1_policy_for_all_namespaces_with_http_inf _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def create_authorization_openshift_io_v1_resource_access_review_for_all_namespaces(self, body, **kwargs): + def delete_cluster_role_binding(self, name, body, **kwargs): """ - create a ResourceAccessReview + delete a ClusterRoleBinding This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.create_authorization_openshift_io_v1_resource_access_review_for_all_namespaces(body, callback=callback_function) + >>> thread = api.delete_cluster_role_binding(name, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) - :param V1ResourceAccessReview body: (required) + :param str name: name of the ClusterRoleBinding (required) + :param V1DeleteOptions body: (required) :param str pretty: If 'true', then the output is pretty printed. - :return: V1ResourceAccessReview + :param int grace_period_seconds: 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. + :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. + :param str propagation_policy: Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. + :return: V1Status If the method is called asynchronously, returns the request thread. """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.create_authorization_openshift_io_v1_resource_access_review_for_all_namespaces_with_http_info(body, **kwargs) + return self.delete_cluster_role_binding_with_http_info(name, body, **kwargs) else: - (data) = self.create_authorization_openshift_io_v1_resource_access_review_for_all_namespaces_with_http_info(body, **kwargs) + (data) = self.delete_cluster_role_binding_with_http_info(name, body, **kwargs) return data - def create_authorization_openshift_io_v1_resource_access_review_for_all_namespaces_with_http_info(self, body, **kwargs): + def delete_cluster_role_binding_with_http_info(self, name, body, **kwargs): """ - create a ResourceAccessReview + delete a ClusterRoleBinding This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.create_authorization_openshift_io_v1_resource_access_review_for_all_namespaces_with_http_info(body, callback=callback_function) + >>> thread = api.delete_cluster_role_binding_with_http_info(name, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) - :param V1ResourceAccessReview body: (required) + :param str name: name of the ClusterRoleBinding (required) + :param V1DeleteOptions body: (required) :param str pretty: If 'true', then the output is pretty printed. - :return: V1ResourceAccessReview + :param int grace_period_seconds: 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. + :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. + :param str propagation_policy: Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. + :return: V1Status If the method is called asynchronously, returns the request thread. """ - all_params = ['body', 'pretty'] + all_params = ['name', 'body', 'pretty', 'grace_period_seconds', 'orphan_dependents', 'propagation_policy'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -2245,23 +2244,34 @@ def create_authorization_openshift_io_v1_resource_access_review_for_all_namespac if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method create_authorization_openshift_io_v1_resource_access_review_for_all_namespaces" % key + " to method delete_cluster_role_binding" % key ) params[key] = val del params['kwargs'] + # verify the required parameter 'name' is set + if ('name' not in params) or (params['name'] is None): + raise ValueError("Missing the required parameter `name` when calling `delete_cluster_role_binding`") # verify the required parameter 'body' is set if ('body' not in params) or (params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `create_authorization_openshift_io_v1_resource_access_review_for_all_namespaces`") + raise ValueError("Missing the required parameter `body` when calling `delete_cluster_role_binding`") collection_formats = {} - resource_path = '/apis/authorization.openshift.io/v1/resourceaccessreviews'.replace('{format}', 'json') + resource_path = '/apis/authorization.openshift.io/v1/clusterrolebindings/{name}'.replace('{format}', 'json') path_params = {} + if 'name' in params: + path_params['name'] = params['name'] query_params = {} if 'pretty' in params: query_params['pretty'] = params['pretty'] + if 'grace_period_seconds' in params: + query_params['gracePeriodSeconds'] = params['grace_period_seconds'] + if 'orphan_dependents' in params: + query_params['orphanDependents'] = params['orphan_dependents'] + if 'propagation_policy' in params: + query_params['propagationPolicy'] = params['propagation_policy'] header_params = {} @@ -2280,16 +2290,16 @@ def create_authorization_openshift_io_v1_resource_access_review_for_all_namespac select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] - return self.api_client.call_api(resource_path, 'POST', + return self.api_client.call_api(resource_path, 'DELETE', path_params, query_params, header_params, body=body_params, post_params=form_params, files=local_var_files, - response_type='V1ResourceAccessReview', + response_type='V1Status', auth_settings=auth_settings, callback=params.get('callback'), _return_http_data_only=params.get('_return_http_data_only'), @@ -2297,53 +2307,65 @@ def create_authorization_openshift_io_v1_resource_access_review_for_all_namespac _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def create_authorization_openshift_io_v1_role_binding_for_all_namespaces(self, body, **kwargs): + def delete_collection_namespaced_role_binding_restriction(self, namespace, **kwargs): """ - create a RoleBinding + delete collection of RoleBindingRestriction This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.create_authorization_openshift_io_v1_role_binding_for_all_namespaces(body, callback=callback_function) + >>> thread = api.delete_collection_namespaced_role_binding_restriction(namespace, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) - :param V1RoleBinding body: (required) + :param str namespace: object name and auth scope, such as for teams and projects (required) :param str pretty: If 'true', then the output is pretty printed. - :return: V1RoleBinding + :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param bool include_uninitialized: If true, partially initialized resources are included in the response. + :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. + :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. + :param int timeout_seconds: Timeout for the list/watch call. + :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + :return: V1Status If the method is called asynchronously, returns the request thread. """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.create_authorization_openshift_io_v1_role_binding_for_all_namespaces_with_http_info(body, **kwargs) + return self.delete_collection_namespaced_role_binding_restriction_with_http_info(namespace, **kwargs) else: - (data) = self.create_authorization_openshift_io_v1_role_binding_for_all_namespaces_with_http_info(body, **kwargs) + (data) = self.delete_collection_namespaced_role_binding_restriction_with_http_info(namespace, **kwargs) return data - def create_authorization_openshift_io_v1_role_binding_for_all_namespaces_with_http_info(self, body, **kwargs): + def delete_collection_namespaced_role_binding_restriction_with_http_info(self, namespace, **kwargs): """ - create a RoleBinding + delete collection of RoleBindingRestriction This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.create_authorization_openshift_io_v1_role_binding_for_all_namespaces_with_http_info(body, callback=callback_function) + >>> thread = api.delete_collection_namespaced_role_binding_restriction_with_http_info(namespace, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) - :param V1RoleBinding body: (required) + :param str namespace: object name and auth scope, such as for teams and projects (required) :param str pretty: If 'true', then the output is pretty printed. - :return: V1RoleBinding + :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param bool include_uninitialized: If true, partially initialized resources are included in the response. + :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. + :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. + :param int timeout_seconds: Timeout for the list/watch call. + :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + :return: V1Status If the method is called asynchronously, returns the request thread. """ - all_params = ['body', 'pretty'] + all_params = ['namespace', 'pretty', 'field_selector', 'include_uninitialized', 'label_selector', 'resource_version', 'timeout_seconds', 'watch'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -2354,23 +2376,37 @@ def create_authorization_openshift_io_v1_role_binding_for_all_namespaces_with_ht if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method create_authorization_openshift_io_v1_role_binding_for_all_namespaces" % key + " to method delete_collection_namespaced_role_binding_restriction" % key ) params[key] = val del params['kwargs'] - # verify the required parameter 'body' is set - if ('body' not in params) or (params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `create_authorization_openshift_io_v1_role_binding_for_all_namespaces`") + # verify the required parameter 'namespace' is set + if ('namespace' not in params) or (params['namespace'] is None): + raise ValueError("Missing the required parameter `namespace` when calling `delete_collection_namespaced_role_binding_restriction`") collection_formats = {} - resource_path = '/apis/authorization.openshift.io/v1/rolebindings'.replace('{format}', 'json') + resource_path = '/apis/authorization.openshift.io/v1/namespaces/{namespace}/rolebindingrestrictions'.replace('{format}', 'json') path_params = {} + if 'namespace' in params: + path_params['namespace'] = params['namespace'] query_params = {} if 'pretty' in params: query_params['pretty'] = params['pretty'] + if 'field_selector' in params: + query_params['fieldSelector'] = params['field_selector'] + if 'include_uninitialized' in params: + query_params['includeUninitialized'] = params['include_uninitialized'] + if 'label_selector' in params: + query_params['labelSelector'] = params['label_selector'] + if 'resource_version' in params: + query_params['resourceVersion'] = params['resource_version'] + if 'timeout_seconds' in params: + query_params['timeoutSeconds'] = params['timeout_seconds'] + if 'watch' in params: + query_params['watch'] = params['watch'] header_params = {} @@ -2378,8 +2414,6 @@ def create_authorization_openshift_io_v1_role_binding_for_all_namespaces_with_ht local_var_files = {} body_params = None - if 'body' in params: - body_params = params['body'] # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) @@ -2389,16 +2423,16 @@ def create_authorization_openshift_io_v1_role_binding_for_all_namespaces_with_ht select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] - return self.api_client.call_api(resource_path, 'POST', + return self.api_client.call_api(resource_path, 'DELETE', path_params, query_params, header_params, body=body_params, post_params=form_params, files=local_var_files, - response_type='V1RoleBinding', + response_type='V1Status', auth_settings=auth_settings, callback=params.get('callback'), _return_http_data_only=params.get('_return_http_data_only'), @@ -2406,53 +2440,63 @@ def create_authorization_openshift_io_v1_role_binding_for_all_namespaces_with_ht _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def create_authorization_openshift_io_v1_role_binding_restriction_for_all_namespaces(self, body, **kwargs): + def delete_namespaced_role(self, name, namespace, body, **kwargs): """ - create a RoleBindingRestriction + delete a Role This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.create_authorization_openshift_io_v1_role_binding_restriction_for_all_namespaces(body, callback=callback_function) + >>> thread = api.delete_namespaced_role(name, namespace, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) - :param V1RoleBindingRestriction body: (required) + :param str name: name of the Role (required) + :param str namespace: object name and auth scope, such as for teams and projects (required) + :param V1DeleteOptions body: (required) :param str pretty: If 'true', then the output is pretty printed. - :return: V1RoleBindingRestriction + :param int grace_period_seconds: 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. + :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. + :param str propagation_policy: Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. + :return: V1Status If the method is called asynchronously, returns the request thread. """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.create_authorization_openshift_io_v1_role_binding_restriction_for_all_namespaces_with_http_info(body, **kwargs) + return self.delete_namespaced_role_with_http_info(name, namespace, body, **kwargs) else: - (data) = self.create_authorization_openshift_io_v1_role_binding_restriction_for_all_namespaces_with_http_info(body, **kwargs) + (data) = self.delete_namespaced_role_with_http_info(name, namespace, body, **kwargs) return data - def create_authorization_openshift_io_v1_role_binding_restriction_for_all_namespaces_with_http_info(self, body, **kwargs): + def delete_namespaced_role_with_http_info(self, name, namespace, body, **kwargs): """ - create a RoleBindingRestriction + delete a Role This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.create_authorization_openshift_io_v1_role_binding_restriction_for_all_namespaces_with_http_info(body, callback=callback_function) + >>> thread = api.delete_namespaced_role_with_http_info(name, namespace, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) - :param V1RoleBindingRestriction body: (required) + :param str name: name of the Role (required) + :param str namespace: object name and auth scope, such as for teams and projects (required) + :param V1DeleteOptions body: (required) :param str pretty: If 'true', then the output is pretty printed. - :return: V1RoleBindingRestriction + :param int grace_period_seconds: 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. + :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. + :param str propagation_policy: Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. + :return: V1Status If the method is called asynchronously, returns the request thread. """ - all_params = ['body', 'pretty'] + all_params = ['name', 'namespace', 'body', 'pretty', 'grace_period_seconds', 'orphan_dependents', 'propagation_policy'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -2463,23 +2507,39 @@ def create_authorization_openshift_io_v1_role_binding_restriction_for_all_namesp if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method create_authorization_openshift_io_v1_role_binding_restriction_for_all_namespaces" % key + " to method delete_namespaced_role" % key ) params[key] = val del params['kwargs'] + # verify the required parameter 'name' is set + if ('name' not in params) or (params['name'] is None): + raise ValueError("Missing the required parameter `name` when calling `delete_namespaced_role`") + # verify the required parameter 'namespace' is set + if ('namespace' not in params) or (params['namespace'] is None): + raise ValueError("Missing the required parameter `namespace` when calling `delete_namespaced_role`") # verify the required parameter 'body' is set if ('body' not in params) or (params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `create_authorization_openshift_io_v1_role_binding_restriction_for_all_namespaces`") + raise ValueError("Missing the required parameter `body` when calling `delete_namespaced_role`") collection_formats = {} - resource_path = '/apis/authorization.openshift.io/v1/rolebindingrestrictions'.replace('{format}', 'json') + resource_path = '/apis/authorization.openshift.io/v1/namespaces/{namespace}/roles/{name}'.replace('{format}', 'json') path_params = {} + if 'name' in params: + path_params['name'] = params['name'] + if 'namespace' in params: + path_params['namespace'] = params['namespace'] query_params = {} if 'pretty' in params: query_params['pretty'] = params['pretty'] + if 'grace_period_seconds' in params: + query_params['gracePeriodSeconds'] = params['grace_period_seconds'] + if 'orphan_dependents' in params: + query_params['orphanDependents'] = params['orphan_dependents'] + if 'propagation_policy' in params: + query_params['propagationPolicy'] = params['propagation_policy'] header_params = {} @@ -2498,16 +2558,16 @@ def create_authorization_openshift_io_v1_role_binding_restriction_for_all_namesp select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] - return self.api_client.call_api(resource_path, 'POST', + return self.api_client.call_api(resource_path, 'DELETE', path_params, query_params, header_params, body=body_params, post_params=form_params, files=local_var_files, - response_type='V1RoleBindingRestriction', + response_type='V1Status', auth_settings=auth_settings, callback=params.get('callback'), _return_http_data_only=params.get('_return_http_data_only'), @@ -2515,53 +2575,63 @@ def create_authorization_openshift_io_v1_role_binding_restriction_for_all_namesp _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def create_authorization_openshift_io_v1_role_for_all_namespaces(self, body, **kwargs): + def delete_namespaced_role_binding(self, name, namespace, body, **kwargs): """ - create a Role + delete a RoleBinding This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.create_authorization_openshift_io_v1_role_for_all_namespaces(body, callback=callback_function) + >>> thread = api.delete_namespaced_role_binding(name, namespace, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) - :param V1Role body: (required) + :param str name: name of the RoleBinding (required) + :param str namespace: object name and auth scope, such as for teams and projects (required) + :param V1DeleteOptions body: (required) :param str pretty: If 'true', then the output is pretty printed. - :return: V1Role + :param int grace_period_seconds: 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. + :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. + :param str propagation_policy: Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. + :return: V1Status If the method is called asynchronously, returns the request thread. """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.create_authorization_openshift_io_v1_role_for_all_namespaces_with_http_info(body, **kwargs) + return self.delete_namespaced_role_binding_with_http_info(name, namespace, body, **kwargs) else: - (data) = self.create_authorization_openshift_io_v1_role_for_all_namespaces_with_http_info(body, **kwargs) + (data) = self.delete_namespaced_role_binding_with_http_info(name, namespace, body, **kwargs) return data - def create_authorization_openshift_io_v1_role_for_all_namespaces_with_http_info(self, body, **kwargs): + def delete_namespaced_role_binding_with_http_info(self, name, namespace, body, **kwargs): """ - create a Role + delete a RoleBinding This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.create_authorization_openshift_io_v1_role_for_all_namespaces_with_http_info(body, callback=callback_function) + >>> thread = api.delete_namespaced_role_binding_with_http_info(name, namespace, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) - :param V1Role body: (required) + :param str name: name of the RoleBinding (required) + :param str namespace: object name and auth scope, such as for teams and projects (required) + :param V1DeleteOptions body: (required) :param str pretty: If 'true', then the output is pretty printed. - :return: V1Role + :param int grace_period_seconds: 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. + :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. + :param str propagation_policy: Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. + :return: V1Status If the method is called asynchronously, returns the request thread. """ - all_params = ['body', 'pretty'] + all_params = ['name', 'namespace', 'body', 'pretty', 'grace_period_seconds', 'orphan_dependents', 'propagation_policy'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -2572,23 +2642,39 @@ def create_authorization_openshift_io_v1_role_for_all_namespaces_with_http_info( if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method create_authorization_openshift_io_v1_role_for_all_namespaces" % key + " to method delete_namespaced_role_binding" % key ) params[key] = val del params['kwargs'] + # verify the required parameter 'name' is set + if ('name' not in params) or (params['name'] is None): + raise ValueError("Missing the required parameter `name` when calling `delete_namespaced_role_binding`") + # verify the required parameter 'namespace' is set + if ('namespace' not in params) or (params['namespace'] is None): + raise ValueError("Missing the required parameter `namespace` when calling `delete_namespaced_role_binding`") # verify the required parameter 'body' is set if ('body' not in params) or (params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `create_authorization_openshift_io_v1_role_for_all_namespaces`") + raise ValueError("Missing the required parameter `body` when calling `delete_namespaced_role_binding`") collection_formats = {} - resource_path = '/apis/authorization.openshift.io/v1/roles'.replace('{format}', 'json') + resource_path = '/apis/authorization.openshift.io/v1/namespaces/{namespace}/rolebindings/{name}'.replace('{format}', 'json') path_params = {} + if 'name' in params: + path_params['name'] = params['name'] + if 'namespace' in params: + path_params['namespace'] = params['namespace'] query_params = {} if 'pretty' in params: query_params['pretty'] = params['pretty'] + if 'grace_period_seconds' in params: + query_params['gracePeriodSeconds'] = params['grace_period_seconds'] + if 'orphan_dependents' in params: + query_params['orphanDependents'] = params['orphan_dependents'] + if 'propagation_policy' in params: + query_params['propagationPolicy'] = params['propagation_policy'] header_params = {} @@ -2607,16 +2693,16 @@ def create_authorization_openshift_io_v1_role_for_all_namespaces_with_http_info( select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] - return self.api_client.call_api(resource_path, 'POST', + return self.api_client.call_api(resource_path, 'DELETE', path_params, query_params, header_params, body=body_params, post_params=form_params, files=local_var_files, - response_type='V1Role', + response_type='V1Status', auth_settings=auth_settings, callback=params.get('callback'), _return_http_data_only=params.get('_return_http_data_only'), @@ -2624,53 +2710,63 @@ def create_authorization_openshift_io_v1_role_for_all_namespaces_with_http_info( _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def create_authorization_openshift_io_v1_self_subject_rules_review_for_all_namespaces(self, body, **kwargs): + def delete_namespaced_role_binding_restriction(self, name, namespace, body, **kwargs): """ - create a SelfSubjectRulesReview + delete a RoleBindingRestriction This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.create_authorization_openshift_io_v1_self_subject_rules_review_for_all_namespaces(body, callback=callback_function) + >>> thread = api.delete_namespaced_role_binding_restriction(name, namespace, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) - :param V1SelfSubjectRulesReview body: (required) + :param str name: name of the RoleBindingRestriction (required) + :param str namespace: object name and auth scope, such as for teams and projects (required) + :param V1DeleteOptions body: (required) :param str pretty: If 'true', then the output is pretty printed. - :return: V1SelfSubjectRulesReview + :param int grace_period_seconds: 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. + :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. + :param str propagation_policy: Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. + :return: V1Status If the method is called asynchronously, returns the request thread. """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.create_authorization_openshift_io_v1_self_subject_rules_review_for_all_namespaces_with_http_info(body, **kwargs) + return self.delete_namespaced_role_binding_restriction_with_http_info(name, namespace, body, **kwargs) else: - (data) = self.create_authorization_openshift_io_v1_self_subject_rules_review_for_all_namespaces_with_http_info(body, **kwargs) + (data) = self.delete_namespaced_role_binding_restriction_with_http_info(name, namespace, body, **kwargs) return data - def create_authorization_openshift_io_v1_self_subject_rules_review_for_all_namespaces_with_http_info(self, body, **kwargs): + def delete_namespaced_role_binding_restriction_with_http_info(self, name, namespace, body, **kwargs): """ - create a SelfSubjectRulesReview + delete a RoleBindingRestriction This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.create_authorization_openshift_io_v1_self_subject_rules_review_for_all_namespaces_with_http_info(body, callback=callback_function) + >>> thread = api.delete_namespaced_role_binding_restriction_with_http_info(name, namespace, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) - :param V1SelfSubjectRulesReview body: (required) + :param str name: name of the RoleBindingRestriction (required) + :param str namespace: object name and auth scope, such as for teams and projects (required) + :param V1DeleteOptions body: (required) :param str pretty: If 'true', then the output is pretty printed. - :return: V1SelfSubjectRulesReview + :param int grace_period_seconds: 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. + :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. + :param str propagation_policy: Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. + :return: V1Status If the method is called asynchronously, returns the request thread. """ - all_params = ['body', 'pretty'] + all_params = ['name', 'namespace', 'body', 'pretty', 'grace_period_seconds', 'orphan_dependents', 'propagation_policy'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -2681,23 +2777,39 @@ def create_authorization_openshift_io_v1_self_subject_rules_review_for_all_names if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method create_authorization_openshift_io_v1_self_subject_rules_review_for_all_namespaces" % key + " to method delete_namespaced_role_binding_restriction" % key ) params[key] = val del params['kwargs'] + # verify the required parameter 'name' is set + if ('name' not in params) or (params['name'] is None): + raise ValueError("Missing the required parameter `name` when calling `delete_namespaced_role_binding_restriction`") + # verify the required parameter 'namespace' is set + if ('namespace' not in params) or (params['namespace'] is None): + raise ValueError("Missing the required parameter `namespace` when calling `delete_namespaced_role_binding_restriction`") # verify the required parameter 'body' is set if ('body' not in params) or (params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `create_authorization_openshift_io_v1_self_subject_rules_review_for_all_namespaces`") + raise ValueError("Missing the required parameter `body` when calling `delete_namespaced_role_binding_restriction`") collection_formats = {} - resource_path = '/apis/authorization.openshift.io/v1/selfsubjectrulesreviews'.replace('{format}', 'json') + resource_path = '/apis/authorization.openshift.io/v1/namespaces/{namespace}/rolebindingrestrictions/{name}'.replace('{format}', 'json') path_params = {} + if 'name' in params: + path_params['name'] = params['name'] + if 'namespace' in params: + path_params['namespace'] = params['namespace'] query_params = {} if 'pretty' in params: query_params['pretty'] = params['pretty'] + if 'grace_period_seconds' in params: + query_params['gracePeriodSeconds'] = params['grace_period_seconds'] + if 'orphan_dependents' in params: + query_params['orphanDependents'] = params['orphan_dependents'] + if 'propagation_policy' in params: + query_params['propagationPolicy'] = params['propagation_policy'] header_params = {} @@ -2716,16 +2828,16 @@ def create_authorization_openshift_io_v1_self_subject_rules_review_for_all_names select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] - return self.api_client.call_api(resource_path, 'POST', + return self.api_client.call_api(resource_path, 'DELETE', path_params, query_params, header_params, body=body_params, post_params=form_params, files=local_var_files, - response_type='V1SelfSubjectRulesReview', + response_type='V1Status', auth_settings=auth_settings, callback=params.get('callback'), _return_http_data_only=params.get('_return_http_data_only'), @@ -2733,53 +2845,49 @@ def create_authorization_openshift_io_v1_self_subject_rules_review_for_all_names _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def create_authorization_openshift_io_v1_subject_access_review_for_all_namespaces(self, body, **kwargs): + def get_api_resources(self, **kwargs): """ - create a SubjectAccessReview + get available resources This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.create_authorization_openshift_io_v1_subject_access_review_for_all_namespaces(body, callback=callback_function) + >>> thread = api.get_api_resources(callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) - :param V1SubjectAccessReview body: (required) - :param str pretty: If 'true', then the output is pretty printed. - :return: V1SubjectAccessReview + :return: V1APIResourceList If the method is called asynchronously, returns the request thread. """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.create_authorization_openshift_io_v1_subject_access_review_for_all_namespaces_with_http_info(body, **kwargs) + return self.get_api_resources_with_http_info(**kwargs) else: - (data) = self.create_authorization_openshift_io_v1_subject_access_review_for_all_namespaces_with_http_info(body, **kwargs) + (data) = self.get_api_resources_with_http_info(**kwargs) return data - def create_authorization_openshift_io_v1_subject_access_review_for_all_namespaces_with_http_info(self, body, **kwargs): + def get_api_resources_with_http_info(self, **kwargs): """ - create a SubjectAccessReview + get available resources This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.create_authorization_openshift_io_v1_subject_access_review_for_all_namespaces_with_http_info(body, callback=callback_function) + >>> thread = api.get_api_resources_with_http_info(callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) - :param V1SubjectAccessReview body: (required) - :param str pretty: If 'true', then the output is pretty printed. - :return: V1SubjectAccessReview + :return: V1APIResourceList If the method is called asynchronously, returns the request thread. """ - all_params = ['body', 'pretty'] + all_params = [] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -2790,23 +2898,17 @@ def create_authorization_openshift_io_v1_subject_access_review_for_all_namespace if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method create_authorization_openshift_io_v1_subject_access_review_for_all_namespaces" % key + " to method get_api_resources" % key ) params[key] = val del params['kwargs'] - # verify the required parameter 'body' is set - if ('body' not in params) or (params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `create_authorization_openshift_io_v1_subject_access_review_for_all_namespaces`") - collection_formats = {} - resource_path = '/apis/authorization.openshift.io/v1/subjectaccessreviews'.replace('{format}', 'json') + resource_path = '/apis/authorization.openshift.io/v1/'.replace('{format}', 'json') path_params = {} query_params = {} - if 'pretty' in params: - query_params['pretty'] = params['pretty'] header_params = {} @@ -2814,27 +2916,25 @@ def create_authorization_openshift_io_v1_subject_access_review_for_all_namespace local_var_files = {} body_params = None - if 'body' in params: - body_params = params['body'] # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ - select_header_content_type(['*/*']) + select_header_content_type(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] - return self.api_client.call_api(resource_path, 'POST', + return self.api_client.call_api(resource_path, 'GET', path_params, query_params, header_params, body=body_params, post_params=form_params, files=local_var_files, - response_type='V1SubjectAccessReview', + response_type='V1APIResourceList', auth_settings=auth_settings, callback=params.get('callback'), _return_http_data_only=params.get('_return_http_data_only'), @@ -2842,53 +2942,63 @@ def create_authorization_openshift_io_v1_subject_access_review_for_all_namespace _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def create_authorization_openshift_io_v1_subject_rules_review_for_all_namespaces(self, body, **kwargs): + def list_cluster_role(self, **kwargs): """ - create a SubjectRulesReview + list objects of kind ClusterRole This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.create_authorization_openshift_io_v1_subject_rules_review_for_all_namespaces(body, callback=callback_function) + >>> thread = api.list_cluster_role(callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) - :param V1SubjectRulesReview body: (required) :param str pretty: If 'true', then the output is pretty printed. - :return: V1SubjectRulesReview + :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param bool include_uninitialized: If true, partially initialized resources are included in the response. + :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. + :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. + :param int timeout_seconds: Timeout for the list/watch call. + :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + :return: V1ClusterRoleList If the method is called asynchronously, returns the request thread. """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.create_authorization_openshift_io_v1_subject_rules_review_for_all_namespaces_with_http_info(body, **kwargs) + return self.list_cluster_role_with_http_info(**kwargs) else: - (data) = self.create_authorization_openshift_io_v1_subject_rules_review_for_all_namespaces_with_http_info(body, **kwargs) + (data) = self.list_cluster_role_with_http_info(**kwargs) return data - def create_authorization_openshift_io_v1_subject_rules_review_for_all_namespaces_with_http_info(self, body, **kwargs): + def list_cluster_role_with_http_info(self, **kwargs): """ - create a SubjectRulesReview + list objects of kind ClusterRole This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.create_authorization_openshift_io_v1_subject_rules_review_for_all_namespaces_with_http_info(body, callback=callback_function) + >>> thread = api.list_cluster_role_with_http_info(callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) - :param V1SubjectRulesReview body: (required) :param str pretty: If 'true', then the output is pretty printed. - :return: V1SubjectRulesReview + :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param bool include_uninitialized: If true, partially initialized resources are included in the response. + :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. + :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. + :param int timeout_seconds: Timeout for the list/watch call. + :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + :return: V1ClusterRoleList If the method is called asynchronously, returns the request thread. """ - all_params = ['body', 'pretty'] + all_params = ['pretty', 'field_selector', 'include_uninitialized', 'label_selector', 'resource_version', 'timeout_seconds', 'watch'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -2899,51 +3009,58 @@ def create_authorization_openshift_io_v1_subject_rules_review_for_all_namespaces if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method create_authorization_openshift_io_v1_subject_rules_review_for_all_namespaces" % key + " to method list_cluster_role" % key ) params[key] = val del params['kwargs'] - # verify the required parameter 'body' is set - if ('body' not in params) or (params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `create_authorization_openshift_io_v1_subject_rules_review_for_all_namespaces`") collection_formats = {} - resource_path = '/apis/authorization.openshift.io/v1/subjectrulesreviews'.replace('{format}', 'json') + resource_path = '/apis/authorization.openshift.io/v1/clusterroles'.replace('{format}', 'json') path_params = {} query_params = {} if 'pretty' in params: query_params['pretty'] = params['pretty'] + if 'field_selector' in params: + query_params['fieldSelector'] = params['field_selector'] + if 'include_uninitialized' in params: + query_params['includeUninitialized'] = params['include_uninitialized'] + if 'label_selector' in params: + query_params['labelSelector'] = params['label_selector'] + if 'resource_version' in params: + query_params['resourceVersion'] = params['resource_version'] + if 'timeout_seconds' in params: + query_params['timeoutSeconds'] = params['timeout_seconds'] + if 'watch' in params: + query_params['watch'] = params['watch'] + + header_params = {} + + form_params = [] + local_var_files = {} - header_params = {} - - form_params = [] - local_var_files = {} - body_params = None - if 'body' in params: - body_params = params['body'] # HTTP header `Accept` header_params['Accept'] = self.api_client.\ - select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) + select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/json;stream=watch', 'application/vnd.kubernetes.protobuf;stream=watch']) # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] - return self.api_client.call_api(resource_path, 'POST', + return self.api_client.call_api(resource_path, 'GET', path_params, query_params, header_params, body=body_params, post_params=form_params, files=local_var_files, - response_type='V1SubjectRulesReview', + response_type='V1ClusterRoleList', auth_settings=auth_settings, callback=params.get('callback'), _return_http_data_only=params.get('_return_http_data_only'), @@ -2951,59 +3068,63 @@ def create_authorization_openshift_io_v1_subject_rules_review_for_all_namespaces _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def delete_authorization_openshift_io_v1_cluster_policy(self, name, body, **kwargs): + def list_cluster_role_binding(self, **kwargs): """ - delete a ClusterPolicy + list objects of kind ClusterRoleBinding This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.delete_authorization_openshift_io_v1_cluster_policy(name, body, callback=callback_function) + >>> thread = api.list_cluster_role_binding(callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) - :param str name: name of the ClusterPolicy (required) - :param V1DeleteOptions body: (required) :param str pretty: If 'true', then the output is pretty printed. - :param int grace_period_seconds: 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. - :param bool orphan_dependents: Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. - :return: UnversionedStatus + :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param bool include_uninitialized: If true, partially initialized resources are included in the response. + :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. + :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. + :param int timeout_seconds: Timeout for the list/watch call. + :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + :return: V1ClusterRoleBindingList If the method is called asynchronously, returns the request thread. """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.delete_authorization_openshift_io_v1_cluster_policy_with_http_info(name, body, **kwargs) + return self.list_cluster_role_binding_with_http_info(**kwargs) else: - (data) = self.delete_authorization_openshift_io_v1_cluster_policy_with_http_info(name, body, **kwargs) + (data) = self.list_cluster_role_binding_with_http_info(**kwargs) return data - def delete_authorization_openshift_io_v1_cluster_policy_with_http_info(self, name, body, **kwargs): + def list_cluster_role_binding_with_http_info(self, **kwargs): """ - delete a ClusterPolicy + list objects of kind ClusterRoleBinding This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.delete_authorization_openshift_io_v1_cluster_policy_with_http_info(name, body, callback=callback_function) + >>> thread = api.list_cluster_role_binding_with_http_info(callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) - :param str name: name of the ClusterPolicy (required) - :param V1DeleteOptions body: (required) :param str pretty: If 'true', then the output is pretty printed. - :param int grace_period_seconds: 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. - :param bool orphan_dependents: Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. - :return: UnversionedStatus + :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param bool include_uninitialized: If true, partially initialized resources are included in the response. + :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. + :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. + :param int timeout_seconds: Timeout for the list/watch call. + :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + :return: V1ClusterRoleBindingList If the method is called asynchronously, returns the request thread. """ - all_params = ['name', 'body', 'pretty', 'grace_period_seconds', 'orphan_dependents'] + all_params = ['pretty', 'field_selector', 'include_uninitialized', 'label_selector', 'resource_version', 'timeout_seconds', 'watch'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -3014,32 +3135,32 @@ def delete_authorization_openshift_io_v1_cluster_policy_with_http_info(self, nam if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method delete_authorization_openshift_io_v1_cluster_policy" % key + " to method list_cluster_role_binding" % key ) params[key] = val del params['kwargs'] - # verify the required parameter 'name' is set - if ('name' not in params) or (params['name'] is None): - raise ValueError("Missing the required parameter `name` when calling `delete_authorization_openshift_io_v1_cluster_policy`") - # verify the required parameter 'body' is set - if ('body' not in params) or (params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `delete_authorization_openshift_io_v1_cluster_policy`") collection_formats = {} - resource_path = '/apis/authorization.openshift.io/v1/clusterpolicies/{name}'.replace('{format}', 'json') + resource_path = '/apis/authorization.openshift.io/v1/clusterrolebindings'.replace('{format}', 'json') path_params = {} - if 'name' in params: - path_params['name'] = params['name'] query_params = {} if 'pretty' in params: query_params['pretty'] = params['pretty'] - if 'grace_period_seconds' in params: - query_params['gracePeriodSeconds'] = params['grace_period_seconds'] - if 'orphan_dependents' in params: - query_params['orphanDependents'] = params['orphan_dependents'] + if 'field_selector' in params: + query_params['fieldSelector'] = params['field_selector'] + if 'include_uninitialized' in params: + query_params['includeUninitialized'] = params['include_uninitialized'] + if 'label_selector' in params: + query_params['labelSelector'] = params['label_selector'] + if 'resource_version' in params: + query_params['resourceVersion'] = params['resource_version'] + if 'timeout_seconds' in params: + query_params['timeoutSeconds'] = params['timeout_seconds'] + if 'watch' in params: + query_params['watch'] = params['watch'] header_params = {} @@ -3047,27 +3168,25 @@ def delete_authorization_openshift_io_v1_cluster_policy_with_http_info(self, nam local_var_files = {} body_params = None - if 'body' in params: - body_params = params['body'] # HTTP header `Accept` header_params['Accept'] = self.api_client.\ - select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) + select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/json;stream=watch', 'application/vnd.kubernetes.protobuf;stream=watch']) # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] - return self.api_client.call_api(resource_path, 'DELETE', + return self.api_client.call_api(resource_path, 'GET', path_params, query_params, header_params, body=body_params, post_params=form_params, files=local_var_files, - response_type='UnversionedStatus', + response_type='V1ClusterRoleBindingList', auth_settings=auth_settings, callback=params.get('callback'), _return_http_data_only=params.get('_return_http_data_only'), @@ -3075,59 +3194,65 @@ def delete_authorization_openshift_io_v1_cluster_policy_with_http_info(self, nam _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def delete_authorization_openshift_io_v1_cluster_policy_binding(self, name, body, **kwargs): + def list_namespaced_role(self, namespace, **kwargs): """ - delete a ClusterPolicyBinding + list objects of kind Role This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.delete_authorization_openshift_io_v1_cluster_policy_binding(name, body, callback=callback_function) + >>> thread = api.list_namespaced_role(namespace, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) - :param str name: name of the ClusterPolicyBinding (required) - :param V1DeleteOptions body: (required) + :param str namespace: object name and auth scope, such as for teams and projects (required) :param str pretty: If 'true', then the output is pretty printed. - :param int grace_period_seconds: 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. - :param bool orphan_dependents: Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. - :return: UnversionedStatus + :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param bool include_uninitialized: If true, partially initialized resources are included in the response. + :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. + :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. + :param int timeout_seconds: Timeout for the list/watch call. + :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + :return: V1RoleList If the method is called asynchronously, returns the request thread. """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.delete_authorization_openshift_io_v1_cluster_policy_binding_with_http_info(name, body, **kwargs) + return self.list_namespaced_role_with_http_info(namespace, **kwargs) else: - (data) = self.delete_authorization_openshift_io_v1_cluster_policy_binding_with_http_info(name, body, **kwargs) + (data) = self.list_namespaced_role_with_http_info(namespace, **kwargs) return data - def delete_authorization_openshift_io_v1_cluster_policy_binding_with_http_info(self, name, body, **kwargs): + def list_namespaced_role_with_http_info(self, namespace, **kwargs): """ - delete a ClusterPolicyBinding + list objects of kind Role This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.delete_authorization_openshift_io_v1_cluster_policy_binding_with_http_info(name, body, callback=callback_function) + >>> thread = api.list_namespaced_role_with_http_info(namespace, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) - :param str name: name of the ClusterPolicyBinding (required) - :param V1DeleteOptions body: (required) + :param str namespace: object name and auth scope, such as for teams and projects (required) :param str pretty: If 'true', then the output is pretty printed. - :param int grace_period_seconds: 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. - :param bool orphan_dependents: Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. - :return: UnversionedStatus + :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param bool include_uninitialized: If true, partially initialized resources are included in the response. + :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. + :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. + :param int timeout_seconds: Timeout for the list/watch call. + :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + :return: V1RoleList If the method is called asynchronously, returns the request thread. """ - all_params = ['name', 'body', 'pretty', 'grace_period_seconds', 'orphan_dependents'] + all_params = ['namespace', 'pretty', 'field_selector', 'include_uninitialized', 'label_selector', 'resource_version', 'timeout_seconds', 'watch'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -3138,32 +3263,37 @@ def delete_authorization_openshift_io_v1_cluster_policy_binding_with_http_info(s if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method delete_authorization_openshift_io_v1_cluster_policy_binding" % key + " to method list_namespaced_role" % key ) params[key] = val del params['kwargs'] - # verify the required parameter 'name' is set - if ('name' not in params) or (params['name'] is None): - raise ValueError("Missing the required parameter `name` when calling `delete_authorization_openshift_io_v1_cluster_policy_binding`") - # verify the required parameter 'body' is set - if ('body' not in params) or (params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `delete_authorization_openshift_io_v1_cluster_policy_binding`") + # verify the required parameter 'namespace' is set + if ('namespace' not in params) or (params['namespace'] is None): + raise ValueError("Missing the required parameter `namespace` when calling `list_namespaced_role`") collection_formats = {} - resource_path = '/apis/authorization.openshift.io/v1/clusterpolicybindings/{name}'.replace('{format}', 'json') + resource_path = '/apis/authorization.openshift.io/v1/namespaces/{namespace}/roles'.replace('{format}', 'json') path_params = {} - if 'name' in params: - path_params['name'] = params['name'] + if 'namespace' in params: + path_params['namespace'] = params['namespace'] query_params = {} if 'pretty' in params: query_params['pretty'] = params['pretty'] - if 'grace_period_seconds' in params: - query_params['gracePeriodSeconds'] = params['grace_period_seconds'] - if 'orphan_dependents' in params: - query_params['orphanDependents'] = params['orphan_dependents'] + if 'field_selector' in params: + query_params['fieldSelector'] = params['field_selector'] + if 'include_uninitialized' in params: + query_params['includeUninitialized'] = params['include_uninitialized'] + if 'label_selector' in params: + query_params['labelSelector'] = params['label_selector'] + if 'resource_version' in params: + query_params['resourceVersion'] = params['resource_version'] + if 'timeout_seconds' in params: + query_params['timeoutSeconds'] = params['timeout_seconds'] + if 'watch' in params: + query_params['watch'] = params['watch'] header_params = {} @@ -3171,27 +3301,25 @@ def delete_authorization_openshift_io_v1_cluster_policy_binding_with_http_info(s local_var_files = {} body_params = None - if 'body' in params: - body_params = params['body'] # HTTP header `Accept` header_params['Accept'] = self.api_client.\ - select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) + select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/json;stream=watch', 'application/vnd.kubernetes.protobuf;stream=watch']) # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] - return self.api_client.call_api(resource_path, 'DELETE', + return self.api_client.call_api(resource_path, 'GET', path_params, query_params, header_params, body=body_params, post_params=form_params, files=local_var_files, - response_type='UnversionedStatus', + response_type='V1RoleList', auth_settings=auth_settings, callback=params.get('callback'), _return_http_data_only=params.get('_return_http_data_only'), @@ -3199,59 +3327,65 @@ def delete_authorization_openshift_io_v1_cluster_policy_binding_with_http_info(s _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def delete_authorization_openshift_io_v1_cluster_role(self, name, body, **kwargs): + def list_namespaced_role_binding(self, namespace, **kwargs): """ - delete a ClusterRole + list objects of kind RoleBinding This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.delete_authorization_openshift_io_v1_cluster_role(name, body, callback=callback_function) + >>> thread = api.list_namespaced_role_binding(namespace, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) - :param str name: name of the ClusterRole (required) - :param V1DeleteOptions body: (required) + :param str namespace: object name and auth scope, such as for teams and projects (required) :param str pretty: If 'true', then the output is pretty printed. - :param int grace_period_seconds: 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. - :param bool orphan_dependents: Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. - :return: UnversionedStatus + :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param bool include_uninitialized: If true, partially initialized resources are included in the response. + :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. + :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. + :param int timeout_seconds: Timeout for the list/watch call. + :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + :return: V1RoleBindingList If the method is called asynchronously, returns the request thread. """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.delete_authorization_openshift_io_v1_cluster_role_with_http_info(name, body, **kwargs) + return self.list_namespaced_role_binding_with_http_info(namespace, **kwargs) else: - (data) = self.delete_authorization_openshift_io_v1_cluster_role_with_http_info(name, body, **kwargs) + (data) = self.list_namespaced_role_binding_with_http_info(namespace, **kwargs) return data - def delete_authorization_openshift_io_v1_cluster_role_with_http_info(self, name, body, **kwargs): + def list_namespaced_role_binding_with_http_info(self, namespace, **kwargs): """ - delete a ClusterRole + list objects of kind RoleBinding This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.delete_authorization_openshift_io_v1_cluster_role_with_http_info(name, body, callback=callback_function) + >>> thread = api.list_namespaced_role_binding_with_http_info(namespace, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) - :param str name: name of the ClusterRole (required) - :param V1DeleteOptions body: (required) + :param str namespace: object name and auth scope, such as for teams and projects (required) :param str pretty: If 'true', then the output is pretty printed. - :param int grace_period_seconds: 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. - :param bool orphan_dependents: Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. - :return: UnversionedStatus + :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param bool include_uninitialized: If true, partially initialized resources are included in the response. + :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. + :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. + :param int timeout_seconds: Timeout for the list/watch call. + :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + :return: V1RoleBindingList If the method is called asynchronously, returns the request thread. """ - all_params = ['name', 'body', 'pretty', 'grace_period_seconds', 'orphan_dependents'] + all_params = ['namespace', 'pretty', 'field_selector', 'include_uninitialized', 'label_selector', 'resource_version', 'timeout_seconds', 'watch'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -3262,32 +3396,37 @@ def delete_authorization_openshift_io_v1_cluster_role_with_http_info(self, name, if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method delete_authorization_openshift_io_v1_cluster_role" % key + " to method list_namespaced_role_binding" % key ) params[key] = val del params['kwargs'] - # verify the required parameter 'name' is set - if ('name' not in params) or (params['name'] is None): - raise ValueError("Missing the required parameter `name` when calling `delete_authorization_openshift_io_v1_cluster_role`") - # verify the required parameter 'body' is set - if ('body' not in params) or (params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `delete_authorization_openshift_io_v1_cluster_role`") + # verify the required parameter 'namespace' is set + if ('namespace' not in params) or (params['namespace'] is None): + raise ValueError("Missing the required parameter `namespace` when calling `list_namespaced_role_binding`") collection_formats = {} - resource_path = '/apis/authorization.openshift.io/v1/clusterroles/{name}'.replace('{format}', 'json') + resource_path = '/apis/authorization.openshift.io/v1/namespaces/{namespace}/rolebindings'.replace('{format}', 'json') path_params = {} - if 'name' in params: - path_params['name'] = params['name'] + if 'namespace' in params: + path_params['namespace'] = params['namespace'] query_params = {} if 'pretty' in params: query_params['pretty'] = params['pretty'] - if 'grace_period_seconds' in params: - query_params['gracePeriodSeconds'] = params['grace_period_seconds'] - if 'orphan_dependents' in params: - query_params['orphanDependents'] = params['orphan_dependents'] + if 'field_selector' in params: + query_params['fieldSelector'] = params['field_selector'] + if 'include_uninitialized' in params: + query_params['includeUninitialized'] = params['include_uninitialized'] + if 'label_selector' in params: + query_params['labelSelector'] = params['label_selector'] + if 'resource_version' in params: + query_params['resourceVersion'] = params['resource_version'] + if 'timeout_seconds' in params: + query_params['timeoutSeconds'] = params['timeout_seconds'] + if 'watch' in params: + query_params['watch'] = params['watch'] header_params = {} @@ -3295,27 +3434,25 @@ def delete_authorization_openshift_io_v1_cluster_role_with_http_info(self, name, local_var_files = {} body_params = None - if 'body' in params: - body_params = params['body'] # HTTP header `Accept` header_params['Accept'] = self.api_client.\ - select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) + select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/json;stream=watch', 'application/vnd.kubernetes.protobuf;stream=watch']) # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] - return self.api_client.call_api(resource_path, 'DELETE', + return self.api_client.call_api(resource_path, 'GET', path_params, query_params, header_params, body=body_params, post_params=form_params, files=local_var_files, - response_type='UnversionedStatus', + response_type='V1RoleBindingList', auth_settings=auth_settings, callback=params.get('callback'), _return_http_data_only=params.get('_return_http_data_only'), @@ -3323,59 +3460,65 @@ def delete_authorization_openshift_io_v1_cluster_role_with_http_info(self, name, _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def delete_authorization_openshift_io_v1_cluster_role_binding(self, name, body, **kwargs): + def list_namespaced_role_binding_restriction(self, namespace, **kwargs): """ - delete a ClusterRoleBinding + list or watch objects of kind RoleBindingRestriction This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.delete_authorization_openshift_io_v1_cluster_role_binding(name, body, callback=callback_function) + >>> thread = api.list_namespaced_role_binding_restriction(namespace, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) - :param str name: name of the ClusterRoleBinding (required) - :param V1DeleteOptions body: (required) + :param str namespace: object name and auth scope, such as for teams and projects (required) :param str pretty: If 'true', then the output is pretty printed. - :param int grace_period_seconds: 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. - :param bool orphan_dependents: Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. - :return: UnversionedStatus + :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param bool include_uninitialized: If true, partially initialized resources are included in the response. + :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. + :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. + :param int timeout_seconds: Timeout for the list/watch call. + :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + :return: V1RoleBindingRestrictionList If the method is called asynchronously, returns the request thread. """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.delete_authorization_openshift_io_v1_cluster_role_binding_with_http_info(name, body, **kwargs) + return self.list_namespaced_role_binding_restriction_with_http_info(namespace, **kwargs) else: - (data) = self.delete_authorization_openshift_io_v1_cluster_role_binding_with_http_info(name, body, **kwargs) + (data) = self.list_namespaced_role_binding_restriction_with_http_info(namespace, **kwargs) return data - def delete_authorization_openshift_io_v1_cluster_role_binding_with_http_info(self, name, body, **kwargs): + def list_namespaced_role_binding_restriction_with_http_info(self, namespace, **kwargs): """ - delete a ClusterRoleBinding + list or watch objects of kind RoleBindingRestriction This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.delete_authorization_openshift_io_v1_cluster_role_binding_with_http_info(name, body, callback=callback_function) + >>> thread = api.list_namespaced_role_binding_restriction_with_http_info(namespace, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) - :param str name: name of the ClusterRoleBinding (required) - :param V1DeleteOptions body: (required) + :param str namespace: object name and auth scope, such as for teams and projects (required) :param str pretty: If 'true', then the output is pretty printed. - :param int grace_period_seconds: 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. - :param bool orphan_dependents: Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. - :return: UnversionedStatus + :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param bool include_uninitialized: If true, partially initialized resources are included in the response. + :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. + :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. + :param int timeout_seconds: Timeout for the list/watch call. + :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + :return: V1RoleBindingRestrictionList If the method is called asynchronously, returns the request thread. """ - all_params = ['name', 'body', 'pretty', 'grace_period_seconds', 'orphan_dependents'] + all_params = ['namespace', 'pretty', 'field_selector', 'include_uninitialized', 'label_selector', 'resource_version', 'timeout_seconds', 'watch'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -3386,32 +3529,37 @@ def delete_authorization_openshift_io_v1_cluster_role_binding_with_http_info(sel if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method delete_authorization_openshift_io_v1_cluster_role_binding" % key + " to method list_namespaced_role_binding_restriction" % key ) params[key] = val del params['kwargs'] - # verify the required parameter 'name' is set - if ('name' not in params) or (params['name'] is None): - raise ValueError("Missing the required parameter `name` when calling `delete_authorization_openshift_io_v1_cluster_role_binding`") - # verify the required parameter 'body' is set - if ('body' not in params) or (params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `delete_authorization_openshift_io_v1_cluster_role_binding`") + # verify the required parameter 'namespace' is set + if ('namespace' not in params) or (params['namespace'] is None): + raise ValueError("Missing the required parameter `namespace` when calling `list_namespaced_role_binding_restriction`") collection_formats = {} - resource_path = '/apis/authorization.openshift.io/v1/clusterrolebindings/{name}'.replace('{format}', 'json') + resource_path = '/apis/authorization.openshift.io/v1/namespaces/{namespace}/rolebindingrestrictions'.replace('{format}', 'json') path_params = {} - if 'name' in params: - path_params['name'] = params['name'] + if 'namespace' in params: + path_params['namespace'] = params['namespace'] query_params = {} if 'pretty' in params: query_params['pretty'] = params['pretty'] - if 'grace_period_seconds' in params: - query_params['gracePeriodSeconds'] = params['grace_period_seconds'] - if 'orphan_dependents' in params: - query_params['orphanDependents'] = params['orphan_dependents'] + if 'field_selector' in params: + query_params['fieldSelector'] = params['field_selector'] + if 'include_uninitialized' in params: + query_params['includeUninitialized'] = params['include_uninitialized'] + if 'label_selector' in params: + query_params['labelSelector'] = params['label_selector'] + if 'resource_version' in params: + query_params['resourceVersion'] = params['resource_version'] + if 'timeout_seconds' in params: + query_params['timeoutSeconds'] = params['timeout_seconds'] + if 'watch' in params: + query_params['watch'] = params['watch'] header_params = {} @@ -3419,27 +3567,25 @@ def delete_authorization_openshift_io_v1_cluster_role_binding_with_http_info(sel local_var_files = {} body_params = None - if 'body' in params: - body_params = params['body'] # HTTP header `Accept` header_params['Accept'] = self.api_client.\ - select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) + select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/json;stream=watch', 'application/vnd.kubernetes.protobuf;stream=watch']) # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] - return self.api_client.call_api(resource_path, 'DELETE', + return self.api_client.call_api(resource_path, 'GET', path_params, query_params, header_params, body=body_params, post_params=form_params, files=local_var_files, - response_type='UnversionedStatus', + response_type='V1RoleBindingRestrictionList', auth_settings=auth_settings, callback=params.get('callback'), _return_http_data_only=params.get('_return_http_data_only'), @@ -3447,61 +3593,63 @@ def delete_authorization_openshift_io_v1_cluster_role_binding_with_http_info(sel _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def delete_authorization_openshift_io_v1_collection_cluster_policy(self, **kwargs): + def list_role_binding_for_all_namespaces(self, **kwargs): """ - delete collection of ClusterPolicy + list objects of kind RoleBinding This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.delete_authorization_openshift_io_v1_collection_cluster_policy(callback=callback_function) + >>> thread = api.list_role_binding_for_all_namespaces(callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param str pretty: If 'true', then the output is pretty printed. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param bool include_uninitialized: If true, partially initialized resources are included in the response. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. - :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. + :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. :param int timeout_seconds: Timeout for the list/watch call. :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - :return: UnversionedStatus + :return: V1RoleBindingList If the method is called asynchronously, returns the request thread. """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.delete_authorization_openshift_io_v1_collection_cluster_policy_with_http_info(**kwargs) + return self.list_role_binding_for_all_namespaces_with_http_info(**kwargs) else: - (data) = self.delete_authorization_openshift_io_v1_collection_cluster_policy_with_http_info(**kwargs) + (data) = self.list_role_binding_for_all_namespaces_with_http_info(**kwargs) return data - def delete_authorization_openshift_io_v1_collection_cluster_policy_with_http_info(self, **kwargs): + def list_role_binding_for_all_namespaces_with_http_info(self, **kwargs): """ - delete collection of ClusterPolicy + list objects of kind RoleBinding This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.delete_authorization_openshift_io_v1_collection_cluster_policy_with_http_info(callback=callback_function) + >>> thread = api.list_role_binding_for_all_namespaces_with_http_info(callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param str pretty: If 'true', then the output is pretty printed. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param bool include_uninitialized: If true, partially initialized resources are included in the response. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. - :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. + :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. :param int timeout_seconds: Timeout for the list/watch call. :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - :return: UnversionedStatus + :return: V1RoleBindingList If the method is called asynchronously, returns the request thread. """ - all_params = ['pretty', 'field_selector', 'label_selector', 'resource_version', 'timeout_seconds', 'watch'] + all_params = ['pretty', 'field_selector', 'include_uninitialized', 'label_selector', 'resource_version', 'timeout_seconds', 'watch'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -3512,7 +3660,7 @@ def delete_authorization_openshift_io_v1_collection_cluster_policy_with_http_inf if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method delete_authorization_openshift_io_v1_collection_cluster_policy" % key + " to method list_role_binding_for_all_namespaces" % key ) params[key] = val del params['kwargs'] @@ -3520,7 +3668,7 @@ def delete_authorization_openshift_io_v1_collection_cluster_policy_with_http_inf collection_formats = {} - resource_path = '/apis/authorization.openshift.io/v1/clusterpolicies'.replace('{format}', 'json') + resource_path = '/apis/authorization.openshift.io/v1/rolebindings'.replace('{format}', 'json') path_params = {} query_params = {} @@ -3528,6 +3676,8 @@ def delete_authorization_openshift_io_v1_collection_cluster_policy_with_http_inf query_params['pretty'] = params['pretty'] if 'field_selector' in params: query_params['fieldSelector'] = params['field_selector'] + if 'include_uninitialized' in params: + query_params['includeUninitialized'] = params['include_uninitialized'] if 'label_selector' in params: query_params['labelSelector'] = params['label_selector'] if 'resource_version' in params: @@ -3545,23 +3695,23 @@ def delete_authorization_openshift_io_v1_collection_cluster_policy_with_http_inf body_params = None # HTTP header `Accept` header_params['Accept'] = self.api_client.\ - select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) + select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/json;stream=watch', 'application/vnd.kubernetes.protobuf;stream=watch']) # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] - return self.api_client.call_api(resource_path, 'DELETE', + return self.api_client.call_api(resource_path, 'GET', path_params, query_params, header_params, body=body_params, post_params=form_params, files=local_var_files, - response_type='UnversionedStatus', + response_type='V1RoleBindingList', auth_settings=auth_settings, callback=params.get('callback'), _return_http_data_only=params.get('_return_http_data_only'), @@ -3569,61 +3719,63 @@ def delete_authorization_openshift_io_v1_collection_cluster_policy_with_http_inf _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def delete_authorization_openshift_io_v1_collection_cluster_policy_binding(self, **kwargs): + def list_role_binding_restriction_for_all_namespaces(self, **kwargs): """ - delete collection of ClusterPolicyBinding + list or watch objects of kind RoleBindingRestriction This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.delete_authorization_openshift_io_v1_collection_cluster_policy_binding(callback=callback_function) + >>> thread = api.list_role_binding_restriction_for_all_namespaces(callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param str pretty: If 'true', then the output is pretty printed. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param bool include_uninitialized: If true, partially initialized resources are included in the response. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. - :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. + :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. :param int timeout_seconds: Timeout for the list/watch call. :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - :return: UnversionedStatus + :return: V1RoleBindingRestrictionList If the method is called asynchronously, returns the request thread. """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.delete_authorization_openshift_io_v1_collection_cluster_policy_binding_with_http_info(**kwargs) + return self.list_role_binding_restriction_for_all_namespaces_with_http_info(**kwargs) else: - (data) = self.delete_authorization_openshift_io_v1_collection_cluster_policy_binding_with_http_info(**kwargs) + (data) = self.list_role_binding_restriction_for_all_namespaces_with_http_info(**kwargs) return data - def delete_authorization_openshift_io_v1_collection_cluster_policy_binding_with_http_info(self, **kwargs): + def list_role_binding_restriction_for_all_namespaces_with_http_info(self, **kwargs): """ - delete collection of ClusterPolicyBinding + list or watch objects of kind RoleBindingRestriction This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.delete_authorization_openshift_io_v1_collection_cluster_policy_binding_with_http_info(callback=callback_function) + >>> thread = api.list_role_binding_restriction_for_all_namespaces_with_http_info(callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param str pretty: If 'true', then the output is pretty printed. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param bool include_uninitialized: If true, partially initialized resources are included in the response. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. - :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. + :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. :param int timeout_seconds: Timeout for the list/watch call. :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - :return: UnversionedStatus + :return: V1RoleBindingRestrictionList If the method is called asynchronously, returns the request thread. """ - all_params = ['pretty', 'field_selector', 'label_selector', 'resource_version', 'timeout_seconds', 'watch'] + all_params = ['pretty', 'field_selector', 'include_uninitialized', 'label_selector', 'resource_version', 'timeout_seconds', 'watch'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -3634,7 +3786,7 @@ def delete_authorization_openshift_io_v1_collection_cluster_policy_binding_with_ if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method delete_authorization_openshift_io_v1_collection_cluster_policy_binding" % key + " to method list_role_binding_restriction_for_all_namespaces" % key ) params[key] = val del params['kwargs'] @@ -3642,7 +3794,7 @@ def delete_authorization_openshift_io_v1_collection_cluster_policy_binding_with_ collection_formats = {} - resource_path = '/apis/authorization.openshift.io/v1/clusterpolicybindings'.replace('{format}', 'json') + resource_path = '/apis/authorization.openshift.io/v1/rolebindingrestrictions'.replace('{format}', 'json') path_params = {} query_params = {} @@ -3650,6 +3802,8 @@ def delete_authorization_openshift_io_v1_collection_cluster_policy_binding_with_ query_params['pretty'] = params['pretty'] if 'field_selector' in params: query_params['fieldSelector'] = params['field_selector'] + if 'include_uninitialized' in params: + query_params['includeUninitialized'] = params['include_uninitialized'] if 'label_selector' in params: query_params['labelSelector'] = params['label_selector'] if 'resource_version' in params: @@ -3667,23 +3821,23 @@ def delete_authorization_openshift_io_v1_collection_cluster_policy_binding_with_ body_params = None # HTTP header `Accept` header_params['Accept'] = self.api_client.\ - select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) + select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/json;stream=watch', 'application/vnd.kubernetes.protobuf;stream=watch']) # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] - return self.api_client.call_api(resource_path, 'DELETE', + return self.api_client.call_api(resource_path, 'GET', path_params, query_params, header_params, body=body_params, post_params=form_params, files=local_var_files, - response_type='UnversionedStatus', + response_type='V1RoleBindingRestrictionList', auth_settings=auth_settings, callback=params.get('callback'), _return_http_data_only=params.get('_return_http_data_only'), @@ -3691,63 +3845,63 @@ def delete_authorization_openshift_io_v1_collection_cluster_policy_binding_with_ _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def delete_authorization_openshift_io_v1_collection_namespaced_policy(self, namespace, **kwargs): + def list_role_for_all_namespaces(self, **kwargs): """ - delete collection of Policy + list objects of kind Role This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.delete_authorization_openshift_io_v1_collection_namespaced_policy(namespace, callback=callback_function) + >>> thread = api.list_role_for_all_namespaces(callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) - :param str namespace: object name and auth scope, such as for teams and projects (required) :param str pretty: If 'true', then the output is pretty printed. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param bool include_uninitialized: If true, partially initialized resources are included in the response. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. - :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. + :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. :param int timeout_seconds: Timeout for the list/watch call. :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - :return: UnversionedStatus + :return: V1RoleList If the method is called asynchronously, returns the request thread. """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.delete_authorization_openshift_io_v1_collection_namespaced_policy_with_http_info(namespace, **kwargs) + return self.list_role_for_all_namespaces_with_http_info(**kwargs) else: - (data) = self.delete_authorization_openshift_io_v1_collection_namespaced_policy_with_http_info(namespace, **kwargs) + (data) = self.list_role_for_all_namespaces_with_http_info(**kwargs) return data - def delete_authorization_openshift_io_v1_collection_namespaced_policy_with_http_info(self, namespace, **kwargs): + def list_role_for_all_namespaces_with_http_info(self, **kwargs): """ - delete collection of Policy + list objects of kind Role This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.delete_authorization_openshift_io_v1_collection_namespaced_policy_with_http_info(namespace, callback=callback_function) + >>> thread = api.list_role_for_all_namespaces_with_http_info(callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) - :param str namespace: object name and auth scope, such as for teams and projects (required) :param str pretty: If 'true', then the output is pretty printed. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param bool include_uninitialized: If true, partially initialized resources are included in the response. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. - :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. + :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. :param int timeout_seconds: Timeout for the list/watch call. :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - :return: UnversionedStatus + :return: V1RoleList If the method is called asynchronously, returns the request thread. """ - all_params = ['namespace', 'pretty', 'field_selector', 'label_selector', 'resource_version', 'timeout_seconds', 'watch'] + all_params = ['pretty', 'field_selector', 'include_uninitialized', 'label_selector', 'resource_version', 'timeout_seconds', 'watch'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -3758,4101 +3912,32 @@ def delete_authorization_openshift_io_v1_collection_namespaced_policy_with_http_ if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method delete_authorization_openshift_io_v1_collection_namespaced_policy" % key + " to method list_role_for_all_namespaces" % key ) params[key] = val del params['kwargs'] - # verify the required parameter 'namespace' is set - if ('namespace' not in params) or (params['namespace'] is None): - raise ValueError("Missing the required parameter `namespace` when calling `delete_authorization_openshift_io_v1_collection_namespaced_policy`") collection_formats = {} - resource_path = '/apis/authorization.openshift.io/v1/namespaces/{namespace}/policies'.replace('{format}', 'json') + resource_path = '/apis/authorization.openshift.io/v1/roles'.replace('{format}', 'json') path_params = {} - if 'namespace' in params: - path_params['namespace'] = params['namespace'] - - query_params = {} - if 'pretty' in params: - query_params['pretty'] = params['pretty'] - if 'field_selector' in params: - query_params['fieldSelector'] = params['field_selector'] - if 'label_selector' in params: - query_params['labelSelector'] = params['label_selector'] - if 'resource_version' in params: - query_params['resourceVersion'] = params['resource_version'] - if 'timeout_seconds' in params: - query_params['timeoutSeconds'] = params['timeout_seconds'] - if 'watch' in params: - query_params['watch'] = params['watch'] - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - # HTTP header `Accept` - header_params['Accept'] = self.api_client.\ - select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - - # HTTP header `Content-Type` - header_params['Content-Type'] = self.api_client.\ - select_header_content_type(['*/*']) - - # Authentication setting - auth_settings = ['BearerToken'] - - return self.api_client.call_api(resource_path, 'DELETE', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='UnversionedStatus', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def delete_authorization_openshift_io_v1_collection_namespaced_policy_binding(self, namespace, **kwargs): - """ - delete collection of PolicyBinding - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please define a `callback` function - to be invoked when receiving the response. - >>> def callback_function(response): - >>> pprint(response) - >>> - >>> thread = api.delete_authorization_openshift_io_v1_collection_namespaced_policy_binding(namespace, callback=callback_function) - - :param callback function: The callback function - for asynchronous request. (optional) - :param str namespace: object name and auth scope, such as for teams and projects (required) - :param str pretty: If 'true', then the output is pretty printed. - :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. - :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. - :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. - :param int timeout_seconds: Timeout for the list/watch call. - :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - :return: UnversionedStatus - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('callback'): - return self.delete_authorization_openshift_io_v1_collection_namespaced_policy_binding_with_http_info(namespace, **kwargs) - else: - (data) = self.delete_authorization_openshift_io_v1_collection_namespaced_policy_binding_with_http_info(namespace, **kwargs) - return data - - def delete_authorization_openshift_io_v1_collection_namespaced_policy_binding_with_http_info(self, namespace, **kwargs): - """ - delete collection of PolicyBinding - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please define a `callback` function - to be invoked when receiving the response. - >>> def callback_function(response): - >>> pprint(response) - >>> - >>> thread = api.delete_authorization_openshift_io_v1_collection_namespaced_policy_binding_with_http_info(namespace, callback=callback_function) - - :param callback function: The callback function - for asynchronous request. (optional) - :param str namespace: object name and auth scope, such as for teams and projects (required) - :param str pretty: If 'true', then the output is pretty printed. - :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. - :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. - :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. - :param int timeout_seconds: Timeout for the list/watch call. - :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - :return: UnversionedStatus - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['namespace', 'pretty', 'field_selector', 'label_selector', 'resource_version', 'timeout_seconds', 'watch'] - all_params.append('callback') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method delete_authorization_openshift_io_v1_collection_namespaced_policy_binding" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'namespace' is set - if ('namespace' not in params) or (params['namespace'] is None): - raise ValueError("Missing the required parameter `namespace` when calling `delete_authorization_openshift_io_v1_collection_namespaced_policy_binding`") - - - collection_formats = {} - - resource_path = '/apis/authorization.openshift.io/v1/namespaces/{namespace}/policybindings'.replace('{format}', 'json') - path_params = {} - if 'namespace' in params: - path_params['namespace'] = params['namespace'] - - query_params = {} - if 'pretty' in params: - query_params['pretty'] = params['pretty'] - if 'field_selector' in params: - query_params['fieldSelector'] = params['field_selector'] - if 'label_selector' in params: - query_params['labelSelector'] = params['label_selector'] - if 'resource_version' in params: - query_params['resourceVersion'] = params['resource_version'] - if 'timeout_seconds' in params: - query_params['timeoutSeconds'] = params['timeout_seconds'] - if 'watch' in params: - query_params['watch'] = params['watch'] - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - # HTTP header `Accept` - header_params['Accept'] = self.api_client.\ - select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - - # HTTP header `Content-Type` - header_params['Content-Type'] = self.api_client.\ - select_header_content_type(['*/*']) - - # Authentication setting - auth_settings = ['BearerToken'] - - return self.api_client.call_api(resource_path, 'DELETE', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='UnversionedStatus', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def delete_authorization_openshift_io_v1_collection_namespaced_role_binding_restriction(self, namespace, **kwargs): - """ - delete collection of RoleBindingRestriction - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please define a `callback` function - to be invoked when receiving the response. - >>> def callback_function(response): - >>> pprint(response) - >>> - >>> thread = api.delete_authorization_openshift_io_v1_collection_namespaced_role_binding_restriction(namespace, callback=callback_function) - - :param callback function: The callback function - for asynchronous request. (optional) - :param str namespace: object name and auth scope, such as for teams and projects (required) - :param str pretty: If 'true', then the output is pretty printed. - :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. - :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. - :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. - :param int timeout_seconds: Timeout for the list/watch call. - :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - :return: UnversionedStatus - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('callback'): - return self.delete_authorization_openshift_io_v1_collection_namespaced_role_binding_restriction_with_http_info(namespace, **kwargs) - else: - (data) = self.delete_authorization_openshift_io_v1_collection_namespaced_role_binding_restriction_with_http_info(namespace, **kwargs) - return data - - def delete_authorization_openshift_io_v1_collection_namespaced_role_binding_restriction_with_http_info(self, namespace, **kwargs): - """ - delete collection of RoleBindingRestriction - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please define a `callback` function - to be invoked when receiving the response. - >>> def callback_function(response): - >>> pprint(response) - >>> - >>> thread = api.delete_authorization_openshift_io_v1_collection_namespaced_role_binding_restriction_with_http_info(namespace, callback=callback_function) - - :param callback function: The callback function - for asynchronous request. (optional) - :param str namespace: object name and auth scope, such as for teams and projects (required) - :param str pretty: If 'true', then the output is pretty printed. - :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. - :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. - :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. - :param int timeout_seconds: Timeout for the list/watch call. - :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - :return: UnversionedStatus - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['namespace', 'pretty', 'field_selector', 'label_selector', 'resource_version', 'timeout_seconds', 'watch'] - all_params.append('callback') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method delete_authorization_openshift_io_v1_collection_namespaced_role_binding_restriction" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'namespace' is set - if ('namespace' not in params) or (params['namespace'] is None): - raise ValueError("Missing the required parameter `namespace` when calling `delete_authorization_openshift_io_v1_collection_namespaced_role_binding_restriction`") - - - collection_formats = {} - - resource_path = '/apis/authorization.openshift.io/v1/namespaces/{namespace}/rolebindingrestrictions'.replace('{format}', 'json') - path_params = {} - if 'namespace' in params: - path_params['namespace'] = params['namespace'] - - query_params = {} - if 'pretty' in params: - query_params['pretty'] = params['pretty'] - if 'field_selector' in params: - query_params['fieldSelector'] = params['field_selector'] - if 'label_selector' in params: - query_params['labelSelector'] = params['label_selector'] - if 'resource_version' in params: - query_params['resourceVersion'] = params['resource_version'] - if 'timeout_seconds' in params: - query_params['timeoutSeconds'] = params['timeout_seconds'] - if 'watch' in params: - query_params['watch'] = params['watch'] - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - # HTTP header `Accept` - header_params['Accept'] = self.api_client.\ - select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - - # HTTP header `Content-Type` - header_params['Content-Type'] = self.api_client.\ - select_header_content_type(['*/*']) - - # Authentication setting - auth_settings = ['BearerToken'] - - return self.api_client.call_api(resource_path, 'DELETE', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='UnversionedStatus', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def delete_authorization_openshift_io_v1_namespaced_policy(self, name, namespace, body, **kwargs): - """ - delete a Policy - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please define a `callback` function - to be invoked when receiving the response. - >>> def callback_function(response): - >>> pprint(response) - >>> - >>> thread = api.delete_authorization_openshift_io_v1_namespaced_policy(name, namespace, body, callback=callback_function) - - :param callback function: The callback function - for asynchronous request. (optional) - :param str name: name of the Policy (required) - :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1DeleteOptions body: (required) - :param str pretty: If 'true', then the output is pretty printed. - :param int grace_period_seconds: 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. - :param bool orphan_dependents: Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. - :return: UnversionedStatus - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('callback'): - return self.delete_authorization_openshift_io_v1_namespaced_policy_with_http_info(name, namespace, body, **kwargs) - else: - (data) = self.delete_authorization_openshift_io_v1_namespaced_policy_with_http_info(name, namespace, body, **kwargs) - return data - - def delete_authorization_openshift_io_v1_namespaced_policy_with_http_info(self, name, namespace, body, **kwargs): - """ - delete a Policy - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please define a `callback` function - to be invoked when receiving the response. - >>> def callback_function(response): - >>> pprint(response) - >>> - >>> thread = api.delete_authorization_openshift_io_v1_namespaced_policy_with_http_info(name, namespace, body, callback=callback_function) - - :param callback function: The callback function - for asynchronous request. (optional) - :param str name: name of the Policy (required) - :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1DeleteOptions body: (required) - :param str pretty: If 'true', then the output is pretty printed. - :param int grace_period_seconds: 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. - :param bool orphan_dependents: Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. - :return: UnversionedStatus - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['name', 'namespace', 'body', 'pretty', 'grace_period_seconds', 'orphan_dependents'] - all_params.append('callback') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method delete_authorization_openshift_io_v1_namespaced_policy" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'name' is set - if ('name' not in params) or (params['name'] is None): - raise ValueError("Missing the required parameter `name` when calling `delete_authorization_openshift_io_v1_namespaced_policy`") - # verify the required parameter 'namespace' is set - if ('namespace' not in params) or (params['namespace'] is None): - raise ValueError("Missing the required parameter `namespace` when calling `delete_authorization_openshift_io_v1_namespaced_policy`") - # verify the required parameter 'body' is set - if ('body' not in params) or (params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `delete_authorization_openshift_io_v1_namespaced_policy`") - - - collection_formats = {} - - resource_path = '/apis/authorization.openshift.io/v1/namespaces/{namespace}/policies/{name}'.replace('{format}', 'json') - path_params = {} - if 'name' in params: - path_params['name'] = params['name'] - if 'namespace' in params: - path_params['namespace'] = params['namespace'] - - query_params = {} - if 'pretty' in params: - query_params['pretty'] = params['pretty'] - if 'grace_period_seconds' in params: - query_params['gracePeriodSeconds'] = params['grace_period_seconds'] - if 'orphan_dependents' in params: - query_params['orphanDependents'] = params['orphan_dependents'] - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - if 'body' in params: - body_params = params['body'] - # HTTP header `Accept` - header_params['Accept'] = self.api_client.\ - select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - - # HTTP header `Content-Type` - header_params['Content-Type'] = self.api_client.\ - select_header_content_type(['*/*']) - - # Authentication setting - auth_settings = ['BearerToken'] - - return self.api_client.call_api(resource_path, 'DELETE', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='UnversionedStatus', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def delete_authorization_openshift_io_v1_namespaced_policy_binding(self, name, namespace, body, **kwargs): - """ - delete a PolicyBinding - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please define a `callback` function - to be invoked when receiving the response. - >>> def callback_function(response): - >>> pprint(response) - >>> - >>> thread = api.delete_authorization_openshift_io_v1_namespaced_policy_binding(name, namespace, body, callback=callback_function) - - :param callback function: The callback function - for asynchronous request. (optional) - :param str name: name of the PolicyBinding (required) - :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1DeleteOptions body: (required) - :param str pretty: If 'true', then the output is pretty printed. - :param int grace_period_seconds: 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. - :param bool orphan_dependents: Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. - :return: UnversionedStatus - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('callback'): - return self.delete_authorization_openshift_io_v1_namespaced_policy_binding_with_http_info(name, namespace, body, **kwargs) - else: - (data) = self.delete_authorization_openshift_io_v1_namespaced_policy_binding_with_http_info(name, namespace, body, **kwargs) - return data - - def delete_authorization_openshift_io_v1_namespaced_policy_binding_with_http_info(self, name, namespace, body, **kwargs): - """ - delete a PolicyBinding - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please define a `callback` function - to be invoked when receiving the response. - >>> def callback_function(response): - >>> pprint(response) - >>> - >>> thread = api.delete_authorization_openshift_io_v1_namespaced_policy_binding_with_http_info(name, namespace, body, callback=callback_function) - - :param callback function: The callback function - for asynchronous request. (optional) - :param str name: name of the PolicyBinding (required) - :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1DeleteOptions body: (required) - :param str pretty: If 'true', then the output is pretty printed. - :param int grace_period_seconds: 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. - :param bool orphan_dependents: Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. - :return: UnversionedStatus - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['name', 'namespace', 'body', 'pretty', 'grace_period_seconds', 'orphan_dependents'] - all_params.append('callback') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method delete_authorization_openshift_io_v1_namespaced_policy_binding" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'name' is set - if ('name' not in params) or (params['name'] is None): - raise ValueError("Missing the required parameter `name` when calling `delete_authorization_openshift_io_v1_namespaced_policy_binding`") - # verify the required parameter 'namespace' is set - if ('namespace' not in params) or (params['namespace'] is None): - raise ValueError("Missing the required parameter `namespace` when calling `delete_authorization_openshift_io_v1_namespaced_policy_binding`") - # verify the required parameter 'body' is set - if ('body' not in params) or (params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `delete_authorization_openshift_io_v1_namespaced_policy_binding`") - - - collection_formats = {} - - resource_path = '/apis/authorization.openshift.io/v1/namespaces/{namespace}/policybindings/{name}'.replace('{format}', 'json') - path_params = {} - if 'name' in params: - path_params['name'] = params['name'] - if 'namespace' in params: - path_params['namespace'] = params['namespace'] - - query_params = {} - if 'pretty' in params: - query_params['pretty'] = params['pretty'] - if 'grace_period_seconds' in params: - query_params['gracePeriodSeconds'] = params['grace_period_seconds'] - if 'orphan_dependents' in params: - query_params['orphanDependents'] = params['orphan_dependents'] - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - if 'body' in params: - body_params = params['body'] - # HTTP header `Accept` - header_params['Accept'] = self.api_client.\ - select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - - # HTTP header `Content-Type` - header_params['Content-Type'] = self.api_client.\ - select_header_content_type(['*/*']) - - # Authentication setting - auth_settings = ['BearerToken'] - - return self.api_client.call_api(resource_path, 'DELETE', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='UnversionedStatus', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def delete_authorization_openshift_io_v1_namespaced_role(self, name, namespace, body, **kwargs): - """ - delete a Role - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please define a `callback` function - to be invoked when receiving the response. - >>> def callback_function(response): - >>> pprint(response) - >>> - >>> thread = api.delete_authorization_openshift_io_v1_namespaced_role(name, namespace, body, callback=callback_function) - - :param callback function: The callback function - for asynchronous request. (optional) - :param str name: name of the Role (required) - :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1DeleteOptions body: (required) - :param str pretty: If 'true', then the output is pretty printed. - :param int grace_period_seconds: 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. - :param bool orphan_dependents: Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. - :return: UnversionedStatus - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('callback'): - return self.delete_authorization_openshift_io_v1_namespaced_role_with_http_info(name, namespace, body, **kwargs) - else: - (data) = self.delete_authorization_openshift_io_v1_namespaced_role_with_http_info(name, namespace, body, **kwargs) - return data - - def delete_authorization_openshift_io_v1_namespaced_role_with_http_info(self, name, namespace, body, **kwargs): - """ - delete a Role - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please define a `callback` function - to be invoked when receiving the response. - >>> def callback_function(response): - >>> pprint(response) - >>> - >>> thread = api.delete_authorization_openshift_io_v1_namespaced_role_with_http_info(name, namespace, body, callback=callback_function) - - :param callback function: The callback function - for asynchronous request. (optional) - :param str name: name of the Role (required) - :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1DeleteOptions body: (required) - :param str pretty: If 'true', then the output is pretty printed. - :param int grace_period_seconds: 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. - :param bool orphan_dependents: Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. - :return: UnversionedStatus - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['name', 'namespace', 'body', 'pretty', 'grace_period_seconds', 'orphan_dependents'] - all_params.append('callback') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method delete_authorization_openshift_io_v1_namespaced_role" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'name' is set - if ('name' not in params) or (params['name'] is None): - raise ValueError("Missing the required parameter `name` when calling `delete_authorization_openshift_io_v1_namespaced_role`") - # verify the required parameter 'namespace' is set - if ('namespace' not in params) or (params['namespace'] is None): - raise ValueError("Missing the required parameter `namespace` when calling `delete_authorization_openshift_io_v1_namespaced_role`") - # verify the required parameter 'body' is set - if ('body' not in params) or (params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `delete_authorization_openshift_io_v1_namespaced_role`") - - - collection_formats = {} - - resource_path = '/apis/authorization.openshift.io/v1/namespaces/{namespace}/roles/{name}'.replace('{format}', 'json') - path_params = {} - if 'name' in params: - path_params['name'] = params['name'] - if 'namespace' in params: - path_params['namespace'] = params['namespace'] - - query_params = {} - if 'pretty' in params: - query_params['pretty'] = params['pretty'] - if 'grace_period_seconds' in params: - query_params['gracePeriodSeconds'] = params['grace_period_seconds'] - if 'orphan_dependents' in params: - query_params['orphanDependents'] = params['orphan_dependents'] - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - if 'body' in params: - body_params = params['body'] - # HTTP header `Accept` - header_params['Accept'] = self.api_client.\ - select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - - # HTTP header `Content-Type` - header_params['Content-Type'] = self.api_client.\ - select_header_content_type(['*/*']) - - # Authentication setting - auth_settings = ['BearerToken'] - - return self.api_client.call_api(resource_path, 'DELETE', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='UnversionedStatus', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def delete_authorization_openshift_io_v1_namespaced_role_binding(self, name, namespace, body, **kwargs): - """ - delete a RoleBinding - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please define a `callback` function - to be invoked when receiving the response. - >>> def callback_function(response): - >>> pprint(response) - >>> - >>> thread = api.delete_authorization_openshift_io_v1_namespaced_role_binding(name, namespace, body, callback=callback_function) - - :param callback function: The callback function - for asynchronous request. (optional) - :param str name: name of the RoleBinding (required) - :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1DeleteOptions body: (required) - :param str pretty: If 'true', then the output is pretty printed. - :param int grace_period_seconds: 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. - :param bool orphan_dependents: Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. - :return: UnversionedStatus - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('callback'): - return self.delete_authorization_openshift_io_v1_namespaced_role_binding_with_http_info(name, namespace, body, **kwargs) - else: - (data) = self.delete_authorization_openshift_io_v1_namespaced_role_binding_with_http_info(name, namespace, body, **kwargs) - return data - - def delete_authorization_openshift_io_v1_namespaced_role_binding_with_http_info(self, name, namespace, body, **kwargs): - """ - delete a RoleBinding - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please define a `callback` function - to be invoked when receiving the response. - >>> def callback_function(response): - >>> pprint(response) - >>> - >>> thread = api.delete_authorization_openshift_io_v1_namespaced_role_binding_with_http_info(name, namespace, body, callback=callback_function) - - :param callback function: The callback function - for asynchronous request. (optional) - :param str name: name of the RoleBinding (required) - :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1DeleteOptions body: (required) - :param str pretty: If 'true', then the output is pretty printed. - :param int grace_period_seconds: 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. - :param bool orphan_dependents: Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. - :return: UnversionedStatus - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['name', 'namespace', 'body', 'pretty', 'grace_period_seconds', 'orphan_dependents'] - all_params.append('callback') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method delete_authorization_openshift_io_v1_namespaced_role_binding" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'name' is set - if ('name' not in params) or (params['name'] is None): - raise ValueError("Missing the required parameter `name` when calling `delete_authorization_openshift_io_v1_namespaced_role_binding`") - # verify the required parameter 'namespace' is set - if ('namespace' not in params) or (params['namespace'] is None): - raise ValueError("Missing the required parameter `namespace` when calling `delete_authorization_openshift_io_v1_namespaced_role_binding`") - # verify the required parameter 'body' is set - if ('body' not in params) or (params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `delete_authorization_openshift_io_v1_namespaced_role_binding`") - - - collection_formats = {} - - resource_path = '/apis/authorization.openshift.io/v1/namespaces/{namespace}/rolebindings/{name}'.replace('{format}', 'json') - path_params = {} - if 'name' in params: - path_params['name'] = params['name'] - if 'namespace' in params: - path_params['namespace'] = params['namespace'] - - query_params = {} - if 'pretty' in params: - query_params['pretty'] = params['pretty'] - if 'grace_period_seconds' in params: - query_params['gracePeriodSeconds'] = params['grace_period_seconds'] - if 'orphan_dependents' in params: - query_params['orphanDependents'] = params['orphan_dependents'] - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - if 'body' in params: - body_params = params['body'] - # HTTP header `Accept` - header_params['Accept'] = self.api_client.\ - select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - - # HTTP header `Content-Type` - header_params['Content-Type'] = self.api_client.\ - select_header_content_type(['*/*']) - - # Authentication setting - auth_settings = ['BearerToken'] - - return self.api_client.call_api(resource_path, 'DELETE', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='UnversionedStatus', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def delete_authorization_openshift_io_v1_namespaced_role_binding_restriction(self, name, namespace, body, **kwargs): - """ - delete a RoleBindingRestriction - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please define a `callback` function - to be invoked when receiving the response. - >>> def callback_function(response): - >>> pprint(response) - >>> - >>> thread = api.delete_authorization_openshift_io_v1_namespaced_role_binding_restriction(name, namespace, body, callback=callback_function) - - :param callback function: The callback function - for asynchronous request. (optional) - :param str name: name of the RoleBindingRestriction (required) - :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1DeleteOptions body: (required) - :param str pretty: If 'true', then the output is pretty printed. - :param int grace_period_seconds: 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. - :param bool orphan_dependents: Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. - :return: UnversionedStatus - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('callback'): - return self.delete_authorization_openshift_io_v1_namespaced_role_binding_restriction_with_http_info(name, namespace, body, **kwargs) - else: - (data) = self.delete_authorization_openshift_io_v1_namespaced_role_binding_restriction_with_http_info(name, namespace, body, **kwargs) - return data - - def delete_authorization_openshift_io_v1_namespaced_role_binding_restriction_with_http_info(self, name, namespace, body, **kwargs): - """ - delete a RoleBindingRestriction - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please define a `callback` function - to be invoked when receiving the response. - >>> def callback_function(response): - >>> pprint(response) - >>> - >>> thread = api.delete_authorization_openshift_io_v1_namespaced_role_binding_restriction_with_http_info(name, namespace, body, callback=callback_function) - - :param callback function: The callback function - for asynchronous request. (optional) - :param str name: name of the RoleBindingRestriction (required) - :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1DeleteOptions body: (required) - :param str pretty: If 'true', then the output is pretty printed. - :param int grace_period_seconds: 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. - :param bool orphan_dependents: Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. - :return: UnversionedStatus - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['name', 'namespace', 'body', 'pretty', 'grace_period_seconds', 'orphan_dependents'] - all_params.append('callback') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method delete_authorization_openshift_io_v1_namespaced_role_binding_restriction" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'name' is set - if ('name' not in params) or (params['name'] is None): - raise ValueError("Missing the required parameter `name` when calling `delete_authorization_openshift_io_v1_namespaced_role_binding_restriction`") - # verify the required parameter 'namespace' is set - if ('namespace' not in params) or (params['namespace'] is None): - raise ValueError("Missing the required parameter `namespace` when calling `delete_authorization_openshift_io_v1_namespaced_role_binding_restriction`") - # verify the required parameter 'body' is set - if ('body' not in params) or (params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `delete_authorization_openshift_io_v1_namespaced_role_binding_restriction`") - - - collection_formats = {} - - resource_path = '/apis/authorization.openshift.io/v1/namespaces/{namespace}/rolebindingrestrictions/{name}'.replace('{format}', 'json') - path_params = {} - if 'name' in params: - path_params['name'] = params['name'] - if 'namespace' in params: - path_params['namespace'] = params['namespace'] - - query_params = {} - if 'pretty' in params: - query_params['pretty'] = params['pretty'] - if 'grace_period_seconds' in params: - query_params['gracePeriodSeconds'] = params['grace_period_seconds'] - if 'orphan_dependents' in params: - query_params['orphanDependents'] = params['orphan_dependents'] - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - if 'body' in params: - body_params = params['body'] - # HTTP header `Accept` - header_params['Accept'] = self.api_client.\ - select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - - # HTTP header `Content-Type` - header_params['Content-Type'] = self.api_client.\ - select_header_content_type(['*/*']) - - # Authentication setting - auth_settings = ['BearerToken'] - - return self.api_client.call_api(resource_path, 'DELETE', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='UnversionedStatus', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def get_authorization_openshift_io_v1_api_resources(self, **kwargs): - """ - get available resources - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please define a `callback` function - to be invoked when receiving the response. - >>> def callback_function(response): - >>> pprint(response) - >>> - >>> thread = api.get_authorization_openshift_io_v1_api_resources(callback=callback_function) - - :param callback function: The callback function - for asynchronous request. (optional) - :return: UnversionedAPIResourceList - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('callback'): - return self.get_authorization_openshift_io_v1_api_resources_with_http_info(**kwargs) - else: - (data) = self.get_authorization_openshift_io_v1_api_resources_with_http_info(**kwargs) - return data - - def get_authorization_openshift_io_v1_api_resources_with_http_info(self, **kwargs): - """ - get available resources - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please define a `callback` function - to be invoked when receiving the response. - >>> def callback_function(response): - >>> pprint(response) - >>> - >>> thread = api.get_authorization_openshift_io_v1_api_resources_with_http_info(callback=callback_function) - - :param callback function: The callback function - for asynchronous request. (optional) - :return: UnversionedAPIResourceList - If the method is called asynchronously, - returns the request thread. - """ - - all_params = [] - all_params.append('callback') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method get_authorization_openshift_io_v1_api_resources" % key - ) - params[key] = val - del params['kwargs'] - - collection_formats = {} - - resource_path = '/apis/authorization.openshift.io/v1/'.replace('{format}', 'json') - path_params = {} - - query_params = {} - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - # HTTP header `Accept` - header_params['Accept'] = self.api_client.\ - select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - - # HTTP header `Content-Type` - header_params['Content-Type'] = self.api_client.\ - select_header_content_type(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - - # Authentication setting - auth_settings = ['BearerToken'] - - return self.api_client.call_api(resource_path, 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='UnversionedAPIResourceList', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def list_authorization_openshift_io_v1_cluster_policy(self, **kwargs): - """ - list or watch objects of kind ClusterPolicy - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please define a `callback` function - to be invoked when receiving the response. - >>> def callback_function(response): - >>> pprint(response) - >>> - >>> thread = api.list_authorization_openshift_io_v1_cluster_policy(callback=callback_function) - - :param callback function: The callback function - for asynchronous request. (optional) - :param str pretty: If 'true', then the output is pretty printed. - :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. - :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. - :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. - :param int timeout_seconds: Timeout for the list/watch call. - :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - :return: V1ClusterPolicyList - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('callback'): - return self.list_authorization_openshift_io_v1_cluster_policy_with_http_info(**kwargs) - else: - (data) = self.list_authorization_openshift_io_v1_cluster_policy_with_http_info(**kwargs) - return data - - def list_authorization_openshift_io_v1_cluster_policy_with_http_info(self, **kwargs): - """ - list or watch objects of kind ClusterPolicy - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please define a `callback` function - to be invoked when receiving the response. - >>> def callback_function(response): - >>> pprint(response) - >>> - >>> thread = api.list_authorization_openshift_io_v1_cluster_policy_with_http_info(callback=callback_function) - - :param callback function: The callback function - for asynchronous request. (optional) - :param str pretty: If 'true', then the output is pretty printed. - :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. - :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. - :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. - :param int timeout_seconds: Timeout for the list/watch call. - :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - :return: V1ClusterPolicyList - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['pretty', 'field_selector', 'label_selector', 'resource_version', 'timeout_seconds', 'watch'] - all_params.append('callback') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method list_authorization_openshift_io_v1_cluster_policy" % key - ) - params[key] = val - del params['kwargs'] - - - collection_formats = {} - - resource_path = '/apis/authorization.openshift.io/v1/clusterpolicies'.replace('{format}', 'json') - path_params = {} - - query_params = {} - if 'pretty' in params: - query_params['pretty'] = params['pretty'] - if 'field_selector' in params: - query_params['fieldSelector'] = params['field_selector'] - if 'label_selector' in params: - query_params['labelSelector'] = params['label_selector'] - if 'resource_version' in params: - query_params['resourceVersion'] = params['resource_version'] - if 'timeout_seconds' in params: - query_params['timeoutSeconds'] = params['timeout_seconds'] - if 'watch' in params: - query_params['watch'] = params['watch'] - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - # HTTP header `Accept` - header_params['Accept'] = self.api_client.\ - select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/json;stream=watch', 'application/vnd.kubernetes.protobuf;stream=watch']) - - # HTTP header `Content-Type` - header_params['Content-Type'] = self.api_client.\ - select_header_content_type(['*/*']) - - # Authentication setting - auth_settings = ['BearerToken'] - - return self.api_client.call_api(resource_path, 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1ClusterPolicyList', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def list_authorization_openshift_io_v1_cluster_policy_binding(self, **kwargs): - """ - list or watch objects of kind ClusterPolicyBinding - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please define a `callback` function - to be invoked when receiving the response. - >>> def callback_function(response): - >>> pprint(response) - >>> - >>> thread = api.list_authorization_openshift_io_v1_cluster_policy_binding(callback=callback_function) - - :param callback function: The callback function - for asynchronous request. (optional) - :param str pretty: If 'true', then the output is pretty printed. - :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. - :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. - :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. - :param int timeout_seconds: Timeout for the list/watch call. - :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - :return: V1ClusterPolicyBindingList - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('callback'): - return self.list_authorization_openshift_io_v1_cluster_policy_binding_with_http_info(**kwargs) - else: - (data) = self.list_authorization_openshift_io_v1_cluster_policy_binding_with_http_info(**kwargs) - return data - - def list_authorization_openshift_io_v1_cluster_policy_binding_with_http_info(self, **kwargs): - """ - list or watch objects of kind ClusterPolicyBinding - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please define a `callback` function - to be invoked when receiving the response. - >>> def callback_function(response): - >>> pprint(response) - >>> - >>> thread = api.list_authorization_openshift_io_v1_cluster_policy_binding_with_http_info(callback=callback_function) - - :param callback function: The callback function - for asynchronous request. (optional) - :param str pretty: If 'true', then the output is pretty printed. - :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. - :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. - :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. - :param int timeout_seconds: Timeout for the list/watch call. - :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - :return: V1ClusterPolicyBindingList - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['pretty', 'field_selector', 'label_selector', 'resource_version', 'timeout_seconds', 'watch'] - all_params.append('callback') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method list_authorization_openshift_io_v1_cluster_policy_binding" % key - ) - params[key] = val - del params['kwargs'] - - - collection_formats = {} - - resource_path = '/apis/authorization.openshift.io/v1/clusterpolicybindings'.replace('{format}', 'json') - path_params = {} - - query_params = {} - if 'pretty' in params: - query_params['pretty'] = params['pretty'] - if 'field_selector' in params: - query_params['fieldSelector'] = params['field_selector'] - if 'label_selector' in params: - query_params['labelSelector'] = params['label_selector'] - if 'resource_version' in params: - query_params['resourceVersion'] = params['resource_version'] - if 'timeout_seconds' in params: - query_params['timeoutSeconds'] = params['timeout_seconds'] - if 'watch' in params: - query_params['watch'] = params['watch'] - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - # HTTP header `Accept` - header_params['Accept'] = self.api_client.\ - select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/json;stream=watch', 'application/vnd.kubernetes.protobuf;stream=watch']) - - # HTTP header `Content-Type` - header_params['Content-Type'] = self.api_client.\ - select_header_content_type(['*/*']) - - # Authentication setting - auth_settings = ['BearerToken'] - - return self.api_client.call_api(resource_path, 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1ClusterPolicyBindingList', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def list_authorization_openshift_io_v1_cluster_role(self, **kwargs): - """ - list objects of kind ClusterRole - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please define a `callback` function - to be invoked when receiving the response. - >>> def callback_function(response): - >>> pprint(response) - >>> - >>> thread = api.list_authorization_openshift_io_v1_cluster_role(callback=callback_function) - - :param callback function: The callback function - for asynchronous request. (optional) - :param str pretty: If 'true', then the output is pretty printed. - :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. - :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. - :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. - :param int timeout_seconds: Timeout for the list/watch call. - :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - :return: V1ClusterRoleList - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('callback'): - return self.list_authorization_openshift_io_v1_cluster_role_with_http_info(**kwargs) - else: - (data) = self.list_authorization_openshift_io_v1_cluster_role_with_http_info(**kwargs) - return data - - def list_authorization_openshift_io_v1_cluster_role_with_http_info(self, **kwargs): - """ - list objects of kind ClusterRole - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please define a `callback` function - to be invoked when receiving the response. - >>> def callback_function(response): - >>> pprint(response) - >>> - >>> thread = api.list_authorization_openshift_io_v1_cluster_role_with_http_info(callback=callback_function) - - :param callback function: The callback function - for asynchronous request. (optional) - :param str pretty: If 'true', then the output is pretty printed. - :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. - :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. - :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. - :param int timeout_seconds: Timeout for the list/watch call. - :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - :return: V1ClusterRoleList - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['pretty', 'field_selector', 'label_selector', 'resource_version', 'timeout_seconds', 'watch'] - all_params.append('callback') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method list_authorization_openshift_io_v1_cluster_role" % key - ) - params[key] = val - del params['kwargs'] - - - collection_formats = {} - - resource_path = '/apis/authorization.openshift.io/v1/clusterroles'.replace('{format}', 'json') - path_params = {} - - query_params = {} - if 'pretty' in params: - query_params['pretty'] = params['pretty'] - if 'field_selector' in params: - query_params['fieldSelector'] = params['field_selector'] - if 'label_selector' in params: - query_params['labelSelector'] = params['label_selector'] - if 'resource_version' in params: - query_params['resourceVersion'] = params['resource_version'] - if 'timeout_seconds' in params: - query_params['timeoutSeconds'] = params['timeout_seconds'] - if 'watch' in params: - query_params['watch'] = params['watch'] - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - # HTTP header `Accept` - header_params['Accept'] = self.api_client.\ - select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/json;stream=watch', 'application/vnd.kubernetes.protobuf;stream=watch']) - - # HTTP header `Content-Type` - header_params['Content-Type'] = self.api_client.\ - select_header_content_type(['*/*']) - - # Authentication setting - auth_settings = ['BearerToken'] - - return self.api_client.call_api(resource_path, 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1ClusterRoleList', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def list_authorization_openshift_io_v1_cluster_role_binding(self, **kwargs): - """ - list objects of kind ClusterRoleBinding - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please define a `callback` function - to be invoked when receiving the response. - >>> def callback_function(response): - >>> pprint(response) - >>> - >>> thread = api.list_authorization_openshift_io_v1_cluster_role_binding(callback=callback_function) - - :param callback function: The callback function - for asynchronous request. (optional) - :param str pretty: If 'true', then the output is pretty printed. - :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. - :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. - :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. - :param int timeout_seconds: Timeout for the list/watch call. - :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - :return: V1ClusterRoleBindingList - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('callback'): - return self.list_authorization_openshift_io_v1_cluster_role_binding_with_http_info(**kwargs) - else: - (data) = self.list_authorization_openshift_io_v1_cluster_role_binding_with_http_info(**kwargs) - return data - - def list_authorization_openshift_io_v1_cluster_role_binding_with_http_info(self, **kwargs): - """ - list objects of kind ClusterRoleBinding - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please define a `callback` function - to be invoked when receiving the response. - >>> def callback_function(response): - >>> pprint(response) - >>> - >>> thread = api.list_authorization_openshift_io_v1_cluster_role_binding_with_http_info(callback=callback_function) - - :param callback function: The callback function - for asynchronous request. (optional) - :param str pretty: If 'true', then the output is pretty printed. - :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. - :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. - :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. - :param int timeout_seconds: Timeout for the list/watch call. - :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - :return: V1ClusterRoleBindingList - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['pretty', 'field_selector', 'label_selector', 'resource_version', 'timeout_seconds', 'watch'] - all_params.append('callback') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method list_authorization_openshift_io_v1_cluster_role_binding" % key - ) - params[key] = val - del params['kwargs'] - - - collection_formats = {} - - resource_path = '/apis/authorization.openshift.io/v1/clusterrolebindings'.replace('{format}', 'json') - path_params = {} - - query_params = {} - if 'pretty' in params: - query_params['pretty'] = params['pretty'] - if 'field_selector' in params: - query_params['fieldSelector'] = params['field_selector'] - if 'label_selector' in params: - query_params['labelSelector'] = params['label_selector'] - if 'resource_version' in params: - query_params['resourceVersion'] = params['resource_version'] - if 'timeout_seconds' in params: - query_params['timeoutSeconds'] = params['timeout_seconds'] - if 'watch' in params: - query_params['watch'] = params['watch'] - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - # HTTP header `Accept` - header_params['Accept'] = self.api_client.\ - select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/json;stream=watch', 'application/vnd.kubernetes.protobuf;stream=watch']) - - # HTTP header `Content-Type` - header_params['Content-Type'] = self.api_client.\ - select_header_content_type(['*/*']) - - # Authentication setting - auth_settings = ['BearerToken'] - - return self.api_client.call_api(resource_path, 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1ClusterRoleBindingList', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def list_authorization_openshift_io_v1_namespaced_policy(self, namespace, **kwargs): - """ - list or watch objects of kind Policy - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please define a `callback` function - to be invoked when receiving the response. - >>> def callback_function(response): - >>> pprint(response) - >>> - >>> thread = api.list_authorization_openshift_io_v1_namespaced_policy(namespace, callback=callback_function) - - :param callback function: The callback function - for asynchronous request. (optional) - :param str namespace: object name and auth scope, such as for teams and projects (required) - :param str pretty: If 'true', then the output is pretty printed. - :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. - :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. - :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. - :param int timeout_seconds: Timeout for the list/watch call. - :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - :return: V1PolicyList - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('callback'): - return self.list_authorization_openshift_io_v1_namespaced_policy_with_http_info(namespace, **kwargs) - else: - (data) = self.list_authorization_openshift_io_v1_namespaced_policy_with_http_info(namespace, **kwargs) - return data - - def list_authorization_openshift_io_v1_namespaced_policy_with_http_info(self, namespace, **kwargs): - """ - list or watch objects of kind Policy - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please define a `callback` function - to be invoked when receiving the response. - >>> def callback_function(response): - >>> pprint(response) - >>> - >>> thread = api.list_authorization_openshift_io_v1_namespaced_policy_with_http_info(namespace, callback=callback_function) - - :param callback function: The callback function - for asynchronous request. (optional) - :param str namespace: object name and auth scope, such as for teams and projects (required) - :param str pretty: If 'true', then the output is pretty printed. - :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. - :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. - :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. - :param int timeout_seconds: Timeout for the list/watch call. - :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - :return: V1PolicyList - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['namespace', 'pretty', 'field_selector', 'label_selector', 'resource_version', 'timeout_seconds', 'watch'] - all_params.append('callback') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method list_authorization_openshift_io_v1_namespaced_policy" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'namespace' is set - if ('namespace' not in params) or (params['namespace'] is None): - raise ValueError("Missing the required parameter `namespace` when calling `list_authorization_openshift_io_v1_namespaced_policy`") - - - collection_formats = {} - - resource_path = '/apis/authorization.openshift.io/v1/namespaces/{namespace}/policies'.replace('{format}', 'json') - path_params = {} - if 'namespace' in params: - path_params['namespace'] = params['namespace'] - - query_params = {} - if 'pretty' in params: - query_params['pretty'] = params['pretty'] - if 'field_selector' in params: - query_params['fieldSelector'] = params['field_selector'] - if 'label_selector' in params: - query_params['labelSelector'] = params['label_selector'] - if 'resource_version' in params: - query_params['resourceVersion'] = params['resource_version'] - if 'timeout_seconds' in params: - query_params['timeoutSeconds'] = params['timeout_seconds'] - if 'watch' in params: - query_params['watch'] = params['watch'] - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - # HTTP header `Accept` - header_params['Accept'] = self.api_client.\ - select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/json;stream=watch', 'application/vnd.kubernetes.protobuf;stream=watch']) - - # HTTP header `Content-Type` - header_params['Content-Type'] = self.api_client.\ - select_header_content_type(['*/*']) - - # Authentication setting - auth_settings = ['BearerToken'] - - return self.api_client.call_api(resource_path, 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1PolicyList', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def list_authorization_openshift_io_v1_namespaced_policy_binding(self, namespace, **kwargs): - """ - list or watch objects of kind PolicyBinding - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please define a `callback` function - to be invoked when receiving the response. - >>> def callback_function(response): - >>> pprint(response) - >>> - >>> thread = api.list_authorization_openshift_io_v1_namespaced_policy_binding(namespace, callback=callback_function) - - :param callback function: The callback function - for asynchronous request. (optional) - :param str namespace: object name and auth scope, such as for teams and projects (required) - :param str pretty: If 'true', then the output is pretty printed. - :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. - :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. - :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. - :param int timeout_seconds: Timeout for the list/watch call. - :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - :return: V1PolicyBindingList - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('callback'): - return self.list_authorization_openshift_io_v1_namespaced_policy_binding_with_http_info(namespace, **kwargs) - else: - (data) = self.list_authorization_openshift_io_v1_namespaced_policy_binding_with_http_info(namespace, **kwargs) - return data - - def list_authorization_openshift_io_v1_namespaced_policy_binding_with_http_info(self, namespace, **kwargs): - """ - list or watch objects of kind PolicyBinding - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please define a `callback` function - to be invoked when receiving the response. - >>> def callback_function(response): - >>> pprint(response) - >>> - >>> thread = api.list_authorization_openshift_io_v1_namespaced_policy_binding_with_http_info(namespace, callback=callback_function) - - :param callback function: The callback function - for asynchronous request. (optional) - :param str namespace: object name and auth scope, such as for teams and projects (required) - :param str pretty: If 'true', then the output is pretty printed. - :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. - :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. - :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. - :param int timeout_seconds: Timeout for the list/watch call. - :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - :return: V1PolicyBindingList - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['namespace', 'pretty', 'field_selector', 'label_selector', 'resource_version', 'timeout_seconds', 'watch'] - all_params.append('callback') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method list_authorization_openshift_io_v1_namespaced_policy_binding" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'namespace' is set - if ('namespace' not in params) or (params['namespace'] is None): - raise ValueError("Missing the required parameter `namespace` when calling `list_authorization_openshift_io_v1_namespaced_policy_binding`") - - - collection_formats = {} - - resource_path = '/apis/authorization.openshift.io/v1/namespaces/{namespace}/policybindings'.replace('{format}', 'json') - path_params = {} - if 'namespace' in params: - path_params['namespace'] = params['namespace'] - - query_params = {} - if 'pretty' in params: - query_params['pretty'] = params['pretty'] - if 'field_selector' in params: - query_params['fieldSelector'] = params['field_selector'] - if 'label_selector' in params: - query_params['labelSelector'] = params['label_selector'] - if 'resource_version' in params: - query_params['resourceVersion'] = params['resource_version'] - if 'timeout_seconds' in params: - query_params['timeoutSeconds'] = params['timeout_seconds'] - if 'watch' in params: - query_params['watch'] = params['watch'] - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - # HTTP header `Accept` - header_params['Accept'] = self.api_client.\ - select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/json;stream=watch', 'application/vnd.kubernetes.protobuf;stream=watch']) - - # HTTP header `Content-Type` - header_params['Content-Type'] = self.api_client.\ - select_header_content_type(['*/*']) - - # Authentication setting - auth_settings = ['BearerToken'] - - return self.api_client.call_api(resource_path, 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1PolicyBindingList', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def list_authorization_openshift_io_v1_namespaced_role(self, namespace, **kwargs): - """ - list objects of kind Role - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please define a `callback` function - to be invoked when receiving the response. - >>> def callback_function(response): - >>> pprint(response) - >>> - >>> thread = api.list_authorization_openshift_io_v1_namespaced_role(namespace, callback=callback_function) - - :param callback function: The callback function - for asynchronous request. (optional) - :param str namespace: object name and auth scope, such as for teams and projects (required) - :param str pretty: If 'true', then the output is pretty printed. - :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. - :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. - :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. - :param int timeout_seconds: Timeout for the list/watch call. - :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - :return: V1RoleList - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('callback'): - return self.list_authorization_openshift_io_v1_namespaced_role_with_http_info(namespace, **kwargs) - else: - (data) = self.list_authorization_openshift_io_v1_namespaced_role_with_http_info(namespace, **kwargs) - return data - - def list_authorization_openshift_io_v1_namespaced_role_with_http_info(self, namespace, **kwargs): - """ - list objects of kind Role - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please define a `callback` function - to be invoked when receiving the response. - >>> def callback_function(response): - >>> pprint(response) - >>> - >>> thread = api.list_authorization_openshift_io_v1_namespaced_role_with_http_info(namespace, callback=callback_function) - - :param callback function: The callback function - for asynchronous request. (optional) - :param str namespace: object name and auth scope, such as for teams and projects (required) - :param str pretty: If 'true', then the output is pretty printed. - :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. - :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. - :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. - :param int timeout_seconds: Timeout for the list/watch call. - :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - :return: V1RoleList - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['namespace', 'pretty', 'field_selector', 'label_selector', 'resource_version', 'timeout_seconds', 'watch'] - all_params.append('callback') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method list_authorization_openshift_io_v1_namespaced_role" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'namespace' is set - if ('namespace' not in params) or (params['namespace'] is None): - raise ValueError("Missing the required parameter `namespace` when calling `list_authorization_openshift_io_v1_namespaced_role`") - - - collection_formats = {} - - resource_path = '/apis/authorization.openshift.io/v1/namespaces/{namespace}/roles'.replace('{format}', 'json') - path_params = {} - if 'namespace' in params: - path_params['namespace'] = params['namespace'] - - query_params = {} - if 'pretty' in params: - query_params['pretty'] = params['pretty'] - if 'field_selector' in params: - query_params['fieldSelector'] = params['field_selector'] - if 'label_selector' in params: - query_params['labelSelector'] = params['label_selector'] - if 'resource_version' in params: - query_params['resourceVersion'] = params['resource_version'] - if 'timeout_seconds' in params: - query_params['timeoutSeconds'] = params['timeout_seconds'] - if 'watch' in params: - query_params['watch'] = params['watch'] - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - # HTTP header `Accept` - header_params['Accept'] = self.api_client.\ - select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/json;stream=watch', 'application/vnd.kubernetes.protobuf;stream=watch']) - - # HTTP header `Content-Type` - header_params['Content-Type'] = self.api_client.\ - select_header_content_type(['*/*']) - - # Authentication setting - auth_settings = ['BearerToken'] - - return self.api_client.call_api(resource_path, 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1RoleList', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def list_authorization_openshift_io_v1_namespaced_role_binding(self, namespace, **kwargs): - """ - list objects of kind RoleBinding - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please define a `callback` function - to be invoked when receiving the response. - >>> def callback_function(response): - >>> pprint(response) - >>> - >>> thread = api.list_authorization_openshift_io_v1_namespaced_role_binding(namespace, callback=callback_function) - - :param callback function: The callback function - for asynchronous request. (optional) - :param str namespace: object name and auth scope, such as for teams and projects (required) - :param str pretty: If 'true', then the output is pretty printed. - :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. - :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. - :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. - :param int timeout_seconds: Timeout for the list/watch call. - :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - :return: V1RoleBindingList - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('callback'): - return self.list_authorization_openshift_io_v1_namespaced_role_binding_with_http_info(namespace, **kwargs) - else: - (data) = self.list_authorization_openshift_io_v1_namespaced_role_binding_with_http_info(namespace, **kwargs) - return data - - def list_authorization_openshift_io_v1_namespaced_role_binding_with_http_info(self, namespace, **kwargs): - """ - list objects of kind RoleBinding - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please define a `callback` function - to be invoked when receiving the response. - >>> def callback_function(response): - >>> pprint(response) - >>> - >>> thread = api.list_authorization_openshift_io_v1_namespaced_role_binding_with_http_info(namespace, callback=callback_function) - - :param callback function: The callback function - for asynchronous request. (optional) - :param str namespace: object name and auth scope, such as for teams and projects (required) - :param str pretty: If 'true', then the output is pretty printed. - :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. - :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. - :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. - :param int timeout_seconds: Timeout for the list/watch call. - :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - :return: V1RoleBindingList - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['namespace', 'pretty', 'field_selector', 'label_selector', 'resource_version', 'timeout_seconds', 'watch'] - all_params.append('callback') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method list_authorization_openshift_io_v1_namespaced_role_binding" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'namespace' is set - if ('namespace' not in params) or (params['namespace'] is None): - raise ValueError("Missing the required parameter `namespace` when calling `list_authorization_openshift_io_v1_namespaced_role_binding`") - - - collection_formats = {} - - resource_path = '/apis/authorization.openshift.io/v1/namespaces/{namespace}/rolebindings'.replace('{format}', 'json') - path_params = {} - if 'namespace' in params: - path_params['namespace'] = params['namespace'] - - query_params = {} - if 'pretty' in params: - query_params['pretty'] = params['pretty'] - if 'field_selector' in params: - query_params['fieldSelector'] = params['field_selector'] - if 'label_selector' in params: - query_params['labelSelector'] = params['label_selector'] - if 'resource_version' in params: - query_params['resourceVersion'] = params['resource_version'] - if 'timeout_seconds' in params: - query_params['timeoutSeconds'] = params['timeout_seconds'] - if 'watch' in params: - query_params['watch'] = params['watch'] - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - # HTTP header `Accept` - header_params['Accept'] = self.api_client.\ - select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/json;stream=watch', 'application/vnd.kubernetes.protobuf;stream=watch']) - - # HTTP header `Content-Type` - header_params['Content-Type'] = self.api_client.\ - select_header_content_type(['*/*']) - - # Authentication setting - auth_settings = ['BearerToken'] - - return self.api_client.call_api(resource_path, 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1RoleBindingList', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def list_authorization_openshift_io_v1_namespaced_role_binding_restriction(self, namespace, **kwargs): - """ - list or watch objects of kind RoleBindingRestriction - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please define a `callback` function - to be invoked when receiving the response. - >>> def callback_function(response): - >>> pprint(response) - >>> - >>> thread = api.list_authorization_openshift_io_v1_namespaced_role_binding_restriction(namespace, callback=callback_function) - - :param callback function: The callback function - for asynchronous request. (optional) - :param str namespace: object name and auth scope, such as for teams and projects (required) - :param str pretty: If 'true', then the output is pretty printed. - :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. - :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. - :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. - :param int timeout_seconds: Timeout for the list/watch call. - :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - :return: V1RoleBindingRestrictionList - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('callback'): - return self.list_authorization_openshift_io_v1_namespaced_role_binding_restriction_with_http_info(namespace, **kwargs) - else: - (data) = self.list_authorization_openshift_io_v1_namespaced_role_binding_restriction_with_http_info(namespace, **kwargs) - return data - - def list_authorization_openshift_io_v1_namespaced_role_binding_restriction_with_http_info(self, namespace, **kwargs): - """ - list or watch objects of kind RoleBindingRestriction - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please define a `callback` function - to be invoked when receiving the response. - >>> def callback_function(response): - >>> pprint(response) - >>> - >>> thread = api.list_authorization_openshift_io_v1_namespaced_role_binding_restriction_with_http_info(namespace, callback=callback_function) - - :param callback function: The callback function - for asynchronous request. (optional) - :param str namespace: object name and auth scope, such as for teams and projects (required) - :param str pretty: If 'true', then the output is pretty printed. - :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. - :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. - :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. - :param int timeout_seconds: Timeout for the list/watch call. - :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - :return: V1RoleBindingRestrictionList - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['namespace', 'pretty', 'field_selector', 'label_selector', 'resource_version', 'timeout_seconds', 'watch'] - all_params.append('callback') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method list_authorization_openshift_io_v1_namespaced_role_binding_restriction" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'namespace' is set - if ('namespace' not in params) or (params['namespace'] is None): - raise ValueError("Missing the required parameter `namespace` when calling `list_authorization_openshift_io_v1_namespaced_role_binding_restriction`") - - - collection_formats = {} - - resource_path = '/apis/authorization.openshift.io/v1/namespaces/{namespace}/rolebindingrestrictions'.replace('{format}', 'json') - path_params = {} - if 'namespace' in params: - path_params['namespace'] = params['namespace'] - - query_params = {} - if 'pretty' in params: - query_params['pretty'] = params['pretty'] - if 'field_selector' in params: - query_params['fieldSelector'] = params['field_selector'] - if 'label_selector' in params: - query_params['labelSelector'] = params['label_selector'] - if 'resource_version' in params: - query_params['resourceVersion'] = params['resource_version'] - if 'timeout_seconds' in params: - query_params['timeoutSeconds'] = params['timeout_seconds'] - if 'watch' in params: - query_params['watch'] = params['watch'] - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - # HTTP header `Accept` - header_params['Accept'] = self.api_client.\ - select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/json;stream=watch', 'application/vnd.kubernetes.protobuf;stream=watch']) - - # HTTP header `Content-Type` - header_params['Content-Type'] = self.api_client.\ - select_header_content_type(['*/*']) - - # Authentication setting - auth_settings = ['BearerToken'] - - return self.api_client.call_api(resource_path, 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1RoleBindingRestrictionList', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def list_authorization_openshift_io_v1_policy_binding_for_all_namespaces(self, **kwargs): - """ - list or watch objects of kind PolicyBinding - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please define a `callback` function - to be invoked when receiving the response. - >>> def callback_function(response): - >>> pprint(response) - >>> - >>> thread = api.list_authorization_openshift_io_v1_policy_binding_for_all_namespaces(callback=callback_function) - - :param callback function: The callback function - for asynchronous request. (optional) - :param str pretty: If 'true', then the output is pretty printed. - :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. - :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. - :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. - :param int timeout_seconds: Timeout for the list/watch call. - :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - :return: V1PolicyBindingList - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('callback'): - return self.list_authorization_openshift_io_v1_policy_binding_for_all_namespaces_with_http_info(**kwargs) - else: - (data) = self.list_authorization_openshift_io_v1_policy_binding_for_all_namespaces_with_http_info(**kwargs) - return data - - def list_authorization_openshift_io_v1_policy_binding_for_all_namespaces_with_http_info(self, **kwargs): - """ - list or watch objects of kind PolicyBinding - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please define a `callback` function - to be invoked when receiving the response. - >>> def callback_function(response): - >>> pprint(response) - >>> - >>> thread = api.list_authorization_openshift_io_v1_policy_binding_for_all_namespaces_with_http_info(callback=callback_function) - - :param callback function: The callback function - for asynchronous request. (optional) - :param str pretty: If 'true', then the output is pretty printed. - :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. - :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. - :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. - :param int timeout_seconds: Timeout for the list/watch call. - :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - :return: V1PolicyBindingList - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['pretty', 'field_selector', 'label_selector', 'resource_version', 'timeout_seconds', 'watch'] - all_params.append('callback') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method list_authorization_openshift_io_v1_policy_binding_for_all_namespaces" % key - ) - params[key] = val - del params['kwargs'] - - - collection_formats = {} - - resource_path = '/apis/authorization.openshift.io/v1/policybindings'.replace('{format}', 'json') - path_params = {} - - query_params = {} - if 'pretty' in params: - query_params['pretty'] = params['pretty'] - if 'field_selector' in params: - query_params['fieldSelector'] = params['field_selector'] - if 'label_selector' in params: - query_params['labelSelector'] = params['label_selector'] - if 'resource_version' in params: - query_params['resourceVersion'] = params['resource_version'] - if 'timeout_seconds' in params: - query_params['timeoutSeconds'] = params['timeout_seconds'] - if 'watch' in params: - query_params['watch'] = params['watch'] - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - # HTTP header `Accept` - header_params['Accept'] = self.api_client.\ - select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/json;stream=watch', 'application/vnd.kubernetes.protobuf;stream=watch']) - - # HTTP header `Content-Type` - header_params['Content-Type'] = self.api_client.\ - select_header_content_type(['*/*']) - - # Authentication setting - auth_settings = ['BearerToken'] - - return self.api_client.call_api(resource_path, 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1PolicyBindingList', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def list_authorization_openshift_io_v1_policy_for_all_namespaces(self, **kwargs): - """ - list or watch objects of kind Policy - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please define a `callback` function - to be invoked when receiving the response. - >>> def callback_function(response): - >>> pprint(response) - >>> - >>> thread = api.list_authorization_openshift_io_v1_policy_for_all_namespaces(callback=callback_function) - - :param callback function: The callback function - for asynchronous request. (optional) - :param str pretty: If 'true', then the output is pretty printed. - :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. - :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. - :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. - :param int timeout_seconds: Timeout for the list/watch call. - :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - :return: V1PolicyList - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('callback'): - return self.list_authorization_openshift_io_v1_policy_for_all_namespaces_with_http_info(**kwargs) - else: - (data) = self.list_authorization_openshift_io_v1_policy_for_all_namespaces_with_http_info(**kwargs) - return data - - def list_authorization_openshift_io_v1_policy_for_all_namespaces_with_http_info(self, **kwargs): - """ - list or watch objects of kind Policy - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please define a `callback` function - to be invoked when receiving the response. - >>> def callback_function(response): - >>> pprint(response) - >>> - >>> thread = api.list_authorization_openshift_io_v1_policy_for_all_namespaces_with_http_info(callback=callback_function) - - :param callback function: The callback function - for asynchronous request. (optional) - :param str pretty: If 'true', then the output is pretty printed. - :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. - :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. - :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. - :param int timeout_seconds: Timeout for the list/watch call. - :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - :return: V1PolicyList - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['pretty', 'field_selector', 'label_selector', 'resource_version', 'timeout_seconds', 'watch'] - all_params.append('callback') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method list_authorization_openshift_io_v1_policy_for_all_namespaces" % key - ) - params[key] = val - del params['kwargs'] - - - collection_formats = {} - - resource_path = '/apis/authorization.openshift.io/v1/policies'.replace('{format}', 'json') - path_params = {} - - query_params = {} - if 'pretty' in params: - query_params['pretty'] = params['pretty'] - if 'field_selector' in params: - query_params['fieldSelector'] = params['field_selector'] - if 'label_selector' in params: - query_params['labelSelector'] = params['label_selector'] - if 'resource_version' in params: - query_params['resourceVersion'] = params['resource_version'] - if 'timeout_seconds' in params: - query_params['timeoutSeconds'] = params['timeout_seconds'] - if 'watch' in params: - query_params['watch'] = params['watch'] - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - # HTTP header `Accept` - header_params['Accept'] = self.api_client.\ - select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/json;stream=watch', 'application/vnd.kubernetes.protobuf;stream=watch']) - - # HTTP header `Content-Type` - header_params['Content-Type'] = self.api_client.\ - select_header_content_type(['*/*']) - - # Authentication setting - auth_settings = ['BearerToken'] - - return self.api_client.call_api(resource_path, 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1PolicyList', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def list_authorization_openshift_io_v1_role_binding_for_all_namespaces(self, **kwargs): - """ - list objects of kind RoleBinding - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please define a `callback` function - to be invoked when receiving the response. - >>> def callback_function(response): - >>> pprint(response) - >>> - >>> thread = api.list_authorization_openshift_io_v1_role_binding_for_all_namespaces(callback=callback_function) - - :param callback function: The callback function - for asynchronous request. (optional) - :param str pretty: If 'true', then the output is pretty printed. - :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. - :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. - :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. - :param int timeout_seconds: Timeout for the list/watch call. - :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - :return: V1RoleBindingList - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('callback'): - return self.list_authorization_openshift_io_v1_role_binding_for_all_namespaces_with_http_info(**kwargs) - else: - (data) = self.list_authorization_openshift_io_v1_role_binding_for_all_namespaces_with_http_info(**kwargs) - return data - - def list_authorization_openshift_io_v1_role_binding_for_all_namespaces_with_http_info(self, **kwargs): - """ - list objects of kind RoleBinding - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please define a `callback` function - to be invoked when receiving the response. - >>> def callback_function(response): - >>> pprint(response) - >>> - >>> thread = api.list_authorization_openshift_io_v1_role_binding_for_all_namespaces_with_http_info(callback=callback_function) - - :param callback function: The callback function - for asynchronous request. (optional) - :param str pretty: If 'true', then the output is pretty printed. - :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. - :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. - :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. - :param int timeout_seconds: Timeout for the list/watch call. - :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - :return: V1RoleBindingList - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['pretty', 'field_selector', 'label_selector', 'resource_version', 'timeout_seconds', 'watch'] - all_params.append('callback') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method list_authorization_openshift_io_v1_role_binding_for_all_namespaces" % key - ) - params[key] = val - del params['kwargs'] - - - collection_formats = {} - - resource_path = '/apis/authorization.openshift.io/v1/rolebindings'.replace('{format}', 'json') - path_params = {} - - query_params = {} - if 'pretty' in params: - query_params['pretty'] = params['pretty'] - if 'field_selector' in params: - query_params['fieldSelector'] = params['field_selector'] - if 'label_selector' in params: - query_params['labelSelector'] = params['label_selector'] - if 'resource_version' in params: - query_params['resourceVersion'] = params['resource_version'] - if 'timeout_seconds' in params: - query_params['timeoutSeconds'] = params['timeout_seconds'] - if 'watch' in params: - query_params['watch'] = params['watch'] - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - # HTTP header `Accept` - header_params['Accept'] = self.api_client.\ - select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/json;stream=watch', 'application/vnd.kubernetes.protobuf;stream=watch']) - - # HTTP header `Content-Type` - header_params['Content-Type'] = self.api_client.\ - select_header_content_type(['*/*']) - - # Authentication setting - auth_settings = ['BearerToken'] - - return self.api_client.call_api(resource_path, 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1RoleBindingList', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def list_authorization_openshift_io_v1_role_binding_restriction_for_all_namespaces(self, **kwargs): - """ - list or watch objects of kind RoleBindingRestriction - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please define a `callback` function - to be invoked when receiving the response. - >>> def callback_function(response): - >>> pprint(response) - >>> - >>> thread = api.list_authorization_openshift_io_v1_role_binding_restriction_for_all_namespaces(callback=callback_function) - - :param callback function: The callback function - for asynchronous request. (optional) - :param str pretty: If 'true', then the output is pretty printed. - :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. - :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. - :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. - :param int timeout_seconds: Timeout for the list/watch call. - :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - :return: V1RoleBindingRestrictionList - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('callback'): - return self.list_authorization_openshift_io_v1_role_binding_restriction_for_all_namespaces_with_http_info(**kwargs) - else: - (data) = self.list_authorization_openshift_io_v1_role_binding_restriction_for_all_namespaces_with_http_info(**kwargs) - return data - - def list_authorization_openshift_io_v1_role_binding_restriction_for_all_namespaces_with_http_info(self, **kwargs): - """ - list or watch objects of kind RoleBindingRestriction - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please define a `callback` function - to be invoked when receiving the response. - >>> def callback_function(response): - >>> pprint(response) - >>> - >>> thread = api.list_authorization_openshift_io_v1_role_binding_restriction_for_all_namespaces_with_http_info(callback=callback_function) - - :param callback function: The callback function - for asynchronous request. (optional) - :param str pretty: If 'true', then the output is pretty printed. - :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. - :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. - :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. - :param int timeout_seconds: Timeout for the list/watch call. - :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - :return: V1RoleBindingRestrictionList - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['pretty', 'field_selector', 'label_selector', 'resource_version', 'timeout_seconds', 'watch'] - all_params.append('callback') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method list_authorization_openshift_io_v1_role_binding_restriction_for_all_namespaces" % key - ) - params[key] = val - del params['kwargs'] - - - collection_formats = {} - - resource_path = '/apis/authorization.openshift.io/v1/rolebindingrestrictions'.replace('{format}', 'json') - path_params = {} - - query_params = {} - if 'pretty' in params: - query_params['pretty'] = params['pretty'] - if 'field_selector' in params: - query_params['fieldSelector'] = params['field_selector'] - if 'label_selector' in params: - query_params['labelSelector'] = params['label_selector'] - if 'resource_version' in params: - query_params['resourceVersion'] = params['resource_version'] - if 'timeout_seconds' in params: - query_params['timeoutSeconds'] = params['timeout_seconds'] - if 'watch' in params: - query_params['watch'] = params['watch'] - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - # HTTP header `Accept` - header_params['Accept'] = self.api_client.\ - select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/json;stream=watch', 'application/vnd.kubernetes.protobuf;stream=watch']) - - # HTTP header `Content-Type` - header_params['Content-Type'] = self.api_client.\ - select_header_content_type(['*/*']) - - # Authentication setting - auth_settings = ['BearerToken'] - - return self.api_client.call_api(resource_path, 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1RoleBindingRestrictionList', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def list_authorization_openshift_io_v1_role_for_all_namespaces(self, **kwargs): - """ - list objects of kind Role - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please define a `callback` function - to be invoked when receiving the response. - >>> def callback_function(response): - >>> pprint(response) - >>> - >>> thread = api.list_authorization_openshift_io_v1_role_for_all_namespaces(callback=callback_function) - - :param callback function: The callback function - for asynchronous request. (optional) - :param str pretty: If 'true', then the output is pretty printed. - :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. - :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. - :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. - :param int timeout_seconds: Timeout for the list/watch call. - :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - :return: V1RoleList - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('callback'): - return self.list_authorization_openshift_io_v1_role_for_all_namespaces_with_http_info(**kwargs) - else: - (data) = self.list_authorization_openshift_io_v1_role_for_all_namespaces_with_http_info(**kwargs) - return data - - def list_authorization_openshift_io_v1_role_for_all_namespaces_with_http_info(self, **kwargs): - """ - list objects of kind Role - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please define a `callback` function - to be invoked when receiving the response. - >>> def callback_function(response): - >>> pprint(response) - >>> - >>> thread = api.list_authorization_openshift_io_v1_role_for_all_namespaces_with_http_info(callback=callback_function) - - :param callback function: The callback function - for asynchronous request. (optional) - :param str pretty: If 'true', then the output is pretty printed. - :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. - :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. - :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. - :param int timeout_seconds: Timeout for the list/watch call. - :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - :return: V1RoleList - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['pretty', 'field_selector', 'label_selector', 'resource_version', 'timeout_seconds', 'watch'] - all_params.append('callback') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method list_authorization_openshift_io_v1_role_for_all_namespaces" % key - ) - params[key] = val - del params['kwargs'] - - - collection_formats = {} - - resource_path = '/apis/authorization.openshift.io/v1/roles'.replace('{format}', 'json') - path_params = {} - - query_params = {} - if 'pretty' in params: - query_params['pretty'] = params['pretty'] - if 'field_selector' in params: - query_params['fieldSelector'] = params['field_selector'] - if 'label_selector' in params: - query_params['labelSelector'] = params['label_selector'] - if 'resource_version' in params: - query_params['resourceVersion'] = params['resource_version'] - if 'timeout_seconds' in params: - query_params['timeoutSeconds'] = params['timeout_seconds'] - if 'watch' in params: - query_params['watch'] = params['watch'] - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - # HTTP header `Accept` - header_params['Accept'] = self.api_client.\ - select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/json;stream=watch', 'application/vnd.kubernetes.protobuf;stream=watch']) - - # HTTP header `Content-Type` - header_params['Content-Type'] = self.api_client.\ - select_header_content_type(['*/*']) - - # Authentication setting - auth_settings = ['BearerToken'] - - return self.api_client.call_api(resource_path, 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1RoleList', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def patch_authorization_openshift_io_v1_cluster_policy(self, name, body, **kwargs): - """ - partially update the specified ClusterPolicy - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please define a `callback` function - to be invoked when receiving the response. - >>> def callback_function(response): - >>> pprint(response) - >>> - >>> thread = api.patch_authorization_openshift_io_v1_cluster_policy(name, body, callback=callback_function) - - :param callback function: The callback function - for asynchronous request. (optional) - :param str name: name of the ClusterPolicy (required) - :param UnversionedPatch body: (required) - :param str pretty: If 'true', then the output is pretty printed. - :return: V1ClusterPolicy - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('callback'): - return self.patch_authorization_openshift_io_v1_cluster_policy_with_http_info(name, body, **kwargs) - else: - (data) = self.patch_authorization_openshift_io_v1_cluster_policy_with_http_info(name, body, **kwargs) - return data - - def patch_authorization_openshift_io_v1_cluster_policy_with_http_info(self, name, body, **kwargs): - """ - partially update the specified ClusterPolicy - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please define a `callback` function - to be invoked when receiving the response. - >>> def callback_function(response): - >>> pprint(response) - >>> - >>> thread = api.patch_authorization_openshift_io_v1_cluster_policy_with_http_info(name, body, callback=callback_function) - - :param callback function: The callback function - for asynchronous request. (optional) - :param str name: name of the ClusterPolicy (required) - :param UnversionedPatch body: (required) - :param str pretty: If 'true', then the output is pretty printed. - :return: V1ClusterPolicy - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['name', 'body', 'pretty'] - all_params.append('callback') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method patch_authorization_openshift_io_v1_cluster_policy" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'name' is set - if ('name' not in params) or (params['name'] is None): - raise ValueError("Missing the required parameter `name` when calling `patch_authorization_openshift_io_v1_cluster_policy`") - # verify the required parameter 'body' is set - if ('body' not in params) or (params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `patch_authorization_openshift_io_v1_cluster_policy`") - - - collection_formats = {} - - resource_path = '/apis/authorization.openshift.io/v1/clusterpolicies/{name}'.replace('{format}', 'json') - path_params = {} - if 'name' in params: - path_params['name'] = params['name'] - - query_params = {} - if 'pretty' in params: - query_params['pretty'] = params['pretty'] - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - if 'body' in params: - body_params = params['body'] - # HTTP header `Accept` - header_params['Accept'] = self.api_client.\ - select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - - # HTTP header `Content-Type` - header_params['Content-Type'] = self.api_client.\ - select_header_content_type(['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json']) - - # Authentication setting - auth_settings = ['BearerToken'] - - return self.api_client.call_api(resource_path, 'PATCH', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1ClusterPolicy', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def patch_authorization_openshift_io_v1_cluster_policy_binding(self, name, body, **kwargs): - """ - partially update the specified ClusterPolicyBinding - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please define a `callback` function - to be invoked when receiving the response. - >>> def callback_function(response): - >>> pprint(response) - >>> - >>> thread = api.patch_authorization_openshift_io_v1_cluster_policy_binding(name, body, callback=callback_function) - - :param callback function: The callback function - for asynchronous request. (optional) - :param str name: name of the ClusterPolicyBinding (required) - :param UnversionedPatch body: (required) - :param str pretty: If 'true', then the output is pretty printed. - :return: V1ClusterPolicyBinding - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('callback'): - return self.patch_authorization_openshift_io_v1_cluster_policy_binding_with_http_info(name, body, **kwargs) - else: - (data) = self.patch_authorization_openshift_io_v1_cluster_policy_binding_with_http_info(name, body, **kwargs) - return data - - def patch_authorization_openshift_io_v1_cluster_policy_binding_with_http_info(self, name, body, **kwargs): - """ - partially update the specified ClusterPolicyBinding - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please define a `callback` function - to be invoked when receiving the response. - >>> def callback_function(response): - >>> pprint(response) - >>> - >>> thread = api.patch_authorization_openshift_io_v1_cluster_policy_binding_with_http_info(name, body, callback=callback_function) - - :param callback function: The callback function - for asynchronous request. (optional) - :param str name: name of the ClusterPolicyBinding (required) - :param UnversionedPatch body: (required) - :param str pretty: If 'true', then the output is pretty printed. - :return: V1ClusterPolicyBinding - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['name', 'body', 'pretty'] - all_params.append('callback') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method patch_authorization_openshift_io_v1_cluster_policy_binding" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'name' is set - if ('name' not in params) or (params['name'] is None): - raise ValueError("Missing the required parameter `name` when calling `patch_authorization_openshift_io_v1_cluster_policy_binding`") - # verify the required parameter 'body' is set - if ('body' not in params) or (params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `patch_authorization_openshift_io_v1_cluster_policy_binding`") - - - collection_formats = {} - - resource_path = '/apis/authorization.openshift.io/v1/clusterpolicybindings/{name}'.replace('{format}', 'json') - path_params = {} - if 'name' in params: - path_params['name'] = params['name'] - - query_params = {} - if 'pretty' in params: - query_params['pretty'] = params['pretty'] - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - if 'body' in params: - body_params = params['body'] - # HTTP header `Accept` - header_params['Accept'] = self.api_client.\ - select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - - # HTTP header `Content-Type` - header_params['Content-Type'] = self.api_client.\ - select_header_content_type(['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json']) - - # Authentication setting - auth_settings = ['BearerToken'] - - return self.api_client.call_api(resource_path, 'PATCH', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1ClusterPolicyBinding', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def patch_authorization_openshift_io_v1_cluster_role(self, name, body, **kwargs): - """ - partially update the specified ClusterRole - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please define a `callback` function - to be invoked when receiving the response. - >>> def callback_function(response): - >>> pprint(response) - >>> - >>> thread = api.patch_authorization_openshift_io_v1_cluster_role(name, body, callback=callback_function) - - :param callback function: The callback function - for asynchronous request. (optional) - :param str name: name of the ClusterRole (required) - :param UnversionedPatch body: (required) - :param str pretty: If 'true', then the output is pretty printed. - :return: V1ClusterRole - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('callback'): - return self.patch_authorization_openshift_io_v1_cluster_role_with_http_info(name, body, **kwargs) - else: - (data) = self.patch_authorization_openshift_io_v1_cluster_role_with_http_info(name, body, **kwargs) - return data - - def patch_authorization_openshift_io_v1_cluster_role_with_http_info(self, name, body, **kwargs): - """ - partially update the specified ClusterRole - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please define a `callback` function - to be invoked when receiving the response. - >>> def callback_function(response): - >>> pprint(response) - >>> - >>> thread = api.patch_authorization_openshift_io_v1_cluster_role_with_http_info(name, body, callback=callback_function) - - :param callback function: The callback function - for asynchronous request. (optional) - :param str name: name of the ClusterRole (required) - :param UnversionedPatch body: (required) - :param str pretty: If 'true', then the output is pretty printed. - :return: V1ClusterRole - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['name', 'body', 'pretty'] - all_params.append('callback') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method patch_authorization_openshift_io_v1_cluster_role" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'name' is set - if ('name' not in params) or (params['name'] is None): - raise ValueError("Missing the required parameter `name` when calling `patch_authorization_openshift_io_v1_cluster_role`") - # verify the required parameter 'body' is set - if ('body' not in params) or (params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `patch_authorization_openshift_io_v1_cluster_role`") - - - collection_formats = {} - - resource_path = '/apis/authorization.openshift.io/v1/clusterroles/{name}'.replace('{format}', 'json') - path_params = {} - if 'name' in params: - path_params['name'] = params['name'] - - query_params = {} - if 'pretty' in params: - query_params['pretty'] = params['pretty'] - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - if 'body' in params: - body_params = params['body'] - # HTTP header `Accept` - header_params['Accept'] = self.api_client.\ - select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - - # HTTP header `Content-Type` - header_params['Content-Type'] = self.api_client.\ - select_header_content_type(['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json']) - - # Authentication setting - auth_settings = ['BearerToken'] - - return self.api_client.call_api(resource_path, 'PATCH', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1ClusterRole', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def patch_authorization_openshift_io_v1_cluster_role_binding(self, name, body, **kwargs): - """ - partially update the specified ClusterRoleBinding - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please define a `callback` function - to be invoked when receiving the response. - >>> def callback_function(response): - >>> pprint(response) - >>> - >>> thread = api.patch_authorization_openshift_io_v1_cluster_role_binding(name, body, callback=callback_function) - - :param callback function: The callback function - for asynchronous request. (optional) - :param str name: name of the ClusterRoleBinding (required) - :param UnversionedPatch body: (required) - :param str pretty: If 'true', then the output is pretty printed. - :return: V1ClusterRoleBinding - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('callback'): - return self.patch_authorization_openshift_io_v1_cluster_role_binding_with_http_info(name, body, **kwargs) - else: - (data) = self.patch_authorization_openshift_io_v1_cluster_role_binding_with_http_info(name, body, **kwargs) - return data - - def patch_authorization_openshift_io_v1_cluster_role_binding_with_http_info(self, name, body, **kwargs): - """ - partially update the specified ClusterRoleBinding - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please define a `callback` function - to be invoked when receiving the response. - >>> def callback_function(response): - >>> pprint(response) - >>> - >>> thread = api.patch_authorization_openshift_io_v1_cluster_role_binding_with_http_info(name, body, callback=callback_function) - - :param callback function: The callback function - for asynchronous request. (optional) - :param str name: name of the ClusterRoleBinding (required) - :param UnversionedPatch body: (required) - :param str pretty: If 'true', then the output is pretty printed. - :return: V1ClusterRoleBinding - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['name', 'body', 'pretty'] - all_params.append('callback') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method patch_authorization_openshift_io_v1_cluster_role_binding" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'name' is set - if ('name' not in params) or (params['name'] is None): - raise ValueError("Missing the required parameter `name` when calling `patch_authorization_openshift_io_v1_cluster_role_binding`") - # verify the required parameter 'body' is set - if ('body' not in params) or (params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `patch_authorization_openshift_io_v1_cluster_role_binding`") - - - collection_formats = {} - - resource_path = '/apis/authorization.openshift.io/v1/clusterrolebindings/{name}'.replace('{format}', 'json') - path_params = {} - if 'name' in params: - path_params['name'] = params['name'] - - query_params = {} - if 'pretty' in params: - query_params['pretty'] = params['pretty'] - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - if 'body' in params: - body_params = params['body'] - # HTTP header `Accept` - header_params['Accept'] = self.api_client.\ - select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - - # HTTP header `Content-Type` - header_params['Content-Type'] = self.api_client.\ - select_header_content_type(['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json']) - - # Authentication setting - auth_settings = ['BearerToken'] - - return self.api_client.call_api(resource_path, 'PATCH', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1ClusterRoleBinding', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def patch_authorization_openshift_io_v1_namespaced_policy(self, name, namespace, body, **kwargs): - """ - partially update the specified Policy - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please define a `callback` function - to be invoked when receiving the response. - >>> def callback_function(response): - >>> pprint(response) - >>> - >>> thread = api.patch_authorization_openshift_io_v1_namespaced_policy(name, namespace, body, callback=callback_function) - - :param callback function: The callback function - for asynchronous request. (optional) - :param str name: name of the Policy (required) - :param str namespace: object name and auth scope, such as for teams and projects (required) - :param UnversionedPatch body: (required) - :param str pretty: If 'true', then the output is pretty printed. - :return: V1Policy - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('callback'): - return self.patch_authorization_openshift_io_v1_namespaced_policy_with_http_info(name, namespace, body, **kwargs) - else: - (data) = self.patch_authorization_openshift_io_v1_namespaced_policy_with_http_info(name, namespace, body, **kwargs) - return data - - def patch_authorization_openshift_io_v1_namespaced_policy_with_http_info(self, name, namespace, body, **kwargs): - """ - partially update the specified Policy - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please define a `callback` function - to be invoked when receiving the response. - >>> def callback_function(response): - >>> pprint(response) - >>> - >>> thread = api.patch_authorization_openshift_io_v1_namespaced_policy_with_http_info(name, namespace, body, callback=callback_function) - - :param callback function: The callback function - for asynchronous request. (optional) - :param str name: name of the Policy (required) - :param str namespace: object name and auth scope, such as for teams and projects (required) - :param UnversionedPatch body: (required) - :param str pretty: If 'true', then the output is pretty printed. - :return: V1Policy - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['name', 'namespace', 'body', 'pretty'] - all_params.append('callback') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method patch_authorization_openshift_io_v1_namespaced_policy" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'name' is set - if ('name' not in params) or (params['name'] is None): - raise ValueError("Missing the required parameter `name` when calling `patch_authorization_openshift_io_v1_namespaced_policy`") - # verify the required parameter 'namespace' is set - if ('namespace' not in params) or (params['namespace'] is None): - raise ValueError("Missing the required parameter `namespace` when calling `patch_authorization_openshift_io_v1_namespaced_policy`") - # verify the required parameter 'body' is set - if ('body' not in params) or (params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `patch_authorization_openshift_io_v1_namespaced_policy`") - - - collection_formats = {} - - resource_path = '/apis/authorization.openshift.io/v1/namespaces/{namespace}/policies/{name}'.replace('{format}', 'json') - path_params = {} - if 'name' in params: - path_params['name'] = params['name'] - if 'namespace' in params: - path_params['namespace'] = params['namespace'] - - query_params = {} - if 'pretty' in params: - query_params['pretty'] = params['pretty'] - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - if 'body' in params: - body_params = params['body'] - # HTTP header `Accept` - header_params['Accept'] = self.api_client.\ - select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - - # HTTP header `Content-Type` - header_params['Content-Type'] = self.api_client.\ - select_header_content_type(['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json']) - - # Authentication setting - auth_settings = ['BearerToken'] - - return self.api_client.call_api(resource_path, 'PATCH', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1Policy', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def patch_authorization_openshift_io_v1_namespaced_policy_binding(self, name, namespace, body, **kwargs): - """ - partially update the specified PolicyBinding - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please define a `callback` function - to be invoked when receiving the response. - >>> def callback_function(response): - >>> pprint(response) - >>> - >>> thread = api.patch_authorization_openshift_io_v1_namespaced_policy_binding(name, namespace, body, callback=callback_function) - - :param callback function: The callback function - for asynchronous request. (optional) - :param str name: name of the PolicyBinding (required) - :param str namespace: object name and auth scope, such as for teams and projects (required) - :param UnversionedPatch body: (required) - :param str pretty: If 'true', then the output is pretty printed. - :return: V1PolicyBinding - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('callback'): - return self.patch_authorization_openshift_io_v1_namespaced_policy_binding_with_http_info(name, namespace, body, **kwargs) - else: - (data) = self.patch_authorization_openshift_io_v1_namespaced_policy_binding_with_http_info(name, namespace, body, **kwargs) - return data - - def patch_authorization_openshift_io_v1_namespaced_policy_binding_with_http_info(self, name, namespace, body, **kwargs): - """ - partially update the specified PolicyBinding - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please define a `callback` function - to be invoked when receiving the response. - >>> def callback_function(response): - >>> pprint(response) - >>> - >>> thread = api.patch_authorization_openshift_io_v1_namespaced_policy_binding_with_http_info(name, namespace, body, callback=callback_function) - - :param callback function: The callback function - for asynchronous request. (optional) - :param str name: name of the PolicyBinding (required) - :param str namespace: object name and auth scope, such as for teams and projects (required) - :param UnversionedPatch body: (required) - :param str pretty: If 'true', then the output is pretty printed. - :return: V1PolicyBinding - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['name', 'namespace', 'body', 'pretty'] - all_params.append('callback') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method patch_authorization_openshift_io_v1_namespaced_policy_binding" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'name' is set - if ('name' not in params) or (params['name'] is None): - raise ValueError("Missing the required parameter `name` when calling `patch_authorization_openshift_io_v1_namespaced_policy_binding`") - # verify the required parameter 'namespace' is set - if ('namespace' not in params) or (params['namespace'] is None): - raise ValueError("Missing the required parameter `namespace` when calling `patch_authorization_openshift_io_v1_namespaced_policy_binding`") - # verify the required parameter 'body' is set - if ('body' not in params) or (params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `patch_authorization_openshift_io_v1_namespaced_policy_binding`") - - - collection_formats = {} - - resource_path = '/apis/authorization.openshift.io/v1/namespaces/{namespace}/policybindings/{name}'.replace('{format}', 'json') - path_params = {} - if 'name' in params: - path_params['name'] = params['name'] - if 'namespace' in params: - path_params['namespace'] = params['namespace'] - - query_params = {} - if 'pretty' in params: - query_params['pretty'] = params['pretty'] - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - if 'body' in params: - body_params = params['body'] - # HTTP header `Accept` - header_params['Accept'] = self.api_client.\ - select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - - # HTTP header `Content-Type` - header_params['Content-Type'] = self.api_client.\ - select_header_content_type(['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json']) - - # Authentication setting - auth_settings = ['BearerToken'] - - return self.api_client.call_api(resource_path, 'PATCH', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1PolicyBinding', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def patch_authorization_openshift_io_v1_namespaced_role(self, name, namespace, body, **kwargs): - """ - partially update the specified Role - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please define a `callback` function - to be invoked when receiving the response. - >>> def callback_function(response): - >>> pprint(response) - >>> - >>> thread = api.patch_authorization_openshift_io_v1_namespaced_role(name, namespace, body, callback=callback_function) - - :param callback function: The callback function - for asynchronous request. (optional) - :param str name: name of the Role (required) - :param str namespace: object name and auth scope, such as for teams and projects (required) - :param UnversionedPatch body: (required) - :param str pretty: If 'true', then the output is pretty printed. - :return: V1Role - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('callback'): - return self.patch_authorization_openshift_io_v1_namespaced_role_with_http_info(name, namespace, body, **kwargs) - else: - (data) = self.patch_authorization_openshift_io_v1_namespaced_role_with_http_info(name, namespace, body, **kwargs) - return data - - def patch_authorization_openshift_io_v1_namespaced_role_with_http_info(self, name, namespace, body, **kwargs): - """ - partially update the specified Role - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please define a `callback` function - to be invoked when receiving the response. - >>> def callback_function(response): - >>> pprint(response) - >>> - >>> thread = api.patch_authorization_openshift_io_v1_namespaced_role_with_http_info(name, namespace, body, callback=callback_function) - - :param callback function: The callback function - for asynchronous request. (optional) - :param str name: name of the Role (required) - :param str namespace: object name and auth scope, such as for teams and projects (required) - :param UnversionedPatch body: (required) - :param str pretty: If 'true', then the output is pretty printed. - :return: V1Role - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['name', 'namespace', 'body', 'pretty'] - all_params.append('callback') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method patch_authorization_openshift_io_v1_namespaced_role" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'name' is set - if ('name' not in params) or (params['name'] is None): - raise ValueError("Missing the required parameter `name` when calling `patch_authorization_openshift_io_v1_namespaced_role`") - # verify the required parameter 'namespace' is set - if ('namespace' not in params) or (params['namespace'] is None): - raise ValueError("Missing the required parameter `namespace` when calling `patch_authorization_openshift_io_v1_namespaced_role`") - # verify the required parameter 'body' is set - if ('body' not in params) or (params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `patch_authorization_openshift_io_v1_namespaced_role`") - - - collection_formats = {} - - resource_path = '/apis/authorization.openshift.io/v1/namespaces/{namespace}/roles/{name}'.replace('{format}', 'json') - path_params = {} - if 'name' in params: - path_params['name'] = params['name'] - if 'namespace' in params: - path_params['namespace'] = params['namespace'] - - query_params = {} - if 'pretty' in params: - query_params['pretty'] = params['pretty'] - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - if 'body' in params: - body_params = params['body'] - # HTTP header `Accept` - header_params['Accept'] = self.api_client.\ - select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - - # HTTP header `Content-Type` - header_params['Content-Type'] = self.api_client.\ - select_header_content_type(['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json']) - - # Authentication setting - auth_settings = ['BearerToken'] - - return self.api_client.call_api(resource_path, 'PATCH', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1Role', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def patch_authorization_openshift_io_v1_namespaced_role_binding(self, name, namespace, body, **kwargs): - """ - partially update the specified RoleBinding - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please define a `callback` function - to be invoked when receiving the response. - >>> def callback_function(response): - >>> pprint(response) - >>> - >>> thread = api.patch_authorization_openshift_io_v1_namespaced_role_binding(name, namespace, body, callback=callback_function) - - :param callback function: The callback function - for asynchronous request. (optional) - :param str name: name of the RoleBinding (required) - :param str namespace: object name and auth scope, such as for teams and projects (required) - :param UnversionedPatch body: (required) - :param str pretty: If 'true', then the output is pretty printed. - :return: V1RoleBinding - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('callback'): - return self.patch_authorization_openshift_io_v1_namespaced_role_binding_with_http_info(name, namespace, body, **kwargs) - else: - (data) = self.patch_authorization_openshift_io_v1_namespaced_role_binding_with_http_info(name, namespace, body, **kwargs) - return data - - def patch_authorization_openshift_io_v1_namespaced_role_binding_with_http_info(self, name, namespace, body, **kwargs): - """ - partially update the specified RoleBinding - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please define a `callback` function - to be invoked when receiving the response. - >>> def callback_function(response): - >>> pprint(response) - >>> - >>> thread = api.patch_authorization_openshift_io_v1_namespaced_role_binding_with_http_info(name, namespace, body, callback=callback_function) - - :param callback function: The callback function - for asynchronous request. (optional) - :param str name: name of the RoleBinding (required) - :param str namespace: object name and auth scope, such as for teams and projects (required) - :param UnversionedPatch body: (required) - :param str pretty: If 'true', then the output is pretty printed. - :return: V1RoleBinding - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['name', 'namespace', 'body', 'pretty'] - all_params.append('callback') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method patch_authorization_openshift_io_v1_namespaced_role_binding" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'name' is set - if ('name' not in params) or (params['name'] is None): - raise ValueError("Missing the required parameter `name` when calling `patch_authorization_openshift_io_v1_namespaced_role_binding`") - # verify the required parameter 'namespace' is set - if ('namespace' not in params) or (params['namespace'] is None): - raise ValueError("Missing the required parameter `namespace` when calling `patch_authorization_openshift_io_v1_namespaced_role_binding`") - # verify the required parameter 'body' is set - if ('body' not in params) or (params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `patch_authorization_openshift_io_v1_namespaced_role_binding`") - - - collection_formats = {} - - resource_path = '/apis/authorization.openshift.io/v1/namespaces/{namespace}/rolebindings/{name}'.replace('{format}', 'json') - path_params = {} - if 'name' in params: - path_params['name'] = params['name'] - if 'namespace' in params: - path_params['namespace'] = params['namespace'] - - query_params = {} - if 'pretty' in params: - query_params['pretty'] = params['pretty'] - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - if 'body' in params: - body_params = params['body'] - # HTTP header `Accept` - header_params['Accept'] = self.api_client.\ - select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - - # HTTP header `Content-Type` - header_params['Content-Type'] = self.api_client.\ - select_header_content_type(['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json']) - - # Authentication setting - auth_settings = ['BearerToken'] - - return self.api_client.call_api(resource_path, 'PATCH', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1RoleBinding', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def patch_authorization_openshift_io_v1_namespaced_role_binding_restriction(self, name, namespace, body, **kwargs): - """ - partially update the specified RoleBindingRestriction - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please define a `callback` function - to be invoked when receiving the response. - >>> def callback_function(response): - >>> pprint(response) - >>> - >>> thread = api.patch_authorization_openshift_io_v1_namespaced_role_binding_restriction(name, namespace, body, callback=callback_function) - - :param callback function: The callback function - for asynchronous request. (optional) - :param str name: name of the RoleBindingRestriction (required) - :param str namespace: object name and auth scope, such as for teams and projects (required) - :param UnversionedPatch body: (required) - :param str pretty: If 'true', then the output is pretty printed. - :return: V1RoleBindingRestriction - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('callback'): - return self.patch_authorization_openshift_io_v1_namespaced_role_binding_restriction_with_http_info(name, namespace, body, **kwargs) - else: - (data) = self.patch_authorization_openshift_io_v1_namespaced_role_binding_restriction_with_http_info(name, namespace, body, **kwargs) - return data - - def patch_authorization_openshift_io_v1_namespaced_role_binding_restriction_with_http_info(self, name, namespace, body, **kwargs): - """ - partially update the specified RoleBindingRestriction - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please define a `callback` function - to be invoked when receiving the response. - >>> def callback_function(response): - >>> pprint(response) - >>> - >>> thread = api.patch_authorization_openshift_io_v1_namespaced_role_binding_restriction_with_http_info(name, namespace, body, callback=callback_function) - - :param callback function: The callback function - for asynchronous request. (optional) - :param str name: name of the RoleBindingRestriction (required) - :param str namespace: object name and auth scope, such as for teams and projects (required) - :param UnversionedPatch body: (required) - :param str pretty: If 'true', then the output is pretty printed. - :return: V1RoleBindingRestriction - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['name', 'namespace', 'body', 'pretty'] - all_params.append('callback') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method patch_authorization_openshift_io_v1_namespaced_role_binding_restriction" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'name' is set - if ('name' not in params) or (params['name'] is None): - raise ValueError("Missing the required parameter `name` when calling `patch_authorization_openshift_io_v1_namespaced_role_binding_restriction`") - # verify the required parameter 'namespace' is set - if ('namespace' not in params) or (params['namespace'] is None): - raise ValueError("Missing the required parameter `namespace` when calling `patch_authorization_openshift_io_v1_namespaced_role_binding_restriction`") - # verify the required parameter 'body' is set - if ('body' not in params) or (params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `patch_authorization_openshift_io_v1_namespaced_role_binding_restriction`") - - - collection_formats = {} - - resource_path = '/apis/authorization.openshift.io/v1/namespaces/{namespace}/rolebindingrestrictions/{name}'.replace('{format}', 'json') - path_params = {} - if 'name' in params: - path_params['name'] = params['name'] - if 'namespace' in params: - path_params['namespace'] = params['namespace'] - - query_params = {} - if 'pretty' in params: - query_params['pretty'] = params['pretty'] - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - if 'body' in params: - body_params = params['body'] - # HTTP header `Accept` - header_params['Accept'] = self.api_client.\ - select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - - # HTTP header `Content-Type` - header_params['Content-Type'] = self.api_client.\ - select_header_content_type(['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json']) - - # Authentication setting - auth_settings = ['BearerToken'] - - return self.api_client.call_api(resource_path, 'PATCH', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1RoleBindingRestriction', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def read_authorization_openshift_io_v1_cluster_policy(self, name, **kwargs): - """ - read the specified ClusterPolicy - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please define a `callback` function - to be invoked when receiving the response. - >>> def callback_function(response): - >>> pprint(response) - >>> - >>> thread = api.read_authorization_openshift_io_v1_cluster_policy(name, callback=callback_function) - - :param callback function: The callback function - for asynchronous request. (optional) - :param str name: name of the ClusterPolicy (required) - :param str pretty: If 'true', then the output is pretty printed. - :param bool exact: Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace' - :param bool export: Should this value be exported. Export strips fields that a user can not specify. - :return: V1ClusterPolicy - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('callback'): - return self.read_authorization_openshift_io_v1_cluster_policy_with_http_info(name, **kwargs) - else: - (data) = self.read_authorization_openshift_io_v1_cluster_policy_with_http_info(name, **kwargs) - return data - - def read_authorization_openshift_io_v1_cluster_policy_with_http_info(self, name, **kwargs): - """ - read the specified ClusterPolicy - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please define a `callback` function - to be invoked when receiving the response. - >>> def callback_function(response): - >>> pprint(response) - >>> - >>> thread = api.read_authorization_openshift_io_v1_cluster_policy_with_http_info(name, callback=callback_function) - - :param callback function: The callback function - for asynchronous request. (optional) - :param str name: name of the ClusterPolicy (required) - :param str pretty: If 'true', then the output is pretty printed. - :param bool exact: Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace' - :param bool export: Should this value be exported. Export strips fields that a user can not specify. - :return: V1ClusterPolicy - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['name', 'pretty', 'exact', 'export'] - all_params.append('callback') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method read_authorization_openshift_io_v1_cluster_policy" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'name' is set - if ('name' not in params) or (params['name'] is None): - raise ValueError("Missing the required parameter `name` when calling `read_authorization_openshift_io_v1_cluster_policy`") - - - collection_formats = {} - - resource_path = '/apis/authorization.openshift.io/v1/clusterpolicies/{name}'.replace('{format}', 'json') - path_params = {} - if 'name' in params: - path_params['name'] = params['name'] - - query_params = {} - if 'pretty' in params: - query_params['pretty'] = params['pretty'] - if 'exact' in params: - query_params['exact'] = params['exact'] - if 'export' in params: - query_params['export'] = params['export'] - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - # HTTP header `Accept` - header_params['Accept'] = self.api_client.\ - select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - - # HTTP header `Content-Type` - header_params['Content-Type'] = self.api_client.\ - select_header_content_type(['*/*']) - - # Authentication setting - auth_settings = ['BearerToken'] - - return self.api_client.call_api(resource_path, 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1ClusterPolicy', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def read_authorization_openshift_io_v1_cluster_policy_binding(self, name, **kwargs): - """ - read the specified ClusterPolicyBinding - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please define a `callback` function - to be invoked when receiving the response. - >>> def callback_function(response): - >>> pprint(response) - >>> - >>> thread = api.read_authorization_openshift_io_v1_cluster_policy_binding(name, callback=callback_function) - - :param callback function: The callback function - for asynchronous request. (optional) - :param str name: name of the ClusterPolicyBinding (required) - :param str pretty: If 'true', then the output is pretty printed. - :param bool exact: Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace' - :param bool export: Should this value be exported. Export strips fields that a user can not specify. - :return: V1ClusterPolicyBinding - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('callback'): - return self.read_authorization_openshift_io_v1_cluster_policy_binding_with_http_info(name, **kwargs) - else: - (data) = self.read_authorization_openshift_io_v1_cluster_policy_binding_with_http_info(name, **kwargs) - return data - - def read_authorization_openshift_io_v1_cluster_policy_binding_with_http_info(self, name, **kwargs): - """ - read the specified ClusterPolicyBinding - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please define a `callback` function - to be invoked when receiving the response. - >>> def callback_function(response): - >>> pprint(response) - >>> - >>> thread = api.read_authorization_openshift_io_v1_cluster_policy_binding_with_http_info(name, callback=callback_function) - - :param callback function: The callback function - for asynchronous request. (optional) - :param str name: name of the ClusterPolicyBinding (required) - :param str pretty: If 'true', then the output is pretty printed. - :param bool exact: Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace' - :param bool export: Should this value be exported. Export strips fields that a user can not specify. - :return: V1ClusterPolicyBinding - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['name', 'pretty', 'exact', 'export'] - all_params.append('callback') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method read_authorization_openshift_io_v1_cluster_policy_binding" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'name' is set - if ('name' not in params) or (params['name'] is None): - raise ValueError("Missing the required parameter `name` when calling `read_authorization_openshift_io_v1_cluster_policy_binding`") - - - collection_formats = {} - - resource_path = '/apis/authorization.openshift.io/v1/clusterpolicybindings/{name}'.replace('{format}', 'json') - path_params = {} - if 'name' in params: - path_params['name'] = params['name'] query_params = {} if 'pretty' in params: query_params['pretty'] = params['pretty'] - if 'exact' in params: - query_params['exact'] = params['exact'] - if 'export' in params: - query_params['export'] = params['export'] + if 'field_selector' in params: + query_params['fieldSelector'] = params['field_selector'] + if 'include_uninitialized' in params: + query_params['includeUninitialized'] = params['include_uninitialized'] + if 'label_selector' in params: + query_params['labelSelector'] = params['label_selector'] + if 'resource_version' in params: + query_params['resourceVersion'] = params['resource_version'] + if 'timeout_seconds' in params: + query_params['timeoutSeconds'] = params['timeout_seconds'] + if 'watch' in params: + query_params['watch'] = params['watch'] header_params = {} @@ -7862,14 +3947,14 @@ def read_authorization_openshift_io_v1_cluster_policy_binding_with_http_info(sel body_params = None # HTTP header `Accept` header_params['Accept'] = self.api_client.\ - select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) + select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/json;stream=watch', 'application/vnd.kubernetes.protobuf;stream=watch']) # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -7878,7 +3963,7 @@ def read_authorization_openshift_io_v1_cluster_policy_binding_with_http_info(sel body=body_params, post_params=form_params, files=local_var_files, - response_type='V1ClusterPolicyBinding', + response_type='V1RoleList', auth_settings=auth_settings, callback=params.get('callback'), _return_http_data_only=params.get('_return_http_data_only'), @@ -7886,20 +3971,21 @@ def read_authorization_openshift_io_v1_cluster_policy_binding_with_http_info(sel _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def read_authorization_openshift_io_v1_cluster_role(self, name, **kwargs): + def patch_cluster_role(self, name, body, **kwargs): """ - read the specified ClusterRole + partially update the specified ClusterRole This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.read_authorization_openshift_io_v1_cluster_role(name, callback=callback_function) + >>> thread = api.patch_cluster_role(name, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param str name: name of the ClusterRole (required) + :param object body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1ClusterRole If the method is called asynchronously, @@ -7907,32 +3993,33 @@ def read_authorization_openshift_io_v1_cluster_role(self, name, **kwargs): """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.read_authorization_openshift_io_v1_cluster_role_with_http_info(name, **kwargs) + return self.patch_cluster_role_with_http_info(name, body, **kwargs) else: - (data) = self.read_authorization_openshift_io_v1_cluster_role_with_http_info(name, **kwargs) + (data) = self.patch_cluster_role_with_http_info(name, body, **kwargs) return data - def read_authorization_openshift_io_v1_cluster_role_with_http_info(self, name, **kwargs): + def patch_cluster_role_with_http_info(self, name, body, **kwargs): """ - read the specified ClusterRole + partially update the specified ClusterRole This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.read_authorization_openshift_io_v1_cluster_role_with_http_info(name, callback=callback_function) + >>> thread = api.patch_cluster_role_with_http_info(name, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param str name: name of the ClusterRole (required) + :param object body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1ClusterRole If the method is called asynchronously, returns the request thread. """ - all_params = ['name', 'pretty'] + all_params = ['name', 'body', 'pretty'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -7943,13 +4030,16 @@ def read_authorization_openshift_io_v1_cluster_role_with_http_info(self, name, * if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method read_authorization_openshift_io_v1_cluster_role" % key + " to method patch_cluster_role" % key ) params[key] = val del params['kwargs'] # verify the required parameter 'name' is set if ('name' not in params) or (params['name'] is None): - raise ValueError("Missing the required parameter `name` when calling `read_authorization_openshift_io_v1_cluster_role`") + raise ValueError("Missing the required parameter `name` when calling `patch_cluster_role`") + # verify the required parameter 'body' is set + if ('body' not in params) or (params['body'] is None): + raise ValueError("Missing the required parameter `body` when calling `patch_cluster_role`") collection_formats = {} @@ -7969,18 +4059,20 @@ def read_authorization_openshift_io_v1_cluster_role_with_http_info(self, name, * local_var_files = {} body_params = None + if 'body' in params: + body_params = params['body'] # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ - select_header_content_type(['*/*']) + select_header_content_type(['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] - return self.api_client.call_api(resource_path, 'GET', + return self.api_client.call_api(resource_path, 'PATCH', path_params, query_params, header_params, @@ -7995,20 +4087,21 @@ def read_authorization_openshift_io_v1_cluster_role_with_http_info(self, name, * _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def read_authorization_openshift_io_v1_cluster_role_binding(self, name, **kwargs): + def patch_cluster_role_binding(self, name, body, **kwargs): """ - read the specified ClusterRoleBinding + partially update the specified ClusterRoleBinding This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.read_authorization_openshift_io_v1_cluster_role_binding(name, callback=callback_function) + >>> thread = api.patch_cluster_role_binding(name, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param str name: name of the ClusterRoleBinding (required) + :param object body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1ClusterRoleBinding If the method is called asynchronously, @@ -8016,32 +4109,33 @@ def read_authorization_openshift_io_v1_cluster_role_binding(self, name, **kwargs """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.read_authorization_openshift_io_v1_cluster_role_binding_with_http_info(name, **kwargs) + return self.patch_cluster_role_binding_with_http_info(name, body, **kwargs) else: - (data) = self.read_authorization_openshift_io_v1_cluster_role_binding_with_http_info(name, **kwargs) + (data) = self.patch_cluster_role_binding_with_http_info(name, body, **kwargs) return data - def read_authorization_openshift_io_v1_cluster_role_binding_with_http_info(self, name, **kwargs): + def patch_cluster_role_binding_with_http_info(self, name, body, **kwargs): """ - read the specified ClusterRoleBinding + partially update the specified ClusterRoleBinding This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.read_authorization_openshift_io_v1_cluster_role_binding_with_http_info(name, callback=callback_function) + >>> thread = api.patch_cluster_role_binding_with_http_info(name, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param str name: name of the ClusterRoleBinding (required) + :param object body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1ClusterRoleBinding If the method is called asynchronously, returns the request thread. """ - all_params = ['name', 'pretty'] + all_params = ['name', 'body', 'pretty'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -8052,13 +4146,16 @@ def read_authorization_openshift_io_v1_cluster_role_binding_with_http_info(self, if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method read_authorization_openshift_io_v1_cluster_role_binding" % key + " to method patch_cluster_role_binding" % key ) params[key] = val del params['kwargs'] # verify the required parameter 'name' is set if ('name' not in params) or (params['name'] is None): - raise ValueError("Missing the required parameter `name` when calling `read_authorization_openshift_io_v1_cluster_role_binding`") + raise ValueError("Missing the required parameter `name` when calling `patch_cluster_role_binding`") + # verify the required parameter 'body' is set + if ('body' not in params) or (params['body'] is None): + raise ValueError("Missing the required parameter `body` when calling `patch_cluster_role_binding`") collection_formats = {} @@ -8078,149 +4175,27 @@ def read_authorization_openshift_io_v1_cluster_role_binding_with_http_info(self, local_var_files = {} body_params = None + if 'body' in params: + body_params = params['body'] # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ - select_header_content_type(['*/*']) - - # Authentication setting - auth_settings = ['BearerToken'] - - return self.api_client.call_api(resource_path, 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1ClusterRoleBinding', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def read_authorization_openshift_io_v1_namespaced_policy(self, name, namespace, **kwargs): - """ - read the specified Policy - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please define a `callback` function - to be invoked when receiving the response. - >>> def callback_function(response): - >>> pprint(response) - >>> - >>> thread = api.read_authorization_openshift_io_v1_namespaced_policy(name, namespace, callback=callback_function) - - :param callback function: The callback function - for asynchronous request. (optional) - :param str name: name of the Policy (required) - :param str namespace: object name and auth scope, such as for teams and projects (required) - :param str pretty: If 'true', then the output is pretty printed. - :param bool exact: Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace' - :param bool export: Should this value be exported. Export strips fields that a user can not specify. - :return: V1Policy - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('callback'): - return self.read_authorization_openshift_io_v1_namespaced_policy_with_http_info(name, namespace, **kwargs) - else: - (data) = self.read_authorization_openshift_io_v1_namespaced_policy_with_http_info(name, namespace, **kwargs) - return data - - def read_authorization_openshift_io_v1_namespaced_policy_with_http_info(self, name, namespace, **kwargs): - """ - read the specified Policy - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please define a `callback` function - to be invoked when receiving the response. - >>> def callback_function(response): - >>> pprint(response) - >>> - >>> thread = api.read_authorization_openshift_io_v1_namespaced_policy_with_http_info(name, namespace, callback=callback_function) - - :param callback function: The callback function - for asynchronous request. (optional) - :param str name: name of the Policy (required) - :param str namespace: object name and auth scope, such as for teams and projects (required) - :param str pretty: If 'true', then the output is pretty printed. - :param bool exact: Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace' - :param bool export: Should this value be exported. Export strips fields that a user can not specify. - :return: V1Policy - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['name', 'namespace', 'pretty', 'exact', 'export'] - all_params.append('callback') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method read_authorization_openshift_io_v1_namespaced_policy" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'name' is set - if ('name' not in params) or (params['name'] is None): - raise ValueError("Missing the required parameter `name` when calling `read_authorization_openshift_io_v1_namespaced_policy`") - # verify the required parameter 'namespace' is set - if ('namespace' not in params) or (params['namespace'] is None): - raise ValueError("Missing the required parameter `namespace` when calling `read_authorization_openshift_io_v1_namespaced_policy`") - - - collection_formats = {} - - resource_path = '/apis/authorization.openshift.io/v1/namespaces/{namespace}/policies/{name}'.replace('{format}', 'json') - path_params = {} - if 'name' in params: - path_params['name'] = params['name'] - if 'namespace' in params: - path_params['namespace'] = params['namespace'] - - query_params = {} - if 'pretty' in params: - query_params['pretty'] = params['pretty'] - if 'exact' in params: - query_params['exact'] = params['exact'] - if 'export' in params: - query_params['export'] = params['export'] - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - # HTTP header `Accept` - header_params['Accept'] = self.api_client.\ - select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - - # HTTP header `Content-Type` - header_params['Content-Type'] = self.api_client.\ - select_header_content_type(['*/*']) + select_header_content_type(['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] - return self.api_client.call_api(resource_path, 'GET', + return self.api_client.call_api(resource_path, 'PATCH', path_params, query_params, header_params, body=body_params, post_params=form_params, files=local_var_files, - response_type='V1Policy', + response_type='V1ClusterRoleBinding', auth_settings=auth_settings, callback=params.get('callback'), _return_http_data_only=params.get('_return_http_data_only'), @@ -8228,59 +4203,57 @@ def read_authorization_openshift_io_v1_namespaced_policy_with_http_info(self, na _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def read_authorization_openshift_io_v1_namespaced_policy_binding(self, name, namespace, **kwargs): + def patch_namespaced_role(self, name, namespace, body, **kwargs): """ - read the specified PolicyBinding + partially update the specified Role This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.read_authorization_openshift_io_v1_namespaced_policy_binding(name, namespace, callback=callback_function) + >>> thread = api.patch_namespaced_role(name, namespace, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) - :param str name: name of the PolicyBinding (required) + :param str name: name of the Role (required) :param str namespace: object name and auth scope, such as for teams and projects (required) + :param object body: (required) :param str pretty: If 'true', then the output is pretty printed. - :param bool exact: Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace' - :param bool export: Should this value be exported. Export strips fields that a user can not specify. - :return: V1PolicyBinding + :return: V1Role If the method is called asynchronously, returns the request thread. """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.read_authorization_openshift_io_v1_namespaced_policy_binding_with_http_info(name, namespace, **kwargs) + return self.patch_namespaced_role_with_http_info(name, namespace, body, **kwargs) else: - (data) = self.read_authorization_openshift_io_v1_namespaced_policy_binding_with_http_info(name, namespace, **kwargs) + (data) = self.patch_namespaced_role_with_http_info(name, namespace, body, **kwargs) return data - def read_authorization_openshift_io_v1_namespaced_policy_binding_with_http_info(self, name, namespace, **kwargs): + def patch_namespaced_role_with_http_info(self, name, namespace, body, **kwargs): """ - read the specified PolicyBinding + partially update the specified Role This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.read_authorization_openshift_io_v1_namespaced_policy_binding_with_http_info(name, namespace, callback=callback_function) + >>> thread = api.patch_namespaced_role_with_http_info(name, namespace, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) - :param str name: name of the PolicyBinding (required) + :param str name: name of the Role (required) :param str namespace: object name and auth scope, such as for teams and projects (required) + :param object body: (required) :param str pretty: If 'true', then the output is pretty printed. - :param bool exact: Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace' - :param bool export: Should this value be exported. Export strips fields that a user can not specify. - :return: V1PolicyBinding + :return: V1Role If the method is called asynchronously, returns the request thread. """ - all_params = ['name', 'namespace', 'pretty', 'exact', 'export'] + all_params = ['name', 'namespace', 'body', 'pretty'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -8291,21 +4264,24 @@ def read_authorization_openshift_io_v1_namespaced_policy_binding_with_http_info( if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method read_authorization_openshift_io_v1_namespaced_policy_binding" % key + " to method patch_namespaced_role" % key ) params[key] = val del params['kwargs'] # verify the required parameter 'name' is set if ('name' not in params) or (params['name'] is None): - raise ValueError("Missing the required parameter `name` when calling `read_authorization_openshift_io_v1_namespaced_policy_binding`") + raise ValueError("Missing the required parameter `name` when calling `patch_namespaced_role`") # verify the required parameter 'namespace' is set if ('namespace' not in params) or (params['namespace'] is None): - raise ValueError("Missing the required parameter `namespace` when calling `read_authorization_openshift_io_v1_namespaced_policy_binding`") + raise ValueError("Missing the required parameter `namespace` when calling `patch_namespaced_role`") + # verify the required parameter 'body' is set + if ('body' not in params) or (params['body'] is None): + raise ValueError("Missing the required parameter `body` when calling `patch_namespaced_role`") collection_formats = {} - resource_path = '/apis/authorization.openshift.io/v1/namespaces/{namespace}/policybindings/{name}'.replace('{format}', 'json') + resource_path = '/apis/authorization.openshift.io/v1/namespaces/{namespace}/roles/{name}'.replace('{format}', 'json') path_params = {} if 'name' in params: path_params['name'] = params['name'] @@ -8315,10 +4291,6 @@ def read_authorization_openshift_io_v1_namespaced_policy_binding_with_http_info( query_params = {} if 'pretty' in params: query_params['pretty'] = params['pretty'] - if 'exact' in params: - query_params['exact'] = params['exact'] - if 'export' in params: - query_params['export'] = params['export'] header_params = {} @@ -8326,25 +4298,27 @@ def read_authorization_openshift_io_v1_namespaced_policy_binding_with_http_info( local_var_files = {} body_params = None + if 'body' in params: + body_params = params['body'] # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ - select_header_content_type(['*/*']) + select_header_content_type(['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] - return self.api_client.call_api(resource_path, 'GET', + return self.api_client.call_api(resource_path, 'PATCH', path_params, query_params, header_params, body=body_params, post_params=form_params, files=local_var_files, - response_type='V1PolicyBinding', + response_type='V1Role', auth_settings=auth_settings, callback=params.get('callback'), _return_http_data_only=params.get('_return_http_data_only'), @@ -8352,55 +4326,57 @@ def read_authorization_openshift_io_v1_namespaced_policy_binding_with_http_info( _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def read_authorization_openshift_io_v1_namespaced_role(self, name, namespace, **kwargs): + def patch_namespaced_role_binding(self, name, namespace, body, **kwargs): """ - read the specified Role + partially update the specified RoleBinding This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.read_authorization_openshift_io_v1_namespaced_role(name, namespace, callback=callback_function) + >>> thread = api.patch_namespaced_role_binding(name, namespace, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) - :param str name: name of the Role (required) + :param str name: name of the RoleBinding (required) :param str namespace: object name and auth scope, such as for teams and projects (required) + :param object body: (required) :param str pretty: If 'true', then the output is pretty printed. - :return: V1Role + :return: V1RoleBinding If the method is called asynchronously, returns the request thread. """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.read_authorization_openshift_io_v1_namespaced_role_with_http_info(name, namespace, **kwargs) + return self.patch_namespaced_role_binding_with_http_info(name, namespace, body, **kwargs) else: - (data) = self.read_authorization_openshift_io_v1_namespaced_role_with_http_info(name, namespace, **kwargs) + (data) = self.patch_namespaced_role_binding_with_http_info(name, namespace, body, **kwargs) return data - def read_authorization_openshift_io_v1_namespaced_role_with_http_info(self, name, namespace, **kwargs): + def patch_namespaced_role_binding_with_http_info(self, name, namespace, body, **kwargs): """ - read the specified Role + partially update the specified RoleBinding This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.read_authorization_openshift_io_v1_namespaced_role_with_http_info(name, namespace, callback=callback_function) + >>> thread = api.patch_namespaced_role_binding_with_http_info(name, namespace, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) - :param str name: name of the Role (required) + :param str name: name of the RoleBinding (required) :param str namespace: object name and auth scope, such as for teams and projects (required) + :param object body: (required) :param str pretty: If 'true', then the output is pretty printed. - :return: V1Role + :return: V1RoleBinding If the method is called asynchronously, returns the request thread. """ - all_params = ['name', 'namespace', 'pretty'] + all_params = ['name', 'namespace', 'body', 'pretty'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -8411,21 +4387,24 @@ def read_authorization_openshift_io_v1_namespaced_role_with_http_info(self, name if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method read_authorization_openshift_io_v1_namespaced_role" % key + " to method patch_namespaced_role_binding" % key ) params[key] = val del params['kwargs'] # verify the required parameter 'name' is set if ('name' not in params) or (params['name'] is None): - raise ValueError("Missing the required parameter `name` when calling `read_authorization_openshift_io_v1_namespaced_role`") + raise ValueError("Missing the required parameter `name` when calling `patch_namespaced_role_binding`") # verify the required parameter 'namespace' is set if ('namespace' not in params) or (params['namespace'] is None): - raise ValueError("Missing the required parameter `namespace` when calling `read_authorization_openshift_io_v1_namespaced_role`") + raise ValueError("Missing the required parameter `namespace` when calling `patch_namespaced_role_binding`") + # verify the required parameter 'body' is set + if ('body' not in params) or (params['body'] is None): + raise ValueError("Missing the required parameter `body` when calling `patch_namespaced_role_binding`") collection_formats = {} - resource_path = '/apis/authorization.openshift.io/v1/namespaces/{namespace}/roles/{name}'.replace('{format}', 'json') + resource_path = '/apis/authorization.openshift.io/v1/namespaces/{namespace}/rolebindings/{name}'.replace('{format}', 'json') path_params = {} if 'name' in params: path_params['name'] = params['name'] @@ -8442,25 +4421,27 @@ def read_authorization_openshift_io_v1_namespaced_role_with_http_info(self, name local_var_files = {} body_params = None + if 'body' in params: + body_params = params['body'] # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ - select_header_content_type(['*/*']) + select_header_content_type(['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] - return self.api_client.call_api(resource_path, 'GET', + return self.api_client.call_api(resource_path, 'PATCH', path_params, query_params, header_params, body=body_params, post_params=form_params, files=local_var_files, - response_type='V1Role', + response_type='V1RoleBinding', auth_settings=auth_settings, callback=params.get('callback'), _return_http_data_only=params.get('_return_http_data_only'), @@ -8468,55 +4449,57 @@ def read_authorization_openshift_io_v1_namespaced_role_with_http_info(self, name _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def read_authorization_openshift_io_v1_namespaced_role_binding(self, name, namespace, **kwargs): + def patch_namespaced_role_binding_restriction(self, name, namespace, body, **kwargs): """ - read the specified RoleBinding + partially update the specified RoleBindingRestriction This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.read_authorization_openshift_io_v1_namespaced_role_binding(name, namespace, callback=callback_function) + >>> thread = api.patch_namespaced_role_binding_restriction(name, namespace, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) - :param str name: name of the RoleBinding (required) + :param str name: name of the RoleBindingRestriction (required) :param str namespace: object name and auth scope, such as for teams and projects (required) + :param object body: (required) :param str pretty: If 'true', then the output is pretty printed. - :return: V1RoleBinding + :return: V1RoleBindingRestriction If the method is called asynchronously, returns the request thread. """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.read_authorization_openshift_io_v1_namespaced_role_binding_with_http_info(name, namespace, **kwargs) + return self.patch_namespaced_role_binding_restriction_with_http_info(name, namespace, body, **kwargs) else: - (data) = self.read_authorization_openshift_io_v1_namespaced_role_binding_with_http_info(name, namespace, **kwargs) + (data) = self.patch_namespaced_role_binding_restriction_with_http_info(name, namespace, body, **kwargs) return data - def read_authorization_openshift_io_v1_namespaced_role_binding_with_http_info(self, name, namespace, **kwargs): + def patch_namespaced_role_binding_restriction_with_http_info(self, name, namespace, body, **kwargs): """ - read the specified RoleBinding + partially update the specified RoleBindingRestriction This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.read_authorization_openshift_io_v1_namespaced_role_binding_with_http_info(name, namespace, callback=callback_function) + >>> thread = api.patch_namespaced_role_binding_restriction_with_http_info(name, namespace, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) - :param str name: name of the RoleBinding (required) + :param str name: name of the RoleBindingRestriction (required) :param str namespace: object name and auth scope, such as for teams and projects (required) + :param object body: (required) :param str pretty: If 'true', then the output is pretty printed. - :return: V1RoleBinding + :return: V1RoleBindingRestriction If the method is called asynchronously, returns the request thread. """ - all_params = ['name', 'namespace', 'pretty'] + all_params = ['name', 'namespace', 'body', 'pretty'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -8527,21 +4510,24 @@ def read_authorization_openshift_io_v1_namespaced_role_binding_with_http_info(se if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method read_authorization_openshift_io_v1_namespaced_role_binding" % key + " to method patch_namespaced_role_binding_restriction" % key ) params[key] = val del params['kwargs'] # verify the required parameter 'name' is set if ('name' not in params) or (params['name'] is None): - raise ValueError("Missing the required parameter `name` when calling `read_authorization_openshift_io_v1_namespaced_role_binding`") + raise ValueError("Missing the required parameter `name` when calling `patch_namespaced_role_binding_restriction`") # verify the required parameter 'namespace' is set if ('namespace' not in params) or (params['namespace'] is None): - raise ValueError("Missing the required parameter `namespace` when calling `read_authorization_openshift_io_v1_namespaced_role_binding`") + raise ValueError("Missing the required parameter `namespace` when calling `patch_namespaced_role_binding_restriction`") + # verify the required parameter 'body' is set + if ('body' not in params) or (params['body'] is None): + raise ValueError("Missing the required parameter `body` when calling `patch_namespaced_role_binding_restriction`") collection_formats = {} - resource_path = '/apis/authorization.openshift.io/v1/namespaces/{namespace}/rolebindings/{name}'.replace('{format}', 'json') + resource_path = '/apis/authorization.openshift.io/v1/namespaces/{namespace}/rolebindingrestrictions/{name}'.replace('{format}', 'json') path_params = {} if 'name' in params: path_params['name'] = params['name'] @@ -8558,25 +4544,27 @@ def read_authorization_openshift_io_v1_namespaced_role_binding_with_http_info(se local_var_files = {} body_params = None + if 'body' in params: + body_params = params['body'] # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ - select_header_content_type(['*/*']) + select_header_content_type(['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] - return self.api_client.call_api(resource_path, 'GET', + return self.api_client.call_api(resource_path, 'PATCH', path_params, query_params, header_params, body=body_params, post_params=form_params, files=local_var_files, - response_type='V1RoleBinding', + response_type='V1RoleBindingRestriction', auth_settings=auth_settings, callback=params.get('callback'), _return_http_data_only=params.get('_return_http_data_only'), @@ -8584,59 +4572,53 @@ def read_authorization_openshift_io_v1_namespaced_role_binding_with_http_info(se _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def read_authorization_openshift_io_v1_namespaced_role_binding_restriction(self, name, namespace, **kwargs): + def read_cluster_role(self, name, **kwargs): """ - read the specified RoleBindingRestriction + read the specified ClusterRole This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.read_authorization_openshift_io_v1_namespaced_role_binding_restriction(name, namespace, callback=callback_function) + >>> thread = api.read_cluster_role(name, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) - :param str name: name of the RoleBindingRestriction (required) - :param str namespace: object name and auth scope, such as for teams and projects (required) + :param str name: name of the ClusterRole (required) :param str pretty: If 'true', then the output is pretty printed. - :param bool exact: Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace' - :param bool export: Should this value be exported. Export strips fields that a user can not specify. - :return: V1RoleBindingRestriction + :return: V1ClusterRole If the method is called asynchronously, returns the request thread. """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.read_authorization_openshift_io_v1_namespaced_role_binding_restriction_with_http_info(name, namespace, **kwargs) + return self.read_cluster_role_with_http_info(name, **kwargs) else: - (data) = self.read_authorization_openshift_io_v1_namespaced_role_binding_restriction_with_http_info(name, namespace, **kwargs) + (data) = self.read_cluster_role_with_http_info(name, **kwargs) return data - def read_authorization_openshift_io_v1_namespaced_role_binding_restriction_with_http_info(self, name, namespace, **kwargs): + def read_cluster_role_with_http_info(self, name, **kwargs): """ - read the specified RoleBindingRestriction + read the specified ClusterRole This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.read_authorization_openshift_io_v1_namespaced_role_binding_restriction_with_http_info(name, namespace, callback=callback_function) + >>> thread = api.read_cluster_role_with_http_info(name, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) - :param str name: name of the RoleBindingRestriction (required) - :param str namespace: object name and auth scope, such as for teams and projects (required) + :param str name: name of the ClusterRole (required) :param str pretty: If 'true', then the output is pretty printed. - :param bool exact: Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace' - :param bool export: Should this value be exported. Export strips fields that a user can not specify. - :return: V1RoleBindingRestriction + :return: V1ClusterRole If the method is called asynchronously, returns the request thread. """ - all_params = ['name', 'namespace', 'pretty', 'exact', 'export'] + all_params = ['name', 'pretty'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -8647,34 +4629,25 @@ def read_authorization_openshift_io_v1_namespaced_role_binding_restriction_with_ if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method read_authorization_openshift_io_v1_namespaced_role_binding_restriction" % key + " to method read_cluster_role" % key ) params[key] = val del params['kwargs'] # verify the required parameter 'name' is set if ('name' not in params) or (params['name'] is None): - raise ValueError("Missing the required parameter `name` when calling `read_authorization_openshift_io_v1_namespaced_role_binding_restriction`") - # verify the required parameter 'namespace' is set - if ('namespace' not in params) or (params['namespace'] is None): - raise ValueError("Missing the required parameter `namespace` when calling `read_authorization_openshift_io_v1_namespaced_role_binding_restriction`") + raise ValueError("Missing the required parameter `name` when calling `read_cluster_role`") collection_formats = {} - resource_path = '/apis/authorization.openshift.io/v1/namespaces/{namespace}/rolebindingrestrictions/{name}'.replace('{format}', 'json') + resource_path = '/apis/authorization.openshift.io/v1/clusterroles/{name}'.replace('{format}', 'json') path_params = {} if 'name' in params: path_params['name'] = params['name'] - if 'namespace' in params: - path_params['namespace'] = params['namespace'] query_params = {} if 'pretty' in params: query_params['pretty'] = params['pretty'] - if 'exact' in params: - query_params['exact'] = params['exact'] - if 'export' in params: - query_params['export'] = params['export'] header_params = {} @@ -8691,7 +4664,7 @@ def read_authorization_openshift_io_v1_namespaced_role_binding_restriction_with_ select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -8700,7 +4673,7 @@ def read_authorization_openshift_io_v1_namespaced_role_binding_restriction_with_ body=body_params, post_params=form_params, files=local_var_files, - response_type='V1RoleBindingRestriction', + response_type='V1ClusterRole', auth_settings=auth_settings, callback=params.get('callback'), _return_http_data_only=params.get('_return_http_data_only'), @@ -8708,55 +4681,53 @@ def read_authorization_openshift_io_v1_namespaced_role_binding_restriction_with_ _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def replace_authorization_openshift_io_v1_cluster_policy(self, name, body, **kwargs): + def read_cluster_role_binding(self, name, **kwargs): """ - replace the specified ClusterPolicy + read the specified ClusterRoleBinding This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.replace_authorization_openshift_io_v1_cluster_policy(name, body, callback=callback_function) + >>> thread = api.read_cluster_role_binding(name, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) - :param str name: name of the ClusterPolicy (required) - :param V1ClusterPolicy body: (required) + :param str name: name of the ClusterRoleBinding (required) :param str pretty: If 'true', then the output is pretty printed. - :return: V1ClusterPolicy + :return: V1ClusterRoleBinding If the method is called asynchronously, returns the request thread. """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.replace_authorization_openshift_io_v1_cluster_policy_with_http_info(name, body, **kwargs) + return self.read_cluster_role_binding_with_http_info(name, **kwargs) else: - (data) = self.replace_authorization_openshift_io_v1_cluster_policy_with_http_info(name, body, **kwargs) + (data) = self.read_cluster_role_binding_with_http_info(name, **kwargs) return data - def replace_authorization_openshift_io_v1_cluster_policy_with_http_info(self, name, body, **kwargs): + def read_cluster_role_binding_with_http_info(self, name, **kwargs): """ - replace the specified ClusterPolicy + read the specified ClusterRoleBinding This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.replace_authorization_openshift_io_v1_cluster_policy_with_http_info(name, body, callback=callback_function) + >>> thread = api.read_cluster_role_binding_with_http_info(name, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) - :param str name: name of the ClusterPolicy (required) - :param V1ClusterPolicy body: (required) + :param str name: name of the ClusterRoleBinding (required) :param str pretty: If 'true', then the output is pretty printed. - :return: V1ClusterPolicy + :return: V1ClusterRoleBinding If the method is called asynchronously, returns the request thread. """ - all_params = ['name', 'body', 'pretty'] + all_params = ['name', 'pretty'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -8767,21 +4738,18 @@ def replace_authorization_openshift_io_v1_cluster_policy_with_http_info(self, na if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method replace_authorization_openshift_io_v1_cluster_policy" % key + " to method read_cluster_role_binding" % key ) params[key] = val del params['kwargs'] # verify the required parameter 'name' is set if ('name' not in params) or (params['name'] is None): - raise ValueError("Missing the required parameter `name` when calling `replace_authorization_openshift_io_v1_cluster_policy`") - # verify the required parameter 'body' is set - if ('body' not in params) or (params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `replace_authorization_openshift_io_v1_cluster_policy`") + raise ValueError("Missing the required parameter `name` when calling `read_cluster_role_binding`") collection_formats = {} - resource_path = '/apis/authorization.openshift.io/v1/clusterpolicies/{name}'.replace('{format}', 'json') + resource_path = '/apis/authorization.openshift.io/v1/clusterrolebindings/{name}'.replace('{format}', 'json') path_params = {} if 'name' in params: path_params['name'] = params['name'] @@ -8796,8 +4764,6 @@ def replace_authorization_openshift_io_v1_cluster_policy_with_http_info(self, na local_var_files = {} body_params = None - if 'body' in params: - body_params = params['body'] # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) @@ -8807,16 +4773,16 @@ def replace_authorization_openshift_io_v1_cluster_policy_with_http_info(self, na select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] - return self.api_client.call_api(resource_path, 'PUT', + return self.api_client.call_api(resource_path, 'GET', path_params, query_params, header_params, body=body_params, post_params=form_params, files=local_var_files, - response_type='V1ClusterPolicy', + response_type='V1ClusterRoleBinding', auth_settings=auth_settings, callback=params.get('callback'), _return_http_data_only=params.get('_return_http_data_only'), @@ -8824,55 +4790,55 @@ def replace_authorization_openshift_io_v1_cluster_policy_with_http_info(self, na _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def replace_authorization_openshift_io_v1_cluster_policy_binding(self, name, body, **kwargs): + def read_namespaced_role(self, name, namespace, **kwargs): """ - replace the specified ClusterPolicyBinding + read the specified Role This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.replace_authorization_openshift_io_v1_cluster_policy_binding(name, body, callback=callback_function) + >>> thread = api.read_namespaced_role(name, namespace, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) - :param str name: name of the ClusterPolicyBinding (required) - :param V1ClusterPolicyBinding body: (required) + :param str name: name of the Role (required) + :param str namespace: object name and auth scope, such as for teams and projects (required) :param str pretty: If 'true', then the output is pretty printed. - :return: V1ClusterPolicyBinding + :return: V1Role If the method is called asynchronously, returns the request thread. """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.replace_authorization_openshift_io_v1_cluster_policy_binding_with_http_info(name, body, **kwargs) + return self.read_namespaced_role_with_http_info(name, namespace, **kwargs) else: - (data) = self.replace_authorization_openshift_io_v1_cluster_policy_binding_with_http_info(name, body, **kwargs) + (data) = self.read_namespaced_role_with_http_info(name, namespace, **kwargs) return data - def replace_authorization_openshift_io_v1_cluster_policy_binding_with_http_info(self, name, body, **kwargs): + def read_namespaced_role_with_http_info(self, name, namespace, **kwargs): """ - replace the specified ClusterPolicyBinding + read the specified Role This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.replace_authorization_openshift_io_v1_cluster_policy_binding_with_http_info(name, body, callback=callback_function) + >>> thread = api.read_namespaced_role_with_http_info(name, namespace, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) - :param str name: name of the ClusterPolicyBinding (required) - :param V1ClusterPolicyBinding body: (required) + :param str name: name of the Role (required) + :param str namespace: object name and auth scope, such as for teams and projects (required) :param str pretty: If 'true', then the output is pretty printed. - :return: V1ClusterPolicyBinding + :return: V1Role If the method is called asynchronously, returns the request thread. """ - all_params = ['name', 'body', 'pretty'] + all_params = ['name', 'namespace', 'pretty'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -8883,24 +4849,26 @@ def replace_authorization_openshift_io_v1_cluster_policy_binding_with_http_info( if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method replace_authorization_openshift_io_v1_cluster_policy_binding" % key + " to method read_namespaced_role" % key ) params[key] = val del params['kwargs'] # verify the required parameter 'name' is set if ('name' not in params) or (params['name'] is None): - raise ValueError("Missing the required parameter `name` when calling `replace_authorization_openshift_io_v1_cluster_policy_binding`") - # verify the required parameter 'body' is set - if ('body' not in params) or (params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `replace_authorization_openshift_io_v1_cluster_policy_binding`") + raise ValueError("Missing the required parameter `name` when calling `read_namespaced_role`") + # verify the required parameter 'namespace' is set + if ('namespace' not in params) or (params['namespace'] is None): + raise ValueError("Missing the required parameter `namespace` when calling `read_namespaced_role`") collection_formats = {} - resource_path = '/apis/authorization.openshift.io/v1/clusterpolicybindings/{name}'.replace('{format}', 'json') + resource_path = '/apis/authorization.openshift.io/v1/namespaces/{namespace}/roles/{name}'.replace('{format}', 'json') path_params = {} if 'name' in params: path_params['name'] = params['name'] + if 'namespace' in params: + path_params['namespace'] = params['namespace'] query_params = {} if 'pretty' in params: @@ -8912,8 +4880,6 @@ def replace_authorization_openshift_io_v1_cluster_policy_binding_with_http_info( local_var_files = {} body_params = None - if 'body' in params: - body_params = params['body'] # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) @@ -8923,16 +4889,16 @@ def replace_authorization_openshift_io_v1_cluster_policy_binding_with_http_info( select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] - return self.api_client.call_api(resource_path, 'PUT', + return self.api_client.call_api(resource_path, 'GET', path_params, query_params, header_params, body=body_params, post_params=form_params, files=local_var_files, - response_type='V1ClusterPolicyBinding', + response_type='V1Role', auth_settings=auth_settings, callback=params.get('callback'), _return_http_data_only=params.get('_return_http_data_only'), @@ -8940,55 +4906,55 @@ def replace_authorization_openshift_io_v1_cluster_policy_binding_with_http_info( _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def replace_authorization_openshift_io_v1_cluster_role(self, name, body, **kwargs): + def read_namespaced_role_binding(self, name, namespace, **kwargs): """ - replace the specified ClusterRole + read the specified RoleBinding This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.replace_authorization_openshift_io_v1_cluster_role(name, body, callback=callback_function) + >>> thread = api.read_namespaced_role_binding(name, namespace, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) - :param str name: name of the ClusterRole (required) - :param V1ClusterRole body: (required) + :param str name: name of the RoleBinding (required) + :param str namespace: object name and auth scope, such as for teams and projects (required) :param str pretty: If 'true', then the output is pretty printed. - :return: V1ClusterRole + :return: V1RoleBinding If the method is called asynchronously, returns the request thread. """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.replace_authorization_openshift_io_v1_cluster_role_with_http_info(name, body, **kwargs) + return self.read_namespaced_role_binding_with_http_info(name, namespace, **kwargs) else: - (data) = self.replace_authorization_openshift_io_v1_cluster_role_with_http_info(name, body, **kwargs) + (data) = self.read_namespaced_role_binding_with_http_info(name, namespace, **kwargs) return data - def replace_authorization_openshift_io_v1_cluster_role_with_http_info(self, name, body, **kwargs): + def read_namespaced_role_binding_with_http_info(self, name, namespace, **kwargs): """ - replace the specified ClusterRole + read the specified RoleBinding This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.replace_authorization_openshift_io_v1_cluster_role_with_http_info(name, body, callback=callback_function) + >>> thread = api.read_namespaced_role_binding_with_http_info(name, namespace, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) - :param str name: name of the ClusterRole (required) - :param V1ClusterRole body: (required) + :param str name: name of the RoleBinding (required) + :param str namespace: object name and auth scope, such as for teams and projects (required) :param str pretty: If 'true', then the output is pretty printed. - :return: V1ClusterRole + :return: V1RoleBinding If the method is called asynchronously, returns the request thread. """ - all_params = ['name', 'body', 'pretty'] + all_params = ['name', 'namespace', 'pretty'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -8999,24 +4965,26 @@ def replace_authorization_openshift_io_v1_cluster_role_with_http_info(self, name if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method replace_authorization_openshift_io_v1_cluster_role" % key + " to method read_namespaced_role_binding" % key ) params[key] = val del params['kwargs'] # verify the required parameter 'name' is set if ('name' not in params) or (params['name'] is None): - raise ValueError("Missing the required parameter `name` when calling `replace_authorization_openshift_io_v1_cluster_role`") - # verify the required parameter 'body' is set - if ('body' not in params) or (params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `replace_authorization_openshift_io_v1_cluster_role`") + raise ValueError("Missing the required parameter `name` when calling `read_namespaced_role_binding`") + # verify the required parameter 'namespace' is set + if ('namespace' not in params) or (params['namespace'] is None): + raise ValueError("Missing the required parameter `namespace` when calling `read_namespaced_role_binding`") collection_formats = {} - resource_path = '/apis/authorization.openshift.io/v1/clusterroles/{name}'.replace('{format}', 'json') + resource_path = '/apis/authorization.openshift.io/v1/namespaces/{namespace}/rolebindings/{name}'.replace('{format}', 'json') path_params = {} if 'name' in params: path_params['name'] = params['name'] + if 'namespace' in params: + path_params['namespace'] = params['namespace'] query_params = {} if 'pretty' in params: @@ -9028,8 +4996,6 @@ def replace_authorization_openshift_io_v1_cluster_role_with_http_info(self, name local_var_files = {} body_params = None - if 'body' in params: - body_params = params['body'] # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) @@ -9039,16 +5005,16 @@ def replace_authorization_openshift_io_v1_cluster_role_with_http_info(self, name select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] - return self.api_client.call_api(resource_path, 'PUT', + return self.api_client.call_api(resource_path, 'GET', path_params, query_params, header_params, body=body_params, post_params=form_params, files=local_var_files, - response_type='V1ClusterRole', + response_type='V1RoleBinding', auth_settings=auth_settings, callback=params.get('callback'), _return_http_data_only=params.get('_return_http_data_only'), @@ -9056,55 +5022,59 @@ def replace_authorization_openshift_io_v1_cluster_role_with_http_info(self, name _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def replace_authorization_openshift_io_v1_cluster_role_binding(self, name, body, **kwargs): + def read_namespaced_role_binding_restriction(self, name, namespace, **kwargs): """ - replace the specified ClusterRoleBinding + read the specified RoleBindingRestriction This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.replace_authorization_openshift_io_v1_cluster_role_binding(name, body, callback=callback_function) + >>> thread = api.read_namespaced_role_binding_restriction(name, namespace, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) - :param str name: name of the ClusterRoleBinding (required) - :param V1ClusterRoleBinding body: (required) + :param str name: name of the RoleBindingRestriction (required) + :param str namespace: object name and auth scope, such as for teams and projects (required) :param str pretty: If 'true', then the output is pretty printed. - :return: V1ClusterRoleBinding + :param bool exact: Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. + :param bool export: Should this value be exported. Export strips fields that a user can not specify. + :return: V1RoleBindingRestriction If the method is called asynchronously, returns the request thread. """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.replace_authorization_openshift_io_v1_cluster_role_binding_with_http_info(name, body, **kwargs) + return self.read_namespaced_role_binding_restriction_with_http_info(name, namespace, **kwargs) else: - (data) = self.replace_authorization_openshift_io_v1_cluster_role_binding_with_http_info(name, body, **kwargs) + (data) = self.read_namespaced_role_binding_restriction_with_http_info(name, namespace, **kwargs) return data - def replace_authorization_openshift_io_v1_cluster_role_binding_with_http_info(self, name, body, **kwargs): + def read_namespaced_role_binding_restriction_with_http_info(self, name, namespace, **kwargs): """ - replace the specified ClusterRoleBinding + read the specified RoleBindingRestriction This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.replace_authorization_openshift_io_v1_cluster_role_binding_with_http_info(name, body, callback=callback_function) + >>> thread = api.read_namespaced_role_binding_restriction_with_http_info(name, namespace, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) - :param str name: name of the ClusterRoleBinding (required) - :param V1ClusterRoleBinding body: (required) + :param str name: name of the RoleBindingRestriction (required) + :param str namespace: object name and auth scope, such as for teams and projects (required) :param str pretty: If 'true', then the output is pretty printed. - :return: V1ClusterRoleBinding + :param bool exact: Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. + :param bool export: Should this value be exported. Export strips fields that a user can not specify. + :return: V1RoleBindingRestriction If the method is called asynchronously, returns the request thread. """ - all_params = ['name', 'body', 'pretty'] + all_params = ['name', 'namespace', 'pretty', 'exact', 'export'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -9115,28 +5085,34 @@ def replace_authorization_openshift_io_v1_cluster_role_binding_with_http_info(se if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method replace_authorization_openshift_io_v1_cluster_role_binding" % key + " to method read_namespaced_role_binding_restriction" % key ) params[key] = val del params['kwargs'] # verify the required parameter 'name' is set if ('name' not in params) or (params['name'] is None): - raise ValueError("Missing the required parameter `name` when calling `replace_authorization_openshift_io_v1_cluster_role_binding`") - # verify the required parameter 'body' is set - if ('body' not in params) or (params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `replace_authorization_openshift_io_v1_cluster_role_binding`") + raise ValueError("Missing the required parameter `name` when calling `read_namespaced_role_binding_restriction`") + # verify the required parameter 'namespace' is set + if ('namespace' not in params) or (params['namespace'] is None): + raise ValueError("Missing the required parameter `namespace` when calling `read_namespaced_role_binding_restriction`") collection_formats = {} - resource_path = '/apis/authorization.openshift.io/v1/clusterrolebindings/{name}'.replace('{format}', 'json') + resource_path = '/apis/authorization.openshift.io/v1/namespaces/{namespace}/rolebindingrestrictions/{name}'.replace('{format}', 'json') path_params = {} if 'name' in params: path_params['name'] = params['name'] + if 'namespace' in params: + path_params['namespace'] = params['namespace'] query_params = {} if 'pretty' in params: query_params['pretty'] = params['pretty'] + if 'exact' in params: + query_params['exact'] = params['exact'] + if 'export' in params: + query_params['export'] = params['export'] header_params = {} @@ -9144,8 +5120,6 @@ def replace_authorization_openshift_io_v1_cluster_role_binding_with_http_info(se local_var_files = {} body_params = None - if 'body' in params: - body_params = params['body'] # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) @@ -9155,16 +5129,16 @@ def replace_authorization_openshift_io_v1_cluster_role_binding_with_http_info(se select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] - return self.api_client.call_api(resource_path, 'PUT', + return self.api_client.call_api(resource_path, 'GET', path_params, query_params, header_params, body=body_params, post_params=form_params, files=local_var_files, - response_type='V1ClusterRoleBinding', + response_type='V1RoleBindingRestriction', auth_settings=auth_settings, callback=params.get('callback'), _return_http_data_only=params.get('_return_http_data_only'), @@ -9172,57 +5146,55 @@ def replace_authorization_openshift_io_v1_cluster_role_binding_with_http_info(se _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def replace_authorization_openshift_io_v1_namespaced_policy(self, name, namespace, body, **kwargs): + def replace_cluster_role(self, name, body, **kwargs): """ - replace the specified Policy + replace the specified ClusterRole This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.replace_authorization_openshift_io_v1_namespaced_policy(name, namespace, body, callback=callback_function) + >>> thread = api.replace_cluster_role(name, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) - :param str name: name of the Policy (required) - :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1Policy body: (required) + :param str name: name of the ClusterRole (required) + :param V1ClusterRole body: (required) :param str pretty: If 'true', then the output is pretty printed. - :return: V1Policy + :return: V1ClusterRole If the method is called asynchronously, returns the request thread. """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.replace_authorization_openshift_io_v1_namespaced_policy_with_http_info(name, namespace, body, **kwargs) + return self.replace_cluster_role_with_http_info(name, body, **kwargs) else: - (data) = self.replace_authorization_openshift_io_v1_namespaced_policy_with_http_info(name, namespace, body, **kwargs) + (data) = self.replace_cluster_role_with_http_info(name, body, **kwargs) return data - def replace_authorization_openshift_io_v1_namespaced_policy_with_http_info(self, name, namespace, body, **kwargs): + def replace_cluster_role_with_http_info(self, name, body, **kwargs): """ - replace the specified Policy + replace the specified ClusterRole This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.replace_authorization_openshift_io_v1_namespaced_policy_with_http_info(name, namespace, body, callback=callback_function) + >>> thread = api.replace_cluster_role_with_http_info(name, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) - :param str name: name of the Policy (required) - :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1Policy body: (required) + :param str name: name of the ClusterRole (required) + :param V1ClusterRole body: (required) :param str pretty: If 'true', then the output is pretty printed. - :return: V1Policy + :return: V1ClusterRole If the method is called asynchronously, returns the request thread. """ - all_params = ['name', 'namespace', 'body', 'pretty'] + all_params = ['name', 'body', 'pretty'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -9233,29 +5205,24 @@ def replace_authorization_openshift_io_v1_namespaced_policy_with_http_info(self, if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method replace_authorization_openshift_io_v1_namespaced_policy" % key + " to method replace_cluster_role" % key ) params[key] = val del params['kwargs'] # verify the required parameter 'name' is set if ('name' not in params) or (params['name'] is None): - raise ValueError("Missing the required parameter `name` when calling `replace_authorization_openshift_io_v1_namespaced_policy`") - # verify the required parameter 'namespace' is set - if ('namespace' not in params) or (params['namespace'] is None): - raise ValueError("Missing the required parameter `namespace` when calling `replace_authorization_openshift_io_v1_namespaced_policy`") + raise ValueError("Missing the required parameter `name` when calling `replace_cluster_role`") # verify the required parameter 'body' is set if ('body' not in params) or (params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `replace_authorization_openshift_io_v1_namespaced_policy`") + raise ValueError("Missing the required parameter `body` when calling `replace_cluster_role`") collection_formats = {} - resource_path = '/apis/authorization.openshift.io/v1/namespaces/{namespace}/policies/{name}'.replace('{format}', 'json') + resource_path = '/apis/authorization.openshift.io/v1/clusterroles/{name}'.replace('{format}', 'json') path_params = {} if 'name' in params: path_params['name'] = params['name'] - if 'namespace' in params: - path_params['namespace'] = params['namespace'] query_params = {} if 'pretty' in params: @@ -9278,7 +5245,7 @@ def replace_authorization_openshift_io_v1_namespaced_policy_with_http_info(self, select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'PUT', path_params, @@ -9287,7 +5254,7 @@ def replace_authorization_openshift_io_v1_namespaced_policy_with_http_info(self, body=body_params, post_params=form_params, files=local_var_files, - response_type='V1Policy', + response_type='V1ClusterRole', auth_settings=auth_settings, callback=params.get('callback'), _return_http_data_only=params.get('_return_http_data_only'), @@ -9295,57 +5262,55 @@ def replace_authorization_openshift_io_v1_namespaced_policy_with_http_info(self, _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def replace_authorization_openshift_io_v1_namespaced_policy_binding(self, name, namespace, body, **kwargs): + def replace_cluster_role_binding(self, name, body, **kwargs): """ - replace the specified PolicyBinding + replace the specified ClusterRoleBinding This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.replace_authorization_openshift_io_v1_namespaced_policy_binding(name, namespace, body, callback=callback_function) + >>> thread = api.replace_cluster_role_binding(name, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) - :param str name: name of the PolicyBinding (required) - :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1PolicyBinding body: (required) + :param str name: name of the ClusterRoleBinding (required) + :param V1ClusterRoleBinding body: (required) :param str pretty: If 'true', then the output is pretty printed. - :return: V1PolicyBinding + :return: V1ClusterRoleBinding If the method is called asynchronously, returns the request thread. """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.replace_authorization_openshift_io_v1_namespaced_policy_binding_with_http_info(name, namespace, body, **kwargs) + return self.replace_cluster_role_binding_with_http_info(name, body, **kwargs) else: - (data) = self.replace_authorization_openshift_io_v1_namespaced_policy_binding_with_http_info(name, namespace, body, **kwargs) + (data) = self.replace_cluster_role_binding_with_http_info(name, body, **kwargs) return data - def replace_authorization_openshift_io_v1_namespaced_policy_binding_with_http_info(self, name, namespace, body, **kwargs): + def replace_cluster_role_binding_with_http_info(self, name, body, **kwargs): """ - replace the specified PolicyBinding + replace the specified ClusterRoleBinding This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.replace_authorization_openshift_io_v1_namespaced_policy_binding_with_http_info(name, namespace, body, callback=callback_function) + >>> thread = api.replace_cluster_role_binding_with_http_info(name, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) - :param str name: name of the PolicyBinding (required) - :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1PolicyBinding body: (required) + :param str name: name of the ClusterRoleBinding (required) + :param V1ClusterRoleBinding body: (required) :param str pretty: If 'true', then the output is pretty printed. - :return: V1PolicyBinding + :return: V1ClusterRoleBinding If the method is called asynchronously, returns the request thread. """ - all_params = ['name', 'namespace', 'body', 'pretty'] + all_params = ['name', 'body', 'pretty'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -9356,29 +5321,24 @@ def replace_authorization_openshift_io_v1_namespaced_policy_binding_with_http_in if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method replace_authorization_openshift_io_v1_namespaced_policy_binding" % key + " to method replace_cluster_role_binding" % key ) params[key] = val del params['kwargs'] # verify the required parameter 'name' is set if ('name' not in params) or (params['name'] is None): - raise ValueError("Missing the required parameter `name` when calling `replace_authorization_openshift_io_v1_namespaced_policy_binding`") - # verify the required parameter 'namespace' is set - if ('namespace' not in params) or (params['namespace'] is None): - raise ValueError("Missing the required parameter `namespace` when calling `replace_authorization_openshift_io_v1_namespaced_policy_binding`") + raise ValueError("Missing the required parameter `name` when calling `replace_cluster_role_binding`") # verify the required parameter 'body' is set if ('body' not in params) or (params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `replace_authorization_openshift_io_v1_namespaced_policy_binding`") + raise ValueError("Missing the required parameter `body` when calling `replace_cluster_role_binding`") collection_formats = {} - resource_path = '/apis/authorization.openshift.io/v1/namespaces/{namespace}/policybindings/{name}'.replace('{format}', 'json') + resource_path = '/apis/authorization.openshift.io/v1/clusterrolebindings/{name}'.replace('{format}', 'json') path_params = {} if 'name' in params: path_params['name'] = params['name'] - if 'namespace' in params: - path_params['namespace'] = params['namespace'] query_params = {} if 'pretty' in params: @@ -9401,7 +5361,7 @@ def replace_authorization_openshift_io_v1_namespaced_policy_binding_with_http_in select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'PUT', path_params, @@ -9410,7 +5370,7 @@ def replace_authorization_openshift_io_v1_namespaced_policy_binding_with_http_in body=body_params, post_params=form_params, files=local_var_files, - response_type='V1PolicyBinding', + response_type='V1ClusterRoleBinding', auth_settings=auth_settings, callback=params.get('callback'), _return_http_data_only=params.get('_return_http_data_only'), @@ -9418,7 +5378,7 @@ def replace_authorization_openshift_io_v1_namespaced_policy_binding_with_http_in _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def replace_authorization_openshift_io_v1_namespaced_role(self, name, namespace, body, **kwargs): + def replace_namespaced_role(self, name, namespace, body, **kwargs): """ replace the specified Role This method makes a synchronous HTTP request by default. To make an @@ -9427,7 +5387,7 @@ def replace_authorization_openshift_io_v1_namespaced_role(self, name, namespace, >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.replace_authorization_openshift_io_v1_namespaced_role(name, namespace, body, callback=callback_function) + >>> thread = api.replace_namespaced_role(name, namespace, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) @@ -9441,12 +5401,12 @@ def replace_authorization_openshift_io_v1_namespaced_role(self, name, namespace, """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.replace_authorization_openshift_io_v1_namespaced_role_with_http_info(name, namespace, body, **kwargs) + return self.replace_namespaced_role_with_http_info(name, namespace, body, **kwargs) else: - (data) = self.replace_authorization_openshift_io_v1_namespaced_role_with_http_info(name, namespace, body, **kwargs) + (data) = self.replace_namespaced_role_with_http_info(name, namespace, body, **kwargs) return data - def replace_authorization_openshift_io_v1_namespaced_role_with_http_info(self, name, namespace, body, **kwargs): + def replace_namespaced_role_with_http_info(self, name, namespace, body, **kwargs): """ replace the specified Role This method makes a synchronous HTTP request by default. To make an @@ -9455,7 +5415,7 @@ def replace_authorization_openshift_io_v1_namespaced_role_with_http_info(self, n >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.replace_authorization_openshift_io_v1_namespaced_role_with_http_info(name, namespace, body, callback=callback_function) + >>> thread = api.replace_namespaced_role_with_http_info(name, namespace, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) @@ -9479,19 +5439,19 @@ def replace_authorization_openshift_io_v1_namespaced_role_with_http_info(self, n if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method replace_authorization_openshift_io_v1_namespaced_role" % key + " to method replace_namespaced_role" % key ) params[key] = val del params['kwargs'] # verify the required parameter 'name' is set if ('name' not in params) or (params['name'] is None): - raise ValueError("Missing the required parameter `name` when calling `replace_authorization_openshift_io_v1_namespaced_role`") + raise ValueError("Missing the required parameter `name` when calling `replace_namespaced_role`") # verify the required parameter 'namespace' is set if ('namespace' not in params) or (params['namespace'] is None): - raise ValueError("Missing the required parameter `namespace` when calling `replace_authorization_openshift_io_v1_namespaced_role`") + raise ValueError("Missing the required parameter `namespace` when calling `replace_namespaced_role`") # verify the required parameter 'body' is set if ('body' not in params) or (params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `replace_authorization_openshift_io_v1_namespaced_role`") + raise ValueError("Missing the required parameter `body` when calling `replace_namespaced_role`") collection_formats = {} @@ -9524,7 +5484,7 @@ def replace_authorization_openshift_io_v1_namespaced_role_with_http_info(self, n select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'PUT', path_params, @@ -9541,7 +5501,7 @@ def replace_authorization_openshift_io_v1_namespaced_role_with_http_info(self, n _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def replace_authorization_openshift_io_v1_namespaced_role_binding(self, name, namespace, body, **kwargs): + def replace_namespaced_role_binding(self, name, namespace, body, **kwargs): """ replace the specified RoleBinding This method makes a synchronous HTTP request by default. To make an @@ -9550,7 +5510,7 @@ def replace_authorization_openshift_io_v1_namespaced_role_binding(self, name, na >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.replace_authorization_openshift_io_v1_namespaced_role_binding(name, namespace, body, callback=callback_function) + >>> thread = api.replace_namespaced_role_binding(name, namespace, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) @@ -9564,12 +5524,12 @@ def replace_authorization_openshift_io_v1_namespaced_role_binding(self, name, na """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.replace_authorization_openshift_io_v1_namespaced_role_binding_with_http_info(name, namespace, body, **kwargs) + return self.replace_namespaced_role_binding_with_http_info(name, namespace, body, **kwargs) else: - (data) = self.replace_authorization_openshift_io_v1_namespaced_role_binding_with_http_info(name, namespace, body, **kwargs) + (data) = self.replace_namespaced_role_binding_with_http_info(name, namespace, body, **kwargs) return data - def replace_authorization_openshift_io_v1_namespaced_role_binding_with_http_info(self, name, namespace, body, **kwargs): + def replace_namespaced_role_binding_with_http_info(self, name, namespace, body, **kwargs): """ replace the specified RoleBinding This method makes a synchronous HTTP request by default. To make an @@ -9578,7 +5538,7 @@ def replace_authorization_openshift_io_v1_namespaced_role_binding_with_http_info >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.replace_authorization_openshift_io_v1_namespaced_role_binding_with_http_info(name, namespace, body, callback=callback_function) + >>> thread = api.replace_namespaced_role_binding_with_http_info(name, namespace, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) @@ -9602,19 +5562,19 @@ def replace_authorization_openshift_io_v1_namespaced_role_binding_with_http_info if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method replace_authorization_openshift_io_v1_namespaced_role_binding" % key + " to method replace_namespaced_role_binding" % key ) params[key] = val del params['kwargs'] # verify the required parameter 'name' is set if ('name' not in params) or (params['name'] is None): - raise ValueError("Missing the required parameter `name` when calling `replace_authorization_openshift_io_v1_namespaced_role_binding`") + raise ValueError("Missing the required parameter `name` when calling `replace_namespaced_role_binding`") # verify the required parameter 'namespace' is set if ('namespace' not in params) or (params['namespace'] is None): - raise ValueError("Missing the required parameter `namespace` when calling `replace_authorization_openshift_io_v1_namespaced_role_binding`") + raise ValueError("Missing the required parameter `namespace` when calling `replace_namespaced_role_binding`") # verify the required parameter 'body' is set if ('body' not in params) or (params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `replace_authorization_openshift_io_v1_namespaced_role_binding`") + raise ValueError("Missing the required parameter `body` when calling `replace_namespaced_role_binding`") collection_formats = {} @@ -9647,7 +5607,7 @@ def replace_authorization_openshift_io_v1_namespaced_role_binding_with_http_info select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'PUT', path_params, @@ -9664,7 +5624,7 @@ def replace_authorization_openshift_io_v1_namespaced_role_binding_with_http_info _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def replace_authorization_openshift_io_v1_namespaced_role_binding_restriction(self, name, namespace, body, **kwargs): + def replace_namespaced_role_binding_restriction(self, name, namespace, body, **kwargs): """ replace the specified RoleBindingRestriction This method makes a synchronous HTTP request by default. To make an @@ -9673,7 +5633,7 @@ def replace_authorization_openshift_io_v1_namespaced_role_binding_restriction(se >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.replace_authorization_openshift_io_v1_namespaced_role_binding_restriction(name, namespace, body, callback=callback_function) + >>> thread = api.replace_namespaced_role_binding_restriction(name, namespace, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) @@ -9687,12 +5647,12 @@ def replace_authorization_openshift_io_v1_namespaced_role_binding_restriction(se """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.replace_authorization_openshift_io_v1_namespaced_role_binding_restriction_with_http_info(name, namespace, body, **kwargs) + return self.replace_namespaced_role_binding_restriction_with_http_info(name, namespace, body, **kwargs) else: - (data) = self.replace_authorization_openshift_io_v1_namespaced_role_binding_restriction_with_http_info(name, namespace, body, **kwargs) + (data) = self.replace_namespaced_role_binding_restriction_with_http_info(name, namespace, body, **kwargs) return data - def replace_authorization_openshift_io_v1_namespaced_role_binding_restriction_with_http_info(self, name, namespace, body, **kwargs): + def replace_namespaced_role_binding_restriction_with_http_info(self, name, namespace, body, **kwargs): """ replace the specified RoleBindingRestriction This method makes a synchronous HTTP request by default. To make an @@ -9701,7 +5661,7 @@ def replace_authorization_openshift_io_v1_namespaced_role_binding_restriction_wi >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.replace_authorization_openshift_io_v1_namespaced_role_binding_restriction_with_http_info(name, namespace, body, callback=callback_function) + >>> thread = api.replace_namespaced_role_binding_restriction_with_http_info(name, namespace, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) @@ -9725,19 +5685,19 @@ def replace_authorization_openshift_io_v1_namespaced_role_binding_restriction_wi if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method replace_authorization_openshift_io_v1_namespaced_role_binding_restriction" % key + " to method replace_namespaced_role_binding_restriction" % key ) params[key] = val del params['kwargs'] # verify the required parameter 'name' is set if ('name' not in params) or (params['name'] is None): - raise ValueError("Missing the required parameter `name` when calling `replace_authorization_openshift_io_v1_namespaced_role_binding_restriction`") + raise ValueError("Missing the required parameter `name` when calling `replace_namespaced_role_binding_restriction`") # verify the required parameter 'namespace' is set if ('namespace' not in params) or (params['namespace'] is None): - raise ValueError("Missing the required parameter `namespace` when calling `replace_authorization_openshift_io_v1_namespaced_role_binding_restriction`") + raise ValueError("Missing the required parameter `namespace` when calling `replace_namespaced_role_binding_restriction`") # verify the required parameter 'body' is set if ('body' not in params) or (params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `replace_authorization_openshift_io_v1_namespaced_role_binding_restriction`") + raise ValueError("Missing the required parameter `body` when calling `replace_namespaced_role_binding_restriction`") collection_formats = {} @@ -9770,7 +5730,7 @@ def replace_authorization_openshift_io_v1_namespaced_role_binding_restriction_wi select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'PUT', path_params, diff --git a/openshift/client/apis/build_openshift_io_api.py b/openshift/client/apis/build_openshift_io_api.py index 29e6bf30..388346a4 100644 --- a/openshift/client/apis/build_openshift_io_api.py +++ b/openshift/client/apis/build_openshift_io_api.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -40,7 +40,7 @@ def __init__(self, api_client=None): config.api_client = ApiClient() self.api_client = config.api_client - def get_build_openshift_io_api_group(self, **kwargs): + def get_api_group(self, **kwargs): """ get information of a group This method makes a synchronous HTTP request by default. To make an @@ -49,22 +49,22 @@ def get_build_openshift_io_api_group(self, **kwargs): >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.get_build_openshift_io_api_group(callback=callback_function) + >>> thread = api.get_api_group(callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) - :return: UnversionedAPIGroup + :return: V1APIGroup If the method is called asynchronously, returns the request thread. """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.get_build_openshift_io_api_group_with_http_info(**kwargs) + return self.get_api_group_with_http_info(**kwargs) else: - (data) = self.get_build_openshift_io_api_group_with_http_info(**kwargs) + (data) = self.get_api_group_with_http_info(**kwargs) return data - def get_build_openshift_io_api_group_with_http_info(self, **kwargs): + def get_api_group_with_http_info(self, **kwargs): """ get information of a group This method makes a synchronous HTTP request by default. To make an @@ -73,11 +73,11 @@ def get_build_openshift_io_api_group_with_http_info(self, **kwargs): >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.get_build_openshift_io_api_group_with_http_info(callback=callback_function) + >>> thread = api.get_api_group_with_http_info(callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) - :return: UnversionedAPIGroup + :return: V1APIGroup If the method is called asynchronously, returns the request thread. """ @@ -93,7 +93,7 @@ def get_build_openshift_io_api_group_with_http_info(self, **kwargs): if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method get_build_openshift_io_api_group" % key + " to method get_api_group" % key ) params[key] = val del params['kwargs'] @@ -120,7 +120,7 @@ def get_build_openshift_io_api_group_with_http_info(self, **kwargs): select_header_content_type(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -129,7 +129,7 @@ def get_build_openshift_io_api_group_with_http_info(self, **kwargs): body=body_params, post_params=form_params, files=local_var_files, - response_type='UnversionedAPIGroup', + response_type='V1APIGroup', auth_settings=auth_settings, callback=params.get('callback'), _return_http_data_only=params.get('_return_http_data_only'), diff --git a/openshift/client/apis/build_openshift_io_v1_api.py b/openshift/client/apis/build_openshift_io_v1_api.py index 35763cbc..268660c5 100644 --- a/openshift/client/apis/build_openshift_io_v1_api.py +++ b/openshift/client/apis/build_openshift_io_v1_api.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -40,7 +40,7 @@ def __init__(self, api_client=None): config.api_client = ApiClient() self.api_client = config.api_client - def connect_build_openshift_io_v1_post_namespaced_binary_build_request_options_instantiatebinary(self, name, namespace, **kwargs): + def connect_post_namespaced_binary_build_request_options_instantiatebinary(self, name, namespace, **kwargs): """ connect POST requests to instantiatebinary of BinaryBuildRequestOptions This method makes a synchronous HTTP request by default. To make an @@ -49,7 +49,7 @@ def connect_build_openshift_io_v1_post_namespaced_binary_build_request_options_i >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.connect_build_openshift_io_v1_post_namespaced_binary_build_request_options_instantiatebinary(name, namespace, callback=callback_function) + >>> thread = api.connect_post_namespaced_binary_build_request_options_instantiatebinary(name, namespace, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) @@ -62,18 +62,18 @@ def connect_build_openshift_io_v1_post_namespaced_binary_build_request_options_i :param str revision_committer_email: revision.committerEmail of the source control user :param str revision_committer_name: revision.committerName of the source control user :param str revision_message: revision.message is the description of a specific commit - :return: str + :return: V1Build If the method is called asynchronously, returns the request thread. """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.connect_build_openshift_io_v1_post_namespaced_binary_build_request_options_instantiatebinary_with_http_info(name, namespace, **kwargs) + return self.connect_post_namespaced_binary_build_request_options_instantiatebinary_with_http_info(name, namespace, **kwargs) else: - (data) = self.connect_build_openshift_io_v1_post_namespaced_binary_build_request_options_instantiatebinary_with_http_info(name, namespace, **kwargs) + (data) = self.connect_post_namespaced_binary_build_request_options_instantiatebinary_with_http_info(name, namespace, **kwargs) return data - def connect_build_openshift_io_v1_post_namespaced_binary_build_request_options_instantiatebinary_with_http_info(self, name, namespace, **kwargs): + def connect_post_namespaced_binary_build_request_options_instantiatebinary_with_http_info(self, name, namespace, **kwargs): """ connect POST requests to instantiatebinary of BinaryBuildRequestOptions This method makes a synchronous HTTP request by default. To make an @@ -82,7 +82,7 @@ def connect_build_openshift_io_v1_post_namespaced_binary_build_request_options_i >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.connect_build_openshift_io_v1_post_namespaced_binary_build_request_options_instantiatebinary_with_http_info(name, namespace, callback=callback_function) + >>> thread = api.connect_post_namespaced_binary_build_request_options_instantiatebinary_with_http_info(name, namespace, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) @@ -95,7 +95,7 @@ def connect_build_openshift_io_v1_post_namespaced_binary_build_request_options_i :param str revision_committer_email: revision.committerEmail of the source control user :param str revision_committer_name: revision.committerName of the source control user :param str revision_message: revision.message is the description of a specific commit - :return: str + :return: V1Build If the method is called asynchronously, returns the request thread. """ @@ -111,16 +111,16 @@ def connect_build_openshift_io_v1_post_namespaced_binary_build_request_options_i if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method connect_build_openshift_io_v1_post_namespaced_binary_build_request_options_instantiatebinary" % key + " to method connect_post_namespaced_binary_build_request_options_instantiatebinary" % key ) params[key] = val del params['kwargs'] # verify the required parameter 'name' is set if ('name' not in params) or (params['name'] is None): - raise ValueError("Missing the required parameter `name` when calling `connect_build_openshift_io_v1_post_namespaced_binary_build_request_options_instantiatebinary`") + raise ValueError("Missing the required parameter `name` when calling `connect_post_namespaced_binary_build_request_options_instantiatebinary`") # verify the required parameter 'namespace' is set if ('namespace' not in params) or (params['namespace'] is None): - raise ValueError("Missing the required parameter `namespace` when calling `connect_build_openshift_io_v1_post_namespaced_binary_build_request_options_instantiatebinary`") + raise ValueError("Missing the required parameter `namespace` when calling `connect_post_namespaced_binary_build_request_options_instantiatebinary`") collection_formats = {} @@ -163,7 +163,7 @@ def connect_build_openshift_io_v1_post_namespaced_binary_build_request_options_i select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'POST', path_params, @@ -172,7 +172,7 @@ def connect_build_openshift_io_v1_post_namespaced_binary_build_request_options_i body=body_params, post_params=form_params, files=local_var_files, - response_type='str', + response_type='V1Build', auth_settings=auth_settings, callback=params.get('callback'), _return_http_data_only=params.get('_return_http_data_only'), @@ -180,20 +180,20 @@ def connect_build_openshift_io_v1_post_namespaced_binary_build_request_options_i _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def connect_build_openshift_io_v1_post_namespaced_status_webhooks(self, name, namespace, **kwargs): + def connect_post_namespaced_build_webhooks(self, name, namespace, **kwargs): """ - connect POST requests to webhooks of Status + connect POST requests to webhooks of Build This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.connect_build_openshift_io_v1_post_namespaced_status_webhooks(name, namespace, callback=callback_function) + >>> thread = api.connect_post_namespaced_build_webhooks(name, namespace, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) - :param str name: name of the Status (required) + :param str name: name of the Build (required) :param str namespace: object name and auth scope, such as for teams and projects (required) :param str path: Path is the URL path to use for the current proxy request to pod. :return: str @@ -202,25 +202,25 @@ def connect_build_openshift_io_v1_post_namespaced_status_webhooks(self, name, na """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.connect_build_openshift_io_v1_post_namespaced_status_webhooks_with_http_info(name, namespace, **kwargs) + return self.connect_post_namespaced_build_webhooks_with_http_info(name, namespace, **kwargs) else: - (data) = self.connect_build_openshift_io_v1_post_namespaced_status_webhooks_with_http_info(name, namespace, **kwargs) + (data) = self.connect_post_namespaced_build_webhooks_with_http_info(name, namespace, **kwargs) return data - def connect_build_openshift_io_v1_post_namespaced_status_webhooks_with_http_info(self, name, namespace, **kwargs): + def connect_post_namespaced_build_webhooks_with_http_info(self, name, namespace, **kwargs): """ - connect POST requests to webhooks of Status + connect POST requests to webhooks of Build This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.connect_build_openshift_io_v1_post_namespaced_status_webhooks_with_http_info(name, namespace, callback=callback_function) + >>> thread = api.connect_post_namespaced_build_webhooks_with_http_info(name, namespace, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) - :param str name: name of the Status (required) + :param str name: name of the Build (required) :param str namespace: object name and auth scope, such as for teams and projects (required) :param str path: Path is the URL path to use for the current proxy request to pod. :return: str @@ -239,16 +239,16 @@ def connect_build_openshift_io_v1_post_namespaced_status_webhooks_with_http_info if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method connect_build_openshift_io_v1_post_namespaced_status_webhooks" % key + " to method connect_post_namespaced_build_webhooks" % key ) params[key] = val del params['kwargs'] # verify the required parameter 'name' is set if ('name' not in params) or (params['name'] is None): - raise ValueError("Missing the required parameter `name` when calling `connect_build_openshift_io_v1_post_namespaced_status_webhooks`") + raise ValueError("Missing the required parameter `name` when calling `connect_post_namespaced_build_webhooks`") # verify the required parameter 'namespace' is set if ('namespace' not in params) or (params['namespace'] is None): - raise ValueError("Missing the required parameter `namespace` when calling `connect_build_openshift_io_v1_post_namespaced_status_webhooks`") + raise ValueError("Missing the required parameter `namespace` when calling `connect_post_namespaced_build_webhooks`") collection_formats = {} @@ -279,7 +279,7 @@ def connect_build_openshift_io_v1_post_namespaced_status_webhooks_with_http_info select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'POST', path_params, @@ -296,20 +296,20 @@ def connect_build_openshift_io_v1_post_namespaced_status_webhooks_with_http_info _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def connect_build_openshift_io_v1_post_namespaced_status_webhooks_with_path(self, name, namespace, path, **kwargs): + def connect_post_namespaced_build_webhooks_with_path(self, name, namespace, path, **kwargs): """ - connect POST requests to webhooks of Status + connect POST requests to webhooks of Build This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.connect_build_openshift_io_v1_post_namespaced_status_webhooks_with_path(name, namespace, path, callback=callback_function) + >>> thread = api.connect_post_namespaced_build_webhooks_with_path(name, namespace, path, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) - :param str name: name of the Status (required) + :param str name: name of the Build (required) :param str namespace: object name and auth scope, such as for teams and projects (required) :param str path: path to the resource (required) :param str path2: Path is the URL path to use for the current proxy request to pod. @@ -319,25 +319,25 @@ def connect_build_openshift_io_v1_post_namespaced_status_webhooks_with_path(self """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.connect_build_openshift_io_v1_post_namespaced_status_webhooks_with_path_with_http_info(name, namespace, path, **kwargs) + return self.connect_post_namespaced_build_webhooks_with_path_with_http_info(name, namespace, path, **kwargs) else: - (data) = self.connect_build_openshift_io_v1_post_namespaced_status_webhooks_with_path_with_http_info(name, namespace, path, **kwargs) + (data) = self.connect_post_namespaced_build_webhooks_with_path_with_http_info(name, namespace, path, **kwargs) return data - def connect_build_openshift_io_v1_post_namespaced_status_webhooks_with_path_with_http_info(self, name, namespace, path, **kwargs): + def connect_post_namespaced_build_webhooks_with_path_with_http_info(self, name, namespace, path, **kwargs): """ - connect POST requests to webhooks of Status + connect POST requests to webhooks of Build This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.connect_build_openshift_io_v1_post_namespaced_status_webhooks_with_path_with_http_info(name, namespace, path, callback=callback_function) + >>> thread = api.connect_post_namespaced_build_webhooks_with_path_with_http_info(name, namespace, path, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) - :param str name: name of the Status (required) + :param str name: name of the Build (required) :param str namespace: object name and auth scope, such as for teams and projects (required) :param str path: path to the resource (required) :param str path2: Path is the URL path to use for the current proxy request to pod. @@ -357,19 +357,19 @@ def connect_build_openshift_io_v1_post_namespaced_status_webhooks_with_path_with if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method connect_build_openshift_io_v1_post_namespaced_status_webhooks_with_path" % key + " to method connect_post_namespaced_build_webhooks_with_path" % key ) params[key] = val del params['kwargs'] # verify the required parameter 'name' is set if ('name' not in params) or (params['name'] is None): - raise ValueError("Missing the required parameter `name` when calling `connect_build_openshift_io_v1_post_namespaced_status_webhooks_with_path`") + raise ValueError("Missing the required parameter `name` when calling `connect_post_namespaced_build_webhooks_with_path`") # verify the required parameter 'namespace' is set if ('namespace' not in params) or (params['namespace'] is None): - raise ValueError("Missing the required parameter `namespace` when calling `connect_build_openshift_io_v1_post_namespaced_status_webhooks_with_path`") + raise ValueError("Missing the required parameter `namespace` when calling `connect_post_namespaced_build_webhooks_with_path`") # verify the required parameter 'path' is set if ('path' not in params) or (params['path'] is None): - raise ValueError("Missing the required parameter `path` when calling `connect_build_openshift_io_v1_post_namespaced_status_webhooks_with_path`") + raise ValueError("Missing the required parameter `path` when calling `connect_post_namespaced_build_webhooks_with_path`") collection_formats = {} @@ -402,7 +402,7 @@ def connect_build_openshift_io_v1_post_namespaced_status_webhooks_with_path_with select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'POST', path_params, @@ -419,7 +419,7 @@ def connect_build_openshift_io_v1_post_namespaced_status_webhooks_with_path_with _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def create_build_openshift_io_v1_build_config_for_all_namespaces(self, body, **kwargs): + def create_build_config_for_all_namespaces(self, body, **kwargs): """ create a BuildConfig This method makes a synchronous HTTP request by default. To make an @@ -428,7 +428,7 @@ def create_build_openshift_io_v1_build_config_for_all_namespaces(self, body, **k >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.create_build_openshift_io_v1_build_config_for_all_namespaces(body, callback=callback_function) + >>> thread = api.create_build_config_for_all_namespaces(body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) @@ -440,12 +440,12 @@ def create_build_openshift_io_v1_build_config_for_all_namespaces(self, body, **k """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.create_build_openshift_io_v1_build_config_for_all_namespaces_with_http_info(body, **kwargs) + return self.create_build_config_for_all_namespaces_with_http_info(body, **kwargs) else: - (data) = self.create_build_openshift_io_v1_build_config_for_all_namespaces_with_http_info(body, **kwargs) + (data) = self.create_build_config_for_all_namespaces_with_http_info(body, **kwargs) return data - def create_build_openshift_io_v1_build_config_for_all_namespaces_with_http_info(self, body, **kwargs): + def create_build_config_for_all_namespaces_with_http_info(self, body, **kwargs): """ create a BuildConfig This method makes a synchronous HTTP request by default. To make an @@ -454,7 +454,7 @@ def create_build_openshift_io_v1_build_config_for_all_namespaces_with_http_info( >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.create_build_openshift_io_v1_build_config_for_all_namespaces_with_http_info(body, callback=callback_function) + >>> thread = api.create_build_config_for_all_namespaces_with_http_info(body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) @@ -476,13 +476,13 @@ def create_build_openshift_io_v1_build_config_for_all_namespaces_with_http_info( if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method create_build_openshift_io_v1_build_config_for_all_namespaces" % key + " to method create_build_config_for_all_namespaces" % key ) params[key] = val del params['kwargs'] # verify the required parameter 'body' is set if ('body' not in params) or (params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `create_build_openshift_io_v1_build_config_for_all_namespaces`") + raise ValueError("Missing the required parameter `body` when calling `create_build_config_for_all_namespaces`") collection_formats = {} @@ -511,7 +511,7 @@ def create_build_openshift_io_v1_build_config_for_all_namespaces_with_http_info( select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'POST', path_params, @@ -528,7 +528,7 @@ def create_build_openshift_io_v1_build_config_for_all_namespaces_with_http_info( _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def create_build_openshift_io_v1_build_for_all_namespaces(self, body, **kwargs): + def create_build_for_all_namespaces(self, body, **kwargs): """ create a Build This method makes a synchronous HTTP request by default. To make an @@ -537,7 +537,7 @@ def create_build_openshift_io_v1_build_for_all_namespaces(self, body, **kwargs): >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.create_build_openshift_io_v1_build_for_all_namespaces(body, callback=callback_function) + >>> thread = api.create_build_for_all_namespaces(body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) @@ -549,12 +549,12 @@ def create_build_openshift_io_v1_build_for_all_namespaces(self, body, **kwargs): """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.create_build_openshift_io_v1_build_for_all_namespaces_with_http_info(body, **kwargs) + return self.create_build_for_all_namespaces_with_http_info(body, **kwargs) else: - (data) = self.create_build_openshift_io_v1_build_for_all_namespaces_with_http_info(body, **kwargs) + (data) = self.create_build_for_all_namespaces_with_http_info(body, **kwargs) return data - def create_build_openshift_io_v1_build_for_all_namespaces_with_http_info(self, body, **kwargs): + def create_build_for_all_namespaces_with_http_info(self, body, **kwargs): """ create a Build This method makes a synchronous HTTP request by default. To make an @@ -563,7 +563,7 @@ def create_build_openshift_io_v1_build_for_all_namespaces_with_http_info(self, b >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.create_build_openshift_io_v1_build_for_all_namespaces_with_http_info(body, callback=callback_function) + >>> thread = api.create_build_for_all_namespaces_with_http_info(body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) @@ -585,13 +585,13 @@ def create_build_openshift_io_v1_build_for_all_namespaces_with_http_info(self, b if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method create_build_openshift_io_v1_build_for_all_namespaces" % key + " to method create_build_for_all_namespaces" % key ) params[key] = val del params['kwargs'] # verify the required parameter 'body' is set if ('body' not in params) or (params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `create_build_openshift_io_v1_build_for_all_namespaces`") + raise ValueError("Missing the required parameter `body` when calling `create_build_for_all_namespaces`") collection_formats = {} @@ -620,7 +620,7 @@ def create_build_openshift_io_v1_build_for_all_namespaces_with_http_info(self, b select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'POST', path_params, @@ -637,7 +637,7 @@ def create_build_openshift_io_v1_build_for_all_namespaces_with_http_info(self, b _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def create_build_openshift_io_v1_namespaced_build(self, namespace, body, **kwargs): + def create_namespaced_build(self, namespace, body, **kwargs): """ create a Build This method makes a synchronous HTTP request by default. To make an @@ -646,7 +646,7 @@ def create_build_openshift_io_v1_namespaced_build(self, namespace, body, **kwarg >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.create_build_openshift_io_v1_namespaced_build(namespace, body, callback=callback_function) + >>> thread = api.create_namespaced_build(namespace, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) @@ -659,12 +659,12 @@ def create_build_openshift_io_v1_namespaced_build(self, namespace, body, **kwarg """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.create_build_openshift_io_v1_namespaced_build_with_http_info(namespace, body, **kwargs) + return self.create_namespaced_build_with_http_info(namespace, body, **kwargs) else: - (data) = self.create_build_openshift_io_v1_namespaced_build_with_http_info(namespace, body, **kwargs) + (data) = self.create_namespaced_build_with_http_info(namespace, body, **kwargs) return data - def create_build_openshift_io_v1_namespaced_build_with_http_info(self, namespace, body, **kwargs): + def create_namespaced_build_with_http_info(self, namespace, body, **kwargs): """ create a Build This method makes a synchronous HTTP request by default. To make an @@ -673,7 +673,7 @@ def create_build_openshift_io_v1_namespaced_build_with_http_info(self, namespace >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.create_build_openshift_io_v1_namespaced_build_with_http_info(namespace, body, callback=callback_function) + >>> thread = api.create_namespaced_build_with_http_info(namespace, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) @@ -696,16 +696,16 @@ def create_build_openshift_io_v1_namespaced_build_with_http_info(self, namespace if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method create_build_openshift_io_v1_namespaced_build" % key + " to method create_namespaced_build" % key ) params[key] = val del params['kwargs'] # verify the required parameter 'namespace' is set if ('namespace' not in params) or (params['namespace'] is None): - raise ValueError("Missing the required parameter `namespace` when calling `create_build_openshift_io_v1_namespaced_build`") + raise ValueError("Missing the required parameter `namespace` when calling `create_namespaced_build`") # verify the required parameter 'body' is set if ('body' not in params) or (params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `create_build_openshift_io_v1_namespaced_build`") + raise ValueError("Missing the required parameter `body` when calling `create_namespaced_build`") collection_formats = {} @@ -736,7 +736,7 @@ def create_build_openshift_io_v1_namespaced_build_with_http_info(self, namespace select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'POST', path_params, @@ -753,7 +753,7 @@ def create_build_openshift_io_v1_namespaced_build_with_http_info(self, namespace _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def create_build_openshift_io_v1_namespaced_build_config(self, namespace, body, **kwargs): + def create_namespaced_build_config(self, namespace, body, **kwargs): """ create a BuildConfig This method makes a synchronous HTTP request by default. To make an @@ -762,7 +762,7 @@ def create_build_openshift_io_v1_namespaced_build_config(self, namespace, body, >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.create_build_openshift_io_v1_namespaced_build_config(namespace, body, callback=callback_function) + >>> thread = api.create_namespaced_build_config(namespace, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) @@ -775,12 +775,12 @@ def create_build_openshift_io_v1_namespaced_build_config(self, namespace, body, """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.create_build_openshift_io_v1_namespaced_build_config_with_http_info(namespace, body, **kwargs) + return self.create_namespaced_build_config_with_http_info(namespace, body, **kwargs) else: - (data) = self.create_build_openshift_io_v1_namespaced_build_config_with_http_info(namespace, body, **kwargs) + (data) = self.create_namespaced_build_config_with_http_info(namespace, body, **kwargs) return data - def create_build_openshift_io_v1_namespaced_build_config_with_http_info(self, namespace, body, **kwargs): + def create_namespaced_build_config_with_http_info(self, namespace, body, **kwargs): """ create a BuildConfig This method makes a synchronous HTTP request by default. To make an @@ -789,7 +789,7 @@ def create_build_openshift_io_v1_namespaced_build_config_with_http_info(self, na >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.create_build_openshift_io_v1_namespaced_build_config_with_http_info(namespace, body, callback=callback_function) + >>> thread = api.create_namespaced_build_config_with_http_info(namespace, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) @@ -812,16 +812,16 @@ def create_build_openshift_io_v1_namespaced_build_config_with_http_info(self, na if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method create_build_openshift_io_v1_namespaced_build_config" % key + " to method create_namespaced_build_config" % key ) params[key] = val del params['kwargs'] # verify the required parameter 'namespace' is set if ('namespace' not in params) or (params['namespace'] is None): - raise ValueError("Missing the required parameter `namespace` when calling `create_build_openshift_io_v1_namespaced_build_config`") + raise ValueError("Missing the required parameter `namespace` when calling `create_namespaced_build_config`") # verify the required parameter 'body' is set if ('body' not in params) or (params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `create_build_openshift_io_v1_namespaced_build_config`") + raise ValueError("Missing the required parameter `body` when calling `create_namespaced_build_config`") collection_formats = {} @@ -852,7 +852,7 @@ def create_build_openshift_io_v1_namespaced_build_config_with_http_info(self, na select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'POST', path_params, @@ -869,7 +869,7 @@ def create_build_openshift_io_v1_namespaced_build_config_with_http_info(self, na _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def create_build_openshift_io_v1_namespaced_build_request_clone(self, body, name, namespace, **kwargs): + def create_namespaced_build_request_clone(self, name, namespace, body, **kwargs): """ create clone of a BuildRequest This method makes a synchronous HTTP request by default. To make an @@ -878,13 +878,13 @@ def create_build_openshift_io_v1_namespaced_build_request_clone(self, body, name >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.create_build_openshift_io_v1_namespaced_build_request_clone(body, name, namespace, callback=callback_function) + >>> thread = api.create_namespaced_build_request_clone(name, namespace, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) - :param V1BuildRequest body: (required) :param str name: name of the BuildRequest (required) :param str namespace: object name and auth scope, such as for teams and projects (required) + :param V1BuildRequest body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1BuildRequest If the method is called asynchronously, @@ -892,12 +892,12 @@ def create_build_openshift_io_v1_namespaced_build_request_clone(self, body, name """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.create_build_openshift_io_v1_namespaced_build_request_clone_with_http_info(body, name, namespace, **kwargs) + return self.create_namespaced_build_request_clone_with_http_info(name, namespace, body, **kwargs) else: - (data) = self.create_build_openshift_io_v1_namespaced_build_request_clone_with_http_info(body, name, namespace, **kwargs) + (data) = self.create_namespaced_build_request_clone_with_http_info(name, namespace, body, **kwargs) return data - def create_build_openshift_io_v1_namespaced_build_request_clone_with_http_info(self, body, name, namespace, **kwargs): + def create_namespaced_build_request_clone_with_http_info(self, name, namespace, body, **kwargs): """ create clone of a BuildRequest This method makes a synchronous HTTP request by default. To make an @@ -906,20 +906,20 @@ def create_build_openshift_io_v1_namespaced_build_request_clone_with_http_info(s >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.create_build_openshift_io_v1_namespaced_build_request_clone_with_http_info(body, name, namespace, callback=callback_function) + >>> thread = api.create_namespaced_build_request_clone_with_http_info(name, namespace, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) - :param V1BuildRequest body: (required) :param str name: name of the BuildRequest (required) :param str namespace: object name and auth scope, such as for teams and projects (required) + :param V1BuildRequest body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1BuildRequest If the method is called asynchronously, returns the request thread. """ - all_params = ['body', 'name', 'namespace', 'pretty'] + all_params = ['name', 'namespace', 'body', 'pretty'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -930,19 +930,19 @@ def create_build_openshift_io_v1_namespaced_build_request_clone_with_http_info(s if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method create_build_openshift_io_v1_namespaced_build_request_clone" % key + " to method create_namespaced_build_request_clone" % key ) params[key] = val del params['kwargs'] - # verify the required parameter 'body' is set - if ('body' not in params) or (params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `create_build_openshift_io_v1_namespaced_build_request_clone`") # verify the required parameter 'name' is set if ('name' not in params) or (params['name'] is None): - raise ValueError("Missing the required parameter `name` when calling `create_build_openshift_io_v1_namespaced_build_request_clone`") + raise ValueError("Missing the required parameter `name` when calling `create_namespaced_build_request_clone`") # verify the required parameter 'namespace' is set if ('namespace' not in params) or (params['namespace'] is None): - raise ValueError("Missing the required parameter `namespace` when calling `create_build_openshift_io_v1_namespaced_build_request_clone`") + raise ValueError("Missing the required parameter `namespace` when calling `create_namespaced_build_request_clone`") + # verify the required parameter 'body' is set + if ('body' not in params) or (params['body'] is None): + raise ValueError("Missing the required parameter `body` when calling `create_namespaced_build_request_clone`") collection_formats = {} @@ -975,7 +975,7 @@ def create_build_openshift_io_v1_namespaced_build_request_clone_with_http_info(s select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'POST', path_params, @@ -992,7 +992,7 @@ def create_build_openshift_io_v1_namespaced_build_request_clone_with_http_info(s _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def create_build_openshift_io_v1_namespaced_build_request_instantiate(self, body, name, namespace, **kwargs): + def create_namespaced_build_request_instantiate(self, name, namespace, body, **kwargs): """ create instantiate of a BuildRequest This method makes a synchronous HTTP request by default. To make an @@ -1001,26 +1001,26 @@ def create_build_openshift_io_v1_namespaced_build_request_instantiate(self, body >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.create_build_openshift_io_v1_namespaced_build_request_instantiate(body, name, namespace, callback=callback_function) + >>> thread = api.create_namespaced_build_request_instantiate(name, namespace, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) - :param V1BuildRequest body: (required) :param str name: name of the BuildRequest (required) :param str namespace: object name and auth scope, such as for teams and projects (required) + :param V1BuildRequest body: (required) :param str pretty: If 'true', then the output is pretty printed. - :return: V1BuildRequest + :return: V1Build If the method is called asynchronously, returns the request thread. """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.create_build_openshift_io_v1_namespaced_build_request_instantiate_with_http_info(body, name, namespace, **kwargs) + return self.create_namespaced_build_request_instantiate_with_http_info(name, namespace, body, **kwargs) else: - (data) = self.create_build_openshift_io_v1_namespaced_build_request_instantiate_with_http_info(body, name, namespace, **kwargs) + (data) = self.create_namespaced_build_request_instantiate_with_http_info(name, namespace, body, **kwargs) return data - def create_build_openshift_io_v1_namespaced_build_request_instantiate_with_http_info(self, body, name, namespace, **kwargs): + def create_namespaced_build_request_instantiate_with_http_info(self, name, namespace, body, **kwargs): """ create instantiate of a BuildRequest This method makes a synchronous HTTP request by default. To make an @@ -1029,20 +1029,20 @@ def create_build_openshift_io_v1_namespaced_build_request_instantiate_with_http_ >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.create_build_openshift_io_v1_namespaced_build_request_instantiate_with_http_info(body, name, namespace, callback=callback_function) + >>> thread = api.create_namespaced_build_request_instantiate_with_http_info(name, namespace, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) - :param V1BuildRequest body: (required) :param str name: name of the BuildRequest (required) :param str namespace: object name and auth scope, such as for teams and projects (required) + :param V1BuildRequest body: (required) :param str pretty: If 'true', then the output is pretty printed. - :return: V1BuildRequest + :return: V1Build If the method is called asynchronously, returns the request thread. """ - all_params = ['body', 'name', 'namespace', 'pretty'] + all_params = ['name', 'namespace', 'body', 'pretty'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -1053,19 +1053,19 @@ def create_build_openshift_io_v1_namespaced_build_request_instantiate_with_http_ if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method create_build_openshift_io_v1_namespaced_build_request_instantiate" % key + " to method create_namespaced_build_request_instantiate" % key ) params[key] = val del params['kwargs'] - # verify the required parameter 'body' is set - if ('body' not in params) or (params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `create_build_openshift_io_v1_namespaced_build_request_instantiate`") # verify the required parameter 'name' is set if ('name' not in params) or (params['name'] is None): - raise ValueError("Missing the required parameter `name` when calling `create_build_openshift_io_v1_namespaced_build_request_instantiate`") + raise ValueError("Missing the required parameter `name` when calling `create_namespaced_build_request_instantiate`") # verify the required parameter 'namespace' is set if ('namespace' not in params) or (params['namespace'] is None): - raise ValueError("Missing the required parameter `namespace` when calling `create_build_openshift_io_v1_namespaced_build_request_instantiate`") + raise ValueError("Missing the required parameter `namespace` when calling `create_namespaced_build_request_instantiate`") + # verify the required parameter 'body' is set + if ('body' not in params) or (params['body'] is None): + raise ValueError("Missing the required parameter `body` when calling `create_namespaced_build_request_instantiate`") collection_formats = {} @@ -1098,7 +1098,7 @@ def create_build_openshift_io_v1_namespaced_build_request_instantiate_with_http_ select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'POST', path_params, @@ -1107,7 +1107,7 @@ def create_build_openshift_io_v1_namespaced_build_request_instantiate_with_http_ body=body_params, post_params=form_params, files=local_var_files, - response_type='V1BuildRequest', + response_type='V1Build', auth_settings=auth_settings, callback=params.get('callback'), _return_http_data_only=params.get('_return_http_data_only'), @@ -1115,7 +1115,7 @@ def create_build_openshift_io_v1_namespaced_build_request_instantiate_with_http_ _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def delete_build_openshift_io_v1_collection_namespaced_build(self, namespace, **kwargs): + def delete_collection_namespaced_build(self, namespace, **kwargs): """ delete collection of Build This method makes a synchronous HTTP request by default. To make an @@ -1124,29 +1124,30 @@ def delete_build_openshift_io_v1_collection_namespaced_build(self, namespace, ** >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.delete_build_openshift_io_v1_collection_namespaced_build(namespace, callback=callback_function) + >>> thread = api.delete_collection_namespaced_build(namespace, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param str namespace: object name and auth scope, such as for teams and projects (required) :param str pretty: If 'true', then the output is pretty printed. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param bool include_uninitialized: If true, partially initialized resources are included in the response. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. - :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. + :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. :param int timeout_seconds: Timeout for the list/watch call. :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - :return: UnversionedStatus + :return: V1Status If the method is called asynchronously, returns the request thread. """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.delete_build_openshift_io_v1_collection_namespaced_build_with_http_info(namespace, **kwargs) + return self.delete_collection_namespaced_build_with_http_info(namespace, **kwargs) else: - (data) = self.delete_build_openshift_io_v1_collection_namespaced_build_with_http_info(namespace, **kwargs) + (data) = self.delete_collection_namespaced_build_with_http_info(namespace, **kwargs) return data - def delete_build_openshift_io_v1_collection_namespaced_build_with_http_info(self, namespace, **kwargs): + def delete_collection_namespaced_build_with_http_info(self, namespace, **kwargs): """ delete collection of Build This method makes a synchronous HTTP request by default. To make an @@ -1155,23 +1156,24 @@ def delete_build_openshift_io_v1_collection_namespaced_build_with_http_info(self >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.delete_build_openshift_io_v1_collection_namespaced_build_with_http_info(namespace, callback=callback_function) + >>> thread = api.delete_collection_namespaced_build_with_http_info(namespace, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param str namespace: object name and auth scope, such as for teams and projects (required) :param str pretty: If 'true', then the output is pretty printed. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param bool include_uninitialized: If true, partially initialized resources are included in the response. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. - :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. + :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. :param int timeout_seconds: Timeout for the list/watch call. :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - :return: UnversionedStatus + :return: V1Status If the method is called asynchronously, returns the request thread. """ - all_params = ['namespace', 'pretty', 'field_selector', 'label_selector', 'resource_version', 'timeout_seconds', 'watch'] + all_params = ['namespace', 'pretty', 'field_selector', 'include_uninitialized', 'label_selector', 'resource_version', 'timeout_seconds', 'watch'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -1182,13 +1184,13 @@ def delete_build_openshift_io_v1_collection_namespaced_build_with_http_info(self if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method delete_build_openshift_io_v1_collection_namespaced_build" % key + " to method delete_collection_namespaced_build" % key ) params[key] = val del params['kwargs'] # verify the required parameter 'namespace' is set if ('namespace' not in params) or (params['namespace'] is None): - raise ValueError("Missing the required parameter `namespace` when calling `delete_build_openshift_io_v1_collection_namespaced_build`") + raise ValueError("Missing the required parameter `namespace` when calling `delete_collection_namespaced_build`") collection_formats = {} @@ -1203,6 +1205,8 @@ def delete_build_openshift_io_v1_collection_namespaced_build_with_http_info(self query_params['pretty'] = params['pretty'] if 'field_selector' in params: query_params['fieldSelector'] = params['field_selector'] + if 'include_uninitialized' in params: + query_params['includeUninitialized'] = params['include_uninitialized'] if 'label_selector' in params: query_params['labelSelector'] = params['label_selector'] if 'resource_version' in params: @@ -1227,7 +1231,7 @@ def delete_build_openshift_io_v1_collection_namespaced_build_with_http_info(self select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'DELETE', path_params, @@ -1236,7 +1240,7 @@ def delete_build_openshift_io_v1_collection_namespaced_build_with_http_info(self body=body_params, post_params=form_params, files=local_var_files, - response_type='UnversionedStatus', + response_type='V1Status', auth_settings=auth_settings, callback=params.get('callback'), _return_http_data_only=params.get('_return_http_data_only'), @@ -1244,7 +1248,7 @@ def delete_build_openshift_io_v1_collection_namespaced_build_with_http_info(self _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def delete_build_openshift_io_v1_collection_namespaced_build_config(self, namespace, **kwargs): + def delete_collection_namespaced_build_config(self, namespace, **kwargs): """ delete collection of BuildConfig This method makes a synchronous HTTP request by default. To make an @@ -1253,29 +1257,30 @@ def delete_build_openshift_io_v1_collection_namespaced_build_config(self, namesp >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.delete_build_openshift_io_v1_collection_namespaced_build_config(namespace, callback=callback_function) + >>> thread = api.delete_collection_namespaced_build_config(namespace, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param str namespace: object name and auth scope, such as for teams and projects (required) :param str pretty: If 'true', then the output is pretty printed. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param bool include_uninitialized: If true, partially initialized resources are included in the response. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. - :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. + :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. :param int timeout_seconds: Timeout for the list/watch call. :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - :return: UnversionedStatus + :return: V1Status If the method is called asynchronously, returns the request thread. """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.delete_build_openshift_io_v1_collection_namespaced_build_config_with_http_info(namespace, **kwargs) + return self.delete_collection_namespaced_build_config_with_http_info(namespace, **kwargs) else: - (data) = self.delete_build_openshift_io_v1_collection_namespaced_build_config_with_http_info(namespace, **kwargs) + (data) = self.delete_collection_namespaced_build_config_with_http_info(namespace, **kwargs) return data - def delete_build_openshift_io_v1_collection_namespaced_build_config_with_http_info(self, namespace, **kwargs): + def delete_collection_namespaced_build_config_with_http_info(self, namespace, **kwargs): """ delete collection of BuildConfig This method makes a synchronous HTTP request by default. To make an @@ -1284,23 +1289,24 @@ def delete_build_openshift_io_v1_collection_namespaced_build_config_with_http_in >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.delete_build_openshift_io_v1_collection_namespaced_build_config_with_http_info(namespace, callback=callback_function) + >>> thread = api.delete_collection_namespaced_build_config_with_http_info(namespace, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param str namespace: object name and auth scope, such as for teams and projects (required) :param str pretty: If 'true', then the output is pretty printed. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param bool include_uninitialized: If true, partially initialized resources are included in the response. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. - :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. + :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. :param int timeout_seconds: Timeout for the list/watch call. :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - :return: UnversionedStatus + :return: V1Status If the method is called asynchronously, returns the request thread. """ - all_params = ['namespace', 'pretty', 'field_selector', 'label_selector', 'resource_version', 'timeout_seconds', 'watch'] + all_params = ['namespace', 'pretty', 'field_selector', 'include_uninitialized', 'label_selector', 'resource_version', 'timeout_seconds', 'watch'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -1311,13 +1317,13 @@ def delete_build_openshift_io_v1_collection_namespaced_build_config_with_http_in if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method delete_build_openshift_io_v1_collection_namespaced_build_config" % key + " to method delete_collection_namespaced_build_config" % key ) params[key] = val del params['kwargs'] # verify the required parameter 'namespace' is set if ('namespace' not in params) or (params['namespace'] is None): - raise ValueError("Missing the required parameter `namespace` when calling `delete_build_openshift_io_v1_collection_namespaced_build_config`") + raise ValueError("Missing the required parameter `namespace` when calling `delete_collection_namespaced_build_config`") collection_formats = {} @@ -1332,6 +1338,8 @@ def delete_build_openshift_io_v1_collection_namespaced_build_config_with_http_in query_params['pretty'] = params['pretty'] if 'field_selector' in params: query_params['fieldSelector'] = params['field_selector'] + if 'include_uninitialized' in params: + query_params['includeUninitialized'] = params['include_uninitialized'] if 'label_selector' in params: query_params['labelSelector'] = params['label_selector'] if 'resource_version' in params: @@ -1356,7 +1364,7 @@ def delete_build_openshift_io_v1_collection_namespaced_build_config_with_http_in select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'DELETE', path_params, @@ -1365,7 +1373,7 @@ def delete_build_openshift_io_v1_collection_namespaced_build_config_with_http_in body=body_params, post_params=form_params, files=local_var_files, - response_type='UnversionedStatus', + response_type='V1Status', auth_settings=auth_settings, callback=params.get('callback'), _return_http_data_only=params.get('_return_http_data_only'), @@ -1373,7 +1381,7 @@ def delete_build_openshift_io_v1_collection_namespaced_build_config_with_http_in _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def delete_build_openshift_io_v1_namespaced_build(self, name, namespace, body, **kwargs): + def delete_namespaced_build(self, name, namespace, body, **kwargs): """ delete a Build This method makes a synchronous HTTP request by default. To make an @@ -1382,7 +1390,7 @@ def delete_build_openshift_io_v1_namespaced_build(self, name, namespace, body, * >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.delete_build_openshift_io_v1_namespaced_build(name, namespace, body, callback=callback_function) + >>> thread = api.delete_namespaced_build(name, namespace, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) @@ -1391,19 +1399,20 @@ def delete_build_openshift_io_v1_namespaced_build(self, name, namespace, body, * :param V1DeleteOptions body: (required) :param str pretty: If 'true', then the output is pretty printed. :param int grace_period_seconds: 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. - :param bool orphan_dependents: Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. - :return: UnversionedStatus + :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. + :param str propagation_policy: Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. + :return: V1Status If the method is called asynchronously, returns the request thread. """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.delete_build_openshift_io_v1_namespaced_build_with_http_info(name, namespace, body, **kwargs) + return self.delete_namespaced_build_with_http_info(name, namespace, body, **kwargs) else: - (data) = self.delete_build_openshift_io_v1_namespaced_build_with_http_info(name, namespace, body, **kwargs) + (data) = self.delete_namespaced_build_with_http_info(name, namespace, body, **kwargs) return data - def delete_build_openshift_io_v1_namespaced_build_with_http_info(self, name, namespace, body, **kwargs): + def delete_namespaced_build_with_http_info(self, name, namespace, body, **kwargs): """ delete a Build This method makes a synchronous HTTP request by default. To make an @@ -1412,7 +1421,7 @@ def delete_build_openshift_io_v1_namespaced_build_with_http_info(self, name, nam >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.delete_build_openshift_io_v1_namespaced_build_with_http_info(name, namespace, body, callback=callback_function) + >>> thread = api.delete_namespaced_build_with_http_info(name, namespace, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) @@ -1421,13 +1430,14 @@ def delete_build_openshift_io_v1_namespaced_build_with_http_info(self, name, nam :param V1DeleteOptions body: (required) :param str pretty: If 'true', then the output is pretty printed. :param int grace_period_seconds: 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. - :param bool orphan_dependents: Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. - :return: UnversionedStatus + :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. + :param str propagation_policy: Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. + :return: V1Status If the method is called asynchronously, returns the request thread. """ - all_params = ['name', 'namespace', 'body', 'pretty', 'grace_period_seconds', 'orphan_dependents'] + all_params = ['name', 'namespace', 'body', 'pretty', 'grace_period_seconds', 'orphan_dependents', 'propagation_policy'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -1438,19 +1448,19 @@ def delete_build_openshift_io_v1_namespaced_build_with_http_info(self, name, nam if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method delete_build_openshift_io_v1_namespaced_build" % key + " to method delete_namespaced_build" % key ) params[key] = val del params['kwargs'] # verify the required parameter 'name' is set if ('name' not in params) or (params['name'] is None): - raise ValueError("Missing the required parameter `name` when calling `delete_build_openshift_io_v1_namespaced_build`") + raise ValueError("Missing the required parameter `name` when calling `delete_namespaced_build`") # verify the required parameter 'namespace' is set if ('namespace' not in params) or (params['namespace'] is None): - raise ValueError("Missing the required parameter `namespace` when calling `delete_build_openshift_io_v1_namespaced_build`") + raise ValueError("Missing the required parameter `namespace` when calling `delete_namespaced_build`") # verify the required parameter 'body' is set if ('body' not in params) or (params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `delete_build_openshift_io_v1_namespaced_build`") + raise ValueError("Missing the required parameter `body` when calling `delete_namespaced_build`") collection_formats = {} @@ -1469,6 +1479,8 @@ def delete_build_openshift_io_v1_namespaced_build_with_http_info(self, name, nam query_params['gracePeriodSeconds'] = params['grace_period_seconds'] if 'orphan_dependents' in params: query_params['orphanDependents'] = params['orphan_dependents'] + if 'propagation_policy' in params: + query_params['propagationPolicy'] = params['propagation_policy'] header_params = {} @@ -1487,7 +1499,7 @@ def delete_build_openshift_io_v1_namespaced_build_with_http_info(self, name, nam select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'DELETE', path_params, @@ -1496,7 +1508,7 @@ def delete_build_openshift_io_v1_namespaced_build_with_http_info(self, name, nam body=body_params, post_params=form_params, files=local_var_files, - response_type='UnversionedStatus', + response_type='V1Status', auth_settings=auth_settings, callback=params.get('callback'), _return_http_data_only=params.get('_return_http_data_only'), @@ -1504,7 +1516,7 @@ def delete_build_openshift_io_v1_namespaced_build_with_http_info(self, name, nam _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def delete_build_openshift_io_v1_namespaced_build_config(self, name, namespace, body, **kwargs): + def delete_namespaced_build_config(self, name, namespace, body, **kwargs): """ delete a BuildConfig This method makes a synchronous HTTP request by default. To make an @@ -1513,7 +1525,7 @@ def delete_build_openshift_io_v1_namespaced_build_config(self, name, namespace, >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.delete_build_openshift_io_v1_namespaced_build_config(name, namespace, body, callback=callback_function) + >>> thread = api.delete_namespaced_build_config(name, namespace, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) @@ -1522,19 +1534,20 @@ def delete_build_openshift_io_v1_namespaced_build_config(self, name, namespace, :param V1DeleteOptions body: (required) :param str pretty: If 'true', then the output is pretty printed. :param int grace_period_seconds: 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. - :param bool orphan_dependents: Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. - :return: UnversionedStatus + :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. + :param str propagation_policy: Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. + :return: V1Status If the method is called asynchronously, returns the request thread. """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.delete_build_openshift_io_v1_namespaced_build_config_with_http_info(name, namespace, body, **kwargs) + return self.delete_namespaced_build_config_with_http_info(name, namespace, body, **kwargs) else: - (data) = self.delete_build_openshift_io_v1_namespaced_build_config_with_http_info(name, namespace, body, **kwargs) + (data) = self.delete_namespaced_build_config_with_http_info(name, namespace, body, **kwargs) return data - def delete_build_openshift_io_v1_namespaced_build_config_with_http_info(self, name, namespace, body, **kwargs): + def delete_namespaced_build_config_with_http_info(self, name, namespace, body, **kwargs): """ delete a BuildConfig This method makes a synchronous HTTP request by default. To make an @@ -1543,7 +1556,7 @@ def delete_build_openshift_io_v1_namespaced_build_config_with_http_info(self, na >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.delete_build_openshift_io_v1_namespaced_build_config_with_http_info(name, namespace, body, callback=callback_function) + >>> thread = api.delete_namespaced_build_config_with_http_info(name, namespace, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) @@ -1552,13 +1565,14 @@ def delete_build_openshift_io_v1_namespaced_build_config_with_http_info(self, na :param V1DeleteOptions body: (required) :param str pretty: If 'true', then the output is pretty printed. :param int grace_period_seconds: 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. - :param bool orphan_dependents: Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. - :return: UnversionedStatus + :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. + :param str propagation_policy: Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. + :return: V1Status If the method is called asynchronously, returns the request thread. """ - all_params = ['name', 'namespace', 'body', 'pretty', 'grace_period_seconds', 'orphan_dependents'] + all_params = ['name', 'namespace', 'body', 'pretty', 'grace_period_seconds', 'orphan_dependents', 'propagation_policy'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -1569,19 +1583,19 @@ def delete_build_openshift_io_v1_namespaced_build_config_with_http_info(self, na if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method delete_build_openshift_io_v1_namespaced_build_config" % key + " to method delete_namespaced_build_config" % key ) params[key] = val del params['kwargs'] # verify the required parameter 'name' is set if ('name' not in params) or (params['name'] is None): - raise ValueError("Missing the required parameter `name` when calling `delete_build_openshift_io_v1_namespaced_build_config`") + raise ValueError("Missing the required parameter `name` when calling `delete_namespaced_build_config`") # verify the required parameter 'namespace' is set if ('namespace' not in params) or (params['namespace'] is None): - raise ValueError("Missing the required parameter `namespace` when calling `delete_build_openshift_io_v1_namespaced_build_config`") + raise ValueError("Missing the required parameter `namespace` when calling `delete_namespaced_build_config`") # verify the required parameter 'body' is set if ('body' not in params) or (params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `delete_build_openshift_io_v1_namespaced_build_config`") + raise ValueError("Missing the required parameter `body` when calling `delete_namespaced_build_config`") collection_formats = {} @@ -1600,6 +1614,8 @@ def delete_build_openshift_io_v1_namespaced_build_config_with_http_info(self, na query_params['gracePeriodSeconds'] = params['grace_period_seconds'] if 'orphan_dependents' in params: query_params['orphanDependents'] = params['orphan_dependents'] + if 'propagation_policy' in params: + query_params['propagationPolicy'] = params['propagation_policy'] header_params = {} @@ -1618,7 +1634,7 @@ def delete_build_openshift_io_v1_namespaced_build_config_with_http_info(self, na select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'DELETE', path_params, @@ -1627,7 +1643,7 @@ def delete_build_openshift_io_v1_namespaced_build_config_with_http_info(self, na body=body_params, post_params=form_params, files=local_var_files, - response_type='UnversionedStatus', + response_type='V1Status', auth_settings=auth_settings, callback=params.get('callback'), _return_http_data_only=params.get('_return_http_data_only'), @@ -1635,7 +1651,7 @@ def delete_build_openshift_io_v1_namespaced_build_config_with_http_info(self, na _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def get_build_openshift_io_v1_api_resources(self, **kwargs): + def get_api_resources(self, **kwargs): """ get available resources This method makes a synchronous HTTP request by default. To make an @@ -1644,22 +1660,22 @@ def get_build_openshift_io_v1_api_resources(self, **kwargs): >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.get_build_openshift_io_v1_api_resources(callback=callback_function) + >>> thread = api.get_api_resources(callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) - :return: UnversionedAPIResourceList + :return: V1APIResourceList If the method is called asynchronously, returns the request thread. """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.get_build_openshift_io_v1_api_resources_with_http_info(**kwargs) + return self.get_api_resources_with_http_info(**kwargs) else: - (data) = self.get_build_openshift_io_v1_api_resources_with_http_info(**kwargs) + (data) = self.get_api_resources_with_http_info(**kwargs) return data - def get_build_openshift_io_v1_api_resources_with_http_info(self, **kwargs): + def get_api_resources_with_http_info(self, **kwargs): """ get available resources This method makes a synchronous HTTP request by default. To make an @@ -1668,11 +1684,11 @@ def get_build_openshift_io_v1_api_resources_with_http_info(self, **kwargs): >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.get_build_openshift_io_v1_api_resources_with_http_info(callback=callback_function) + >>> thread = api.get_api_resources_with_http_info(callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) - :return: UnversionedAPIResourceList + :return: V1APIResourceList If the method is called asynchronously, returns the request thread. """ @@ -1688,7 +1704,7 @@ def get_build_openshift_io_v1_api_resources_with_http_info(self, **kwargs): if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method get_build_openshift_io_v1_api_resources" % key + " to method get_api_resources" % key ) params[key] = val del params['kwargs'] @@ -1715,7 +1731,7 @@ def get_build_openshift_io_v1_api_resources_with_http_info(self, **kwargs): select_header_content_type(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -1724,7 +1740,7 @@ def get_build_openshift_io_v1_api_resources_with_http_info(self, **kwargs): body=body_params, post_params=form_params, files=local_var_files, - response_type='UnversionedAPIResourceList', + response_type='V1APIResourceList', auth_settings=auth_settings, callback=params.get('callback'), _return_http_data_only=params.get('_return_http_data_only'), @@ -1732,7 +1748,7 @@ def get_build_openshift_io_v1_api_resources_with_http_info(self, **kwargs): _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def list_build_openshift_io_v1_build_config_for_all_namespaces(self, **kwargs): + def list_build_config_for_all_namespaces(self, **kwargs): """ list or watch objects of kind BuildConfig This method makes a synchronous HTTP request by default. To make an @@ -1741,14 +1757,15 @@ def list_build_openshift_io_v1_build_config_for_all_namespaces(self, **kwargs): >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.list_build_openshift_io_v1_build_config_for_all_namespaces(callback=callback_function) + >>> thread = api.list_build_config_for_all_namespaces(callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param str pretty: If 'true', then the output is pretty printed. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param bool include_uninitialized: If true, partially initialized resources are included in the response. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. - :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. + :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. :param int timeout_seconds: Timeout for the list/watch call. :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. :return: V1BuildConfigList @@ -1757,12 +1774,12 @@ def list_build_openshift_io_v1_build_config_for_all_namespaces(self, **kwargs): """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.list_build_openshift_io_v1_build_config_for_all_namespaces_with_http_info(**kwargs) + return self.list_build_config_for_all_namespaces_with_http_info(**kwargs) else: - (data) = self.list_build_openshift_io_v1_build_config_for_all_namespaces_with_http_info(**kwargs) + (data) = self.list_build_config_for_all_namespaces_with_http_info(**kwargs) return data - def list_build_openshift_io_v1_build_config_for_all_namespaces_with_http_info(self, **kwargs): + def list_build_config_for_all_namespaces_with_http_info(self, **kwargs): """ list or watch objects of kind BuildConfig This method makes a synchronous HTTP request by default. To make an @@ -1771,14 +1788,15 @@ def list_build_openshift_io_v1_build_config_for_all_namespaces_with_http_info(se >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.list_build_openshift_io_v1_build_config_for_all_namespaces_with_http_info(callback=callback_function) + >>> thread = api.list_build_config_for_all_namespaces_with_http_info(callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param str pretty: If 'true', then the output is pretty printed. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param bool include_uninitialized: If true, partially initialized resources are included in the response. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. - :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. + :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. :param int timeout_seconds: Timeout for the list/watch call. :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. :return: V1BuildConfigList @@ -1786,7 +1804,7 @@ def list_build_openshift_io_v1_build_config_for_all_namespaces_with_http_info(se returns the request thread. """ - all_params = ['pretty', 'field_selector', 'label_selector', 'resource_version', 'timeout_seconds', 'watch'] + all_params = ['pretty', 'field_selector', 'include_uninitialized', 'label_selector', 'resource_version', 'timeout_seconds', 'watch'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -1797,7 +1815,7 @@ def list_build_openshift_io_v1_build_config_for_all_namespaces_with_http_info(se if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method list_build_openshift_io_v1_build_config_for_all_namespaces" % key + " to method list_build_config_for_all_namespaces" % key ) params[key] = val del params['kwargs'] @@ -1813,6 +1831,8 @@ def list_build_openshift_io_v1_build_config_for_all_namespaces_with_http_info(se query_params['pretty'] = params['pretty'] if 'field_selector' in params: query_params['fieldSelector'] = params['field_selector'] + if 'include_uninitialized' in params: + query_params['includeUninitialized'] = params['include_uninitialized'] if 'label_selector' in params: query_params['labelSelector'] = params['label_selector'] if 'resource_version' in params: @@ -1837,7 +1857,7 @@ def list_build_openshift_io_v1_build_config_for_all_namespaces_with_http_info(se select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -1854,7 +1874,7 @@ def list_build_openshift_io_v1_build_config_for_all_namespaces_with_http_info(se _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def list_build_openshift_io_v1_build_for_all_namespaces(self, **kwargs): + def list_build_for_all_namespaces(self, **kwargs): """ list or watch objects of kind Build This method makes a synchronous HTTP request by default. To make an @@ -1863,14 +1883,15 @@ def list_build_openshift_io_v1_build_for_all_namespaces(self, **kwargs): >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.list_build_openshift_io_v1_build_for_all_namespaces(callback=callback_function) + >>> thread = api.list_build_for_all_namespaces(callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param str pretty: If 'true', then the output is pretty printed. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param bool include_uninitialized: If true, partially initialized resources are included in the response. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. - :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. + :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. :param int timeout_seconds: Timeout for the list/watch call. :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. :return: V1BuildList @@ -1879,12 +1900,12 @@ def list_build_openshift_io_v1_build_for_all_namespaces(self, **kwargs): """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.list_build_openshift_io_v1_build_for_all_namespaces_with_http_info(**kwargs) + return self.list_build_for_all_namespaces_with_http_info(**kwargs) else: - (data) = self.list_build_openshift_io_v1_build_for_all_namespaces_with_http_info(**kwargs) + (data) = self.list_build_for_all_namespaces_with_http_info(**kwargs) return data - def list_build_openshift_io_v1_build_for_all_namespaces_with_http_info(self, **kwargs): + def list_build_for_all_namespaces_with_http_info(self, **kwargs): """ list or watch objects of kind Build This method makes a synchronous HTTP request by default. To make an @@ -1893,14 +1914,15 @@ def list_build_openshift_io_v1_build_for_all_namespaces_with_http_info(self, **k >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.list_build_openshift_io_v1_build_for_all_namespaces_with_http_info(callback=callback_function) + >>> thread = api.list_build_for_all_namespaces_with_http_info(callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param str pretty: If 'true', then the output is pretty printed. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param bool include_uninitialized: If true, partially initialized resources are included in the response. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. - :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. + :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. :param int timeout_seconds: Timeout for the list/watch call. :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. :return: V1BuildList @@ -1908,7 +1930,7 @@ def list_build_openshift_io_v1_build_for_all_namespaces_with_http_info(self, **k returns the request thread. """ - all_params = ['pretty', 'field_selector', 'label_selector', 'resource_version', 'timeout_seconds', 'watch'] + all_params = ['pretty', 'field_selector', 'include_uninitialized', 'label_selector', 'resource_version', 'timeout_seconds', 'watch'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -1919,7 +1941,7 @@ def list_build_openshift_io_v1_build_for_all_namespaces_with_http_info(self, **k if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method list_build_openshift_io_v1_build_for_all_namespaces" % key + " to method list_build_for_all_namespaces" % key ) params[key] = val del params['kwargs'] @@ -1935,6 +1957,8 @@ def list_build_openshift_io_v1_build_for_all_namespaces_with_http_info(self, **k query_params['pretty'] = params['pretty'] if 'field_selector' in params: query_params['fieldSelector'] = params['field_selector'] + if 'include_uninitialized' in params: + query_params['includeUninitialized'] = params['include_uninitialized'] if 'label_selector' in params: query_params['labelSelector'] = params['label_selector'] if 'resource_version' in params: @@ -1959,7 +1983,7 @@ def list_build_openshift_io_v1_build_for_all_namespaces_with_http_info(self, **k select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -1976,7 +2000,7 @@ def list_build_openshift_io_v1_build_for_all_namespaces_with_http_info(self, **k _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def list_build_openshift_io_v1_namespaced_build(self, namespace, **kwargs): + def list_namespaced_build(self, namespace, **kwargs): """ list or watch objects of kind Build This method makes a synchronous HTTP request by default. To make an @@ -1985,15 +2009,16 @@ def list_build_openshift_io_v1_namespaced_build(self, namespace, **kwargs): >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.list_build_openshift_io_v1_namespaced_build(namespace, callback=callback_function) + >>> thread = api.list_namespaced_build(namespace, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param str namespace: object name and auth scope, such as for teams and projects (required) :param str pretty: If 'true', then the output is pretty printed. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param bool include_uninitialized: If true, partially initialized resources are included in the response. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. - :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. + :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. :param int timeout_seconds: Timeout for the list/watch call. :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. :return: V1BuildList @@ -2002,12 +2027,12 @@ def list_build_openshift_io_v1_namespaced_build(self, namespace, **kwargs): """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.list_build_openshift_io_v1_namespaced_build_with_http_info(namespace, **kwargs) + return self.list_namespaced_build_with_http_info(namespace, **kwargs) else: - (data) = self.list_build_openshift_io_v1_namespaced_build_with_http_info(namespace, **kwargs) + (data) = self.list_namespaced_build_with_http_info(namespace, **kwargs) return data - def list_build_openshift_io_v1_namespaced_build_with_http_info(self, namespace, **kwargs): + def list_namespaced_build_with_http_info(self, namespace, **kwargs): """ list or watch objects of kind Build This method makes a synchronous HTTP request by default. To make an @@ -2016,15 +2041,16 @@ def list_build_openshift_io_v1_namespaced_build_with_http_info(self, namespace, >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.list_build_openshift_io_v1_namespaced_build_with_http_info(namespace, callback=callback_function) + >>> thread = api.list_namespaced_build_with_http_info(namespace, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param str namespace: object name and auth scope, such as for teams and projects (required) :param str pretty: If 'true', then the output is pretty printed. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param bool include_uninitialized: If true, partially initialized resources are included in the response. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. - :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. + :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. :param int timeout_seconds: Timeout for the list/watch call. :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. :return: V1BuildList @@ -2032,7 +2058,7 @@ def list_build_openshift_io_v1_namespaced_build_with_http_info(self, namespace, returns the request thread. """ - all_params = ['namespace', 'pretty', 'field_selector', 'label_selector', 'resource_version', 'timeout_seconds', 'watch'] + all_params = ['namespace', 'pretty', 'field_selector', 'include_uninitialized', 'label_selector', 'resource_version', 'timeout_seconds', 'watch'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -2043,13 +2069,13 @@ def list_build_openshift_io_v1_namespaced_build_with_http_info(self, namespace, if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method list_build_openshift_io_v1_namespaced_build" % key + " to method list_namespaced_build" % key ) params[key] = val del params['kwargs'] # verify the required parameter 'namespace' is set if ('namespace' not in params) or (params['namespace'] is None): - raise ValueError("Missing the required parameter `namespace` when calling `list_build_openshift_io_v1_namespaced_build`") + raise ValueError("Missing the required parameter `namespace` when calling `list_namespaced_build`") collection_formats = {} @@ -2064,6 +2090,8 @@ def list_build_openshift_io_v1_namespaced_build_with_http_info(self, namespace, query_params['pretty'] = params['pretty'] if 'field_selector' in params: query_params['fieldSelector'] = params['field_selector'] + if 'include_uninitialized' in params: + query_params['includeUninitialized'] = params['include_uninitialized'] if 'label_selector' in params: query_params['labelSelector'] = params['label_selector'] if 'resource_version' in params: @@ -2088,7 +2116,7 @@ def list_build_openshift_io_v1_namespaced_build_with_http_info(self, namespace, select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -2105,7 +2133,7 @@ def list_build_openshift_io_v1_namespaced_build_with_http_info(self, namespace, _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def list_build_openshift_io_v1_namespaced_build_config(self, namespace, **kwargs): + def list_namespaced_build_config(self, namespace, **kwargs): """ list or watch objects of kind BuildConfig This method makes a synchronous HTTP request by default. To make an @@ -2114,15 +2142,16 @@ def list_build_openshift_io_v1_namespaced_build_config(self, namespace, **kwargs >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.list_build_openshift_io_v1_namespaced_build_config(namespace, callback=callback_function) + >>> thread = api.list_namespaced_build_config(namespace, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param str namespace: object name and auth scope, such as for teams and projects (required) :param str pretty: If 'true', then the output is pretty printed. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param bool include_uninitialized: If true, partially initialized resources are included in the response. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. - :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. + :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. :param int timeout_seconds: Timeout for the list/watch call. :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. :return: V1BuildConfigList @@ -2131,12 +2160,12 @@ def list_build_openshift_io_v1_namespaced_build_config(self, namespace, **kwargs """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.list_build_openshift_io_v1_namespaced_build_config_with_http_info(namespace, **kwargs) + return self.list_namespaced_build_config_with_http_info(namespace, **kwargs) else: - (data) = self.list_build_openshift_io_v1_namespaced_build_config_with_http_info(namespace, **kwargs) + (data) = self.list_namespaced_build_config_with_http_info(namespace, **kwargs) return data - def list_build_openshift_io_v1_namespaced_build_config_with_http_info(self, namespace, **kwargs): + def list_namespaced_build_config_with_http_info(self, namespace, **kwargs): """ list or watch objects of kind BuildConfig This method makes a synchronous HTTP request by default. To make an @@ -2145,15 +2174,16 @@ def list_build_openshift_io_v1_namespaced_build_config_with_http_info(self, name >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.list_build_openshift_io_v1_namespaced_build_config_with_http_info(namespace, callback=callback_function) + >>> thread = api.list_namespaced_build_config_with_http_info(namespace, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param str namespace: object name and auth scope, such as for teams and projects (required) :param str pretty: If 'true', then the output is pretty printed. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param bool include_uninitialized: If true, partially initialized resources are included in the response. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. - :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. + :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. :param int timeout_seconds: Timeout for the list/watch call. :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. :return: V1BuildConfigList @@ -2161,7 +2191,7 @@ def list_build_openshift_io_v1_namespaced_build_config_with_http_info(self, name returns the request thread. """ - all_params = ['namespace', 'pretty', 'field_selector', 'label_selector', 'resource_version', 'timeout_seconds', 'watch'] + all_params = ['namespace', 'pretty', 'field_selector', 'include_uninitialized', 'label_selector', 'resource_version', 'timeout_seconds', 'watch'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -2172,13 +2202,13 @@ def list_build_openshift_io_v1_namespaced_build_config_with_http_info(self, name if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method list_build_openshift_io_v1_namespaced_build_config" % key + " to method list_namespaced_build_config" % key ) params[key] = val del params['kwargs'] # verify the required parameter 'namespace' is set if ('namespace' not in params) or (params['namespace'] is None): - raise ValueError("Missing the required parameter `namespace` when calling `list_build_openshift_io_v1_namespaced_build_config`") + raise ValueError("Missing the required parameter `namespace` when calling `list_namespaced_build_config`") collection_formats = {} @@ -2193,6 +2223,8 @@ def list_build_openshift_io_v1_namespaced_build_config_with_http_info(self, name query_params['pretty'] = params['pretty'] if 'field_selector' in params: query_params['fieldSelector'] = params['field_selector'] + if 'include_uninitialized' in params: + query_params['includeUninitialized'] = params['include_uninitialized'] if 'label_selector' in params: query_params['labelSelector'] = params['label_selector'] if 'resource_version' in params: @@ -2217,7 +2249,7 @@ def list_build_openshift_io_v1_namespaced_build_config_with_http_info(self, name select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -2234,7 +2266,7 @@ def list_build_openshift_io_v1_namespaced_build_config_with_http_info(self, name _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def patch_build_openshift_io_v1_namespaced_build(self, name, namespace, body, **kwargs): + def patch_namespaced_build(self, name, namespace, body, **kwargs): """ partially update the specified Build This method makes a synchronous HTTP request by default. To make an @@ -2243,13 +2275,13 @@ def patch_build_openshift_io_v1_namespaced_build(self, name, namespace, body, ** >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.patch_build_openshift_io_v1_namespaced_build(name, namespace, body, callback=callback_function) + >>> thread = api.patch_namespaced_build(name, namespace, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param str name: name of the Build (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param UnversionedPatch body: (required) + :param object body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1Build If the method is called asynchronously, @@ -2257,12 +2289,12 @@ def patch_build_openshift_io_v1_namespaced_build(self, name, namespace, body, ** """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.patch_build_openshift_io_v1_namespaced_build_with_http_info(name, namespace, body, **kwargs) + return self.patch_namespaced_build_with_http_info(name, namespace, body, **kwargs) else: - (data) = self.patch_build_openshift_io_v1_namespaced_build_with_http_info(name, namespace, body, **kwargs) + (data) = self.patch_namespaced_build_with_http_info(name, namespace, body, **kwargs) return data - def patch_build_openshift_io_v1_namespaced_build_with_http_info(self, name, namespace, body, **kwargs): + def patch_namespaced_build_with_http_info(self, name, namespace, body, **kwargs): """ partially update the specified Build This method makes a synchronous HTTP request by default. To make an @@ -2271,13 +2303,13 @@ def patch_build_openshift_io_v1_namespaced_build_with_http_info(self, name, name >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.patch_build_openshift_io_v1_namespaced_build_with_http_info(name, namespace, body, callback=callback_function) + >>> thread = api.patch_namespaced_build_with_http_info(name, namespace, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param str name: name of the Build (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param UnversionedPatch body: (required) + :param object body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1Build If the method is called asynchronously, @@ -2295,19 +2327,19 @@ def patch_build_openshift_io_v1_namespaced_build_with_http_info(self, name, name if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method patch_build_openshift_io_v1_namespaced_build" % key + " to method patch_namespaced_build" % key ) params[key] = val del params['kwargs'] # verify the required parameter 'name' is set if ('name' not in params) or (params['name'] is None): - raise ValueError("Missing the required parameter `name` when calling `patch_build_openshift_io_v1_namespaced_build`") + raise ValueError("Missing the required parameter `name` when calling `patch_namespaced_build`") # verify the required parameter 'namespace' is set if ('namespace' not in params) or (params['namespace'] is None): - raise ValueError("Missing the required parameter `namespace` when calling `patch_build_openshift_io_v1_namespaced_build`") + raise ValueError("Missing the required parameter `namespace` when calling `patch_namespaced_build`") # verify the required parameter 'body' is set if ('body' not in params) or (params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `patch_build_openshift_io_v1_namespaced_build`") + raise ValueError("Missing the required parameter `body` when calling `patch_namespaced_build`") collection_formats = {} @@ -2340,7 +2372,7 @@ def patch_build_openshift_io_v1_namespaced_build_with_http_info(self, name, name select_header_content_type(['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'PATCH', path_params, @@ -2357,7 +2389,7 @@ def patch_build_openshift_io_v1_namespaced_build_with_http_info(self, name, name _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def patch_build_openshift_io_v1_namespaced_build_config(self, name, namespace, body, **kwargs): + def patch_namespaced_build_config(self, name, namespace, body, **kwargs): """ partially update the specified BuildConfig This method makes a synchronous HTTP request by default. To make an @@ -2366,13 +2398,13 @@ def patch_build_openshift_io_v1_namespaced_build_config(self, name, namespace, b >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.patch_build_openshift_io_v1_namespaced_build_config(name, namespace, body, callback=callback_function) + >>> thread = api.patch_namespaced_build_config(name, namespace, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param str name: name of the BuildConfig (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param UnversionedPatch body: (required) + :param object body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1BuildConfig If the method is called asynchronously, @@ -2380,12 +2412,12 @@ def patch_build_openshift_io_v1_namespaced_build_config(self, name, namespace, b """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.patch_build_openshift_io_v1_namespaced_build_config_with_http_info(name, namespace, body, **kwargs) + return self.patch_namespaced_build_config_with_http_info(name, namespace, body, **kwargs) else: - (data) = self.patch_build_openshift_io_v1_namespaced_build_config_with_http_info(name, namespace, body, **kwargs) + (data) = self.patch_namespaced_build_config_with_http_info(name, namespace, body, **kwargs) return data - def patch_build_openshift_io_v1_namespaced_build_config_with_http_info(self, name, namespace, body, **kwargs): + def patch_namespaced_build_config_with_http_info(self, name, namespace, body, **kwargs): """ partially update the specified BuildConfig This method makes a synchronous HTTP request by default. To make an @@ -2394,13 +2426,13 @@ def patch_build_openshift_io_v1_namespaced_build_config_with_http_info(self, nam >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.patch_build_openshift_io_v1_namespaced_build_config_with_http_info(name, namespace, body, callback=callback_function) + >>> thread = api.patch_namespaced_build_config_with_http_info(name, namespace, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param str name: name of the BuildConfig (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param UnversionedPatch body: (required) + :param object body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1BuildConfig If the method is called asynchronously, @@ -2418,19 +2450,19 @@ def patch_build_openshift_io_v1_namespaced_build_config_with_http_info(self, nam if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method patch_build_openshift_io_v1_namespaced_build_config" % key + " to method patch_namespaced_build_config" % key ) params[key] = val del params['kwargs'] # verify the required parameter 'name' is set if ('name' not in params) or (params['name'] is None): - raise ValueError("Missing the required parameter `name` when calling `patch_build_openshift_io_v1_namespaced_build_config`") + raise ValueError("Missing the required parameter `name` when calling `patch_namespaced_build_config`") # verify the required parameter 'namespace' is set if ('namespace' not in params) or (params['namespace'] is None): - raise ValueError("Missing the required parameter `namespace` when calling `patch_build_openshift_io_v1_namespaced_build_config`") + raise ValueError("Missing the required parameter `namespace` when calling `patch_namespaced_build_config`") # verify the required parameter 'body' is set if ('body' not in params) or (params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `patch_build_openshift_io_v1_namespaced_build_config`") + raise ValueError("Missing the required parameter `body` when calling `patch_namespaced_build_config`") collection_formats = {} @@ -2463,7 +2495,7 @@ def patch_build_openshift_io_v1_namespaced_build_config_with_http_info(self, nam select_header_content_type(['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'PATCH', path_params, @@ -2480,7 +2512,7 @@ def patch_build_openshift_io_v1_namespaced_build_config_with_http_info(self, nam _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def read_build_openshift_io_v1_namespaced_build(self, name, namespace, **kwargs): + def read_namespaced_build(self, name, namespace, **kwargs): """ read the specified Build This method makes a synchronous HTTP request by default. To make an @@ -2489,14 +2521,14 @@ def read_build_openshift_io_v1_namespaced_build(self, name, namespace, **kwargs) >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.read_build_openshift_io_v1_namespaced_build(name, namespace, callback=callback_function) + >>> thread = api.read_namespaced_build(name, namespace, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param str name: name of the Build (required) :param str namespace: object name and auth scope, such as for teams and projects (required) :param str pretty: If 'true', then the output is pretty printed. - :param bool exact: Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace' + :param bool exact: Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. :param bool export: Should this value be exported. Export strips fields that a user can not specify. :return: V1Build If the method is called asynchronously, @@ -2504,12 +2536,12 @@ def read_build_openshift_io_v1_namespaced_build(self, name, namespace, **kwargs) """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.read_build_openshift_io_v1_namespaced_build_with_http_info(name, namespace, **kwargs) + return self.read_namespaced_build_with_http_info(name, namespace, **kwargs) else: - (data) = self.read_build_openshift_io_v1_namespaced_build_with_http_info(name, namespace, **kwargs) + (data) = self.read_namespaced_build_with_http_info(name, namespace, **kwargs) return data - def read_build_openshift_io_v1_namespaced_build_with_http_info(self, name, namespace, **kwargs): + def read_namespaced_build_with_http_info(self, name, namespace, **kwargs): """ read the specified Build This method makes a synchronous HTTP request by default. To make an @@ -2518,14 +2550,14 @@ def read_build_openshift_io_v1_namespaced_build_with_http_info(self, name, names >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.read_build_openshift_io_v1_namespaced_build_with_http_info(name, namespace, callback=callback_function) + >>> thread = api.read_namespaced_build_with_http_info(name, namespace, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param str name: name of the Build (required) :param str namespace: object name and auth scope, such as for teams and projects (required) :param str pretty: If 'true', then the output is pretty printed. - :param bool exact: Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace' + :param bool exact: Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. :param bool export: Should this value be exported. Export strips fields that a user can not specify. :return: V1Build If the method is called asynchronously, @@ -2543,16 +2575,16 @@ def read_build_openshift_io_v1_namespaced_build_with_http_info(self, name, names if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method read_build_openshift_io_v1_namespaced_build" % key + " to method read_namespaced_build" % key ) params[key] = val del params['kwargs'] # verify the required parameter 'name' is set if ('name' not in params) or (params['name'] is None): - raise ValueError("Missing the required parameter `name` when calling `read_build_openshift_io_v1_namespaced_build`") + raise ValueError("Missing the required parameter `name` when calling `read_namespaced_build`") # verify the required parameter 'namespace' is set if ('namespace' not in params) or (params['namespace'] is None): - raise ValueError("Missing the required parameter `namespace` when calling `read_build_openshift_io_v1_namespaced_build`") + raise ValueError("Missing the required parameter `namespace` when calling `read_namespaced_build`") collection_formats = {} @@ -2587,7 +2619,7 @@ def read_build_openshift_io_v1_namespaced_build_with_http_info(self, name, names select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -2604,7 +2636,7 @@ def read_build_openshift_io_v1_namespaced_build_with_http_info(self, name, names _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def read_build_openshift_io_v1_namespaced_build_config(self, name, namespace, **kwargs): + def read_namespaced_build_config(self, name, namespace, **kwargs): """ read the specified BuildConfig This method makes a synchronous HTTP request by default. To make an @@ -2613,14 +2645,14 @@ def read_build_openshift_io_v1_namespaced_build_config(self, name, namespace, ** >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.read_build_openshift_io_v1_namespaced_build_config(name, namespace, callback=callback_function) + >>> thread = api.read_namespaced_build_config(name, namespace, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param str name: name of the BuildConfig (required) :param str namespace: object name and auth scope, such as for teams and projects (required) :param str pretty: If 'true', then the output is pretty printed. - :param bool exact: Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace' + :param bool exact: Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. :param bool export: Should this value be exported. Export strips fields that a user can not specify. :return: V1BuildConfig If the method is called asynchronously, @@ -2628,12 +2660,12 @@ def read_build_openshift_io_v1_namespaced_build_config(self, name, namespace, ** """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.read_build_openshift_io_v1_namespaced_build_config_with_http_info(name, namespace, **kwargs) + return self.read_namespaced_build_config_with_http_info(name, namespace, **kwargs) else: - (data) = self.read_build_openshift_io_v1_namespaced_build_config_with_http_info(name, namespace, **kwargs) + (data) = self.read_namespaced_build_config_with_http_info(name, namespace, **kwargs) return data - def read_build_openshift_io_v1_namespaced_build_config_with_http_info(self, name, namespace, **kwargs): + def read_namespaced_build_config_with_http_info(self, name, namespace, **kwargs): """ read the specified BuildConfig This method makes a synchronous HTTP request by default. To make an @@ -2642,14 +2674,14 @@ def read_build_openshift_io_v1_namespaced_build_config_with_http_info(self, name >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.read_build_openshift_io_v1_namespaced_build_config_with_http_info(name, namespace, callback=callback_function) + >>> thread = api.read_namespaced_build_config_with_http_info(name, namespace, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param str name: name of the BuildConfig (required) :param str namespace: object name and auth scope, such as for teams and projects (required) :param str pretty: If 'true', then the output is pretty printed. - :param bool exact: Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace' + :param bool exact: Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. :param bool export: Should this value be exported. Export strips fields that a user can not specify. :return: V1BuildConfig If the method is called asynchronously, @@ -2667,16 +2699,16 @@ def read_build_openshift_io_v1_namespaced_build_config_with_http_info(self, name if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method read_build_openshift_io_v1_namespaced_build_config" % key + " to method read_namespaced_build_config" % key ) params[key] = val del params['kwargs'] # verify the required parameter 'name' is set if ('name' not in params) or (params['name'] is None): - raise ValueError("Missing the required parameter `name` when calling `read_build_openshift_io_v1_namespaced_build_config`") + raise ValueError("Missing the required parameter `name` when calling `read_namespaced_build_config`") # verify the required parameter 'namespace' is set if ('namespace' not in params) or (params['namespace'] is None): - raise ValueError("Missing the required parameter `namespace` when calling `read_build_openshift_io_v1_namespaced_build_config`") + raise ValueError("Missing the required parameter `namespace` when calling `read_namespaced_build_config`") collection_formats = {} @@ -2711,7 +2743,7 @@ def read_build_openshift_io_v1_namespaced_build_config_with_http_info(self, name select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -2728,7 +2760,7 @@ def read_build_openshift_io_v1_namespaced_build_config_with_http_info(self, name _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def read_build_openshift_io_v1_namespaced_build_log_log(self, name, namespace, **kwargs): + def read_namespaced_build_log_log(self, name, namespace, **kwargs): """ read log of the specified BuildLog This method makes a synchronous HTTP request by default. To make an @@ -2737,7 +2769,7 @@ def read_build_openshift_io_v1_namespaced_build_log_log(self, name, namespace, * >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.read_build_openshift_io_v1_namespaced_build_log_log(name, namespace, callback=callback_function) + >>> thread = api.read_namespaced_build_log_log(name, namespace, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) @@ -2750,7 +2782,6 @@ def read_build_openshift_io_v1_namespaced_build_log_log(self, name, namespace, * :param str pretty: If 'true', then the output is pretty printed. :param bool previous: previous returns previous build logs. Defaults to false. :param int since_seconds: sinceSeconds is a relative time in seconds before the current time from which to show logs. If this value precedes the time a pod was started, only logs since the pod start will be returned. If this value is in the future, no logs will be returned. Only one of sinceSeconds or sinceTime may be specified. - :param str since_time: sinceTime is an RFC3339 timestamp from which to show logs. If this value precedes the time a pod was started, only logs since the pod start will be returned. If this value is in the future, no logs will be returned. Only one of sinceSeconds or sinceTime may be specified. :param int tail_lines: tailLines, If set, is the number of lines from the end of the logs to show. If not specified, logs are shown from the creation of the container or sinceSeconds or sinceTime :param bool timestamps: timestamps, If true, add an RFC3339 or RFC3339Nano timestamp at the beginning of every line of log output. Defaults to false. :param int version: version of the build for which to view logs. @@ -2760,12 +2791,12 @@ def read_build_openshift_io_v1_namespaced_build_log_log(self, name, namespace, * """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.read_build_openshift_io_v1_namespaced_build_log_log_with_http_info(name, namespace, **kwargs) + return self.read_namespaced_build_log_log_with_http_info(name, namespace, **kwargs) else: - (data) = self.read_build_openshift_io_v1_namespaced_build_log_log_with_http_info(name, namespace, **kwargs) + (data) = self.read_namespaced_build_log_log_with_http_info(name, namespace, **kwargs) return data - def read_build_openshift_io_v1_namespaced_build_log_log_with_http_info(self, name, namespace, **kwargs): + def read_namespaced_build_log_log_with_http_info(self, name, namespace, **kwargs): """ read log of the specified BuildLog This method makes a synchronous HTTP request by default. To make an @@ -2774,7 +2805,7 @@ def read_build_openshift_io_v1_namespaced_build_log_log_with_http_info(self, nam >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.read_build_openshift_io_v1_namespaced_build_log_log_with_http_info(name, namespace, callback=callback_function) + >>> thread = api.read_namespaced_build_log_log_with_http_info(name, namespace, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) @@ -2787,7 +2818,6 @@ def read_build_openshift_io_v1_namespaced_build_log_log_with_http_info(self, nam :param str pretty: If 'true', then the output is pretty printed. :param bool previous: previous returns previous build logs. Defaults to false. :param int since_seconds: sinceSeconds is a relative time in seconds before the current time from which to show logs. If this value precedes the time a pod was started, only logs since the pod start will be returned. If this value is in the future, no logs will be returned. Only one of sinceSeconds or sinceTime may be specified. - :param str since_time: sinceTime is an RFC3339 timestamp from which to show logs. If this value precedes the time a pod was started, only logs since the pod start will be returned. If this value is in the future, no logs will be returned. Only one of sinceSeconds or sinceTime may be specified. :param int tail_lines: tailLines, If set, is the number of lines from the end of the logs to show. If not specified, logs are shown from the creation of the container or sinceSeconds or sinceTime :param bool timestamps: timestamps, If true, add an RFC3339 or RFC3339Nano timestamp at the beginning of every line of log output. Defaults to false. :param int version: version of the build for which to view logs. @@ -2796,7 +2826,7 @@ def read_build_openshift_io_v1_namespaced_build_log_log_with_http_info(self, nam returns the request thread. """ - all_params = ['name', 'namespace', 'container', 'follow', 'limit_bytes', 'nowait', 'pretty', 'previous', 'since_seconds', 'since_time', 'tail_lines', 'timestamps', 'version'] + all_params = ['name', 'namespace', 'container', 'follow', 'limit_bytes', 'nowait', 'pretty', 'previous', 'since_seconds', 'tail_lines', 'timestamps', 'version'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -2807,16 +2837,16 @@ def read_build_openshift_io_v1_namespaced_build_log_log_with_http_info(self, nam if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method read_build_openshift_io_v1_namespaced_build_log_log" % key + " to method read_namespaced_build_log_log" % key ) params[key] = val del params['kwargs'] # verify the required parameter 'name' is set if ('name' not in params) or (params['name'] is None): - raise ValueError("Missing the required parameter `name` when calling `read_build_openshift_io_v1_namespaced_build_log_log`") + raise ValueError("Missing the required parameter `name` when calling `read_namespaced_build_log_log`") # verify the required parameter 'namespace' is set if ('namespace' not in params) or (params['namespace'] is None): - raise ValueError("Missing the required parameter `namespace` when calling `read_build_openshift_io_v1_namespaced_build_log_log`") + raise ValueError("Missing the required parameter `namespace` when calling `read_namespaced_build_log_log`") collection_formats = {} @@ -2843,8 +2873,6 @@ def read_build_openshift_io_v1_namespaced_build_log_log_with_http_info(self, nam query_params['previous'] = params['previous'] if 'since_seconds' in params: query_params['sinceSeconds'] = params['since_seconds'] - if 'since_time' in params: - query_params['sinceTime'] = params['since_time'] if 'tail_lines' in params: query_params['tailLines'] = params['tail_lines'] if 'timestamps' in params: @@ -2867,7 +2895,7 @@ def read_build_openshift_io_v1_namespaced_build_log_log_with_http_info(self, nam select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -2884,7 +2912,7 @@ def read_build_openshift_io_v1_namespaced_build_log_log_with_http_info(self, nam _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def replace_build_openshift_io_v1_namespaced_build(self, name, namespace, body, **kwargs): + def replace_namespaced_build(self, name, namespace, body, **kwargs): """ replace the specified Build This method makes a synchronous HTTP request by default. To make an @@ -2893,7 +2921,7 @@ def replace_build_openshift_io_v1_namespaced_build(self, name, namespace, body, >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.replace_build_openshift_io_v1_namespaced_build(name, namespace, body, callback=callback_function) + >>> thread = api.replace_namespaced_build(name, namespace, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) @@ -2907,12 +2935,12 @@ def replace_build_openshift_io_v1_namespaced_build(self, name, namespace, body, """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.replace_build_openshift_io_v1_namespaced_build_with_http_info(name, namespace, body, **kwargs) + return self.replace_namespaced_build_with_http_info(name, namespace, body, **kwargs) else: - (data) = self.replace_build_openshift_io_v1_namespaced_build_with_http_info(name, namespace, body, **kwargs) + (data) = self.replace_namespaced_build_with_http_info(name, namespace, body, **kwargs) return data - def replace_build_openshift_io_v1_namespaced_build_with_http_info(self, name, namespace, body, **kwargs): + def replace_namespaced_build_with_http_info(self, name, namespace, body, **kwargs): """ replace the specified Build This method makes a synchronous HTTP request by default. To make an @@ -2921,7 +2949,7 @@ def replace_build_openshift_io_v1_namespaced_build_with_http_info(self, name, na >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.replace_build_openshift_io_v1_namespaced_build_with_http_info(name, namespace, body, callback=callback_function) + >>> thread = api.replace_namespaced_build_with_http_info(name, namespace, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) @@ -2945,19 +2973,19 @@ def replace_build_openshift_io_v1_namespaced_build_with_http_info(self, name, na if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method replace_build_openshift_io_v1_namespaced_build" % key + " to method replace_namespaced_build" % key ) params[key] = val del params['kwargs'] # verify the required parameter 'name' is set if ('name' not in params) or (params['name'] is None): - raise ValueError("Missing the required parameter `name` when calling `replace_build_openshift_io_v1_namespaced_build`") + raise ValueError("Missing the required parameter `name` when calling `replace_namespaced_build`") # verify the required parameter 'namespace' is set if ('namespace' not in params) or (params['namespace'] is None): - raise ValueError("Missing the required parameter `namespace` when calling `replace_build_openshift_io_v1_namespaced_build`") + raise ValueError("Missing the required parameter `namespace` when calling `replace_namespaced_build`") # verify the required parameter 'body' is set if ('body' not in params) or (params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `replace_build_openshift_io_v1_namespaced_build`") + raise ValueError("Missing the required parameter `body` when calling `replace_namespaced_build`") collection_formats = {} @@ -2990,7 +3018,7 @@ def replace_build_openshift_io_v1_namespaced_build_with_http_info(self, name, na select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'PUT', path_params, @@ -3007,7 +3035,7 @@ def replace_build_openshift_io_v1_namespaced_build_with_http_info(self, name, na _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def replace_build_openshift_io_v1_namespaced_build_config(self, name, namespace, body, **kwargs): + def replace_namespaced_build_config(self, name, namespace, body, **kwargs): """ replace the specified BuildConfig This method makes a synchronous HTTP request by default. To make an @@ -3016,7 +3044,7 @@ def replace_build_openshift_io_v1_namespaced_build_config(self, name, namespace, >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.replace_build_openshift_io_v1_namespaced_build_config(name, namespace, body, callback=callback_function) + >>> thread = api.replace_namespaced_build_config(name, namespace, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) @@ -3030,12 +3058,12 @@ def replace_build_openshift_io_v1_namespaced_build_config(self, name, namespace, """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.replace_build_openshift_io_v1_namespaced_build_config_with_http_info(name, namespace, body, **kwargs) + return self.replace_namespaced_build_config_with_http_info(name, namespace, body, **kwargs) else: - (data) = self.replace_build_openshift_io_v1_namespaced_build_config_with_http_info(name, namespace, body, **kwargs) + (data) = self.replace_namespaced_build_config_with_http_info(name, namespace, body, **kwargs) return data - def replace_build_openshift_io_v1_namespaced_build_config_with_http_info(self, name, namespace, body, **kwargs): + def replace_namespaced_build_config_with_http_info(self, name, namespace, body, **kwargs): """ replace the specified BuildConfig This method makes a synchronous HTTP request by default. To make an @@ -3044,7 +3072,7 @@ def replace_build_openshift_io_v1_namespaced_build_config_with_http_info(self, n >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.replace_build_openshift_io_v1_namespaced_build_config_with_http_info(name, namespace, body, callback=callback_function) + >>> thread = api.replace_namespaced_build_config_with_http_info(name, namespace, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) @@ -3068,19 +3096,19 @@ def replace_build_openshift_io_v1_namespaced_build_config_with_http_info(self, n if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method replace_build_openshift_io_v1_namespaced_build_config" % key + " to method replace_namespaced_build_config" % key ) params[key] = val del params['kwargs'] # verify the required parameter 'name' is set if ('name' not in params) or (params['name'] is None): - raise ValueError("Missing the required parameter `name` when calling `replace_build_openshift_io_v1_namespaced_build_config`") + raise ValueError("Missing the required parameter `name` when calling `replace_namespaced_build_config`") # verify the required parameter 'namespace' is set if ('namespace' not in params) or (params['namespace'] is None): - raise ValueError("Missing the required parameter `namespace` when calling `replace_build_openshift_io_v1_namespaced_build_config`") + raise ValueError("Missing the required parameter `namespace` when calling `replace_namespaced_build_config`") # verify the required parameter 'body' is set if ('body' not in params) or (params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `replace_build_openshift_io_v1_namespaced_build_config`") + raise ValueError("Missing the required parameter `body` when calling `replace_namespaced_build_config`") collection_formats = {} @@ -3113,7 +3141,7 @@ def replace_build_openshift_io_v1_namespaced_build_config_with_http_info(self, n select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'PUT', path_params, @@ -3130,7 +3158,7 @@ def replace_build_openshift_io_v1_namespaced_build_config_with_http_info(self, n _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def replace_build_openshift_io_v1_namespaced_build_details(self, body, name, namespace, **kwargs): + def replace_namespaced_build_details(self, name, namespace, body, **kwargs): """ replace details of the specified Build This method makes a synchronous HTTP request by default. To make an @@ -3139,13 +3167,13 @@ def replace_build_openshift_io_v1_namespaced_build_details(self, body, name, nam >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.replace_build_openshift_io_v1_namespaced_build_details(body, name, namespace, callback=callback_function) + >>> thread = api.replace_namespaced_build_details(name, namespace, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) - :param V1Build body: (required) :param str name: name of the Build (required) :param str namespace: object name and auth scope, such as for teams and projects (required) + :param V1Build body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1Build If the method is called asynchronously, @@ -3153,12 +3181,12 @@ def replace_build_openshift_io_v1_namespaced_build_details(self, body, name, nam """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.replace_build_openshift_io_v1_namespaced_build_details_with_http_info(body, name, namespace, **kwargs) + return self.replace_namespaced_build_details_with_http_info(name, namespace, body, **kwargs) else: - (data) = self.replace_build_openshift_io_v1_namespaced_build_details_with_http_info(body, name, namespace, **kwargs) + (data) = self.replace_namespaced_build_details_with_http_info(name, namespace, body, **kwargs) return data - def replace_build_openshift_io_v1_namespaced_build_details_with_http_info(self, body, name, namespace, **kwargs): + def replace_namespaced_build_details_with_http_info(self, name, namespace, body, **kwargs): """ replace details of the specified Build This method makes a synchronous HTTP request by default. To make an @@ -3167,20 +3195,20 @@ def replace_build_openshift_io_v1_namespaced_build_details_with_http_info(self, >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.replace_build_openshift_io_v1_namespaced_build_details_with_http_info(body, name, namespace, callback=callback_function) + >>> thread = api.replace_namespaced_build_details_with_http_info(name, namespace, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) - :param V1Build body: (required) :param str name: name of the Build (required) :param str namespace: object name and auth scope, such as for teams and projects (required) + :param V1Build body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1Build If the method is called asynchronously, returns the request thread. """ - all_params = ['body', 'name', 'namespace', 'pretty'] + all_params = ['name', 'namespace', 'body', 'pretty'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -3191,19 +3219,19 @@ def replace_build_openshift_io_v1_namespaced_build_details_with_http_info(self, if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method replace_build_openshift_io_v1_namespaced_build_details" % key + " to method replace_namespaced_build_details" % key ) params[key] = val del params['kwargs'] - # verify the required parameter 'body' is set - if ('body' not in params) or (params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `replace_build_openshift_io_v1_namespaced_build_details`") # verify the required parameter 'name' is set if ('name' not in params) or (params['name'] is None): - raise ValueError("Missing the required parameter `name` when calling `replace_build_openshift_io_v1_namespaced_build_details`") + raise ValueError("Missing the required parameter `name` when calling `replace_namespaced_build_details`") # verify the required parameter 'namespace' is set if ('namespace' not in params) or (params['namespace'] is None): - raise ValueError("Missing the required parameter `namespace` when calling `replace_build_openshift_io_v1_namespaced_build_details`") + raise ValueError("Missing the required parameter `namespace` when calling `replace_namespaced_build_details`") + # verify the required parameter 'body' is set + if ('body' not in params) or (params['body'] is None): + raise ValueError("Missing the required parameter `body` when calling `replace_namespaced_build_details`") collection_formats = {} @@ -3236,7 +3264,7 @@ def replace_build_openshift_io_v1_namespaced_build_details_with_http_info(self, select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'PUT', path_params, diff --git a/openshift/client/apis/image_openshift_io_api.py b/openshift/client/apis/image_openshift_io_api.py index a0ce565d..4760ec7f 100644 --- a/openshift/client/apis/image_openshift_io_api.py +++ b/openshift/client/apis/image_openshift_io_api.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -40,7 +40,7 @@ def __init__(self, api_client=None): config.api_client = ApiClient() self.api_client = config.api_client - def get_image_openshift_io_api_group(self, **kwargs): + def get_api_group(self, **kwargs): """ get information of a group This method makes a synchronous HTTP request by default. To make an @@ -49,22 +49,22 @@ def get_image_openshift_io_api_group(self, **kwargs): >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.get_image_openshift_io_api_group(callback=callback_function) + >>> thread = api.get_api_group(callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) - :return: UnversionedAPIGroup + :return: V1APIGroup If the method is called asynchronously, returns the request thread. """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.get_image_openshift_io_api_group_with_http_info(**kwargs) + return self.get_api_group_with_http_info(**kwargs) else: - (data) = self.get_image_openshift_io_api_group_with_http_info(**kwargs) + (data) = self.get_api_group_with_http_info(**kwargs) return data - def get_image_openshift_io_api_group_with_http_info(self, **kwargs): + def get_api_group_with_http_info(self, **kwargs): """ get information of a group This method makes a synchronous HTTP request by default. To make an @@ -73,11 +73,11 @@ def get_image_openshift_io_api_group_with_http_info(self, **kwargs): >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.get_image_openshift_io_api_group_with_http_info(callback=callback_function) + >>> thread = api.get_api_group_with_http_info(callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) - :return: UnversionedAPIGroup + :return: V1APIGroup If the method is called asynchronously, returns the request thread. """ @@ -93,7 +93,7 @@ def get_image_openshift_io_api_group_with_http_info(self, **kwargs): if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method get_image_openshift_io_api_group" % key + " to method get_api_group" % key ) params[key] = val del params['kwargs'] @@ -120,7 +120,7 @@ def get_image_openshift_io_api_group_with_http_info(self, **kwargs): select_header_content_type(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -129,7 +129,7 @@ def get_image_openshift_io_api_group_with_http_info(self, **kwargs): body=body_params, post_params=form_params, files=local_var_files, - response_type='UnversionedAPIGroup', + response_type='V1APIGroup', auth_settings=auth_settings, callback=params.get('callback'), _return_http_data_only=params.get('_return_http_data_only'), diff --git a/openshift/client/apis/image_openshift_io_v1_api.py b/openshift/client/apis/image_openshift_io_v1_api.py index 69692f5b..069f57b0 100644 --- a/openshift/client/apis/image_openshift_io_v1_api.py +++ b/openshift/client/apis/image_openshift_io_v1_api.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -40,7 +40,7 @@ def __init__(self, api_client=None): config.api_client = ApiClient() self.api_client = config.api_client - def create_image_openshift_io_v1_image(self, body, **kwargs): + def create_image(self, body, **kwargs): """ create an Image This method makes a synchronous HTTP request by default. To make an @@ -49,7 +49,7 @@ def create_image_openshift_io_v1_image(self, body, **kwargs): >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.create_image_openshift_io_v1_image(body, callback=callback_function) + >>> thread = api.create_image(body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) @@ -61,12 +61,12 @@ def create_image_openshift_io_v1_image(self, body, **kwargs): """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.create_image_openshift_io_v1_image_with_http_info(body, **kwargs) + return self.create_image_with_http_info(body, **kwargs) else: - (data) = self.create_image_openshift_io_v1_image_with_http_info(body, **kwargs) + (data) = self.create_image_with_http_info(body, **kwargs) return data - def create_image_openshift_io_v1_image_with_http_info(self, body, **kwargs): + def create_image_with_http_info(self, body, **kwargs): """ create an Image This method makes a synchronous HTTP request by default. To make an @@ -75,7 +75,7 @@ def create_image_openshift_io_v1_image_with_http_info(self, body, **kwargs): >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.create_image_openshift_io_v1_image_with_http_info(body, callback=callback_function) + >>> thread = api.create_image_with_http_info(body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) @@ -97,13 +97,13 @@ def create_image_openshift_io_v1_image_with_http_info(self, body, **kwargs): if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method create_image_openshift_io_v1_image" % key + " to method create_image" % key ) params[key] = val del params['kwargs'] # verify the required parameter 'body' is set if ('body' not in params) or (params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `create_image_openshift_io_v1_image`") + raise ValueError("Missing the required parameter `body` when calling `create_image`") collection_formats = {} @@ -132,7 +132,7 @@ def create_image_openshift_io_v1_image_with_http_info(self, body, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'POST', path_params, @@ -149,7 +149,7 @@ def create_image_openshift_io_v1_image_with_http_info(self, body, **kwargs): _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def create_image_openshift_io_v1_image_signature(self, body, **kwargs): + def create_image_signature(self, body, **kwargs): """ create an ImageSignature This method makes a synchronous HTTP request by default. To make an @@ -158,7 +158,7 @@ def create_image_openshift_io_v1_image_signature(self, body, **kwargs): >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.create_image_openshift_io_v1_image_signature(body, callback=callback_function) + >>> thread = api.create_image_signature(body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) @@ -170,12 +170,12 @@ def create_image_openshift_io_v1_image_signature(self, body, **kwargs): """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.create_image_openshift_io_v1_image_signature_with_http_info(body, **kwargs) + return self.create_image_signature_with_http_info(body, **kwargs) else: - (data) = self.create_image_openshift_io_v1_image_signature_with_http_info(body, **kwargs) + (data) = self.create_image_signature_with_http_info(body, **kwargs) return data - def create_image_openshift_io_v1_image_signature_with_http_info(self, body, **kwargs): + def create_image_signature_with_http_info(self, body, **kwargs): """ create an ImageSignature This method makes a synchronous HTTP request by default. To make an @@ -184,7 +184,7 @@ def create_image_openshift_io_v1_image_signature_with_http_info(self, body, **kw >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.create_image_openshift_io_v1_image_signature_with_http_info(body, callback=callback_function) + >>> thread = api.create_image_signature_with_http_info(body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) @@ -206,13 +206,13 @@ def create_image_openshift_io_v1_image_signature_with_http_info(self, body, **kw if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method create_image_openshift_io_v1_image_signature" % key + " to method create_image_signature" % key ) params[key] = val del params['kwargs'] # verify the required parameter 'body' is set if ('body' not in params) or (params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `create_image_openshift_io_v1_image_signature`") + raise ValueError("Missing the required parameter `body` when calling `create_image_signature`") collection_formats = {} @@ -241,7 +241,7 @@ def create_image_openshift_io_v1_image_signature_with_http_info(self, body, **kw select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'POST', path_params, @@ -258,7 +258,7 @@ def create_image_openshift_io_v1_image_signature_with_http_info(self, body, **kw _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def create_image_openshift_io_v1_image_stream_for_all_namespaces(self, body, **kwargs): + def create_image_stream_for_all_namespaces(self, body, **kwargs): """ create an ImageStream This method makes a synchronous HTTP request by default. To make an @@ -267,7 +267,7 @@ def create_image_openshift_io_v1_image_stream_for_all_namespaces(self, body, **k >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.create_image_openshift_io_v1_image_stream_for_all_namespaces(body, callback=callback_function) + >>> thread = api.create_image_stream_for_all_namespaces(body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) @@ -279,12 +279,12 @@ def create_image_openshift_io_v1_image_stream_for_all_namespaces(self, body, **k """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.create_image_openshift_io_v1_image_stream_for_all_namespaces_with_http_info(body, **kwargs) + return self.create_image_stream_for_all_namespaces_with_http_info(body, **kwargs) else: - (data) = self.create_image_openshift_io_v1_image_stream_for_all_namespaces_with_http_info(body, **kwargs) + (data) = self.create_image_stream_for_all_namespaces_with_http_info(body, **kwargs) return data - def create_image_openshift_io_v1_image_stream_for_all_namespaces_with_http_info(self, body, **kwargs): + def create_image_stream_for_all_namespaces_with_http_info(self, body, **kwargs): """ create an ImageStream This method makes a synchronous HTTP request by default. To make an @@ -293,7 +293,7 @@ def create_image_openshift_io_v1_image_stream_for_all_namespaces_with_http_info( >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.create_image_openshift_io_v1_image_stream_for_all_namespaces_with_http_info(body, callback=callback_function) + >>> thread = api.create_image_stream_for_all_namespaces_with_http_info(body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) @@ -315,13 +315,13 @@ def create_image_openshift_io_v1_image_stream_for_all_namespaces_with_http_info( if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method create_image_openshift_io_v1_image_stream_for_all_namespaces" % key + " to method create_image_stream_for_all_namespaces" % key ) params[key] = val del params['kwargs'] # verify the required parameter 'body' is set if ('body' not in params) or (params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `create_image_openshift_io_v1_image_stream_for_all_namespaces`") + raise ValueError("Missing the required parameter `body` when calling `create_image_stream_for_all_namespaces`") collection_formats = {} @@ -350,7 +350,7 @@ def create_image_openshift_io_v1_image_stream_for_all_namespaces_with_http_info( select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'POST', path_params, @@ -367,7 +367,7 @@ def create_image_openshift_io_v1_image_stream_for_all_namespaces_with_http_info( _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def create_image_openshift_io_v1_image_stream_import_for_all_namespaces(self, body, **kwargs): + def create_image_stream_import_for_all_namespaces(self, body, **kwargs): """ create an ImageStreamImport This method makes a synchronous HTTP request by default. To make an @@ -376,7 +376,7 @@ def create_image_openshift_io_v1_image_stream_import_for_all_namespaces(self, bo >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.create_image_openshift_io_v1_image_stream_import_for_all_namespaces(body, callback=callback_function) + >>> thread = api.create_image_stream_import_for_all_namespaces(body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) @@ -388,12 +388,12 @@ def create_image_openshift_io_v1_image_stream_import_for_all_namespaces(self, bo """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.create_image_openshift_io_v1_image_stream_import_for_all_namespaces_with_http_info(body, **kwargs) + return self.create_image_stream_import_for_all_namespaces_with_http_info(body, **kwargs) else: - (data) = self.create_image_openshift_io_v1_image_stream_import_for_all_namespaces_with_http_info(body, **kwargs) + (data) = self.create_image_stream_import_for_all_namespaces_with_http_info(body, **kwargs) return data - def create_image_openshift_io_v1_image_stream_import_for_all_namespaces_with_http_info(self, body, **kwargs): + def create_image_stream_import_for_all_namespaces_with_http_info(self, body, **kwargs): """ create an ImageStreamImport This method makes a synchronous HTTP request by default. To make an @@ -402,7 +402,7 @@ def create_image_openshift_io_v1_image_stream_import_for_all_namespaces_with_htt >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.create_image_openshift_io_v1_image_stream_import_for_all_namespaces_with_http_info(body, callback=callback_function) + >>> thread = api.create_image_stream_import_for_all_namespaces_with_http_info(body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) @@ -424,13 +424,13 @@ def create_image_openshift_io_v1_image_stream_import_for_all_namespaces_with_htt if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method create_image_openshift_io_v1_image_stream_import_for_all_namespaces" % key + " to method create_image_stream_import_for_all_namespaces" % key ) params[key] = val del params['kwargs'] # verify the required parameter 'body' is set if ('body' not in params) or (params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `create_image_openshift_io_v1_image_stream_import_for_all_namespaces`") + raise ValueError("Missing the required parameter `body` when calling `create_image_stream_import_for_all_namespaces`") collection_formats = {} @@ -459,7 +459,7 @@ def create_image_openshift_io_v1_image_stream_import_for_all_namespaces_with_htt select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'POST', path_params, @@ -476,7 +476,7 @@ def create_image_openshift_io_v1_image_stream_import_for_all_namespaces_with_htt _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def create_image_openshift_io_v1_image_stream_mapping_for_all_namespaces(self, body, **kwargs): + def create_image_stream_mapping_for_all_namespaces(self, body, **kwargs): """ create an ImageStreamMapping This method makes a synchronous HTTP request by default. To make an @@ -485,7 +485,7 @@ def create_image_openshift_io_v1_image_stream_mapping_for_all_namespaces(self, b >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.create_image_openshift_io_v1_image_stream_mapping_for_all_namespaces(body, callback=callback_function) + >>> thread = api.create_image_stream_mapping_for_all_namespaces(body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) @@ -497,12 +497,12 @@ def create_image_openshift_io_v1_image_stream_mapping_for_all_namespaces(self, b """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.create_image_openshift_io_v1_image_stream_mapping_for_all_namespaces_with_http_info(body, **kwargs) + return self.create_image_stream_mapping_for_all_namespaces_with_http_info(body, **kwargs) else: - (data) = self.create_image_openshift_io_v1_image_stream_mapping_for_all_namespaces_with_http_info(body, **kwargs) + (data) = self.create_image_stream_mapping_for_all_namespaces_with_http_info(body, **kwargs) return data - def create_image_openshift_io_v1_image_stream_mapping_for_all_namespaces_with_http_info(self, body, **kwargs): + def create_image_stream_mapping_for_all_namespaces_with_http_info(self, body, **kwargs): """ create an ImageStreamMapping This method makes a synchronous HTTP request by default. To make an @@ -511,7 +511,7 @@ def create_image_openshift_io_v1_image_stream_mapping_for_all_namespaces_with_ht >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.create_image_openshift_io_v1_image_stream_mapping_for_all_namespaces_with_http_info(body, callback=callback_function) + >>> thread = api.create_image_stream_mapping_for_all_namespaces_with_http_info(body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) @@ -533,13 +533,13 @@ def create_image_openshift_io_v1_image_stream_mapping_for_all_namespaces_with_ht if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method create_image_openshift_io_v1_image_stream_mapping_for_all_namespaces" % key + " to method create_image_stream_mapping_for_all_namespaces" % key ) params[key] = val del params['kwargs'] # verify the required parameter 'body' is set if ('body' not in params) or (params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `create_image_openshift_io_v1_image_stream_mapping_for_all_namespaces`") + raise ValueError("Missing the required parameter `body` when calling `create_image_stream_mapping_for_all_namespaces`") collection_formats = {} @@ -568,7 +568,7 @@ def create_image_openshift_io_v1_image_stream_mapping_for_all_namespaces_with_ht select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'POST', path_params, @@ -585,7 +585,7 @@ def create_image_openshift_io_v1_image_stream_mapping_for_all_namespaces_with_ht _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def create_image_openshift_io_v1_image_stream_tag_for_all_namespaces(self, body, **kwargs): + def create_image_stream_tag_for_all_namespaces(self, body, **kwargs): """ create an ImageStreamTag This method makes a synchronous HTTP request by default. To make an @@ -594,7 +594,7 @@ def create_image_openshift_io_v1_image_stream_tag_for_all_namespaces(self, body, >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.create_image_openshift_io_v1_image_stream_tag_for_all_namespaces(body, callback=callback_function) + >>> thread = api.create_image_stream_tag_for_all_namespaces(body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) @@ -606,12 +606,12 @@ def create_image_openshift_io_v1_image_stream_tag_for_all_namespaces(self, body, """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.create_image_openshift_io_v1_image_stream_tag_for_all_namespaces_with_http_info(body, **kwargs) + return self.create_image_stream_tag_for_all_namespaces_with_http_info(body, **kwargs) else: - (data) = self.create_image_openshift_io_v1_image_stream_tag_for_all_namespaces_with_http_info(body, **kwargs) + (data) = self.create_image_stream_tag_for_all_namespaces_with_http_info(body, **kwargs) return data - def create_image_openshift_io_v1_image_stream_tag_for_all_namespaces_with_http_info(self, body, **kwargs): + def create_image_stream_tag_for_all_namespaces_with_http_info(self, body, **kwargs): """ create an ImageStreamTag This method makes a synchronous HTTP request by default. To make an @@ -620,7 +620,7 @@ def create_image_openshift_io_v1_image_stream_tag_for_all_namespaces_with_http_i >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.create_image_openshift_io_v1_image_stream_tag_for_all_namespaces_with_http_info(body, callback=callback_function) + >>> thread = api.create_image_stream_tag_for_all_namespaces_with_http_info(body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) @@ -642,13 +642,13 @@ def create_image_openshift_io_v1_image_stream_tag_for_all_namespaces_with_http_i if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method create_image_openshift_io_v1_image_stream_tag_for_all_namespaces" % key + " to method create_image_stream_tag_for_all_namespaces" % key ) params[key] = val del params['kwargs'] # verify the required parameter 'body' is set if ('body' not in params) or (params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `create_image_openshift_io_v1_image_stream_tag_for_all_namespaces`") + raise ValueError("Missing the required parameter `body` when calling `create_image_stream_tag_for_all_namespaces`") collection_formats = {} @@ -677,7 +677,7 @@ def create_image_openshift_io_v1_image_stream_tag_for_all_namespaces_with_http_i select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'POST', path_params, @@ -694,7 +694,7 @@ def create_image_openshift_io_v1_image_stream_tag_for_all_namespaces_with_http_i _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def create_image_openshift_io_v1_namespaced_image_stream(self, namespace, body, **kwargs): + def create_namespaced_image_stream(self, namespace, body, **kwargs): """ create an ImageStream This method makes a synchronous HTTP request by default. To make an @@ -703,7 +703,7 @@ def create_image_openshift_io_v1_namespaced_image_stream(self, namespace, body, >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.create_image_openshift_io_v1_namespaced_image_stream(namespace, body, callback=callback_function) + >>> thread = api.create_namespaced_image_stream(namespace, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) @@ -716,12 +716,12 @@ def create_image_openshift_io_v1_namespaced_image_stream(self, namespace, body, """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.create_image_openshift_io_v1_namespaced_image_stream_with_http_info(namespace, body, **kwargs) + return self.create_namespaced_image_stream_with_http_info(namespace, body, **kwargs) else: - (data) = self.create_image_openshift_io_v1_namespaced_image_stream_with_http_info(namespace, body, **kwargs) + (data) = self.create_namespaced_image_stream_with_http_info(namespace, body, **kwargs) return data - def create_image_openshift_io_v1_namespaced_image_stream_with_http_info(self, namespace, body, **kwargs): + def create_namespaced_image_stream_with_http_info(self, namespace, body, **kwargs): """ create an ImageStream This method makes a synchronous HTTP request by default. To make an @@ -730,7 +730,7 @@ def create_image_openshift_io_v1_namespaced_image_stream_with_http_info(self, na >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.create_image_openshift_io_v1_namespaced_image_stream_with_http_info(namespace, body, callback=callback_function) + >>> thread = api.create_namespaced_image_stream_with_http_info(namespace, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) @@ -753,16 +753,16 @@ def create_image_openshift_io_v1_namespaced_image_stream_with_http_info(self, na if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method create_image_openshift_io_v1_namespaced_image_stream" % key + " to method create_namespaced_image_stream" % key ) params[key] = val del params['kwargs'] # verify the required parameter 'namespace' is set if ('namespace' not in params) or (params['namespace'] is None): - raise ValueError("Missing the required parameter `namespace` when calling `create_image_openshift_io_v1_namespaced_image_stream`") + raise ValueError("Missing the required parameter `namespace` when calling `create_namespaced_image_stream`") # verify the required parameter 'body' is set if ('body' not in params) or (params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `create_image_openshift_io_v1_namespaced_image_stream`") + raise ValueError("Missing the required parameter `body` when calling `create_namespaced_image_stream`") collection_formats = {} @@ -793,7 +793,7 @@ def create_image_openshift_io_v1_namespaced_image_stream_with_http_info(self, na select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'POST', path_params, @@ -810,7 +810,7 @@ def create_image_openshift_io_v1_namespaced_image_stream_with_http_info(self, na _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def create_image_openshift_io_v1_namespaced_image_stream_import(self, body, namespace, **kwargs): + def create_namespaced_image_stream_import(self, namespace, body, **kwargs): """ create an ImageStreamImport This method makes a synchronous HTTP request by default. To make an @@ -819,12 +819,12 @@ def create_image_openshift_io_v1_namespaced_image_stream_import(self, body, name >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.create_image_openshift_io_v1_namespaced_image_stream_import(body, namespace, callback=callback_function) + >>> thread = api.create_namespaced_image_stream_import(namespace, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) - :param V1ImageStreamImport body: (required) :param str namespace: object name and auth scope, such as for teams and projects (required) + :param V1ImageStreamImport body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1ImageStreamImport If the method is called asynchronously, @@ -832,12 +832,12 @@ def create_image_openshift_io_v1_namespaced_image_stream_import(self, body, name """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.create_image_openshift_io_v1_namespaced_image_stream_import_with_http_info(body, namespace, **kwargs) + return self.create_namespaced_image_stream_import_with_http_info(namespace, body, **kwargs) else: - (data) = self.create_image_openshift_io_v1_namespaced_image_stream_import_with_http_info(body, namespace, **kwargs) + (data) = self.create_namespaced_image_stream_import_with_http_info(namespace, body, **kwargs) return data - def create_image_openshift_io_v1_namespaced_image_stream_import_with_http_info(self, body, namespace, **kwargs): + def create_namespaced_image_stream_import_with_http_info(self, namespace, body, **kwargs): """ create an ImageStreamImport This method makes a synchronous HTTP request by default. To make an @@ -846,19 +846,19 @@ def create_image_openshift_io_v1_namespaced_image_stream_import_with_http_info(s >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.create_image_openshift_io_v1_namespaced_image_stream_import_with_http_info(body, namespace, callback=callback_function) + >>> thread = api.create_namespaced_image_stream_import_with_http_info(namespace, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) - :param V1ImageStreamImport body: (required) :param str namespace: object name and auth scope, such as for teams and projects (required) + :param V1ImageStreamImport body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1ImageStreamImport If the method is called asynchronously, returns the request thread. """ - all_params = ['body', 'namespace', 'pretty'] + all_params = ['namespace', 'body', 'pretty'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -869,16 +869,16 @@ def create_image_openshift_io_v1_namespaced_image_stream_import_with_http_info(s if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method create_image_openshift_io_v1_namespaced_image_stream_import" % key + " to method create_namespaced_image_stream_import" % key ) params[key] = val del params['kwargs'] - # verify the required parameter 'body' is set - if ('body' not in params) or (params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `create_image_openshift_io_v1_namespaced_image_stream_import`") # verify the required parameter 'namespace' is set if ('namespace' not in params) or (params['namespace'] is None): - raise ValueError("Missing the required parameter `namespace` when calling `create_image_openshift_io_v1_namespaced_image_stream_import`") + raise ValueError("Missing the required parameter `namespace` when calling `create_namespaced_image_stream_import`") + # verify the required parameter 'body' is set + if ('body' not in params) or (params['body'] is None): + raise ValueError("Missing the required parameter `body` when calling `create_namespaced_image_stream_import`") collection_formats = {} @@ -909,7 +909,7 @@ def create_image_openshift_io_v1_namespaced_image_stream_import_with_http_info(s select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'POST', path_params, @@ -926,7 +926,7 @@ def create_image_openshift_io_v1_namespaced_image_stream_import_with_http_info(s _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def create_image_openshift_io_v1_namespaced_image_stream_mapping(self, body, namespace, **kwargs): + def create_namespaced_image_stream_mapping(self, namespace, body, **kwargs): """ create an ImageStreamMapping This method makes a synchronous HTTP request by default. To make an @@ -935,12 +935,12 @@ def create_image_openshift_io_v1_namespaced_image_stream_mapping(self, body, nam >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.create_image_openshift_io_v1_namespaced_image_stream_mapping(body, namespace, callback=callback_function) + >>> thread = api.create_namespaced_image_stream_mapping(namespace, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) - :param V1ImageStreamMapping body: (required) :param str namespace: object name and auth scope, such as for teams and projects (required) + :param V1ImageStreamMapping body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1ImageStreamMapping If the method is called asynchronously, @@ -948,12 +948,12 @@ def create_image_openshift_io_v1_namespaced_image_stream_mapping(self, body, nam """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.create_image_openshift_io_v1_namespaced_image_stream_mapping_with_http_info(body, namespace, **kwargs) + return self.create_namespaced_image_stream_mapping_with_http_info(namespace, body, **kwargs) else: - (data) = self.create_image_openshift_io_v1_namespaced_image_stream_mapping_with_http_info(body, namespace, **kwargs) + (data) = self.create_namespaced_image_stream_mapping_with_http_info(namespace, body, **kwargs) return data - def create_image_openshift_io_v1_namespaced_image_stream_mapping_with_http_info(self, body, namespace, **kwargs): + def create_namespaced_image_stream_mapping_with_http_info(self, namespace, body, **kwargs): """ create an ImageStreamMapping This method makes a synchronous HTTP request by default. To make an @@ -962,19 +962,19 @@ def create_image_openshift_io_v1_namespaced_image_stream_mapping_with_http_info( >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.create_image_openshift_io_v1_namespaced_image_stream_mapping_with_http_info(body, namespace, callback=callback_function) + >>> thread = api.create_namespaced_image_stream_mapping_with_http_info(namespace, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) - :param V1ImageStreamMapping body: (required) :param str namespace: object name and auth scope, such as for teams and projects (required) + :param V1ImageStreamMapping body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1ImageStreamMapping If the method is called asynchronously, returns the request thread. """ - all_params = ['body', 'namespace', 'pretty'] + all_params = ['namespace', 'body', 'pretty'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -985,16 +985,16 @@ def create_image_openshift_io_v1_namespaced_image_stream_mapping_with_http_info( if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method create_image_openshift_io_v1_namespaced_image_stream_mapping" % key + " to method create_namespaced_image_stream_mapping" % key ) params[key] = val del params['kwargs'] - # verify the required parameter 'body' is set - if ('body' not in params) or (params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `create_image_openshift_io_v1_namespaced_image_stream_mapping`") # verify the required parameter 'namespace' is set if ('namespace' not in params) or (params['namespace'] is None): - raise ValueError("Missing the required parameter `namespace` when calling `create_image_openshift_io_v1_namespaced_image_stream_mapping`") + raise ValueError("Missing the required parameter `namespace` when calling `create_namespaced_image_stream_mapping`") + # verify the required parameter 'body' is set + if ('body' not in params) or (params['body'] is None): + raise ValueError("Missing the required parameter `body` when calling `create_namespaced_image_stream_mapping`") collection_formats = {} @@ -1025,7 +1025,7 @@ def create_image_openshift_io_v1_namespaced_image_stream_mapping_with_http_info( select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'POST', path_params, @@ -1042,7 +1042,7 @@ def create_image_openshift_io_v1_namespaced_image_stream_mapping_with_http_info( _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def create_image_openshift_io_v1_namespaced_image_stream_tag(self, namespace, body, **kwargs): + def create_namespaced_image_stream_tag(self, namespace, body, **kwargs): """ create an ImageStreamTag This method makes a synchronous HTTP request by default. To make an @@ -1051,7 +1051,7 @@ def create_image_openshift_io_v1_namespaced_image_stream_tag(self, namespace, bo >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.create_image_openshift_io_v1_namespaced_image_stream_tag(namespace, body, callback=callback_function) + >>> thread = api.create_namespaced_image_stream_tag(namespace, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) @@ -1064,12 +1064,12 @@ def create_image_openshift_io_v1_namespaced_image_stream_tag(self, namespace, bo """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.create_image_openshift_io_v1_namespaced_image_stream_tag_with_http_info(namespace, body, **kwargs) + return self.create_namespaced_image_stream_tag_with_http_info(namespace, body, **kwargs) else: - (data) = self.create_image_openshift_io_v1_namespaced_image_stream_tag_with_http_info(namespace, body, **kwargs) + (data) = self.create_namespaced_image_stream_tag_with_http_info(namespace, body, **kwargs) return data - def create_image_openshift_io_v1_namespaced_image_stream_tag_with_http_info(self, namespace, body, **kwargs): + def create_namespaced_image_stream_tag_with_http_info(self, namespace, body, **kwargs): """ create an ImageStreamTag This method makes a synchronous HTTP request by default. To make an @@ -1078,7 +1078,7 @@ def create_image_openshift_io_v1_namespaced_image_stream_tag_with_http_info(self >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.create_image_openshift_io_v1_namespaced_image_stream_tag_with_http_info(namespace, body, callback=callback_function) + >>> thread = api.create_namespaced_image_stream_tag_with_http_info(namespace, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) @@ -1101,16 +1101,16 @@ def create_image_openshift_io_v1_namespaced_image_stream_tag_with_http_info(self if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method create_image_openshift_io_v1_namespaced_image_stream_tag" % key + " to method create_namespaced_image_stream_tag" % key ) params[key] = val del params['kwargs'] # verify the required parameter 'namespace' is set if ('namespace' not in params) or (params['namespace'] is None): - raise ValueError("Missing the required parameter `namespace` when calling `create_image_openshift_io_v1_namespaced_image_stream_tag`") + raise ValueError("Missing the required parameter `namespace` when calling `create_namespaced_image_stream_tag`") # verify the required parameter 'body' is set if ('body' not in params) or (params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `create_image_openshift_io_v1_namespaced_image_stream_tag`") + raise ValueError("Missing the required parameter `body` when calling `create_namespaced_image_stream_tag`") collection_formats = {} @@ -1141,7 +1141,7 @@ def create_image_openshift_io_v1_namespaced_image_stream_tag_with_http_info(self select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'POST', path_params, @@ -1158,7 +1158,7 @@ def create_image_openshift_io_v1_namespaced_image_stream_tag_with_http_info(self _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def delete_image_openshift_io_v1_collection_image(self, **kwargs): + def delete_collection_image(self, **kwargs): """ delete collection of Image This method makes a synchronous HTTP request by default. To make an @@ -1167,28 +1167,29 @@ def delete_image_openshift_io_v1_collection_image(self, **kwargs): >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.delete_image_openshift_io_v1_collection_image(callback=callback_function) + >>> thread = api.delete_collection_image(callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param str pretty: If 'true', then the output is pretty printed. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param bool include_uninitialized: If true, partially initialized resources are included in the response. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. - :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. + :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. :param int timeout_seconds: Timeout for the list/watch call. :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - :return: UnversionedStatus + :return: V1Status If the method is called asynchronously, returns the request thread. """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.delete_image_openshift_io_v1_collection_image_with_http_info(**kwargs) + return self.delete_collection_image_with_http_info(**kwargs) else: - (data) = self.delete_image_openshift_io_v1_collection_image_with_http_info(**kwargs) + (data) = self.delete_collection_image_with_http_info(**kwargs) return data - def delete_image_openshift_io_v1_collection_image_with_http_info(self, **kwargs): + def delete_collection_image_with_http_info(self, **kwargs): """ delete collection of Image This method makes a synchronous HTTP request by default. To make an @@ -1197,22 +1198,23 @@ def delete_image_openshift_io_v1_collection_image_with_http_info(self, **kwargs) >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.delete_image_openshift_io_v1_collection_image_with_http_info(callback=callback_function) + >>> thread = api.delete_collection_image_with_http_info(callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param str pretty: If 'true', then the output is pretty printed. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param bool include_uninitialized: If true, partially initialized resources are included in the response. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. - :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. + :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. :param int timeout_seconds: Timeout for the list/watch call. :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - :return: UnversionedStatus + :return: V1Status If the method is called asynchronously, returns the request thread. """ - all_params = ['pretty', 'field_selector', 'label_selector', 'resource_version', 'timeout_seconds', 'watch'] + all_params = ['pretty', 'field_selector', 'include_uninitialized', 'label_selector', 'resource_version', 'timeout_seconds', 'watch'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -1223,7 +1225,7 @@ def delete_image_openshift_io_v1_collection_image_with_http_info(self, **kwargs) if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method delete_image_openshift_io_v1_collection_image" % key + " to method delete_collection_image" % key ) params[key] = val del params['kwargs'] @@ -1239,6 +1241,8 @@ def delete_image_openshift_io_v1_collection_image_with_http_info(self, **kwargs) query_params['pretty'] = params['pretty'] if 'field_selector' in params: query_params['fieldSelector'] = params['field_selector'] + if 'include_uninitialized' in params: + query_params['includeUninitialized'] = params['include_uninitialized'] if 'label_selector' in params: query_params['labelSelector'] = params['label_selector'] if 'resource_version' in params: @@ -1263,7 +1267,7 @@ def delete_image_openshift_io_v1_collection_image_with_http_info(self, **kwargs) select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'DELETE', path_params, @@ -1272,7 +1276,7 @@ def delete_image_openshift_io_v1_collection_image_with_http_info(self, **kwargs) body=body_params, post_params=form_params, files=local_var_files, - response_type='UnversionedStatus', + response_type='V1Status', auth_settings=auth_settings, callback=params.get('callback'), _return_http_data_only=params.get('_return_http_data_only'), @@ -1280,7 +1284,7 @@ def delete_image_openshift_io_v1_collection_image_with_http_info(self, **kwargs) _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def delete_image_openshift_io_v1_collection_namespaced_image_stream(self, namespace, **kwargs): + def delete_collection_namespaced_image_stream(self, namespace, **kwargs): """ delete collection of ImageStream This method makes a synchronous HTTP request by default. To make an @@ -1289,29 +1293,30 @@ def delete_image_openshift_io_v1_collection_namespaced_image_stream(self, namesp >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.delete_image_openshift_io_v1_collection_namespaced_image_stream(namespace, callback=callback_function) + >>> thread = api.delete_collection_namespaced_image_stream(namespace, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param str namespace: object name and auth scope, such as for teams and projects (required) :param str pretty: If 'true', then the output is pretty printed. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param bool include_uninitialized: If true, partially initialized resources are included in the response. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. - :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. + :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. :param int timeout_seconds: Timeout for the list/watch call. :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - :return: UnversionedStatus + :return: V1Status If the method is called asynchronously, returns the request thread. """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.delete_image_openshift_io_v1_collection_namespaced_image_stream_with_http_info(namespace, **kwargs) + return self.delete_collection_namespaced_image_stream_with_http_info(namespace, **kwargs) else: - (data) = self.delete_image_openshift_io_v1_collection_namespaced_image_stream_with_http_info(namespace, **kwargs) + (data) = self.delete_collection_namespaced_image_stream_with_http_info(namespace, **kwargs) return data - def delete_image_openshift_io_v1_collection_namespaced_image_stream_with_http_info(self, namespace, **kwargs): + def delete_collection_namespaced_image_stream_with_http_info(self, namespace, **kwargs): """ delete collection of ImageStream This method makes a synchronous HTTP request by default. To make an @@ -1320,23 +1325,24 @@ def delete_image_openshift_io_v1_collection_namespaced_image_stream_with_http_in >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.delete_image_openshift_io_v1_collection_namespaced_image_stream_with_http_info(namespace, callback=callback_function) + >>> thread = api.delete_collection_namespaced_image_stream_with_http_info(namespace, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param str namespace: object name and auth scope, such as for teams and projects (required) :param str pretty: If 'true', then the output is pretty printed. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param bool include_uninitialized: If true, partially initialized resources are included in the response. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. - :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. + :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. :param int timeout_seconds: Timeout for the list/watch call. :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - :return: UnversionedStatus + :return: V1Status If the method is called asynchronously, returns the request thread. """ - all_params = ['namespace', 'pretty', 'field_selector', 'label_selector', 'resource_version', 'timeout_seconds', 'watch'] + all_params = ['namespace', 'pretty', 'field_selector', 'include_uninitialized', 'label_selector', 'resource_version', 'timeout_seconds', 'watch'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -1347,13 +1353,13 @@ def delete_image_openshift_io_v1_collection_namespaced_image_stream_with_http_in if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method delete_image_openshift_io_v1_collection_namespaced_image_stream" % key + " to method delete_collection_namespaced_image_stream" % key ) params[key] = val del params['kwargs'] # verify the required parameter 'namespace' is set if ('namespace' not in params) or (params['namespace'] is None): - raise ValueError("Missing the required parameter `namespace` when calling `delete_image_openshift_io_v1_collection_namespaced_image_stream`") + raise ValueError("Missing the required parameter `namespace` when calling `delete_collection_namespaced_image_stream`") collection_formats = {} @@ -1368,6 +1374,8 @@ def delete_image_openshift_io_v1_collection_namespaced_image_stream_with_http_in query_params['pretty'] = params['pretty'] if 'field_selector' in params: query_params['fieldSelector'] = params['field_selector'] + if 'include_uninitialized' in params: + query_params['includeUninitialized'] = params['include_uninitialized'] if 'label_selector' in params: query_params['labelSelector'] = params['label_selector'] if 'resource_version' in params: @@ -1392,7 +1400,7 @@ def delete_image_openshift_io_v1_collection_namespaced_image_stream_with_http_in select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'DELETE', path_params, @@ -1401,7 +1409,7 @@ def delete_image_openshift_io_v1_collection_namespaced_image_stream_with_http_in body=body_params, post_params=form_params, files=local_var_files, - response_type='UnversionedStatus', + response_type='V1Status', auth_settings=auth_settings, callback=params.get('callback'), _return_http_data_only=params.get('_return_http_data_only'), @@ -1409,7 +1417,7 @@ def delete_image_openshift_io_v1_collection_namespaced_image_stream_with_http_in _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def delete_image_openshift_io_v1_image(self, name, body, **kwargs): + def delete_image(self, name, body, **kwargs): """ delete an Image This method makes a synchronous HTTP request by default. To make an @@ -1418,7 +1426,7 @@ def delete_image_openshift_io_v1_image(self, name, body, **kwargs): >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.delete_image_openshift_io_v1_image(name, body, callback=callback_function) + >>> thread = api.delete_image(name, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) @@ -1426,19 +1434,20 @@ def delete_image_openshift_io_v1_image(self, name, body, **kwargs): :param V1DeleteOptions body: (required) :param str pretty: If 'true', then the output is pretty printed. :param int grace_period_seconds: 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. - :param bool orphan_dependents: Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. - :return: UnversionedStatus + :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. + :param str propagation_policy: Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. + :return: V1Status If the method is called asynchronously, returns the request thread. """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.delete_image_openshift_io_v1_image_with_http_info(name, body, **kwargs) + return self.delete_image_with_http_info(name, body, **kwargs) else: - (data) = self.delete_image_openshift_io_v1_image_with_http_info(name, body, **kwargs) + (data) = self.delete_image_with_http_info(name, body, **kwargs) return data - def delete_image_openshift_io_v1_image_with_http_info(self, name, body, **kwargs): + def delete_image_with_http_info(self, name, body, **kwargs): """ delete an Image This method makes a synchronous HTTP request by default. To make an @@ -1447,7 +1456,7 @@ def delete_image_openshift_io_v1_image_with_http_info(self, name, body, **kwargs >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.delete_image_openshift_io_v1_image_with_http_info(name, body, callback=callback_function) + >>> thread = api.delete_image_with_http_info(name, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) @@ -1455,13 +1464,14 @@ def delete_image_openshift_io_v1_image_with_http_info(self, name, body, **kwargs :param V1DeleteOptions body: (required) :param str pretty: If 'true', then the output is pretty printed. :param int grace_period_seconds: 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. - :param bool orphan_dependents: Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. - :return: UnversionedStatus + :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. + :param str propagation_policy: Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. + :return: V1Status If the method is called asynchronously, returns the request thread. """ - all_params = ['name', 'body', 'pretty', 'grace_period_seconds', 'orphan_dependents'] + all_params = ['name', 'body', 'pretty', 'grace_period_seconds', 'orphan_dependents', 'propagation_policy'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -1472,16 +1482,16 @@ def delete_image_openshift_io_v1_image_with_http_info(self, name, body, **kwargs if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method delete_image_openshift_io_v1_image" % key + " to method delete_image" % key ) params[key] = val del params['kwargs'] # verify the required parameter 'name' is set if ('name' not in params) or (params['name'] is None): - raise ValueError("Missing the required parameter `name` when calling `delete_image_openshift_io_v1_image`") + raise ValueError("Missing the required parameter `name` when calling `delete_image`") # verify the required parameter 'body' is set if ('body' not in params) or (params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `delete_image_openshift_io_v1_image`") + raise ValueError("Missing the required parameter `body` when calling `delete_image`") collection_formats = {} @@ -1498,6 +1508,8 @@ def delete_image_openshift_io_v1_image_with_http_info(self, name, body, **kwargs query_params['gracePeriodSeconds'] = params['grace_period_seconds'] if 'orphan_dependents' in params: query_params['orphanDependents'] = params['orphan_dependents'] + if 'propagation_policy' in params: + query_params['propagationPolicy'] = params['propagation_policy'] header_params = {} @@ -1516,7 +1528,7 @@ def delete_image_openshift_io_v1_image_with_http_info(self, name, body, **kwargs select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'DELETE', path_params, @@ -1525,7 +1537,7 @@ def delete_image_openshift_io_v1_image_with_http_info(self, name, body, **kwargs body=body_params, post_params=form_params, files=local_var_files, - response_type='UnversionedStatus', + response_type='V1Status', auth_settings=auth_settings, callback=params.get('callback'), _return_http_data_only=params.get('_return_http_data_only'), @@ -1533,7 +1545,7 @@ def delete_image_openshift_io_v1_image_with_http_info(self, name, body, **kwargs _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def delete_image_openshift_io_v1_image_signature(self, name, **kwargs): + def delete_image_signature(self, name, **kwargs): """ delete an ImageSignature This method makes a synchronous HTTP request by default. To make an @@ -1542,24 +1554,24 @@ def delete_image_openshift_io_v1_image_signature(self, name, **kwargs): >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.delete_image_openshift_io_v1_image_signature(name, callback=callback_function) + >>> thread = api.delete_image_signature(name, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param str name: name of the ImageSignature (required) :param str pretty: If 'true', then the output is pretty printed. - :return: UnversionedStatus + :return: V1Status If the method is called asynchronously, returns the request thread. """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.delete_image_openshift_io_v1_image_signature_with_http_info(name, **kwargs) + return self.delete_image_signature_with_http_info(name, **kwargs) else: - (data) = self.delete_image_openshift_io_v1_image_signature_with_http_info(name, **kwargs) + (data) = self.delete_image_signature_with_http_info(name, **kwargs) return data - def delete_image_openshift_io_v1_image_signature_with_http_info(self, name, **kwargs): + def delete_image_signature_with_http_info(self, name, **kwargs): """ delete an ImageSignature This method makes a synchronous HTTP request by default. To make an @@ -1568,13 +1580,13 @@ def delete_image_openshift_io_v1_image_signature_with_http_info(self, name, **kw >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.delete_image_openshift_io_v1_image_signature_with_http_info(name, callback=callback_function) + >>> thread = api.delete_image_signature_with_http_info(name, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param str name: name of the ImageSignature (required) :param str pretty: If 'true', then the output is pretty printed. - :return: UnversionedStatus + :return: V1Status If the method is called asynchronously, returns the request thread. """ @@ -1590,13 +1602,13 @@ def delete_image_openshift_io_v1_image_signature_with_http_info(self, name, **kw if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method delete_image_openshift_io_v1_image_signature" % key + " to method delete_image_signature" % key ) params[key] = val del params['kwargs'] # verify the required parameter 'name' is set if ('name' not in params) or (params['name'] is None): - raise ValueError("Missing the required parameter `name` when calling `delete_image_openshift_io_v1_image_signature`") + raise ValueError("Missing the required parameter `name` when calling `delete_image_signature`") collection_formats = {} @@ -1625,7 +1637,7 @@ def delete_image_openshift_io_v1_image_signature_with_http_info(self, name, **kw select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'DELETE', path_params, @@ -1634,7 +1646,7 @@ def delete_image_openshift_io_v1_image_signature_with_http_info(self, name, **kw body=body_params, post_params=form_params, files=local_var_files, - response_type='UnversionedStatus', + response_type='V1Status', auth_settings=auth_settings, callback=params.get('callback'), _return_http_data_only=params.get('_return_http_data_only'), @@ -1642,7 +1654,7 @@ def delete_image_openshift_io_v1_image_signature_with_http_info(self, name, **kw _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def delete_image_openshift_io_v1_namespaced_image_stream(self, name, namespace, body, **kwargs): + def delete_namespaced_image_stream(self, name, namespace, body, **kwargs): """ delete an ImageStream This method makes a synchronous HTTP request by default. To make an @@ -1651,7 +1663,7 @@ def delete_image_openshift_io_v1_namespaced_image_stream(self, name, namespace, >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.delete_image_openshift_io_v1_namespaced_image_stream(name, namespace, body, callback=callback_function) + >>> thread = api.delete_namespaced_image_stream(name, namespace, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) @@ -1660,19 +1672,20 @@ def delete_image_openshift_io_v1_namespaced_image_stream(self, name, namespace, :param V1DeleteOptions body: (required) :param str pretty: If 'true', then the output is pretty printed. :param int grace_period_seconds: 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. - :param bool orphan_dependents: Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. - :return: UnversionedStatus + :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. + :param str propagation_policy: Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. + :return: V1Status If the method is called asynchronously, returns the request thread. """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.delete_image_openshift_io_v1_namespaced_image_stream_with_http_info(name, namespace, body, **kwargs) + return self.delete_namespaced_image_stream_with_http_info(name, namespace, body, **kwargs) else: - (data) = self.delete_image_openshift_io_v1_namespaced_image_stream_with_http_info(name, namespace, body, **kwargs) + (data) = self.delete_namespaced_image_stream_with_http_info(name, namespace, body, **kwargs) return data - def delete_image_openshift_io_v1_namespaced_image_stream_with_http_info(self, name, namespace, body, **kwargs): + def delete_namespaced_image_stream_with_http_info(self, name, namespace, body, **kwargs): """ delete an ImageStream This method makes a synchronous HTTP request by default. To make an @@ -1681,7 +1694,7 @@ def delete_image_openshift_io_v1_namespaced_image_stream_with_http_info(self, na >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.delete_image_openshift_io_v1_namespaced_image_stream_with_http_info(name, namespace, body, callback=callback_function) + >>> thread = api.delete_namespaced_image_stream_with_http_info(name, namespace, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) @@ -1690,13 +1703,14 @@ def delete_image_openshift_io_v1_namespaced_image_stream_with_http_info(self, na :param V1DeleteOptions body: (required) :param str pretty: If 'true', then the output is pretty printed. :param int grace_period_seconds: 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. - :param bool orphan_dependents: Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. - :return: UnversionedStatus + :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. + :param str propagation_policy: Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. + :return: V1Status If the method is called asynchronously, returns the request thread. """ - all_params = ['name', 'namespace', 'body', 'pretty', 'grace_period_seconds', 'orphan_dependents'] + all_params = ['name', 'namespace', 'body', 'pretty', 'grace_period_seconds', 'orphan_dependents', 'propagation_policy'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -1707,19 +1721,19 @@ def delete_image_openshift_io_v1_namespaced_image_stream_with_http_info(self, na if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method delete_image_openshift_io_v1_namespaced_image_stream" % key + " to method delete_namespaced_image_stream" % key ) params[key] = val del params['kwargs'] # verify the required parameter 'name' is set if ('name' not in params) or (params['name'] is None): - raise ValueError("Missing the required parameter `name` when calling `delete_image_openshift_io_v1_namespaced_image_stream`") + raise ValueError("Missing the required parameter `name` when calling `delete_namespaced_image_stream`") # verify the required parameter 'namespace' is set if ('namespace' not in params) or (params['namespace'] is None): - raise ValueError("Missing the required parameter `namespace` when calling `delete_image_openshift_io_v1_namespaced_image_stream`") + raise ValueError("Missing the required parameter `namespace` when calling `delete_namespaced_image_stream`") # verify the required parameter 'body' is set if ('body' not in params) or (params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `delete_image_openshift_io_v1_namespaced_image_stream`") + raise ValueError("Missing the required parameter `body` when calling `delete_namespaced_image_stream`") collection_formats = {} @@ -1738,6 +1752,8 @@ def delete_image_openshift_io_v1_namespaced_image_stream_with_http_info(self, na query_params['gracePeriodSeconds'] = params['grace_period_seconds'] if 'orphan_dependents' in params: query_params['orphanDependents'] = params['orphan_dependents'] + if 'propagation_policy' in params: + query_params['propagationPolicy'] = params['propagation_policy'] header_params = {} @@ -1756,7 +1772,7 @@ def delete_image_openshift_io_v1_namespaced_image_stream_with_http_info(self, na select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'DELETE', path_params, @@ -1765,7 +1781,7 @@ def delete_image_openshift_io_v1_namespaced_image_stream_with_http_info(self, na body=body_params, post_params=form_params, files=local_var_files, - response_type='UnversionedStatus', + response_type='V1Status', auth_settings=auth_settings, callback=params.get('callback'), _return_http_data_only=params.get('_return_http_data_only'), @@ -1773,7 +1789,7 @@ def delete_image_openshift_io_v1_namespaced_image_stream_with_http_info(self, na _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def delete_image_openshift_io_v1_namespaced_image_stream_tag(self, name, namespace, **kwargs): + def delete_namespaced_image_stream_tag(self, name, namespace, **kwargs): """ delete an ImageStreamTag This method makes a synchronous HTTP request by default. To make an @@ -1782,25 +1798,25 @@ def delete_image_openshift_io_v1_namespaced_image_stream_tag(self, name, namespa >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.delete_image_openshift_io_v1_namespaced_image_stream_tag(name, namespace, callback=callback_function) + >>> thread = api.delete_namespaced_image_stream_tag(name, namespace, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param str name: name of the ImageStreamTag (required) :param str namespace: object name and auth scope, such as for teams and projects (required) :param str pretty: If 'true', then the output is pretty printed. - :return: UnversionedStatus + :return: V1Status If the method is called asynchronously, returns the request thread. """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.delete_image_openshift_io_v1_namespaced_image_stream_tag_with_http_info(name, namespace, **kwargs) + return self.delete_namespaced_image_stream_tag_with_http_info(name, namespace, **kwargs) else: - (data) = self.delete_image_openshift_io_v1_namespaced_image_stream_tag_with_http_info(name, namespace, **kwargs) + (data) = self.delete_namespaced_image_stream_tag_with_http_info(name, namespace, **kwargs) return data - def delete_image_openshift_io_v1_namespaced_image_stream_tag_with_http_info(self, name, namespace, **kwargs): + def delete_namespaced_image_stream_tag_with_http_info(self, name, namespace, **kwargs): """ delete an ImageStreamTag This method makes a synchronous HTTP request by default. To make an @@ -1809,14 +1825,14 @@ def delete_image_openshift_io_v1_namespaced_image_stream_tag_with_http_info(self >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.delete_image_openshift_io_v1_namespaced_image_stream_tag_with_http_info(name, namespace, callback=callback_function) + >>> thread = api.delete_namespaced_image_stream_tag_with_http_info(name, namespace, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param str name: name of the ImageStreamTag (required) :param str namespace: object name and auth scope, such as for teams and projects (required) :param str pretty: If 'true', then the output is pretty printed. - :return: UnversionedStatus + :return: V1Status If the method is called asynchronously, returns the request thread. """ @@ -1832,16 +1848,16 @@ def delete_image_openshift_io_v1_namespaced_image_stream_tag_with_http_info(self if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method delete_image_openshift_io_v1_namespaced_image_stream_tag" % key + " to method delete_namespaced_image_stream_tag" % key ) params[key] = val del params['kwargs'] # verify the required parameter 'name' is set if ('name' not in params) or (params['name'] is None): - raise ValueError("Missing the required parameter `name` when calling `delete_image_openshift_io_v1_namespaced_image_stream_tag`") + raise ValueError("Missing the required parameter `name` when calling `delete_namespaced_image_stream_tag`") # verify the required parameter 'namespace' is set if ('namespace' not in params) or (params['namespace'] is None): - raise ValueError("Missing the required parameter `namespace` when calling `delete_image_openshift_io_v1_namespaced_image_stream_tag`") + raise ValueError("Missing the required parameter `namespace` when calling `delete_namespaced_image_stream_tag`") collection_formats = {} @@ -1872,7 +1888,7 @@ def delete_image_openshift_io_v1_namespaced_image_stream_tag_with_http_info(self select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'DELETE', path_params, @@ -1881,7 +1897,7 @@ def delete_image_openshift_io_v1_namespaced_image_stream_tag_with_http_info(self body=body_params, post_params=form_params, files=local_var_files, - response_type='UnversionedStatus', + response_type='V1Status', auth_settings=auth_settings, callback=params.get('callback'), _return_http_data_only=params.get('_return_http_data_only'), @@ -1889,7 +1905,7 @@ def delete_image_openshift_io_v1_namespaced_image_stream_tag_with_http_info(self _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def get_image_openshift_io_v1_api_resources(self, **kwargs): + def get_api_resources(self, **kwargs): """ get available resources This method makes a synchronous HTTP request by default. To make an @@ -1898,22 +1914,22 @@ def get_image_openshift_io_v1_api_resources(self, **kwargs): >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.get_image_openshift_io_v1_api_resources(callback=callback_function) + >>> thread = api.get_api_resources(callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) - :return: UnversionedAPIResourceList + :return: V1APIResourceList If the method is called asynchronously, returns the request thread. """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.get_image_openshift_io_v1_api_resources_with_http_info(**kwargs) + return self.get_api_resources_with_http_info(**kwargs) else: - (data) = self.get_image_openshift_io_v1_api_resources_with_http_info(**kwargs) + (data) = self.get_api_resources_with_http_info(**kwargs) return data - def get_image_openshift_io_v1_api_resources_with_http_info(self, **kwargs): + def get_api_resources_with_http_info(self, **kwargs): """ get available resources This method makes a synchronous HTTP request by default. To make an @@ -1922,11 +1938,11 @@ def get_image_openshift_io_v1_api_resources_with_http_info(self, **kwargs): >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.get_image_openshift_io_v1_api_resources_with_http_info(callback=callback_function) + >>> thread = api.get_api_resources_with_http_info(callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) - :return: UnversionedAPIResourceList + :return: V1APIResourceList If the method is called asynchronously, returns the request thread. """ @@ -1942,7 +1958,7 @@ def get_image_openshift_io_v1_api_resources_with_http_info(self, **kwargs): if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method get_image_openshift_io_v1_api_resources" % key + " to method get_api_resources" % key ) params[key] = val del params['kwargs'] @@ -1969,7 +1985,7 @@ def get_image_openshift_io_v1_api_resources_with_http_info(self, **kwargs): select_header_content_type(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -1978,7 +1994,7 @@ def get_image_openshift_io_v1_api_resources_with_http_info(self, **kwargs): body=body_params, post_params=form_params, files=local_var_files, - response_type='UnversionedAPIResourceList', + response_type='V1APIResourceList', auth_settings=auth_settings, callback=params.get('callback'), _return_http_data_only=params.get('_return_http_data_only'), @@ -1986,7 +2002,7 @@ def get_image_openshift_io_v1_api_resources_with_http_info(self, **kwargs): _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def list_image_openshift_io_v1_image(self, **kwargs): + def list_image(self, **kwargs): """ list or watch objects of kind Image This method makes a synchronous HTTP request by default. To make an @@ -1995,14 +2011,15 @@ def list_image_openshift_io_v1_image(self, **kwargs): >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.list_image_openshift_io_v1_image(callback=callback_function) + >>> thread = api.list_image(callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param str pretty: If 'true', then the output is pretty printed. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param bool include_uninitialized: If true, partially initialized resources are included in the response. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. - :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. + :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. :param int timeout_seconds: Timeout for the list/watch call. :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. :return: V1ImageList @@ -2011,12 +2028,12 @@ def list_image_openshift_io_v1_image(self, **kwargs): """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.list_image_openshift_io_v1_image_with_http_info(**kwargs) + return self.list_image_with_http_info(**kwargs) else: - (data) = self.list_image_openshift_io_v1_image_with_http_info(**kwargs) + (data) = self.list_image_with_http_info(**kwargs) return data - def list_image_openshift_io_v1_image_with_http_info(self, **kwargs): + def list_image_with_http_info(self, **kwargs): """ list or watch objects of kind Image This method makes a synchronous HTTP request by default. To make an @@ -2025,14 +2042,15 @@ def list_image_openshift_io_v1_image_with_http_info(self, **kwargs): >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.list_image_openshift_io_v1_image_with_http_info(callback=callback_function) + >>> thread = api.list_image_with_http_info(callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param str pretty: If 'true', then the output is pretty printed. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param bool include_uninitialized: If true, partially initialized resources are included in the response. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. - :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. + :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. :param int timeout_seconds: Timeout for the list/watch call. :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. :return: V1ImageList @@ -2040,7 +2058,7 @@ def list_image_openshift_io_v1_image_with_http_info(self, **kwargs): returns the request thread. """ - all_params = ['pretty', 'field_selector', 'label_selector', 'resource_version', 'timeout_seconds', 'watch'] + all_params = ['pretty', 'field_selector', 'include_uninitialized', 'label_selector', 'resource_version', 'timeout_seconds', 'watch'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -2051,7 +2069,7 @@ def list_image_openshift_io_v1_image_with_http_info(self, **kwargs): if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method list_image_openshift_io_v1_image" % key + " to method list_image" % key ) params[key] = val del params['kwargs'] @@ -2067,6 +2085,8 @@ def list_image_openshift_io_v1_image_with_http_info(self, **kwargs): query_params['pretty'] = params['pretty'] if 'field_selector' in params: query_params['fieldSelector'] = params['field_selector'] + if 'include_uninitialized' in params: + query_params['includeUninitialized'] = params['include_uninitialized'] if 'label_selector' in params: query_params['labelSelector'] = params['label_selector'] if 'resource_version' in params: @@ -2091,7 +2111,7 @@ def list_image_openshift_io_v1_image_with_http_info(self, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -2108,7 +2128,7 @@ def list_image_openshift_io_v1_image_with_http_info(self, **kwargs): _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def list_image_openshift_io_v1_image_stream_for_all_namespaces(self, **kwargs): + def list_image_stream_for_all_namespaces(self, **kwargs): """ list or watch objects of kind ImageStream This method makes a synchronous HTTP request by default. To make an @@ -2117,14 +2137,15 @@ def list_image_openshift_io_v1_image_stream_for_all_namespaces(self, **kwargs): >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.list_image_openshift_io_v1_image_stream_for_all_namespaces(callback=callback_function) + >>> thread = api.list_image_stream_for_all_namespaces(callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param str pretty: If 'true', then the output is pretty printed. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param bool include_uninitialized: If true, partially initialized resources are included in the response. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. - :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. + :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. :param int timeout_seconds: Timeout for the list/watch call. :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. :return: V1ImageStreamList @@ -2133,12 +2154,12 @@ def list_image_openshift_io_v1_image_stream_for_all_namespaces(self, **kwargs): """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.list_image_openshift_io_v1_image_stream_for_all_namespaces_with_http_info(**kwargs) + return self.list_image_stream_for_all_namespaces_with_http_info(**kwargs) else: - (data) = self.list_image_openshift_io_v1_image_stream_for_all_namespaces_with_http_info(**kwargs) + (data) = self.list_image_stream_for_all_namespaces_with_http_info(**kwargs) return data - def list_image_openshift_io_v1_image_stream_for_all_namespaces_with_http_info(self, **kwargs): + def list_image_stream_for_all_namespaces_with_http_info(self, **kwargs): """ list or watch objects of kind ImageStream This method makes a synchronous HTTP request by default. To make an @@ -2147,14 +2168,15 @@ def list_image_openshift_io_v1_image_stream_for_all_namespaces_with_http_info(se >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.list_image_openshift_io_v1_image_stream_for_all_namespaces_with_http_info(callback=callback_function) + >>> thread = api.list_image_stream_for_all_namespaces_with_http_info(callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param str pretty: If 'true', then the output is pretty printed. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param bool include_uninitialized: If true, partially initialized resources are included in the response. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. - :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. + :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. :param int timeout_seconds: Timeout for the list/watch call. :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. :return: V1ImageStreamList @@ -2162,7 +2184,7 @@ def list_image_openshift_io_v1_image_stream_for_all_namespaces_with_http_info(se returns the request thread. """ - all_params = ['pretty', 'field_selector', 'label_selector', 'resource_version', 'timeout_seconds', 'watch'] + all_params = ['pretty', 'field_selector', 'include_uninitialized', 'label_selector', 'resource_version', 'timeout_seconds', 'watch'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -2173,7 +2195,7 @@ def list_image_openshift_io_v1_image_stream_for_all_namespaces_with_http_info(se if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method list_image_openshift_io_v1_image_stream_for_all_namespaces" % key + " to method list_image_stream_for_all_namespaces" % key ) params[key] = val del params['kwargs'] @@ -2189,6 +2211,8 @@ def list_image_openshift_io_v1_image_stream_for_all_namespaces_with_http_info(se query_params['pretty'] = params['pretty'] if 'field_selector' in params: query_params['fieldSelector'] = params['field_selector'] + if 'include_uninitialized' in params: + query_params['includeUninitialized'] = params['include_uninitialized'] if 'label_selector' in params: query_params['labelSelector'] = params['label_selector'] if 'resource_version' in params: @@ -2213,7 +2237,7 @@ def list_image_openshift_io_v1_image_stream_for_all_namespaces_with_http_info(se select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -2230,7 +2254,7 @@ def list_image_openshift_io_v1_image_stream_for_all_namespaces_with_http_info(se _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def list_image_openshift_io_v1_image_stream_tag_for_all_namespaces(self, **kwargs): + def list_image_stream_tag_for_all_namespaces(self, **kwargs): """ list objects of kind ImageStreamTag This method makes a synchronous HTTP request by default. To make an @@ -2239,14 +2263,15 @@ def list_image_openshift_io_v1_image_stream_tag_for_all_namespaces(self, **kwarg >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.list_image_openshift_io_v1_image_stream_tag_for_all_namespaces(callback=callback_function) + >>> thread = api.list_image_stream_tag_for_all_namespaces(callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param str pretty: If 'true', then the output is pretty printed. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param bool include_uninitialized: If true, partially initialized resources are included in the response. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. - :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. + :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. :param int timeout_seconds: Timeout for the list/watch call. :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. :return: V1ImageStreamTagList @@ -2255,12 +2280,12 @@ def list_image_openshift_io_v1_image_stream_tag_for_all_namespaces(self, **kwarg """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.list_image_openshift_io_v1_image_stream_tag_for_all_namespaces_with_http_info(**kwargs) + return self.list_image_stream_tag_for_all_namespaces_with_http_info(**kwargs) else: - (data) = self.list_image_openshift_io_v1_image_stream_tag_for_all_namespaces_with_http_info(**kwargs) + (data) = self.list_image_stream_tag_for_all_namespaces_with_http_info(**kwargs) return data - def list_image_openshift_io_v1_image_stream_tag_for_all_namespaces_with_http_info(self, **kwargs): + def list_image_stream_tag_for_all_namespaces_with_http_info(self, **kwargs): """ list objects of kind ImageStreamTag This method makes a synchronous HTTP request by default. To make an @@ -2269,14 +2294,15 @@ def list_image_openshift_io_v1_image_stream_tag_for_all_namespaces_with_http_inf >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.list_image_openshift_io_v1_image_stream_tag_for_all_namespaces_with_http_info(callback=callback_function) + >>> thread = api.list_image_stream_tag_for_all_namespaces_with_http_info(callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param str pretty: If 'true', then the output is pretty printed. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param bool include_uninitialized: If true, partially initialized resources are included in the response. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. - :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. + :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. :param int timeout_seconds: Timeout for the list/watch call. :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. :return: V1ImageStreamTagList @@ -2284,7 +2310,7 @@ def list_image_openshift_io_v1_image_stream_tag_for_all_namespaces_with_http_inf returns the request thread. """ - all_params = ['pretty', 'field_selector', 'label_selector', 'resource_version', 'timeout_seconds', 'watch'] + all_params = ['pretty', 'field_selector', 'include_uninitialized', 'label_selector', 'resource_version', 'timeout_seconds', 'watch'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -2295,7 +2321,7 @@ def list_image_openshift_io_v1_image_stream_tag_for_all_namespaces_with_http_inf if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method list_image_openshift_io_v1_image_stream_tag_for_all_namespaces" % key + " to method list_image_stream_tag_for_all_namespaces" % key ) params[key] = val del params['kwargs'] @@ -2311,6 +2337,8 @@ def list_image_openshift_io_v1_image_stream_tag_for_all_namespaces_with_http_inf query_params['pretty'] = params['pretty'] if 'field_selector' in params: query_params['fieldSelector'] = params['field_selector'] + if 'include_uninitialized' in params: + query_params['includeUninitialized'] = params['include_uninitialized'] if 'label_selector' in params: query_params['labelSelector'] = params['label_selector'] if 'resource_version' in params: @@ -2335,7 +2363,7 @@ def list_image_openshift_io_v1_image_stream_tag_for_all_namespaces_with_http_inf select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -2352,7 +2380,7 @@ def list_image_openshift_io_v1_image_stream_tag_for_all_namespaces_with_http_inf _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def list_image_openshift_io_v1_namespaced_image_stream(self, namespace, **kwargs): + def list_namespaced_image_stream(self, namespace, **kwargs): """ list or watch objects of kind ImageStream This method makes a synchronous HTTP request by default. To make an @@ -2361,15 +2389,16 @@ def list_image_openshift_io_v1_namespaced_image_stream(self, namespace, **kwargs >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.list_image_openshift_io_v1_namespaced_image_stream(namespace, callback=callback_function) + >>> thread = api.list_namespaced_image_stream(namespace, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param str namespace: object name and auth scope, such as for teams and projects (required) :param str pretty: If 'true', then the output is pretty printed. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param bool include_uninitialized: If true, partially initialized resources are included in the response. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. - :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. + :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. :param int timeout_seconds: Timeout for the list/watch call. :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. :return: V1ImageStreamList @@ -2378,12 +2407,12 @@ def list_image_openshift_io_v1_namespaced_image_stream(self, namespace, **kwargs """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.list_image_openshift_io_v1_namespaced_image_stream_with_http_info(namespace, **kwargs) + return self.list_namespaced_image_stream_with_http_info(namespace, **kwargs) else: - (data) = self.list_image_openshift_io_v1_namespaced_image_stream_with_http_info(namespace, **kwargs) + (data) = self.list_namespaced_image_stream_with_http_info(namespace, **kwargs) return data - def list_image_openshift_io_v1_namespaced_image_stream_with_http_info(self, namespace, **kwargs): + def list_namespaced_image_stream_with_http_info(self, namespace, **kwargs): """ list or watch objects of kind ImageStream This method makes a synchronous HTTP request by default. To make an @@ -2392,15 +2421,16 @@ def list_image_openshift_io_v1_namespaced_image_stream_with_http_info(self, name >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.list_image_openshift_io_v1_namespaced_image_stream_with_http_info(namespace, callback=callback_function) + >>> thread = api.list_namespaced_image_stream_with_http_info(namespace, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param str namespace: object name and auth scope, such as for teams and projects (required) :param str pretty: If 'true', then the output is pretty printed. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param bool include_uninitialized: If true, partially initialized resources are included in the response. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. - :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. + :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. :param int timeout_seconds: Timeout for the list/watch call. :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. :return: V1ImageStreamList @@ -2408,7 +2438,7 @@ def list_image_openshift_io_v1_namespaced_image_stream_with_http_info(self, name returns the request thread. """ - all_params = ['namespace', 'pretty', 'field_selector', 'label_selector', 'resource_version', 'timeout_seconds', 'watch'] + all_params = ['namespace', 'pretty', 'field_selector', 'include_uninitialized', 'label_selector', 'resource_version', 'timeout_seconds', 'watch'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -2419,13 +2449,13 @@ def list_image_openshift_io_v1_namespaced_image_stream_with_http_info(self, name if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method list_image_openshift_io_v1_namespaced_image_stream" % key + " to method list_namespaced_image_stream" % key ) params[key] = val del params['kwargs'] # verify the required parameter 'namespace' is set if ('namespace' not in params) or (params['namespace'] is None): - raise ValueError("Missing the required parameter `namespace` when calling `list_image_openshift_io_v1_namespaced_image_stream`") + raise ValueError("Missing the required parameter `namespace` when calling `list_namespaced_image_stream`") collection_formats = {} @@ -2440,6 +2470,8 @@ def list_image_openshift_io_v1_namespaced_image_stream_with_http_info(self, name query_params['pretty'] = params['pretty'] if 'field_selector' in params: query_params['fieldSelector'] = params['field_selector'] + if 'include_uninitialized' in params: + query_params['includeUninitialized'] = params['include_uninitialized'] if 'label_selector' in params: query_params['labelSelector'] = params['label_selector'] if 'resource_version' in params: @@ -2464,7 +2496,7 @@ def list_image_openshift_io_v1_namespaced_image_stream_with_http_info(self, name select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -2481,7 +2513,7 @@ def list_image_openshift_io_v1_namespaced_image_stream_with_http_info(self, name _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def list_image_openshift_io_v1_namespaced_image_stream_tag(self, namespace, **kwargs): + def list_namespaced_image_stream_tag(self, namespace, **kwargs): """ list objects of kind ImageStreamTag This method makes a synchronous HTTP request by default. To make an @@ -2490,15 +2522,16 @@ def list_image_openshift_io_v1_namespaced_image_stream_tag(self, namespace, **kw >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.list_image_openshift_io_v1_namespaced_image_stream_tag(namespace, callback=callback_function) + >>> thread = api.list_namespaced_image_stream_tag(namespace, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param str namespace: object name and auth scope, such as for teams and projects (required) :param str pretty: If 'true', then the output is pretty printed. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param bool include_uninitialized: If true, partially initialized resources are included in the response. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. - :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. + :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. :param int timeout_seconds: Timeout for the list/watch call. :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. :return: V1ImageStreamTagList @@ -2507,12 +2540,12 @@ def list_image_openshift_io_v1_namespaced_image_stream_tag(self, namespace, **kw """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.list_image_openshift_io_v1_namespaced_image_stream_tag_with_http_info(namespace, **kwargs) + return self.list_namespaced_image_stream_tag_with_http_info(namespace, **kwargs) else: - (data) = self.list_image_openshift_io_v1_namespaced_image_stream_tag_with_http_info(namespace, **kwargs) + (data) = self.list_namespaced_image_stream_tag_with_http_info(namespace, **kwargs) return data - def list_image_openshift_io_v1_namespaced_image_stream_tag_with_http_info(self, namespace, **kwargs): + def list_namespaced_image_stream_tag_with_http_info(self, namespace, **kwargs): """ list objects of kind ImageStreamTag This method makes a synchronous HTTP request by default. To make an @@ -2521,15 +2554,16 @@ def list_image_openshift_io_v1_namespaced_image_stream_tag_with_http_info(self, >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.list_image_openshift_io_v1_namespaced_image_stream_tag_with_http_info(namespace, callback=callback_function) + >>> thread = api.list_namespaced_image_stream_tag_with_http_info(namespace, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param str namespace: object name and auth scope, such as for teams and projects (required) :param str pretty: If 'true', then the output is pretty printed. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param bool include_uninitialized: If true, partially initialized resources are included in the response. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. - :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. + :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. :param int timeout_seconds: Timeout for the list/watch call. :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. :return: V1ImageStreamTagList @@ -2537,7 +2571,7 @@ def list_image_openshift_io_v1_namespaced_image_stream_tag_with_http_info(self, returns the request thread. """ - all_params = ['namespace', 'pretty', 'field_selector', 'label_selector', 'resource_version', 'timeout_seconds', 'watch'] + all_params = ['namespace', 'pretty', 'field_selector', 'include_uninitialized', 'label_selector', 'resource_version', 'timeout_seconds', 'watch'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -2548,13 +2582,13 @@ def list_image_openshift_io_v1_namespaced_image_stream_tag_with_http_info(self, if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method list_image_openshift_io_v1_namespaced_image_stream_tag" % key + " to method list_namespaced_image_stream_tag" % key ) params[key] = val del params['kwargs'] # verify the required parameter 'namespace' is set if ('namespace' not in params) or (params['namespace'] is None): - raise ValueError("Missing the required parameter `namespace` when calling `list_image_openshift_io_v1_namespaced_image_stream_tag`") + raise ValueError("Missing the required parameter `namespace` when calling `list_namespaced_image_stream_tag`") collection_formats = {} @@ -2569,6 +2603,8 @@ def list_image_openshift_io_v1_namespaced_image_stream_tag_with_http_info(self, query_params['pretty'] = params['pretty'] if 'field_selector' in params: query_params['fieldSelector'] = params['field_selector'] + if 'include_uninitialized' in params: + query_params['includeUninitialized'] = params['include_uninitialized'] if 'label_selector' in params: query_params['labelSelector'] = params['label_selector'] if 'resource_version' in params: @@ -2593,7 +2629,7 @@ def list_image_openshift_io_v1_namespaced_image_stream_tag_with_http_info(self, select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -2610,7 +2646,7 @@ def list_image_openshift_io_v1_namespaced_image_stream_tag_with_http_info(self, _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def patch_image_openshift_io_v1_image(self, name, body, **kwargs): + def patch_image(self, name, body, **kwargs): """ partially update the specified Image This method makes a synchronous HTTP request by default. To make an @@ -2619,12 +2655,12 @@ def patch_image_openshift_io_v1_image(self, name, body, **kwargs): >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.patch_image_openshift_io_v1_image(name, body, callback=callback_function) + >>> thread = api.patch_image(name, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param str name: name of the Image (required) - :param UnversionedPatch body: (required) + :param object body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1Image If the method is called asynchronously, @@ -2632,12 +2668,12 @@ def patch_image_openshift_io_v1_image(self, name, body, **kwargs): """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.patch_image_openshift_io_v1_image_with_http_info(name, body, **kwargs) + return self.patch_image_with_http_info(name, body, **kwargs) else: - (data) = self.patch_image_openshift_io_v1_image_with_http_info(name, body, **kwargs) + (data) = self.patch_image_with_http_info(name, body, **kwargs) return data - def patch_image_openshift_io_v1_image_with_http_info(self, name, body, **kwargs): + def patch_image_with_http_info(self, name, body, **kwargs): """ partially update the specified Image This method makes a synchronous HTTP request by default. To make an @@ -2646,12 +2682,12 @@ def patch_image_openshift_io_v1_image_with_http_info(self, name, body, **kwargs) >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.patch_image_openshift_io_v1_image_with_http_info(name, body, callback=callback_function) + >>> thread = api.patch_image_with_http_info(name, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param str name: name of the Image (required) - :param UnversionedPatch body: (required) + :param object body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1Image If the method is called asynchronously, @@ -2669,16 +2705,16 @@ def patch_image_openshift_io_v1_image_with_http_info(self, name, body, **kwargs) if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method patch_image_openshift_io_v1_image" % key + " to method patch_image" % key ) params[key] = val del params['kwargs'] # verify the required parameter 'name' is set if ('name' not in params) or (params['name'] is None): - raise ValueError("Missing the required parameter `name` when calling `patch_image_openshift_io_v1_image`") + raise ValueError("Missing the required parameter `name` when calling `patch_image`") # verify the required parameter 'body' is set if ('body' not in params) or (params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `patch_image_openshift_io_v1_image`") + raise ValueError("Missing the required parameter `body` when calling `patch_image`") collection_formats = {} @@ -2709,7 +2745,7 @@ def patch_image_openshift_io_v1_image_with_http_info(self, name, body, **kwargs) select_header_content_type(['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'PATCH', path_params, @@ -2726,7 +2762,7 @@ def patch_image_openshift_io_v1_image_with_http_info(self, name, body, **kwargs) _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def patch_image_openshift_io_v1_namespaced_image_stream(self, name, namespace, body, **kwargs): + def patch_namespaced_image_stream(self, name, namespace, body, **kwargs): """ partially update the specified ImageStream This method makes a synchronous HTTP request by default. To make an @@ -2735,13 +2771,13 @@ def patch_image_openshift_io_v1_namespaced_image_stream(self, name, namespace, b >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.patch_image_openshift_io_v1_namespaced_image_stream(name, namespace, body, callback=callback_function) + >>> thread = api.patch_namespaced_image_stream(name, namespace, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param str name: name of the ImageStream (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param UnversionedPatch body: (required) + :param object body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1ImageStream If the method is called asynchronously, @@ -2749,12 +2785,12 @@ def patch_image_openshift_io_v1_namespaced_image_stream(self, name, namespace, b """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.patch_image_openshift_io_v1_namespaced_image_stream_with_http_info(name, namespace, body, **kwargs) + return self.patch_namespaced_image_stream_with_http_info(name, namespace, body, **kwargs) else: - (data) = self.patch_image_openshift_io_v1_namespaced_image_stream_with_http_info(name, namespace, body, **kwargs) + (data) = self.patch_namespaced_image_stream_with_http_info(name, namespace, body, **kwargs) return data - def patch_image_openshift_io_v1_namespaced_image_stream_with_http_info(self, name, namespace, body, **kwargs): + def patch_namespaced_image_stream_with_http_info(self, name, namespace, body, **kwargs): """ partially update the specified ImageStream This method makes a synchronous HTTP request by default. To make an @@ -2763,13 +2799,13 @@ def patch_image_openshift_io_v1_namespaced_image_stream_with_http_info(self, nam >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.patch_image_openshift_io_v1_namespaced_image_stream_with_http_info(name, namespace, body, callback=callback_function) + >>> thread = api.patch_namespaced_image_stream_with_http_info(name, namespace, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param str name: name of the ImageStream (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param UnversionedPatch body: (required) + :param object body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1ImageStream If the method is called asynchronously, @@ -2787,19 +2823,19 @@ def patch_image_openshift_io_v1_namespaced_image_stream_with_http_info(self, nam if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method patch_image_openshift_io_v1_namespaced_image_stream" % key + " to method patch_namespaced_image_stream" % key ) params[key] = val del params['kwargs'] # verify the required parameter 'name' is set if ('name' not in params) or (params['name'] is None): - raise ValueError("Missing the required parameter `name` when calling `patch_image_openshift_io_v1_namespaced_image_stream`") + raise ValueError("Missing the required parameter `name` when calling `patch_namespaced_image_stream`") # verify the required parameter 'namespace' is set if ('namespace' not in params) or (params['namespace'] is None): - raise ValueError("Missing the required parameter `namespace` when calling `patch_image_openshift_io_v1_namespaced_image_stream`") + raise ValueError("Missing the required parameter `namespace` when calling `patch_namespaced_image_stream`") # verify the required parameter 'body' is set if ('body' not in params) or (params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `patch_image_openshift_io_v1_namespaced_image_stream`") + raise ValueError("Missing the required parameter `body` when calling `patch_namespaced_image_stream`") collection_formats = {} @@ -2832,7 +2868,7 @@ def patch_image_openshift_io_v1_namespaced_image_stream_with_http_info(self, nam select_header_content_type(['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'PATCH', path_params, @@ -2849,7 +2885,7 @@ def patch_image_openshift_io_v1_namespaced_image_stream_with_http_info(self, nam _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def patch_image_openshift_io_v1_namespaced_image_stream_status(self, name, namespace, body, **kwargs): + def patch_namespaced_image_stream_status(self, name, namespace, body, **kwargs): """ partially update status of the specified ImageStream This method makes a synchronous HTTP request by default. To make an @@ -2858,13 +2894,13 @@ def patch_image_openshift_io_v1_namespaced_image_stream_status(self, name, names >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.patch_image_openshift_io_v1_namespaced_image_stream_status(name, namespace, body, callback=callback_function) + >>> thread = api.patch_namespaced_image_stream_status(name, namespace, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param str name: name of the ImageStream (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param UnversionedPatch body: (required) + :param object body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1ImageStream If the method is called asynchronously, @@ -2872,12 +2908,12 @@ def patch_image_openshift_io_v1_namespaced_image_stream_status(self, name, names """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.patch_image_openshift_io_v1_namespaced_image_stream_status_with_http_info(name, namespace, body, **kwargs) + return self.patch_namespaced_image_stream_status_with_http_info(name, namespace, body, **kwargs) else: - (data) = self.patch_image_openshift_io_v1_namespaced_image_stream_status_with_http_info(name, namespace, body, **kwargs) + (data) = self.patch_namespaced_image_stream_status_with_http_info(name, namespace, body, **kwargs) return data - def patch_image_openshift_io_v1_namespaced_image_stream_status_with_http_info(self, name, namespace, body, **kwargs): + def patch_namespaced_image_stream_status_with_http_info(self, name, namespace, body, **kwargs): """ partially update status of the specified ImageStream This method makes a synchronous HTTP request by default. To make an @@ -2886,13 +2922,13 @@ def patch_image_openshift_io_v1_namespaced_image_stream_status_with_http_info(se >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.patch_image_openshift_io_v1_namespaced_image_stream_status_with_http_info(name, namespace, body, callback=callback_function) + >>> thread = api.patch_namespaced_image_stream_status_with_http_info(name, namespace, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param str name: name of the ImageStream (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param UnversionedPatch body: (required) + :param object body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1ImageStream If the method is called asynchronously, @@ -2910,19 +2946,19 @@ def patch_image_openshift_io_v1_namespaced_image_stream_status_with_http_info(se if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method patch_image_openshift_io_v1_namespaced_image_stream_status" % key + " to method patch_namespaced_image_stream_status" % key ) params[key] = val del params['kwargs'] # verify the required parameter 'name' is set if ('name' not in params) or (params['name'] is None): - raise ValueError("Missing the required parameter `name` when calling `patch_image_openshift_io_v1_namespaced_image_stream_status`") + raise ValueError("Missing the required parameter `name` when calling `patch_namespaced_image_stream_status`") # verify the required parameter 'namespace' is set if ('namespace' not in params) or (params['namespace'] is None): - raise ValueError("Missing the required parameter `namespace` when calling `patch_image_openshift_io_v1_namespaced_image_stream_status`") + raise ValueError("Missing the required parameter `namespace` when calling `patch_namespaced_image_stream_status`") # verify the required parameter 'body' is set if ('body' not in params) or (params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `patch_image_openshift_io_v1_namespaced_image_stream_status`") + raise ValueError("Missing the required parameter `body` when calling `patch_namespaced_image_stream_status`") collection_formats = {} @@ -2955,7 +2991,7 @@ def patch_image_openshift_io_v1_namespaced_image_stream_status_with_http_info(se select_header_content_type(['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'PATCH', path_params, @@ -2972,7 +3008,7 @@ def patch_image_openshift_io_v1_namespaced_image_stream_status_with_http_info(se _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def patch_image_openshift_io_v1_namespaced_image_stream_tag(self, name, namespace, body, **kwargs): + def patch_namespaced_image_stream_tag(self, name, namespace, body, **kwargs): """ partially update the specified ImageStreamTag This method makes a synchronous HTTP request by default. To make an @@ -2981,13 +3017,13 @@ def patch_image_openshift_io_v1_namespaced_image_stream_tag(self, name, namespac >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.patch_image_openshift_io_v1_namespaced_image_stream_tag(name, namespace, body, callback=callback_function) + >>> thread = api.patch_namespaced_image_stream_tag(name, namespace, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param str name: name of the ImageStreamTag (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param UnversionedPatch body: (required) + :param object body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1ImageStreamTag If the method is called asynchronously, @@ -2995,12 +3031,12 @@ def patch_image_openshift_io_v1_namespaced_image_stream_tag(self, name, namespac """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.patch_image_openshift_io_v1_namespaced_image_stream_tag_with_http_info(name, namespace, body, **kwargs) + return self.patch_namespaced_image_stream_tag_with_http_info(name, namespace, body, **kwargs) else: - (data) = self.patch_image_openshift_io_v1_namespaced_image_stream_tag_with_http_info(name, namespace, body, **kwargs) + (data) = self.patch_namespaced_image_stream_tag_with_http_info(name, namespace, body, **kwargs) return data - def patch_image_openshift_io_v1_namespaced_image_stream_tag_with_http_info(self, name, namespace, body, **kwargs): + def patch_namespaced_image_stream_tag_with_http_info(self, name, namespace, body, **kwargs): """ partially update the specified ImageStreamTag This method makes a synchronous HTTP request by default. To make an @@ -3009,13 +3045,13 @@ def patch_image_openshift_io_v1_namespaced_image_stream_tag_with_http_info(self, >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.patch_image_openshift_io_v1_namespaced_image_stream_tag_with_http_info(name, namespace, body, callback=callback_function) + >>> thread = api.patch_namespaced_image_stream_tag_with_http_info(name, namespace, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param str name: name of the ImageStreamTag (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param UnversionedPatch body: (required) + :param object body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1ImageStreamTag If the method is called asynchronously, @@ -3033,19 +3069,19 @@ def patch_image_openshift_io_v1_namespaced_image_stream_tag_with_http_info(self, if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method patch_image_openshift_io_v1_namespaced_image_stream_tag" % key + " to method patch_namespaced_image_stream_tag" % key ) params[key] = val del params['kwargs'] # verify the required parameter 'name' is set if ('name' not in params) or (params['name'] is None): - raise ValueError("Missing the required parameter `name` when calling `patch_image_openshift_io_v1_namespaced_image_stream_tag`") + raise ValueError("Missing the required parameter `name` when calling `patch_namespaced_image_stream_tag`") # verify the required parameter 'namespace' is set if ('namespace' not in params) or (params['namespace'] is None): - raise ValueError("Missing the required parameter `namespace` when calling `patch_image_openshift_io_v1_namespaced_image_stream_tag`") + raise ValueError("Missing the required parameter `namespace` when calling `patch_namespaced_image_stream_tag`") # verify the required parameter 'body' is set if ('body' not in params) or (params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `patch_image_openshift_io_v1_namespaced_image_stream_tag`") + raise ValueError("Missing the required parameter `body` when calling `patch_namespaced_image_stream_tag`") collection_formats = {} @@ -3078,7 +3114,7 @@ def patch_image_openshift_io_v1_namespaced_image_stream_tag_with_http_info(self, select_header_content_type(['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'PATCH', path_params, @@ -3095,7 +3131,7 @@ def patch_image_openshift_io_v1_namespaced_image_stream_tag_with_http_info(self, _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def read_image_openshift_io_v1_image(self, name, **kwargs): + def read_image(self, name, **kwargs): """ read the specified Image This method makes a synchronous HTTP request by default. To make an @@ -3104,13 +3140,13 @@ def read_image_openshift_io_v1_image(self, name, **kwargs): >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.read_image_openshift_io_v1_image(name, callback=callback_function) + >>> thread = api.read_image(name, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param str name: name of the Image (required) :param str pretty: If 'true', then the output is pretty printed. - :param bool exact: Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace' + :param bool exact: Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. :param bool export: Should this value be exported. Export strips fields that a user can not specify. :return: V1Image If the method is called asynchronously, @@ -3118,12 +3154,12 @@ def read_image_openshift_io_v1_image(self, name, **kwargs): """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.read_image_openshift_io_v1_image_with_http_info(name, **kwargs) + return self.read_image_with_http_info(name, **kwargs) else: - (data) = self.read_image_openshift_io_v1_image_with_http_info(name, **kwargs) + (data) = self.read_image_with_http_info(name, **kwargs) return data - def read_image_openshift_io_v1_image_with_http_info(self, name, **kwargs): + def read_image_with_http_info(self, name, **kwargs): """ read the specified Image This method makes a synchronous HTTP request by default. To make an @@ -3132,13 +3168,13 @@ def read_image_openshift_io_v1_image_with_http_info(self, name, **kwargs): >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.read_image_openshift_io_v1_image_with_http_info(name, callback=callback_function) + >>> thread = api.read_image_with_http_info(name, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param str name: name of the Image (required) :param str pretty: If 'true', then the output is pretty printed. - :param bool exact: Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace' + :param bool exact: Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. :param bool export: Should this value be exported. Export strips fields that a user can not specify. :return: V1Image If the method is called asynchronously, @@ -3156,13 +3192,13 @@ def read_image_openshift_io_v1_image_with_http_info(self, name, **kwargs): if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method read_image_openshift_io_v1_image" % key + " to method read_image" % key ) params[key] = val del params['kwargs'] # verify the required parameter 'name' is set if ('name' not in params) or (params['name'] is None): - raise ValueError("Missing the required parameter `name` when calling `read_image_openshift_io_v1_image`") + raise ValueError("Missing the required parameter `name` when calling `read_image`") collection_formats = {} @@ -3195,7 +3231,7 @@ def read_image_openshift_io_v1_image_with_http_info(self, name, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -3212,7 +3248,7 @@ def read_image_openshift_io_v1_image_with_http_info(self, name, **kwargs): _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def read_image_openshift_io_v1_namespaced_image_stream(self, name, namespace, **kwargs): + def read_namespaced_image_stream(self, name, namespace, **kwargs): """ read the specified ImageStream This method makes a synchronous HTTP request by default. To make an @@ -3221,14 +3257,14 @@ def read_image_openshift_io_v1_namespaced_image_stream(self, name, namespace, ** >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.read_image_openshift_io_v1_namespaced_image_stream(name, namespace, callback=callback_function) + >>> thread = api.read_namespaced_image_stream(name, namespace, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param str name: name of the ImageStream (required) :param str namespace: object name and auth scope, such as for teams and projects (required) :param str pretty: If 'true', then the output is pretty printed. - :param bool exact: Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace' + :param bool exact: Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. :param bool export: Should this value be exported. Export strips fields that a user can not specify. :return: V1ImageStream If the method is called asynchronously, @@ -3236,12 +3272,12 @@ def read_image_openshift_io_v1_namespaced_image_stream(self, name, namespace, ** """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.read_image_openshift_io_v1_namespaced_image_stream_with_http_info(name, namespace, **kwargs) + return self.read_namespaced_image_stream_with_http_info(name, namespace, **kwargs) else: - (data) = self.read_image_openshift_io_v1_namespaced_image_stream_with_http_info(name, namespace, **kwargs) + (data) = self.read_namespaced_image_stream_with_http_info(name, namespace, **kwargs) return data - def read_image_openshift_io_v1_namespaced_image_stream_with_http_info(self, name, namespace, **kwargs): + def read_namespaced_image_stream_with_http_info(self, name, namespace, **kwargs): """ read the specified ImageStream This method makes a synchronous HTTP request by default. To make an @@ -3250,14 +3286,14 @@ def read_image_openshift_io_v1_namespaced_image_stream_with_http_info(self, name >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.read_image_openshift_io_v1_namespaced_image_stream_with_http_info(name, namespace, callback=callback_function) + >>> thread = api.read_namespaced_image_stream_with_http_info(name, namespace, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param str name: name of the ImageStream (required) :param str namespace: object name and auth scope, such as for teams and projects (required) :param str pretty: If 'true', then the output is pretty printed. - :param bool exact: Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace' + :param bool exact: Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. :param bool export: Should this value be exported. Export strips fields that a user can not specify. :return: V1ImageStream If the method is called asynchronously, @@ -3275,16 +3311,16 @@ def read_image_openshift_io_v1_namespaced_image_stream_with_http_info(self, name if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method read_image_openshift_io_v1_namespaced_image_stream" % key + " to method read_namespaced_image_stream" % key ) params[key] = val del params['kwargs'] # verify the required parameter 'name' is set if ('name' not in params) or (params['name'] is None): - raise ValueError("Missing the required parameter `name` when calling `read_image_openshift_io_v1_namespaced_image_stream`") + raise ValueError("Missing the required parameter `name` when calling `read_namespaced_image_stream`") # verify the required parameter 'namespace' is set if ('namespace' not in params) or (params['namespace'] is None): - raise ValueError("Missing the required parameter `namespace` when calling `read_image_openshift_io_v1_namespaced_image_stream`") + raise ValueError("Missing the required parameter `namespace` when calling `read_namespaced_image_stream`") collection_formats = {} @@ -3319,7 +3355,7 @@ def read_image_openshift_io_v1_namespaced_image_stream_with_http_info(self, name select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -3336,7 +3372,7 @@ def read_image_openshift_io_v1_namespaced_image_stream_with_http_info(self, name _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def read_image_openshift_io_v1_namespaced_image_stream_image(self, name, namespace, **kwargs): + def read_namespaced_image_stream_image(self, name, namespace, **kwargs): """ read the specified ImageStreamImage This method makes a synchronous HTTP request by default. To make an @@ -3345,7 +3381,7 @@ def read_image_openshift_io_v1_namespaced_image_stream_image(self, name, namespa >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.read_image_openshift_io_v1_namespaced_image_stream_image(name, namespace, callback=callback_function) + >>> thread = api.read_namespaced_image_stream_image(name, namespace, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) @@ -3358,12 +3394,12 @@ def read_image_openshift_io_v1_namespaced_image_stream_image(self, name, namespa """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.read_image_openshift_io_v1_namespaced_image_stream_image_with_http_info(name, namespace, **kwargs) + return self.read_namespaced_image_stream_image_with_http_info(name, namespace, **kwargs) else: - (data) = self.read_image_openshift_io_v1_namespaced_image_stream_image_with_http_info(name, namespace, **kwargs) + (data) = self.read_namespaced_image_stream_image_with_http_info(name, namespace, **kwargs) return data - def read_image_openshift_io_v1_namespaced_image_stream_image_with_http_info(self, name, namespace, **kwargs): + def read_namespaced_image_stream_image_with_http_info(self, name, namespace, **kwargs): """ read the specified ImageStreamImage This method makes a synchronous HTTP request by default. To make an @@ -3372,7 +3408,7 @@ def read_image_openshift_io_v1_namespaced_image_stream_image_with_http_info(self >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.read_image_openshift_io_v1_namespaced_image_stream_image_with_http_info(name, namespace, callback=callback_function) + >>> thread = api.read_namespaced_image_stream_image_with_http_info(name, namespace, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) @@ -3395,16 +3431,16 @@ def read_image_openshift_io_v1_namespaced_image_stream_image_with_http_info(self if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method read_image_openshift_io_v1_namespaced_image_stream_image" % key + " to method read_namespaced_image_stream_image" % key ) params[key] = val del params['kwargs'] # verify the required parameter 'name' is set if ('name' not in params) or (params['name'] is None): - raise ValueError("Missing the required parameter `name` when calling `read_image_openshift_io_v1_namespaced_image_stream_image`") + raise ValueError("Missing the required parameter `name` when calling `read_namespaced_image_stream_image`") # verify the required parameter 'namespace' is set if ('namespace' not in params) or (params['namespace'] is None): - raise ValueError("Missing the required parameter `namespace` when calling `read_image_openshift_io_v1_namespaced_image_stream_image`") + raise ValueError("Missing the required parameter `namespace` when calling `read_namespaced_image_stream_image`") collection_formats = {} @@ -3435,7 +3471,7 @@ def read_image_openshift_io_v1_namespaced_image_stream_image_with_http_info(self select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -3452,7 +3488,7 @@ def read_image_openshift_io_v1_namespaced_image_stream_image_with_http_info(self _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def read_image_openshift_io_v1_namespaced_image_stream_status(self, name, namespace, **kwargs): + def read_namespaced_image_stream_status(self, name, namespace, **kwargs): """ read status of the specified ImageStream This method makes a synchronous HTTP request by default. To make an @@ -3461,7 +3497,7 @@ def read_image_openshift_io_v1_namespaced_image_stream_status(self, name, namesp >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.read_image_openshift_io_v1_namespaced_image_stream_status(name, namespace, callback=callback_function) + >>> thread = api.read_namespaced_image_stream_status(name, namespace, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) @@ -3474,12 +3510,12 @@ def read_image_openshift_io_v1_namespaced_image_stream_status(self, name, namesp """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.read_image_openshift_io_v1_namespaced_image_stream_status_with_http_info(name, namespace, **kwargs) + return self.read_namespaced_image_stream_status_with_http_info(name, namespace, **kwargs) else: - (data) = self.read_image_openshift_io_v1_namespaced_image_stream_status_with_http_info(name, namespace, **kwargs) + (data) = self.read_namespaced_image_stream_status_with_http_info(name, namespace, **kwargs) return data - def read_image_openshift_io_v1_namespaced_image_stream_status_with_http_info(self, name, namespace, **kwargs): + def read_namespaced_image_stream_status_with_http_info(self, name, namespace, **kwargs): """ read status of the specified ImageStream This method makes a synchronous HTTP request by default. To make an @@ -3488,7 +3524,7 @@ def read_image_openshift_io_v1_namespaced_image_stream_status_with_http_info(sel >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.read_image_openshift_io_v1_namespaced_image_stream_status_with_http_info(name, namespace, callback=callback_function) + >>> thread = api.read_namespaced_image_stream_status_with_http_info(name, namespace, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) @@ -3511,16 +3547,16 @@ def read_image_openshift_io_v1_namespaced_image_stream_status_with_http_info(sel if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method read_image_openshift_io_v1_namespaced_image_stream_status" % key + " to method read_namespaced_image_stream_status" % key ) params[key] = val del params['kwargs'] # verify the required parameter 'name' is set if ('name' not in params) or (params['name'] is None): - raise ValueError("Missing the required parameter `name` when calling `read_image_openshift_io_v1_namespaced_image_stream_status`") + raise ValueError("Missing the required parameter `name` when calling `read_namespaced_image_stream_status`") # verify the required parameter 'namespace' is set if ('namespace' not in params) or (params['namespace'] is None): - raise ValueError("Missing the required parameter `namespace` when calling `read_image_openshift_io_v1_namespaced_image_stream_status`") + raise ValueError("Missing the required parameter `namespace` when calling `read_namespaced_image_stream_status`") collection_formats = {} @@ -3551,7 +3587,7 @@ def read_image_openshift_io_v1_namespaced_image_stream_status_with_http_info(sel select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -3568,7 +3604,7 @@ def read_image_openshift_io_v1_namespaced_image_stream_status_with_http_info(sel _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def read_image_openshift_io_v1_namespaced_image_stream_tag(self, name, namespace, **kwargs): + def read_namespaced_image_stream_tag(self, name, namespace, **kwargs): """ read the specified ImageStreamTag This method makes a synchronous HTTP request by default. To make an @@ -3577,7 +3613,7 @@ def read_image_openshift_io_v1_namespaced_image_stream_tag(self, name, namespace >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.read_image_openshift_io_v1_namespaced_image_stream_tag(name, namespace, callback=callback_function) + >>> thread = api.read_namespaced_image_stream_tag(name, namespace, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) @@ -3590,12 +3626,12 @@ def read_image_openshift_io_v1_namespaced_image_stream_tag(self, name, namespace """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.read_image_openshift_io_v1_namespaced_image_stream_tag_with_http_info(name, namespace, **kwargs) + return self.read_namespaced_image_stream_tag_with_http_info(name, namespace, **kwargs) else: - (data) = self.read_image_openshift_io_v1_namespaced_image_stream_tag_with_http_info(name, namespace, **kwargs) + (data) = self.read_namespaced_image_stream_tag_with_http_info(name, namespace, **kwargs) return data - def read_image_openshift_io_v1_namespaced_image_stream_tag_with_http_info(self, name, namespace, **kwargs): + def read_namespaced_image_stream_tag_with_http_info(self, name, namespace, **kwargs): """ read the specified ImageStreamTag This method makes a synchronous HTTP request by default. To make an @@ -3604,7 +3640,7 @@ def read_image_openshift_io_v1_namespaced_image_stream_tag_with_http_info(self, >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.read_image_openshift_io_v1_namespaced_image_stream_tag_with_http_info(name, namespace, callback=callback_function) + >>> thread = api.read_namespaced_image_stream_tag_with_http_info(name, namespace, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) @@ -3627,16 +3663,16 @@ def read_image_openshift_io_v1_namespaced_image_stream_tag_with_http_info(self, if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method read_image_openshift_io_v1_namespaced_image_stream_tag" % key + " to method read_namespaced_image_stream_tag" % key ) params[key] = val del params['kwargs'] # verify the required parameter 'name' is set if ('name' not in params) or (params['name'] is None): - raise ValueError("Missing the required parameter `name` when calling `read_image_openshift_io_v1_namespaced_image_stream_tag`") + raise ValueError("Missing the required parameter `name` when calling `read_namespaced_image_stream_tag`") # verify the required parameter 'namespace' is set if ('namespace' not in params) or (params['namespace'] is None): - raise ValueError("Missing the required parameter `namespace` when calling `read_image_openshift_io_v1_namespaced_image_stream_tag`") + raise ValueError("Missing the required parameter `namespace` when calling `read_namespaced_image_stream_tag`") collection_formats = {} @@ -3667,7 +3703,7 @@ def read_image_openshift_io_v1_namespaced_image_stream_tag_with_http_info(self, select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -3684,7 +3720,7 @@ def read_image_openshift_io_v1_namespaced_image_stream_tag_with_http_info(self, _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def read_image_openshift_io_v1_namespaced_secret_list_secrets(self, name, namespace, **kwargs): + def read_namespaced_secret_list_secrets(self, name, namespace, **kwargs): """ read secrets of the specified SecretList This method makes a synchronous HTTP request by default. To make an @@ -3693,16 +3729,17 @@ def read_image_openshift_io_v1_namespaced_secret_list_secrets(self, name, namesp >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.read_image_openshift_io_v1_namespaced_secret_list_secrets(name, namespace, callback=callback_function) + >>> thread = api.read_namespaced_secret_list_secrets(name, namespace, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param str name: name of the SecretList (required) :param str namespace: object name and auth scope, such as for teams and projects (required) :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param bool include_uninitialized: If true, partially initialized resources are included in the response. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. :param str pretty: If 'true', then the output is pretty printed. - :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. + :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. :param int timeout_seconds: Timeout for the list/watch call. :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. :return: V1SecretList @@ -3711,12 +3748,12 @@ def read_image_openshift_io_v1_namespaced_secret_list_secrets(self, name, namesp """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.read_image_openshift_io_v1_namespaced_secret_list_secrets_with_http_info(name, namespace, **kwargs) + return self.read_namespaced_secret_list_secrets_with_http_info(name, namespace, **kwargs) else: - (data) = self.read_image_openshift_io_v1_namespaced_secret_list_secrets_with_http_info(name, namespace, **kwargs) + (data) = self.read_namespaced_secret_list_secrets_with_http_info(name, namespace, **kwargs) return data - def read_image_openshift_io_v1_namespaced_secret_list_secrets_with_http_info(self, name, namespace, **kwargs): + def read_namespaced_secret_list_secrets_with_http_info(self, name, namespace, **kwargs): """ read secrets of the specified SecretList This method makes a synchronous HTTP request by default. To make an @@ -3725,16 +3762,17 @@ def read_image_openshift_io_v1_namespaced_secret_list_secrets_with_http_info(sel >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.read_image_openshift_io_v1_namespaced_secret_list_secrets_with_http_info(name, namespace, callback=callback_function) + >>> thread = api.read_namespaced_secret_list_secrets_with_http_info(name, namespace, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param str name: name of the SecretList (required) :param str namespace: object name and auth scope, such as for teams and projects (required) :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param bool include_uninitialized: If true, partially initialized resources are included in the response. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. :param str pretty: If 'true', then the output is pretty printed. - :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. + :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. :param int timeout_seconds: Timeout for the list/watch call. :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. :return: V1SecretList @@ -3742,7 +3780,7 @@ def read_image_openshift_io_v1_namespaced_secret_list_secrets_with_http_info(sel returns the request thread. """ - all_params = ['name', 'namespace', 'field_selector', 'label_selector', 'pretty', 'resource_version', 'timeout_seconds', 'watch'] + all_params = ['name', 'namespace', 'field_selector', 'include_uninitialized', 'label_selector', 'pretty', 'resource_version', 'timeout_seconds', 'watch'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -3753,16 +3791,16 @@ def read_image_openshift_io_v1_namespaced_secret_list_secrets_with_http_info(sel if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method read_image_openshift_io_v1_namespaced_secret_list_secrets" % key + " to method read_namespaced_secret_list_secrets" % key ) params[key] = val del params['kwargs'] # verify the required parameter 'name' is set if ('name' not in params) or (params['name'] is None): - raise ValueError("Missing the required parameter `name` when calling `read_image_openshift_io_v1_namespaced_secret_list_secrets`") + raise ValueError("Missing the required parameter `name` when calling `read_namespaced_secret_list_secrets`") # verify the required parameter 'namespace' is set if ('namespace' not in params) or (params['namespace'] is None): - raise ValueError("Missing the required parameter `namespace` when calling `read_image_openshift_io_v1_namespaced_secret_list_secrets`") + raise ValueError("Missing the required parameter `namespace` when calling `read_namespaced_secret_list_secrets`") collection_formats = {} @@ -3777,6 +3815,8 @@ def read_image_openshift_io_v1_namespaced_secret_list_secrets_with_http_info(sel query_params = {} if 'field_selector' in params: query_params['fieldSelector'] = params['field_selector'] + if 'include_uninitialized' in params: + query_params['includeUninitialized'] = params['include_uninitialized'] if 'label_selector' in params: query_params['labelSelector'] = params['label_selector'] if 'pretty' in params: @@ -3803,7 +3843,7 @@ def read_image_openshift_io_v1_namespaced_secret_list_secrets_with_http_info(sel select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -3820,7 +3860,7 @@ def read_image_openshift_io_v1_namespaced_secret_list_secrets_with_http_info(sel _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def replace_image_openshift_io_v1_image(self, name, body, **kwargs): + def replace_image(self, name, body, **kwargs): """ replace the specified Image This method makes a synchronous HTTP request by default. To make an @@ -3829,7 +3869,7 @@ def replace_image_openshift_io_v1_image(self, name, body, **kwargs): >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.replace_image_openshift_io_v1_image(name, body, callback=callback_function) + >>> thread = api.replace_image(name, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) @@ -3842,12 +3882,12 @@ def replace_image_openshift_io_v1_image(self, name, body, **kwargs): """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.replace_image_openshift_io_v1_image_with_http_info(name, body, **kwargs) + return self.replace_image_with_http_info(name, body, **kwargs) else: - (data) = self.replace_image_openshift_io_v1_image_with_http_info(name, body, **kwargs) + (data) = self.replace_image_with_http_info(name, body, **kwargs) return data - def replace_image_openshift_io_v1_image_with_http_info(self, name, body, **kwargs): + def replace_image_with_http_info(self, name, body, **kwargs): """ replace the specified Image This method makes a synchronous HTTP request by default. To make an @@ -3856,7 +3896,7 @@ def replace_image_openshift_io_v1_image_with_http_info(self, name, body, **kwarg >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.replace_image_openshift_io_v1_image_with_http_info(name, body, callback=callback_function) + >>> thread = api.replace_image_with_http_info(name, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) @@ -3879,16 +3919,16 @@ def replace_image_openshift_io_v1_image_with_http_info(self, name, body, **kwarg if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method replace_image_openshift_io_v1_image" % key + " to method replace_image" % key ) params[key] = val del params['kwargs'] # verify the required parameter 'name' is set if ('name' not in params) or (params['name'] is None): - raise ValueError("Missing the required parameter `name` when calling `replace_image_openshift_io_v1_image`") + raise ValueError("Missing the required parameter `name` when calling `replace_image`") # verify the required parameter 'body' is set if ('body' not in params) or (params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `replace_image_openshift_io_v1_image`") + raise ValueError("Missing the required parameter `body` when calling `replace_image`") collection_formats = {} @@ -3919,7 +3959,7 @@ def replace_image_openshift_io_v1_image_with_http_info(self, name, body, **kwarg select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'PUT', path_params, @@ -3936,7 +3976,7 @@ def replace_image_openshift_io_v1_image_with_http_info(self, name, body, **kwarg _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def replace_image_openshift_io_v1_namespaced_image_stream(self, name, namespace, body, **kwargs): + def replace_namespaced_image_stream(self, name, namespace, body, **kwargs): """ replace the specified ImageStream This method makes a synchronous HTTP request by default. To make an @@ -3945,7 +3985,7 @@ def replace_image_openshift_io_v1_namespaced_image_stream(self, name, namespace, >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.replace_image_openshift_io_v1_namespaced_image_stream(name, namespace, body, callback=callback_function) + >>> thread = api.replace_namespaced_image_stream(name, namespace, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) @@ -3959,12 +3999,12 @@ def replace_image_openshift_io_v1_namespaced_image_stream(self, name, namespace, """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.replace_image_openshift_io_v1_namespaced_image_stream_with_http_info(name, namespace, body, **kwargs) + return self.replace_namespaced_image_stream_with_http_info(name, namespace, body, **kwargs) else: - (data) = self.replace_image_openshift_io_v1_namespaced_image_stream_with_http_info(name, namespace, body, **kwargs) + (data) = self.replace_namespaced_image_stream_with_http_info(name, namespace, body, **kwargs) return data - def replace_image_openshift_io_v1_namespaced_image_stream_with_http_info(self, name, namespace, body, **kwargs): + def replace_namespaced_image_stream_with_http_info(self, name, namespace, body, **kwargs): """ replace the specified ImageStream This method makes a synchronous HTTP request by default. To make an @@ -3973,7 +4013,7 @@ def replace_image_openshift_io_v1_namespaced_image_stream_with_http_info(self, n >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.replace_image_openshift_io_v1_namespaced_image_stream_with_http_info(name, namespace, body, callback=callback_function) + >>> thread = api.replace_namespaced_image_stream_with_http_info(name, namespace, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) @@ -3997,19 +4037,19 @@ def replace_image_openshift_io_v1_namespaced_image_stream_with_http_info(self, n if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method replace_image_openshift_io_v1_namespaced_image_stream" % key + " to method replace_namespaced_image_stream" % key ) params[key] = val del params['kwargs'] # verify the required parameter 'name' is set if ('name' not in params) or (params['name'] is None): - raise ValueError("Missing the required parameter `name` when calling `replace_image_openshift_io_v1_namespaced_image_stream`") + raise ValueError("Missing the required parameter `name` when calling `replace_namespaced_image_stream`") # verify the required parameter 'namespace' is set if ('namespace' not in params) or (params['namespace'] is None): - raise ValueError("Missing the required parameter `namespace` when calling `replace_image_openshift_io_v1_namespaced_image_stream`") + raise ValueError("Missing the required parameter `namespace` when calling `replace_namespaced_image_stream`") # verify the required parameter 'body' is set if ('body' not in params) or (params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `replace_image_openshift_io_v1_namespaced_image_stream`") + raise ValueError("Missing the required parameter `body` when calling `replace_namespaced_image_stream`") collection_formats = {} @@ -4042,7 +4082,7 @@ def replace_image_openshift_io_v1_namespaced_image_stream_with_http_info(self, n select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'PUT', path_params, @@ -4059,7 +4099,7 @@ def replace_image_openshift_io_v1_namespaced_image_stream_with_http_info(self, n _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def replace_image_openshift_io_v1_namespaced_image_stream_status(self, name, namespace, body, **kwargs): + def replace_namespaced_image_stream_status(self, name, namespace, body, **kwargs): """ replace status of the specified ImageStream This method makes a synchronous HTTP request by default. To make an @@ -4068,7 +4108,7 @@ def replace_image_openshift_io_v1_namespaced_image_stream_status(self, name, nam >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.replace_image_openshift_io_v1_namespaced_image_stream_status(name, namespace, body, callback=callback_function) + >>> thread = api.replace_namespaced_image_stream_status(name, namespace, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) @@ -4082,12 +4122,12 @@ def replace_image_openshift_io_v1_namespaced_image_stream_status(self, name, nam """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.replace_image_openshift_io_v1_namespaced_image_stream_status_with_http_info(name, namespace, body, **kwargs) + return self.replace_namespaced_image_stream_status_with_http_info(name, namespace, body, **kwargs) else: - (data) = self.replace_image_openshift_io_v1_namespaced_image_stream_status_with_http_info(name, namespace, body, **kwargs) + (data) = self.replace_namespaced_image_stream_status_with_http_info(name, namespace, body, **kwargs) return data - def replace_image_openshift_io_v1_namespaced_image_stream_status_with_http_info(self, name, namespace, body, **kwargs): + def replace_namespaced_image_stream_status_with_http_info(self, name, namespace, body, **kwargs): """ replace status of the specified ImageStream This method makes a synchronous HTTP request by default. To make an @@ -4096,7 +4136,7 @@ def replace_image_openshift_io_v1_namespaced_image_stream_status_with_http_info( >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.replace_image_openshift_io_v1_namespaced_image_stream_status_with_http_info(name, namespace, body, callback=callback_function) + >>> thread = api.replace_namespaced_image_stream_status_with_http_info(name, namespace, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) @@ -4120,19 +4160,19 @@ def replace_image_openshift_io_v1_namespaced_image_stream_status_with_http_info( if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method replace_image_openshift_io_v1_namespaced_image_stream_status" % key + " to method replace_namespaced_image_stream_status" % key ) params[key] = val del params['kwargs'] # verify the required parameter 'name' is set if ('name' not in params) or (params['name'] is None): - raise ValueError("Missing the required parameter `name` when calling `replace_image_openshift_io_v1_namespaced_image_stream_status`") + raise ValueError("Missing the required parameter `name` when calling `replace_namespaced_image_stream_status`") # verify the required parameter 'namespace' is set if ('namespace' not in params) or (params['namespace'] is None): - raise ValueError("Missing the required parameter `namespace` when calling `replace_image_openshift_io_v1_namespaced_image_stream_status`") + raise ValueError("Missing the required parameter `namespace` when calling `replace_namespaced_image_stream_status`") # verify the required parameter 'body' is set if ('body' not in params) or (params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `replace_image_openshift_io_v1_namespaced_image_stream_status`") + raise ValueError("Missing the required parameter `body` when calling `replace_namespaced_image_stream_status`") collection_formats = {} @@ -4165,7 +4205,7 @@ def replace_image_openshift_io_v1_namespaced_image_stream_status_with_http_info( select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'PUT', path_params, @@ -4182,7 +4222,7 @@ def replace_image_openshift_io_v1_namespaced_image_stream_status_with_http_info( _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def replace_image_openshift_io_v1_namespaced_image_stream_tag(self, name, namespace, body, **kwargs): + def replace_namespaced_image_stream_tag(self, name, namespace, body, **kwargs): """ replace the specified ImageStreamTag This method makes a synchronous HTTP request by default. To make an @@ -4191,7 +4231,7 @@ def replace_image_openshift_io_v1_namespaced_image_stream_tag(self, name, namesp >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.replace_image_openshift_io_v1_namespaced_image_stream_tag(name, namespace, body, callback=callback_function) + >>> thread = api.replace_namespaced_image_stream_tag(name, namespace, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) @@ -4205,12 +4245,12 @@ def replace_image_openshift_io_v1_namespaced_image_stream_tag(self, name, namesp """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.replace_image_openshift_io_v1_namespaced_image_stream_tag_with_http_info(name, namespace, body, **kwargs) + return self.replace_namespaced_image_stream_tag_with_http_info(name, namespace, body, **kwargs) else: - (data) = self.replace_image_openshift_io_v1_namespaced_image_stream_tag_with_http_info(name, namespace, body, **kwargs) + (data) = self.replace_namespaced_image_stream_tag_with_http_info(name, namespace, body, **kwargs) return data - def replace_image_openshift_io_v1_namespaced_image_stream_tag_with_http_info(self, name, namespace, body, **kwargs): + def replace_namespaced_image_stream_tag_with_http_info(self, name, namespace, body, **kwargs): """ replace the specified ImageStreamTag This method makes a synchronous HTTP request by default. To make an @@ -4219,7 +4259,7 @@ def replace_image_openshift_io_v1_namespaced_image_stream_tag_with_http_info(sel >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.replace_image_openshift_io_v1_namespaced_image_stream_tag_with_http_info(name, namespace, body, callback=callback_function) + >>> thread = api.replace_namespaced_image_stream_tag_with_http_info(name, namespace, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) @@ -4243,19 +4283,19 @@ def replace_image_openshift_io_v1_namespaced_image_stream_tag_with_http_info(sel if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method replace_image_openshift_io_v1_namespaced_image_stream_tag" % key + " to method replace_namespaced_image_stream_tag" % key ) params[key] = val del params['kwargs'] # verify the required parameter 'name' is set if ('name' not in params) or (params['name'] is None): - raise ValueError("Missing the required parameter `name` when calling `replace_image_openshift_io_v1_namespaced_image_stream_tag`") + raise ValueError("Missing the required parameter `name` when calling `replace_namespaced_image_stream_tag`") # verify the required parameter 'namespace' is set if ('namespace' not in params) or (params['namespace'] is None): - raise ValueError("Missing the required parameter `namespace` when calling `replace_image_openshift_io_v1_namespaced_image_stream_tag`") + raise ValueError("Missing the required parameter `namespace` when calling `replace_namespaced_image_stream_tag`") # verify the required parameter 'body' is set if ('body' not in params) or (params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `replace_image_openshift_io_v1_namespaced_image_stream_tag`") + raise ValueError("Missing the required parameter `body` when calling `replace_namespaced_image_stream_tag`") collection_formats = {} @@ -4288,7 +4328,7 @@ def replace_image_openshift_io_v1_namespaced_image_stream_tag_with_http_info(sel select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'PUT', path_params, diff --git a/openshift/client/apis/network_openshift_io_api.py b/openshift/client/apis/network_openshift_io_api.py index 03a60a8e..ba272a04 100644 --- a/openshift/client/apis/network_openshift_io_api.py +++ b/openshift/client/apis/network_openshift_io_api.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -40,7 +40,7 @@ def __init__(self, api_client=None): config.api_client = ApiClient() self.api_client = config.api_client - def get_network_openshift_io_api_group(self, **kwargs): + def get_api_group(self, **kwargs): """ get information of a group This method makes a synchronous HTTP request by default. To make an @@ -49,22 +49,22 @@ def get_network_openshift_io_api_group(self, **kwargs): >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.get_network_openshift_io_api_group(callback=callback_function) + >>> thread = api.get_api_group(callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) - :return: UnversionedAPIGroup + :return: V1APIGroup If the method is called asynchronously, returns the request thread. """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.get_network_openshift_io_api_group_with_http_info(**kwargs) + return self.get_api_group_with_http_info(**kwargs) else: - (data) = self.get_network_openshift_io_api_group_with_http_info(**kwargs) + (data) = self.get_api_group_with_http_info(**kwargs) return data - def get_network_openshift_io_api_group_with_http_info(self, **kwargs): + def get_api_group_with_http_info(self, **kwargs): """ get information of a group This method makes a synchronous HTTP request by default. To make an @@ -73,11 +73,11 @@ def get_network_openshift_io_api_group_with_http_info(self, **kwargs): >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.get_network_openshift_io_api_group_with_http_info(callback=callback_function) + >>> thread = api.get_api_group_with_http_info(callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) - :return: UnversionedAPIGroup + :return: V1APIGroup If the method is called asynchronously, returns the request thread. """ @@ -93,7 +93,7 @@ def get_network_openshift_io_api_group_with_http_info(self, **kwargs): if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method get_network_openshift_io_api_group" % key + " to method get_api_group" % key ) params[key] = val del params['kwargs'] @@ -120,7 +120,7 @@ def get_network_openshift_io_api_group_with_http_info(self, **kwargs): select_header_content_type(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -129,7 +129,7 @@ def get_network_openshift_io_api_group_with_http_info(self, **kwargs): body=body_params, post_params=form_params, files=local_var_files, - response_type='UnversionedAPIGroup', + response_type='V1APIGroup', auth_settings=auth_settings, callback=params.get('callback'), _return_http_data_only=params.get('_return_http_data_only'), diff --git a/openshift/client/apis/network_openshift_io_v1_api.py b/openshift/client/apis/network_openshift_io_v1_api.py index c18caf16..5681c8d8 100644 --- a/openshift/client/apis/network_openshift_io_v1_api.py +++ b/openshift/client/apis/network_openshift_io_v1_api.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -40,7 +40,7 @@ def __init__(self, api_client=None): config.api_client = ApiClient() self.api_client = config.api_client - def create_network_openshift_io_v1_cluster_network(self, body, **kwargs): + def create_cluster_network(self, body, **kwargs): """ create a ClusterNetwork This method makes a synchronous HTTP request by default. To make an @@ -49,7 +49,7 @@ def create_network_openshift_io_v1_cluster_network(self, body, **kwargs): >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.create_network_openshift_io_v1_cluster_network(body, callback=callback_function) + >>> thread = api.create_cluster_network(body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) @@ -61,12 +61,12 @@ def create_network_openshift_io_v1_cluster_network(self, body, **kwargs): """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.create_network_openshift_io_v1_cluster_network_with_http_info(body, **kwargs) + return self.create_cluster_network_with_http_info(body, **kwargs) else: - (data) = self.create_network_openshift_io_v1_cluster_network_with_http_info(body, **kwargs) + (data) = self.create_cluster_network_with_http_info(body, **kwargs) return data - def create_network_openshift_io_v1_cluster_network_with_http_info(self, body, **kwargs): + def create_cluster_network_with_http_info(self, body, **kwargs): """ create a ClusterNetwork This method makes a synchronous HTTP request by default. To make an @@ -75,7 +75,7 @@ def create_network_openshift_io_v1_cluster_network_with_http_info(self, body, ** >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.create_network_openshift_io_v1_cluster_network_with_http_info(body, callback=callback_function) + >>> thread = api.create_cluster_network_with_http_info(body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) @@ -97,13 +97,13 @@ def create_network_openshift_io_v1_cluster_network_with_http_info(self, body, ** if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method create_network_openshift_io_v1_cluster_network" % key + " to method create_cluster_network" % key ) params[key] = val del params['kwargs'] # verify the required parameter 'body' is set if ('body' not in params) or (params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `create_network_openshift_io_v1_cluster_network`") + raise ValueError("Missing the required parameter `body` when calling `create_cluster_network`") collection_formats = {} @@ -132,7 +132,7 @@ def create_network_openshift_io_v1_cluster_network_with_http_info(self, body, ** select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'POST', path_params, @@ -149,7 +149,7 @@ def create_network_openshift_io_v1_cluster_network_with_http_info(self, body, ** _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def create_network_openshift_io_v1_egress_network_policy_for_all_namespaces(self, body, **kwargs): + def create_egress_network_policy_for_all_namespaces(self, body, **kwargs): """ create an EgressNetworkPolicy This method makes a synchronous HTTP request by default. To make an @@ -158,7 +158,7 @@ def create_network_openshift_io_v1_egress_network_policy_for_all_namespaces(self >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.create_network_openshift_io_v1_egress_network_policy_for_all_namespaces(body, callback=callback_function) + >>> thread = api.create_egress_network_policy_for_all_namespaces(body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) @@ -170,12 +170,12 @@ def create_network_openshift_io_v1_egress_network_policy_for_all_namespaces(self """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.create_network_openshift_io_v1_egress_network_policy_for_all_namespaces_with_http_info(body, **kwargs) + return self.create_egress_network_policy_for_all_namespaces_with_http_info(body, **kwargs) else: - (data) = self.create_network_openshift_io_v1_egress_network_policy_for_all_namespaces_with_http_info(body, **kwargs) + (data) = self.create_egress_network_policy_for_all_namespaces_with_http_info(body, **kwargs) return data - def create_network_openshift_io_v1_egress_network_policy_for_all_namespaces_with_http_info(self, body, **kwargs): + def create_egress_network_policy_for_all_namespaces_with_http_info(self, body, **kwargs): """ create an EgressNetworkPolicy This method makes a synchronous HTTP request by default. To make an @@ -184,7 +184,7 @@ def create_network_openshift_io_v1_egress_network_policy_for_all_namespaces_with >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.create_network_openshift_io_v1_egress_network_policy_for_all_namespaces_with_http_info(body, callback=callback_function) + >>> thread = api.create_egress_network_policy_for_all_namespaces_with_http_info(body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) @@ -206,13 +206,13 @@ def create_network_openshift_io_v1_egress_network_policy_for_all_namespaces_with if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method create_network_openshift_io_v1_egress_network_policy_for_all_namespaces" % key + " to method create_egress_network_policy_for_all_namespaces" % key ) params[key] = val del params['kwargs'] # verify the required parameter 'body' is set if ('body' not in params) or (params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `create_network_openshift_io_v1_egress_network_policy_for_all_namespaces`") + raise ValueError("Missing the required parameter `body` when calling `create_egress_network_policy_for_all_namespaces`") collection_formats = {} @@ -241,7 +241,7 @@ def create_network_openshift_io_v1_egress_network_policy_for_all_namespaces_with select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'POST', path_params, @@ -258,7 +258,7 @@ def create_network_openshift_io_v1_egress_network_policy_for_all_namespaces_with _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def create_network_openshift_io_v1_host_subnet(self, body, **kwargs): + def create_host_subnet(self, body, **kwargs): """ create a HostSubnet This method makes a synchronous HTTP request by default. To make an @@ -267,7 +267,7 @@ def create_network_openshift_io_v1_host_subnet(self, body, **kwargs): >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.create_network_openshift_io_v1_host_subnet(body, callback=callback_function) + >>> thread = api.create_host_subnet(body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) @@ -279,12 +279,12 @@ def create_network_openshift_io_v1_host_subnet(self, body, **kwargs): """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.create_network_openshift_io_v1_host_subnet_with_http_info(body, **kwargs) + return self.create_host_subnet_with_http_info(body, **kwargs) else: - (data) = self.create_network_openshift_io_v1_host_subnet_with_http_info(body, **kwargs) + (data) = self.create_host_subnet_with_http_info(body, **kwargs) return data - def create_network_openshift_io_v1_host_subnet_with_http_info(self, body, **kwargs): + def create_host_subnet_with_http_info(self, body, **kwargs): """ create a HostSubnet This method makes a synchronous HTTP request by default. To make an @@ -293,7 +293,7 @@ def create_network_openshift_io_v1_host_subnet_with_http_info(self, body, **kwar >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.create_network_openshift_io_v1_host_subnet_with_http_info(body, callback=callback_function) + >>> thread = api.create_host_subnet_with_http_info(body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) @@ -315,13 +315,13 @@ def create_network_openshift_io_v1_host_subnet_with_http_info(self, body, **kwar if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method create_network_openshift_io_v1_host_subnet" % key + " to method create_host_subnet" % key ) params[key] = val del params['kwargs'] # verify the required parameter 'body' is set if ('body' not in params) or (params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `create_network_openshift_io_v1_host_subnet`") + raise ValueError("Missing the required parameter `body` when calling `create_host_subnet`") collection_formats = {} @@ -350,7 +350,7 @@ def create_network_openshift_io_v1_host_subnet_with_http_info(self, body, **kwar select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'POST', path_params, @@ -367,7 +367,7 @@ def create_network_openshift_io_v1_host_subnet_with_http_info(self, body, **kwar _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def create_network_openshift_io_v1_namespaced_egress_network_policy(self, namespace, body, **kwargs): + def create_namespaced_egress_network_policy(self, namespace, body, **kwargs): """ create an EgressNetworkPolicy This method makes a synchronous HTTP request by default. To make an @@ -376,7 +376,7 @@ def create_network_openshift_io_v1_namespaced_egress_network_policy(self, namesp >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.create_network_openshift_io_v1_namespaced_egress_network_policy(namespace, body, callback=callback_function) + >>> thread = api.create_namespaced_egress_network_policy(namespace, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) @@ -389,12 +389,12 @@ def create_network_openshift_io_v1_namespaced_egress_network_policy(self, namesp """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.create_network_openshift_io_v1_namespaced_egress_network_policy_with_http_info(namespace, body, **kwargs) + return self.create_namespaced_egress_network_policy_with_http_info(namespace, body, **kwargs) else: - (data) = self.create_network_openshift_io_v1_namespaced_egress_network_policy_with_http_info(namespace, body, **kwargs) + (data) = self.create_namespaced_egress_network_policy_with_http_info(namespace, body, **kwargs) return data - def create_network_openshift_io_v1_namespaced_egress_network_policy_with_http_info(self, namespace, body, **kwargs): + def create_namespaced_egress_network_policy_with_http_info(self, namespace, body, **kwargs): """ create an EgressNetworkPolicy This method makes a synchronous HTTP request by default. To make an @@ -403,7 +403,7 @@ def create_network_openshift_io_v1_namespaced_egress_network_policy_with_http_in >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.create_network_openshift_io_v1_namespaced_egress_network_policy_with_http_info(namespace, body, callback=callback_function) + >>> thread = api.create_namespaced_egress_network_policy_with_http_info(namespace, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) @@ -426,16 +426,16 @@ def create_network_openshift_io_v1_namespaced_egress_network_policy_with_http_in if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method create_network_openshift_io_v1_namespaced_egress_network_policy" % key + " to method create_namespaced_egress_network_policy" % key ) params[key] = val del params['kwargs'] # verify the required parameter 'namespace' is set if ('namespace' not in params) or (params['namespace'] is None): - raise ValueError("Missing the required parameter `namespace` when calling `create_network_openshift_io_v1_namespaced_egress_network_policy`") + raise ValueError("Missing the required parameter `namespace` when calling `create_namespaced_egress_network_policy`") # verify the required parameter 'body' is set if ('body' not in params) or (params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `create_network_openshift_io_v1_namespaced_egress_network_policy`") + raise ValueError("Missing the required parameter `body` when calling `create_namespaced_egress_network_policy`") collection_formats = {} @@ -466,7 +466,7 @@ def create_network_openshift_io_v1_namespaced_egress_network_policy_with_http_in select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'POST', path_params, @@ -483,7 +483,7 @@ def create_network_openshift_io_v1_namespaced_egress_network_policy_with_http_in _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def create_network_openshift_io_v1_net_namespace(self, body, **kwargs): + def create_net_namespace(self, body, **kwargs): """ create a NetNamespace This method makes a synchronous HTTP request by default. To make an @@ -492,7 +492,7 @@ def create_network_openshift_io_v1_net_namespace(self, body, **kwargs): >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.create_network_openshift_io_v1_net_namespace(body, callback=callback_function) + >>> thread = api.create_net_namespace(body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) @@ -504,12 +504,12 @@ def create_network_openshift_io_v1_net_namespace(self, body, **kwargs): """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.create_network_openshift_io_v1_net_namespace_with_http_info(body, **kwargs) + return self.create_net_namespace_with_http_info(body, **kwargs) else: - (data) = self.create_network_openshift_io_v1_net_namespace_with_http_info(body, **kwargs) + (data) = self.create_net_namespace_with_http_info(body, **kwargs) return data - def create_network_openshift_io_v1_net_namespace_with_http_info(self, body, **kwargs): + def create_net_namespace_with_http_info(self, body, **kwargs): """ create a NetNamespace This method makes a synchronous HTTP request by default. To make an @@ -518,7 +518,7 @@ def create_network_openshift_io_v1_net_namespace_with_http_info(self, body, **kw >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.create_network_openshift_io_v1_net_namespace_with_http_info(body, callback=callback_function) + >>> thread = api.create_net_namespace_with_http_info(body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) @@ -540,13 +540,13 @@ def create_network_openshift_io_v1_net_namespace_with_http_info(self, body, **kw if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method create_network_openshift_io_v1_net_namespace" % key + " to method create_net_namespace" % key ) params[key] = val del params['kwargs'] # verify the required parameter 'body' is set if ('body' not in params) or (params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `create_network_openshift_io_v1_net_namespace`") + raise ValueError("Missing the required parameter `body` when calling `create_net_namespace`") collection_formats = {} @@ -575,7 +575,7 @@ def create_network_openshift_io_v1_net_namespace_with_http_info(self, body, **kw select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'POST', path_params, @@ -592,7 +592,7 @@ def create_network_openshift_io_v1_net_namespace_with_http_info(self, body, **kw _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def delete_network_openshift_io_v1_cluster_network(self, name, body, **kwargs): + def delete_cluster_network(self, name, body, **kwargs): """ delete a ClusterNetwork This method makes a synchronous HTTP request by default. To make an @@ -601,7 +601,7 @@ def delete_network_openshift_io_v1_cluster_network(self, name, body, **kwargs): >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.delete_network_openshift_io_v1_cluster_network(name, body, callback=callback_function) + >>> thread = api.delete_cluster_network(name, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) @@ -609,19 +609,20 @@ def delete_network_openshift_io_v1_cluster_network(self, name, body, **kwargs): :param V1DeleteOptions body: (required) :param str pretty: If 'true', then the output is pretty printed. :param int grace_period_seconds: 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. - :param bool orphan_dependents: Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. - :return: UnversionedStatus + :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. + :param str propagation_policy: Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. + :return: V1Status If the method is called asynchronously, returns the request thread. """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.delete_network_openshift_io_v1_cluster_network_with_http_info(name, body, **kwargs) + return self.delete_cluster_network_with_http_info(name, body, **kwargs) else: - (data) = self.delete_network_openshift_io_v1_cluster_network_with_http_info(name, body, **kwargs) + (data) = self.delete_cluster_network_with_http_info(name, body, **kwargs) return data - def delete_network_openshift_io_v1_cluster_network_with_http_info(self, name, body, **kwargs): + def delete_cluster_network_with_http_info(self, name, body, **kwargs): """ delete a ClusterNetwork This method makes a synchronous HTTP request by default. To make an @@ -630,7 +631,7 @@ def delete_network_openshift_io_v1_cluster_network_with_http_info(self, name, bo >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.delete_network_openshift_io_v1_cluster_network_with_http_info(name, body, callback=callback_function) + >>> thread = api.delete_cluster_network_with_http_info(name, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) @@ -638,13 +639,14 @@ def delete_network_openshift_io_v1_cluster_network_with_http_info(self, name, bo :param V1DeleteOptions body: (required) :param str pretty: If 'true', then the output is pretty printed. :param int grace_period_seconds: 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. - :param bool orphan_dependents: Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. - :return: UnversionedStatus + :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. + :param str propagation_policy: Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. + :return: V1Status If the method is called asynchronously, returns the request thread. """ - all_params = ['name', 'body', 'pretty', 'grace_period_seconds', 'orphan_dependents'] + all_params = ['name', 'body', 'pretty', 'grace_period_seconds', 'orphan_dependents', 'propagation_policy'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -655,16 +657,16 @@ def delete_network_openshift_io_v1_cluster_network_with_http_info(self, name, bo if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method delete_network_openshift_io_v1_cluster_network" % key + " to method delete_cluster_network" % key ) params[key] = val del params['kwargs'] # verify the required parameter 'name' is set if ('name' not in params) or (params['name'] is None): - raise ValueError("Missing the required parameter `name` when calling `delete_network_openshift_io_v1_cluster_network`") + raise ValueError("Missing the required parameter `name` when calling `delete_cluster_network`") # verify the required parameter 'body' is set if ('body' not in params) or (params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `delete_network_openshift_io_v1_cluster_network`") + raise ValueError("Missing the required parameter `body` when calling `delete_cluster_network`") collection_formats = {} @@ -681,6 +683,8 @@ def delete_network_openshift_io_v1_cluster_network_with_http_info(self, name, bo query_params['gracePeriodSeconds'] = params['grace_period_seconds'] if 'orphan_dependents' in params: query_params['orphanDependents'] = params['orphan_dependents'] + if 'propagation_policy' in params: + query_params['propagationPolicy'] = params['propagation_policy'] header_params = {} @@ -699,7 +703,7 @@ def delete_network_openshift_io_v1_cluster_network_with_http_info(self, name, bo select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'DELETE', path_params, @@ -708,7 +712,7 @@ def delete_network_openshift_io_v1_cluster_network_with_http_info(self, name, bo body=body_params, post_params=form_params, files=local_var_files, - response_type='UnversionedStatus', + response_type='V1Status', auth_settings=auth_settings, callback=params.get('callback'), _return_http_data_only=params.get('_return_http_data_only'), @@ -716,7 +720,7 @@ def delete_network_openshift_io_v1_cluster_network_with_http_info(self, name, bo _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def delete_network_openshift_io_v1_collection_cluster_network(self, **kwargs): + def delete_collection_cluster_network(self, **kwargs): """ delete collection of ClusterNetwork This method makes a synchronous HTTP request by default. To make an @@ -725,28 +729,29 @@ def delete_network_openshift_io_v1_collection_cluster_network(self, **kwargs): >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.delete_network_openshift_io_v1_collection_cluster_network(callback=callback_function) + >>> thread = api.delete_collection_cluster_network(callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param str pretty: If 'true', then the output is pretty printed. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param bool include_uninitialized: If true, partially initialized resources are included in the response. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. - :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. + :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. :param int timeout_seconds: Timeout for the list/watch call. :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - :return: UnversionedStatus + :return: V1Status If the method is called asynchronously, returns the request thread. """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.delete_network_openshift_io_v1_collection_cluster_network_with_http_info(**kwargs) + return self.delete_collection_cluster_network_with_http_info(**kwargs) else: - (data) = self.delete_network_openshift_io_v1_collection_cluster_network_with_http_info(**kwargs) + (data) = self.delete_collection_cluster_network_with_http_info(**kwargs) return data - def delete_network_openshift_io_v1_collection_cluster_network_with_http_info(self, **kwargs): + def delete_collection_cluster_network_with_http_info(self, **kwargs): """ delete collection of ClusterNetwork This method makes a synchronous HTTP request by default. To make an @@ -755,22 +760,23 @@ def delete_network_openshift_io_v1_collection_cluster_network_with_http_info(sel >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.delete_network_openshift_io_v1_collection_cluster_network_with_http_info(callback=callback_function) + >>> thread = api.delete_collection_cluster_network_with_http_info(callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param str pretty: If 'true', then the output is pretty printed. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param bool include_uninitialized: If true, partially initialized resources are included in the response. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. - :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. + :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. :param int timeout_seconds: Timeout for the list/watch call. :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - :return: UnversionedStatus + :return: V1Status If the method is called asynchronously, returns the request thread. """ - all_params = ['pretty', 'field_selector', 'label_selector', 'resource_version', 'timeout_seconds', 'watch'] + all_params = ['pretty', 'field_selector', 'include_uninitialized', 'label_selector', 'resource_version', 'timeout_seconds', 'watch'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -781,7 +787,7 @@ def delete_network_openshift_io_v1_collection_cluster_network_with_http_info(sel if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method delete_network_openshift_io_v1_collection_cluster_network" % key + " to method delete_collection_cluster_network" % key ) params[key] = val del params['kwargs'] @@ -797,6 +803,8 @@ def delete_network_openshift_io_v1_collection_cluster_network_with_http_info(sel query_params['pretty'] = params['pretty'] if 'field_selector' in params: query_params['fieldSelector'] = params['field_selector'] + if 'include_uninitialized' in params: + query_params['includeUninitialized'] = params['include_uninitialized'] if 'label_selector' in params: query_params['labelSelector'] = params['label_selector'] if 'resource_version' in params: @@ -821,7 +829,7 @@ def delete_network_openshift_io_v1_collection_cluster_network_with_http_info(sel select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'DELETE', path_params, @@ -830,7 +838,7 @@ def delete_network_openshift_io_v1_collection_cluster_network_with_http_info(sel body=body_params, post_params=form_params, files=local_var_files, - response_type='UnversionedStatus', + response_type='V1Status', auth_settings=auth_settings, callback=params.get('callback'), _return_http_data_only=params.get('_return_http_data_only'), @@ -838,7 +846,7 @@ def delete_network_openshift_io_v1_collection_cluster_network_with_http_info(sel _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def delete_network_openshift_io_v1_collection_host_subnet(self, **kwargs): + def delete_collection_host_subnet(self, **kwargs): """ delete collection of HostSubnet This method makes a synchronous HTTP request by default. To make an @@ -847,28 +855,29 @@ def delete_network_openshift_io_v1_collection_host_subnet(self, **kwargs): >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.delete_network_openshift_io_v1_collection_host_subnet(callback=callback_function) + >>> thread = api.delete_collection_host_subnet(callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param str pretty: If 'true', then the output is pretty printed. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param bool include_uninitialized: If true, partially initialized resources are included in the response. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. - :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. + :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. :param int timeout_seconds: Timeout for the list/watch call. :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - :return: UnversionedStatus + :return: V1Status If the method is called asynchronously, returns the request thread. """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.delete_network_openshift_io_v1_collection_host_subnet_with_http_info(**kwargs) + return self.delete_collection_host_subnet_with_http_info(**kwargs) else: - (data) = self.delete_network_openshift_io_v1_collection_host_subnet_with_http_info(**kwargs) + (data) = self.delete_collection_host_subnet_with_http_info(**kwargs) return data - def delete_network_openshift_io_v1_collection_host_subnet_with_http_info(self, **kwargs): + def delete_collection_host_subnet_with_http_info(self, **kwargs): """ delete collection of HostSubnet This method makes a synchronous HTTP request by default. To make an @@ -877,22 +886,23 @@ def delete_network_openshift_io_v1_collection_host_subnet_with_http_info(self, * >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.delete_network_openshift_io_v1_collection_host_subnet_with_http_info(callback=callback_function) + >>> thread = api.delete_collection_host_subnet_with_http_info(callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param str pretty: If 'true', then the output is pretty printed. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param bool include_uninitialized: If true, partially initialized resources are included in the response. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. - :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. + :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. :param int timeout_seconds: Timeout for the list/watch call. :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - :return: UnversionedStatus + :return: V1Status If the method is called asynchronously, returns the request thread. """ - all_params = ['pretty', 'field_selector', 'label_selector', 'resource_version', 'timeout_seconds', 'watch'] + all_params = ['pretty', 'field_selector', 'include_uninitialized', 'label_selector', 'resource_version', 'timeout_seconds', 'watch'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -903,7 +913,7 @@ def delete_network_openshift_io_v1_collection_host_subnet_with_http_info(self, * if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method delete_network_openshift_io_v1_collection_host_subnet" % key + " to method delete_collection_host_subnet" % key ) params[key] = val del params['kwargs'] @@ -919,6 +929,8 @@ def delete_network_openshift_io_v1_collection_host_subnet_with_http_info(self, * query_params['pretty'] = params['pretty'] if 'field_selector' in params: query_params['fieldSelector'] = params['field_selector'] + if 'include_uninitialized' in params: + query_params['includeUninitialized'] = params['include_uninitialized'] if 'label_selector' in params: query_params['labelSelector'] = params['label_selector'] if 'resource_version' in params: @@ -943,7 +955,7 @@ def delete_network_openshift_io_v1_collection_host_subnet_with_http_info(self, * select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'DELETE', path_params, @@ -952,7 +964,7 @@ def delete_network_openshift_io_v1_collection_host_subnet_with_http_info(self, * body=body_params, post_params=form_params, files=local_var_files, - response_type='UnversionedStatus', + response_type='V1Status', auth_settings=auth_settings, callback=params.get('callback'), _return_http_data_only=params.get('_return_http_data_only'), @@ -960,7 +972,7 @@ def delete_network_openshift_io_v1_collection_host_subnet_with_http_info(self, * _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def delete_network_openshift_io_v1_collection_namespaced_egress_network_policy(self, namespace, **kwargs): + def delete_collection_namespaced_egress_network_policy(self, namespace, **kwargs): """ delete collection of EgressNetworkPolicy This method makes a synchronous HTTP request by default. To make an @@ -969,29 +981,30 @@ def delete_network_openshift_io_v1_collection_namespaced_egress_network_policy(s >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.delete_network_openshift_io_v1_collection_namespaced_egress_network_policy(namespace, callback=callback_function) + >>> thread = api.delete_collection_namespaced_egress_network_policy(namespace, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param str namespace: object name and auth scope, such as for teams and projects (required) :param str pretty: If 'true', then the output is pretty printed. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param bool include_uninitialized: If true, partially initialized resources are included in the response. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. - :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. + :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. :param int timeout_seconds: Timeout for the list/watch call. :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - :return: UnversionedStatus + :return: V1Status If the method is called asynchronously, returns the request thread. """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.delete_network_openshift_io_v1_collection_namespaced_egress_network_policy_with_http_info(namespace, **kwargs) + return self.delete_collection_namespaced_egress_network_policy_with_http_info(namespace, **kwargs) else: - (data) = self.delete_network_openshift_io_v1_collection_namespaced_egress_network_policy_with_http_info(namespace, **kwargs) + (data) = self.delete_collection_namespaced_egress_network_policy_with_http_info(namespace, **kwargs) return data - def delete_network_openshift_io_v1_collection_namespaced_egress_network_policy_with_http_info(self, namespace, **kwargs): + def delete_collection_namespaced_egress_network_policy_with_http_info(self, namespace, **kwargs): """ delete collection of EgressNetworkPolicy This method makes a synchronous HTTP request by default. To make an @@ -1000,23 +1013,24 @@ def delete_network_openshift_io_v1_collection_namespaced_egress_network_policy_w >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.delete_network_openshift_io_v1_collection_namespaced_egress_network_policy_with_http_info(namespace, callback=callback_function) + >>> thread = api.delete_collection_namespaced_egress_network_policy_with_http_info(namespace, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param str namespace: object name and auth scope, such as for teams and projects (required) :param str pretty: If 'true', then the output is pretty printed. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param bool include_uninitialized: If true, partially initialized resources are included in the response. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. - :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. + :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. :param int timeout_seconds: Timeout for the list/watch call. :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - :return: UnversionedStatus + :return: V1Status If the method is called asynchronously, returns the request thread. """ - all_params = ['namespace', 'pretty', 'field_selector', 'label_selector', 'resource_version', 'timeout_seconds', 'watch'] + all_params = ['namespace', 'pretty', 'field_selector', 'include_uninitialized', 'label_selector', 'resource_version', 'timeout_seconds', 'watch'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -1027,13 +1041,13 @@ def delete_network_openshift_io_v1_collection_namespaced_egress_network_policy_w if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method delete_network_openshift_io_v1_collection_namespaced_egress_network_policy" % key + " to method delete_collection_namespaced_egress_network_policy" % key ) params[key] = val del params['kwargs'] # verify the required parameter 'namespace' is set if ('namespace' not in params) or (params['namespace'] is None): - raise ValueError("Missing the required parameter `namespace` when calling `delete_network_openshift_io_v1_collection_namespaced_egress_network_policy`") + raise ValueError("Missing the required parameter `namespace` when calling `delete_collection_namespaced_egress_network_policy`") collection_formats = {} @@ -1048,6 +1062,8 @@ def delete_network_openshift_io_v1_collection_namespaced_egress_network_policy_w query_params['pretty'] = params['pretty'] if 'field_selector' in params: query_params['fieldSelector'] = params['field_selector'] + if 'include_uninitialized' in params: + query_params['includeUninitialized'] = params['include_uninitialized'] if 'label_selector' in params: query_params['labelSelector'] = params['label_selector'] if 'resource_version' in params: @@ -1072,7 +1088,7 @@ def delete_network_openshift_io_v1_collection_namespaced_egress_network_policy_w select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'DELETE', path_params, @@ -1081,7 +1097,7 @@ def delete_network_openshift_io_v1_collection_namespaced_egress_network_policy_w body=body_params, post_params=form_params, files=local_var_files, - response_type='UnversionedStatus', + response_type='V1Status', auth_settings=auth_settings, callback=params.get('callback'), _return_http_data_only=params.get('_return_http_data_only'), @@ -1089,7 +1105,7 @@ def delete_network_openshift_io_v1_collection_namespaced_egress_network_policy_w _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def delete_network_openshift_io_v1_collection_net_namespace(self, **kwargs): + def delete_collection_net_namespace(self, **kwargs): """ delete collection of NetNamespace This method makes a synchronous HTTP request by default. To make an @@ -1098,28 +1114,29 @@ def delete_network_openshift_io_v1_collection_net_namespace(self, **kwargs): >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.delete_network_openshift_io_v1_collection_net_namespace(callback=callback_function) + >>> thread = api.delete_collection_net_namespace(callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param str pretty: If 'true', then the output is pretty printed. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param bool include_uninitialized: If true, partially initialized resources are included in the response. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. - :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. + :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. :param int timeout_seconds: Timeout for the list/watch call. :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - :return: UnversionedStatus + :return: V1Status If the method is called asynchronously, returns the request thread. """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.delete_network_openshift_io_v1_collection_net_namespace_with_http_info(**kwargs) + return self.delete_collection_net_namespace_with_http_info(**kwargs) else: - (data) = self.delete_network_openshift_io_v1_collection_net_namespace_with_http_info(**kwargs) + (data) = self.delete_collection_net_namespace_with_http_info(**kwargs) return data - def delete_network_openshift_io_v1_collection_net_namespace_with_http_info(self, **kwargs): + def delete_collection_net_namespace_with_http_info(self, **kwargs): """ delete collection of NetNamespace This method makes a synchronous HTTP request by default. To make an @@ -1128,22 +1145,23 @@ def delete_network_openshift_io_v1_collection_net_namespace_with_http_info(self, >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.delete_network_openshift_io_v1_collection_net_namespace_with_http_info(callback=callback_function) + >>> thread = api.delete_collection_net_namespace_with_http_info(callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param str pretty: If 'true', then the output is pretty printed. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param bool include_uninitialized: If true, partially initialized resources are included in the response. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. - :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. + :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. :param int timeout_seconds: Timeout for the list/watch call. :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - :return: UnversionedStatus + :return: V1Status If the method is called asynchronously, returns the request thread. """ - all_params = ['pretty', 'field_selector', 'label_selector', 'resource_version', 'timeout_seconds', 'watch'] + all_params = ['pretty', 'field_selector', 'include_uninitialized', 'label_selector', 'resource_version', 'timeout_seconds', 'watch'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -1154,7 +1172,7 @@ def delete_network_openshift_io_v1_collection_net_namespace_with_http_info(self, if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method delete_network_openshift_io_v1_collection_net_namespace" % key + " to method delete_collection_net_namespace" % key ) params[key] = val del params['kwargs'] @@ -1170,6 +1188,8 @@ def delete_network_openshift_io_v1_collection_net_namespace_with_http_info(self, query_params['pretty'] = params['pretty'] if 'field_selector' in params: query_params['fieldSelector'] = params['field_selector'] + if 'include_uninitialized' in params: + query_params['includeUninitialized'] = params['include_uninitialized'] if 'label_selector' in params: query_params['labelSelector'] = params['label_selector'] if 'resource_version' in params: @@ -1194,7 +1214,7 @@ def delete_network_openshift_io_v1_collection_net_namespace_with_http_info(self, select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'DELETE', path_params, @@ -1203,7 +1223,7 @@ def delete_network_openshift_io_v1_collection_net_namespace_with_http_info(self, body=body_params, post_params=form_params, files=local_var_files, - response_type='UnversionedStatus', + response_type='V1Status', auth_settings=auth_settings, callback=params.get('callback'), _return_http_data_only=params.get('_return_http_data_only'), @@ -1211,7 +1231,7 @@ def delete_network_openshift_io_v1_collection_net_namespace_with_http_info(self, _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def delete_network_openshift_io_v1_host_subnet(self, name, body, **kwargs): + def delete_host_subnet(self, name, body, **kwargs): """ delete a HostSubnet This method makes a synchronous HTTP request by default. To make an @@ -1220,7 +1240,7 @@ def delete_network_openshift_io_v1_host_subnet(self, name, body, **kwargs): >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.delete_network_openshift_io_v1_host_subnet(name, body, callback=callback_function) + >>> thread = api.delete_host_subnet(name, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) @@ -1228,19 +1248,20 @@ def delete_network_openshift_io_v1_host_subnet(self, name, body, **kwargs): :param V1DeleteOptions body: (required) :param str pretty: If 'true', then the output is pretty printed. :param int grace_period_seconds: 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. - :param bool orphan_dependents: Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. - :return: UnversionedStatus + :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. + :param str propagation_policy: Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. + :return: V1Status If the method is called asynchronously, returns the request thread. """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.delete_network_openshift_io_v1_host_subnet_with_http_info(name, body, **kwargs) + return self.delete_host_subnet_with_http_info(name, body, **kwargs) else: - (data) = self.delete_network_openshift_io_v1_host_subnet_with_http_info(name, body, **kwargs) + (data) = self.delete_host_subnet_with_http_info(name, body, **kwargs) return data - def delete_network_openshift_io_v1_host_subnet_with_http_info(self, name, body, **kwargs): + def delete_host_subnet_with_http_info(self, name, body, **kwargs): """ delete a HostSubnet This method makes a synchronous HTTP request by default. To make an @@ -1249,7 +1270,7 @@ def delete_network_openshift_io_v1_host_subnet_with_http_info(self, name, body, >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.delete_network_openshift_io_v1_host_subnet_with_http_info(name, body, callback=callback_function) + >>> thread = api.delete_host_subnet_with_http_info(name, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) @@ -1257,13 +1278,14 @@ def delete_network_openshift_io_v1_host_subnet_with_http_info(self, name, body, :param V1DeleteOptions body: (required) :param str pretty: If 'true', then the output is pretty printed. :param int grace_period_seconds: 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. - :param bool orphan_dependents: Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. - :return: UnversionedStatus + :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. + :param str propagation_policy: Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. + :return: V1Status If the method is called asynchronously, returns the request thread. """ - all_params = ['name', 'body', 'pretty', 'grace_period_seconds', 'orphan_dependents'] + all_params = ['name', 'body', 'pretty', 'grace_period_seconds', 'orphan_dependents', 'propagation_policy'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -1274,16 +1296,16 @@ def delete_network_openshift_io_v1_host_subnet_with_http_info(self, name, body, if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method delete_network_openshift_io_v1_host_subnet" % key + " to method delete_host_subnet" % key ) params[key] = val del params['kwargs'] # verify the required parameter 'name' is set if ('name' not in params) or (params['name'] is None): - raise ValueError("Missing the required parameter `name` when calling `delete_network_openshift_io_v1_host_subnet`") + raise ValueError("Missing the required parameter `name` when calling `delete_host_subnet`") # verify the required parameter 'body' is set if ('body' not in params) or (params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `delete_network_openshift_io_v1_host_subnet`") + raise ValueError("Missing the required parameter `body` when calling `delete_host_subnet`") collection_formats = {} @@ -1300,6 +1322,8 @@ def delete_network_openshift_io_v1_host_subnet_with_http_info(self, name, body, query_params['gracePeriodSeconds'] = params['grace_period_seconds'] if 'orphan_dependents' in params: query_params['orphanDependents'] = params['orphan_dependents'] + if 'propagation_policy' in params: + query_params['propagationPolicy'] = params['propagation_policy'] header_params = {} @@ -1318,7 +1342,7 @@ def delete_network_openshift_io_v1_host_subnet_with_http_info(self, name, body, select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'DELETE', path_params, @@ -1327,7 +1351,7 @@ def delete_network_openshift_io_v1_host_subnet_with_http_info(self, name, body, body=body_params, post_params=form_params, files=local_var_files, - response_type='UnversionedStatus', + response_type='V1Status', auth_settings=auth_settings, callback=params.get('callback'), _return_http_data_only=params.get('_return_http_data_only'), @@ -1335,7 +1359,7 @@ def delete_network_openshift_io_v1_host_subnet_with_http_info(self, name, body, _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def delete_network_openshift_io_v1_namespaced_egress_network_policy(self, name, namespace, body, **kwargs): + def delete_namespaced_egress_network_policy(self, name, namespace, body, **kwargs): """ delete an EgressNetworkPolicy This method makes a synchronous HTTP request by default. To make an @@ -1344,7 +1368,7 @@ def delete_network_openshift_io_v1_namespaced_egress_network_policy(self, name, >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.delete_network_openshift_io_v1_namespaced_egress_network_policy(name, namespace, body, callback=callback_function) + >>> thread = api.delete_namespaced_egress_network_policy(name, namespace, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) @@ -1353,19 +1377,20 @@ def delete_network_openshift_io_v1_namespaced_egress_network_policy(self, name, :param V1DeleteOptions body: (required) :param str pretty: If 'true', then the output is pretty printed. :param int grace_period_seconds: 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. - :param bool orphan_dependents: Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. - :return: UnversionedStatus + :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. + :param str propagation_policy: Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. + :return: V1Status If the method is called asynchronously, returns the request thread. """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.delete_network_openshift_io_v1_namespaced_egress_network_policy_with_http_info(name, namespace, body, **kwargs) + return self.delete_namespaced_egress_network_policy_with_http_info(name, namespace, body, **kwargs) else: - (data) = self.delete_network_openshift_io_v1_namespaced_egress_network_policy_with_http_info(name, namespace, body, **kwargs) + (data) = self.delete_namespaced_egress_network_policy_with_http_info(name, namespace, body, **kwargs) return data - def delete_network_openshift_io_v1_namespaced_egress_network_policy_with_http_info(self, name, namespace, body, **kwargs): + def delete_namespaced_egress_network_policy_with_http_info(self, name, namespace, body, **kwargs): """ delete an EgressNetworkPolicy This method makes a synchronous HTTP request by default. To make an @@ -1374,7 +1399,7 @@ def delete_network_openshift_io_v1_namespaced_egress_network_policy_with_http_in >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.delete_network_openshift_io_v1_namespaced_egress_network_policy_with_http_info(name, namespace, body, callback=callback_function) + >>> thread = api.delete_namespaced_egress_network_policy_with_http_info(name, namespace, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) @@ -1383,13 +1408,14 @@ def delete_network_openshift_io_v1_namespaced_egress_network_policy_with_http_in :param V1DeleteOptions body: (required) :param str pretty: If 'true', then the output is pretty printed. :param int grace_period_seconds: 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. - :param bool orphan_dependents: Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. - :return: UnversionedStatus + :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. + :param str propagation_policy: Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. + :return: V1Status If the method is called asynchronously, returns the request thread. """ - all_params = ['name', 'namespace', 'body', 'pretty', 'grace_period_seconds', 'orphan_dependents'] + all_params = ['name', 'namespace', 'body', 'pretty', 'grace_period_seconds', 'orphan_dependents', 'propagation_policy'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -1400,19 +1426,19 @@ def delete_network_openshift_io_v1_namespaced_egress_network_policy_with_http_in if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method delete_network_openshift_io_v1_namespaced_egress_network_policy" % key + " to method delete_namespaced_egress_network_policy" % key ) params[key] = val del params['kwargs'] # verify the required parameter 'name' is set if ('name' not in params) or (params['name'] is None): - raise ValueError("Missing the required parameter `name` when calling `delete_network_openshift_io_v1_namespaced_egress_network_policy`") + raise ValueError("Missing the required parameter `name` when calling `delete_namespaced_egress_network_policy`") # verify the required parameter 'namespace' is set if ('namespace' not in params) or (params['namespace'] is None): - raise ValueError("Missing the required parameter `namespace` when calling `delete_network_openshift_io_v1_namespaced_egress_network_policy`") + raise ValueError("Missing the required parameter `namespace` when calling `delete_namespaced_egress_network_policy`") # verify the required parameter 'body' is set if ('body' not in params) or (params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `delete_network_openshift_io_v1_namespaced_egress_network_policy`") + raise ValueError("Missing the required parameter `body` when calling `delete_namespaced_egress_network_policy`") collection_formats = {} @@ -1431,6 +1457,8 @@ def delete_network_openshift_io_v1_namespaced_egress_network_policy_with_http_in query_params['gracePeriodSeconds'] = params['grace_period_seconds'] if 'orphan_dependents' in params: query_params['orphanDependents'] = params['orphan_dependents'] + if 'propagation_policy' in params: + query_params['propagationPolicy'] = params['propagation_policy'] header_params = {} @@ -1449,7 +1477,7 @@ def delete_network_openshift_io_v1_namespaced_egress_network_policy_with_http_in select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'DELETE', path_params, @@ -1458,7 +1486,7 @@ def delete_network_openshift_io_v1_namespaced_egress_network_policy_with_http_in body=body_params, post_params=form_params, files=local_var_files, - response_type='UnversionedStatus', + response_type='V1Status', auth_settings=auth_settings, callback=params.get('callback'), _return_http_data_only=params.get('_return_http_data_only'), @@ -1466,7 +1494,7 @@ def delete_network_openshift_io_v1_namespaced_egress_network_policy_with_http_in _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def delete_network_openshift_io_v1_net_namespace(self, name, body, **kwargs): + def delete_net_namespace(self, name, body, **kwargs): """ delete a NetNamespace This method makes a synchronous HTTP request by default. To make an @@ -1475,7 +1503,7 @@ def delete_network_openshift_io_v1_net_namespace(self, name, body, **kwargs): >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.delete_network_openshift_io_v1_net_namespace(name, body, callback=callback_function) + >>> thread = api.delete_net_namespace(name, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) @@ -1483,19 +1511,20 @@ def delete_network_openshift_io_v1_net_namespace(self, name, body, **kwargs): :param V1DeleteOptions body: (required) :param str pretty: If 'true', then the output is pretty printed. :param int grace_period_seconds: 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. - :param bool orphan_dependents: Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. - :return: UnversionedStatus + :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. + :param str propagation_policy: Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. + :return: V1Status If the method is called asynchronously, returns the request thread. """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.delete_network_openshift_io_v1_net_namespace_with_http_info(name, body, **kwargs) + return self.delete_net_namespace_with_http_info(name, body, **kwargs) else: - (data) = self.delete_network_openshift_io_v1_net_namespace_with_http_info(name, body, **kwargs) + (data) = self.delete_net_namespace_with_http_info(name, body, **kwargs) return data - def delete_network_openshift_io_v1_net_namespace_with_http_info(self, name, body, **kwargs): + def delete_net_namespace_with_http_info(self, name, body, **kwargs): """ delete a NetNamespace This method makes a synchronous HTTP request by default. To make an @@ -1504,7 +1533,7 @@ def delete_network_openshift_io_v1_net_namespace_with_http_info(self, name, body >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.delete_network_openshift_io_v1_net_namespace_with_http_info(name, body, callback=callback_function) + >>> thread = api.delete_net_namespace_with_http_info(name, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) @@ -1512,13 +1541,14 @@ def delete_network_openshift_io_v1_net_namespace_with_http_info(self, name, body :param V1DeleteOptions body: (required) :param str pretty: If 'true', then the output is pretty printed. :param int grace_period_seconds: 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. - :param bool orphan_dependents: Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. - :return: UnversionedStatus + :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. + :param str propagation_policy: Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. + :return: V1Status If the method is called asynchronously, returns the request thread. """ - all_params = ['name', 'body', 'pretty', 'grace_period_seconds', 'orphan_dependents'] + all_params = ['name', 'body', 'pretty', 'grace_period_seconds', 'orphan_dependents', 'propagation_policy'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -1529,16 +1559,16 @@ def delete_network_openshift_io_v1_net_namespace_with_http_info(self, name, body if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method delete_network_openshift_io_v1_net_namespace" % key + " to method delete_net_namespace" % key ) params[key] = val del params['kwargs'] # verify the required parameter 'name' is set if ('name' not in params) or (params['name'] is None): - raise ValueError("Missing the required parameter `name` when calling `delete_network_openshift_io_v1_net_namespace`") + raise ValueError("Missing the required parameter `name` when calling `delete_net_namespace`") # verify the required parameter 'body' is set if ('body' not in params) or (params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `delete_network_openshift_io_v1_net_namespace`") + raise ValueError("Missing the required parameter `body` when calling `delete_net_namespace`") collection_formats = {} @@ -1555,6 +1585,8 @@ def delete_network_openshift_io_v1_net_namespace_with_http_info(self, name, body query_params['gracePeriodSeconds'] = params['grace_period_seconds'] if 'orphan_dependents' in params: query_params['orphanDependents'] = params['orphan_dependents'] + if 'propagation_policy' in params: + query_params['propagationPolicy'] = params['propagation_policy'] header_params = {} @@ -1573,7 +1605,7 @@ def delete_network_openshift_io_v1_net_namespace_with_http_info(self, name, body select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'DELETE', path_params, @@ -1582,7 +1614,7 @@ def delete_network_openshift_io_v1_net_namespace_with_http_info(self, name, body body=body_params, post_params=form_params, files=local_var_files, - response_type='UnversionedStatus', + response_type='V1Status', auth_settings=auth_settings, callback=params.get('callback'), _return_http_data_only=params.get('_return_http_data_only'), @@ -1590,7 +1622,7 @@ def delete_network_openshift_io_v1_net_namespace_with_http_info(self, name, body _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def get_network_openshift_io_v1_api_resources(self, **kwargs): + def get_api_resources(self, **kwargs): """ get available resources This method makes a synchronous HTTP request by default. To make an @@ -1599,22 +1631,22 @@ def get_network_openshift_io_v1_api_resources(self, **kwargs): >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.get_network_openshift_io_v1_api_resources(callback=callback_function) + >>> thread = api.get_api_resources(callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) - :return: UnversionedAPIResourceList + :return: V1APIResourceList If the method is called asynchronously, returns the request thread. """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.get_network_openshift_io_v1_api_resources_with_http_info(**kwargs) + return self.get_api_resources_with_http_info(**kwargs) else: - (data) = self.get_network_openshift_io_v1_api_resources_with_http_info(**kwargs) + (data) = self.get_api_resources_with_http_info(**kwargs) return data - def get_network_openshift_io_v1_api_resources_with_http_info(self, **kwargs): + def get_api_resources_with_http_info(self, **kwargs): """ get available resources This method makes a synchronous HTTP request by default. To make an @@ -1623,11 +1655,11 @@ def get_network_openshift_io_v1_api_resources_with_http_info(self, **kwargs): >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.get_network_openshift_io_v1_api_resources_with_http_info(callback=callback_function) + >>> thread = api.get_api_resources_with_http_info(callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) - :return: UnversionedAPIResourceList + :return: V1APIResourceList If the method is called asynchronously, returns the request thread. """ @@ -1643,7 +1675,7 @@ def get_network_openshift_io_v1_api_resources_with_http_info(self, **kwargs): if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method get_network_openshift_io_v1_api_resources" % key + " to method get_api_resources" % key ) params[key] = val del params['kwargs'] @@ -1670,7 +1702,7 @@ def get_network_openshift_io_v1_api_resources_with_http_info(self, **kwargs): select_header_content_type(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -1679,7 +1711,7 @@ def get_network_openshift_io_v1_api_resources_with_http_info(self, **kwargs): body=body_params, post_params=form_params, files=local_var_files, - response_type='UnversionedAPIResourceList', + response_type='V1APIResourceList', auth_settings=auth_settings, callback=params.get('callback'), _return_http_data_only=params.get('_return_http_data_only'), @@ -1687,7 +1719,7 @@ def get_network_openshift_io_v1_api_resources_with_http_info(self, **kwargs): _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def list_network_openshift_io_v1_cluster_network(self, **kwargs): + def list_cluster_network(self, **kwargs): """ list or watch objects of kind ClusterNetwork This method makes a synchronous HTTP request by default. To make an @@ -1696,14 +1728,15 @@ def list_network_openshift_io_v1_cluster_network(self, **kwargs): >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.list_network_openshift_io_v1_cluster_network(callback=callback_function) + >>> thread = api.list_cluster_network(callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param str pretty: If 'true', then the output is pretty printed. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param bool include_uninitialized: If true, partially initialized resources are included in the response. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. - :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. + :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. :param int timeout_seconds: Timeout for the list/watch call. :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. :return: V1ClusterNetworkList @@ -1712,12 +1745,12 @@ def list_network_openshift_io_v1_cluster_network(self, **kwargs): """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.list_network_openshift_io_v1_cluster_network_with_http_info(**kwargs) + return self.list_cluster_network_with_http_info(**kwargs) else: - (data) = self.list_network_openshift_io_v1_cluster_network_with_http_info(**kwargs) + (data) = self.list_cluster_network_with_http_info(**kwargs) return data - def list_network_openshift_io_v1_cluster_network_with_http_info(self, **kwargs): + def list_cluster_network_with_http_info(self, **kwargs): """ list or watch objects of kind ClusterNetwork This method makes a synchronous HTTP request by default. To make an @@ -1726,14 +1759,15 @@ def list_network_openshift_io_v1_cluster_network_with_http_info(self, **kwargs): >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.list_network_openshift_io_v1_cluster_network_with_http_info(callback=callback_function) + >>> thread = api.list_cluster_network_with_http_info(callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param str pretty: If 'true', then the output is pretty printed. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param bool include_uninitialized: If true, partially initialized resources are included in the response. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. - :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. + :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. :param int timeout_seconds: Timeout for the list/watch call. :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. :return: V1ClusterNetworkList @@ -1741,7 +1775,7 @@ def list_network_openshift_io_v1_cluster_network_with_http_info(self, **kwargs): returns the request thread. """ - all_params = ['pretty', 'field_selector', 'label_selector', 'resource_version', 'timeout_seconds', 'watch'] + all_params = ['pretty', 'field_selector', 'include_uninitialized', 'label_selector', 'resource_version', 'timeout_seconds', 'watch'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -1752,7 +1786,7 @@ def list_network_openshift_io_v1_cluster_network_with_http_info(self, **kwargs): if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method list_network_openshift_io_v1_cluster_network" % key + " to method list_cluster_network" % key ) params[key] = val del params['kwargs'] @@ -1768,6 +1802,8 @@ def list_network_openshift_io_v1_cluster_network_with_http_info(self, **kwargs): query_params['pretty'] = params['pretty'] if 'field_selector' in params: query_params['fieldSelector'] = params['field_selector'] + if 'include_uninitialized' in params: + query_params['includeUninitialized'] = params['include_uninitialized'] if 'label_selector' in params: query_params['labelSelector'] = params['label_selector'] if 'resource_version' in params: @@ -1792,7 +1828,7 @@ def list_network_openshift_io_v1_cluster_network_with_http_info(self, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -1809,7 +1845,7 @@ def list_network_openshift_io_v1_cluster_network_with_http_info(self, **kwargs): _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def list_network_openshift_io_v1_egress_network_policy_for_all_namespaces(self, **kwargs): + def list_egress_network_policy_for_all_namespaces(self, **kwargs): """ list or watch objects of kind EgressNetworkPolicy This method makes a synchronous HTTP request by default. To make an @@ -1818,14 +1854,15 @@ def list_network_openshift_io_v1_egress_network_policy_for_all_namespaces(self, >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.list_network_openshift_io_v1_egress_network_policy_for_all_namespaces(callback=callback_function) + >>> thread = api.list_egress_network_policy_for_all_namespaces(callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param str pretty: If 'true', then the output is pretty printed. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param bool include_uninitialized: If true, partially initialized resources are included in the response. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. - :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. + :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. :param int timeout_seconds: Timeout for the list/watch call. :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. :return: V1EgressNetworkPolicyList @@ -1834,12 +1871,12 @@ def list_network_openshift_io_v1_egress_network_policy_for_all_namespaces(self, """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.list_network_openshift_io_v1_egress_network_policy_for_all_namespaces_with_http_info(**kwargs) + return self.list_egress_network_policy_for_all_namespaces_with_http_info(**kwargs) else: - (data) = self.list_network_openshift_io_v1_egress_network_policy_for_all_namespaces_with_http_info(**kwargs) + (data) = self.list_egress_network_policy_for_all_namespaces_with_http_info(**kwargs) return data - def list_network_openshift_io_v1_egress_network_policy_for_all_namespaces_with_http_info(self, **kwargs): + def list_egress_network_policy_for_all_namespaces_with_http_info(self, **kwargs): """ list or watch objects of kind EgressNetworkPolicy This method makes a synchronous HTTP request by default. To make an @@ -1848,14 +1885,15 @@ def list_network_openshift_io_v1_egress_network_policy_for_all_namespaces_with_h >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.list_network_openshift_io_v1_egress_network_policy_for_all_namespaces_with_http_info(callback=callback_function) + >>> thread = api.list_egress_network_policy_for_all_namespaces_with_http_info(callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param str pretty: If 'true', then the output is pretty printed. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param bool include_uninitialized: If true, partially initialized resources are included in the response. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. - :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. + :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. :param int timeout_seconds: Timeout for the list/watch call. :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. :return: V1EgressNetworkPolicyList @@ -1863,7 +1901,7 @@ def list_network_openshift_io_v1_egress_network_policy_for_all_namespaces_with_h returns the request thread. """ - all_params = ['pretty', 'field_selector', 'label_selector', 'resource_version', 'timeout_seconds', 'watch'] + all_params = ['pretty', 'field_selector', 'include_uninitialized', 'label_selector', 'resource_version', 'timeout_seconds', 'watch'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -1874,7 +1912,7 @@ def list_network_openshift_io_v1_egress_network_policy_for_all_namespaces_with_h if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method list_network_openshift_io_v1_egress_network_policy_for_all_namespaces" % key + " to method list_egress_network_policy_for_all_namespaces" % key ) params[key] = val del params['kwargs'] @@ -1890,6 +1928,8 @@ def list_network_openshift_io_v1_egress_network_policy_for_all_namespaces_with_h query_params['pretty'] = params['pretty'] if 'field_selector' in params: query_params['fieldSelector'] = params['field_selector'] + if 'include_uninitialized' in params: + query_params['includeUninitialized'] = params['include_uninitialized'] if 'label_selector' in params: query_params['labelSelector'] = params['label_selector'] if 'resource_version' in params: @@ -1914,7 +1954,7 @@ def list_network_openshift_io_v1_egress_network_policy_for_all_namespaces_with_h select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -1931,7 +1971,7 @@ def list_network_openshift_io_v1_egress_network_policy_for_all_namespaces_with_h _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def list_network_openshift_io_v1_host_subnet(self, **kwargs): + def list_host_subnet(self, **kwargs): """ list or watch objects of kind HostSubnet This method makes a synchronous HTTP request by default. To make an @@ -1940,14 +1980,15 @@ def list_network_openshift_io_v1_host_subnet(self, **kwargs): >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.list_network_openshift_io_v1_host_subnet(callback=callback_function) + >>> thread = api.list_host_subnet(callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param str pretty: If 'true', then the output is pretty printed. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param bool include_uninitialized: If true, partially initialized resources are included in the response. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. - :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. + :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. :param int timeout_seconds: Timeout for the list/watch call. :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. :return: V1HostSubnetList @@ -1956,12 +1997,12 @@ def list_network_openshift_io_v1_host_subnet(self, **kwargs): """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.list_network_openshift_io_v1_host_subnet_with_http_info(**kwargs) + return self.list_host_subnet_with_http_info(**kwargs) else: - (data) = self.list_network_openshift_io_v1_host_subnet_with_http_info(**kwargs) + (data) = self.list_host_subnet_with_http_info(**kwargs) return data - def list_network_openshift_io_v1_host_subnet_with_http_info(self, **kwargs): + def list_host_subnet_with_http_info(self, **kwargs): """ list or watch objects of kind HostSubnet This method makes a synchronous HTTP request by default. To make an @@ -1970,14 +2011,15 @@ def list_network_openshift_io_v1_host_subnet_with_http_info(self, **kwargs): >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.list_network_openshift_io_v1_host_subnet_with_http_info(callback=callback_function) + >>> thread = api.list_host_subnet_with_http_info(callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param str pretty: If 'true', then the output is pretty printed. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param bool include_uninitialized: If true, partially initialized resources are included in the response. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. - :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. + :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. :param int timeout_seconds: Timeout for the list/watch call. :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. :return: V1HostSubnetList @@ -1985,7 +2027,7 @@ def list_network_openshift_io_v1_host_subnet_with_http_info(self, **kwargs): returns the request thread. """ - all_params = ['pretty', 'field_selector', 'label_selector', 'resource_version', 'timeout_seconds', 'watch'] + all_params = ['pretty', 'field_selector', 'include_uninitialized', 'label_selector', 'resource_version', 'timeout_seconds', 'watch'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -1996,7 +2038,7 @@ def list_network_openshift_io_v1_host_subnet_with_http_info(self, **kwargs): if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method list_network_openshift_io_v1_host_subnet" % key + " to method list_host_subnet" % key ) params[key] = val del params['kwargs'] @@ -2012,6 +2054,8 @@ def list_network_openshift_io_v1_host_subnet_with_http_info(self, **kwargs): query_params['pretty'] = params['pretty'] if 'field_selector' in params: query_params['fieldSelector'] = params['field_selector'] + if 'include_uninitialized' in params: + query_params['includeUninitialized'] = params['include_uninitialized'] if 'label_selector' in params: query_params['labelSelector'] = params['label_selector'] if 'resource_version' in params: @@ -2036,7 +2080,7 @@ def list_network_openshift_io_v1_host_subnet_with_http_info(self, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -2053,7 +2097,7 @@ def list_network_openshift_io_v1_host_subnet_with_http_info(self, **kwargs): _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def list_network_openshift_io_v1_namespaced_egress_network_policy(self, namespace, **kwargs): + def list_namespaced_egress_network_policy(self, namespace, **kwargs): """ list or watch objects of kind EgressNetworkPolicy This method makes a synchronous HTTP request by default. To make an @@ -2062,15 +2106,16 @@ def list_network_openshift_io_v1_namespaced_egress_network_policy(self, namespac >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.list_network_openshift_io_v1_namespaced_egress_network_policy(namespace, callback=callback_function) + >>> thread = api.list_namespaced_egress_network_policy(namespace, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param str namespace: object name and auth scope, such as for teams and projects (required) :param str pretty: If 'true', then the output is pretty printed. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param bool include_uninitialized: If true, partially initialized resources are included in the response. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. - :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. + :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. :param int timeout_seconds: Timeout for the list/watch call. :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. :return: V1EgressNetworkPolicyList @@ -2079,12 +2124,12 @@ def list_network_openshift_io_v1_namespaced_egress_network_policy(self, namespac """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.list_network_openshift_io_v1_namespaced_egress_network_policy_with_http_info(namespace, **kwargs) + return self.list_namespaced_egress_network_policy_with_http_info(namespace, **kwargs) else: - (data) = self.list_network_openshift_io_v1_namespaced_egress_network_policy_with_http_info(namespace, **kwargs) + (data) = self.list_namespaced_egress_network_policy_with_http_info(namespace, **kwargs) return data - def list_network_openshift_io_v1_namespaced_egress_network_policy_with_http_info(self, namespace, **kwargs): + def list_namespaced_egress_network_policy_with_http_info(self, namespace, **kwargs): """ list or watch objects of kind EgressNetworkPolicy This method makes a synchronous HTTP request by default. To make an @@ -2093,15 +2138,16 @@ def list_network_openshift_io_v1_namespaced_egress_network_policy_with_http_info >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.list_network_openshift_io_v1_namespaced_egress_network_policy_with_http_info(namespace, callback=callback_function) + >>> thread = api.list_namespaced_egress_network_policy_with_http_info(namespace, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param str namespace: object name and auth scope, such as for teams and projects (required) :param str pretty: If 'true', then the output is pretty printed. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param bool include_uninitialized: If true, partially initialized resources are included in the response. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. - :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. + :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. :param int timeout_seconds: Timeout for the list/watch call. :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. :return: V1EgressNetworkPolicyList @@ -2109,7 +2155,7 @@ def list_network_openshift_io_v1_namespaced_egress_network_policy_with_http_info returns the request thread. """ - all_params = ['namespace', 'pretty', 'field_selector', 'label_selector', 'resource_version', 'timeout_seconds', 'watch'] + all_params = ['namespace', 'pretty', 'field_selector', 'include_uninitialized', 'label_selector', 'resource_version', 'timeout_seconds', 'watch'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -2120,13 +2166,13 @@ def list_network_openshift_io_v1_namespaced_egress_network_policy_with_http_info if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method list_network_openshift_io_v1_namespaced_egress_network_policy" % key + " to method list_namespaced_egress_network_policy" % key ) params[key] = val del params['kwargs'] # verify the required parameter 'namespace' is set if ('namespace' not in params) or (params['namespace'] is None): - raise ValueError("Missing the required parameter `namespace` when calling `list_network_openshift_io_v1_namespaced_egress_network_policy`") + raise ValueError("Missing the required parameter `namespace` when calling `list_namespaced_egress_network_policy`") collection_formats = {} @@ -2141,6 +2187,8 @@ def list_network_openshift_io_v1_namespaced_egress_network_policy_with_http_info query_params['pretty'] = params['pretty'] if 'field_selector' in params: query_params['fieldSelector'] = params['field_selector'] + if 'include_uninitialized' in params: + query_params['includeUninitialized'] = params['include_uninitialized'] if 'label_selector' in params: query_params['labelSelector'] = params['label_selector'] if 'resource_version' in params: @@ -2165,7 +2213,7 @@ def list_network_openshift_io_v1_namespaced_egress_network_policy_with_http_info select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -2182,7 +2230,7 @@ def list_network_openshift_io_v1_namespaced_egress_network_policy_with_http_info _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def list_network_openshift_io_v1_net_namespace(self, **kwargs): + def list_net_namespace(self, **kwargs): """ list or watch objects of kind NetNamespace This method makes a synchronous HTTP request by default. To make an @@ -2191,14 +2239,15 @@ def list_network_openshift_io_v1_net_namespace(self, **kwargs): >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.list_network_openshift_io_v1_net_namespace(callback=callback_function) + >>> thread = api.list_net_namespace(callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param str pretty: If 'true', then the output is pretty printed. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param bool include_uninitialized: If true, partially initialized resources are included in the response. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. - :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. + :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. :param int timeout_seconds: Timeout for the list/watch call. :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. :return: V1NetNamespaceList @@ -2207,12 +2256,12 @@ def list_network_openshift_io_v1_net_namespace(self, **kwargs): """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.list_network_openshift_io_v1_net_namespace_with_http_info(**kwargs) + return self.list_net_namespace_with_http_info(**kwargs) else: - (data) = self.list_network_openshift_io_v1_net_namespace_with_http_info(**kwargs) + (data) = self.list_net_namespace_with_http_info(**kwargs) return data - def list_network_openshift_io_v1_net_namespace_with_http_info(self, **kwargs): + def list_net_namespace_with_http_info(self, **kwargs): """ list or watch objects of kind NetNamespace This method makes a synchronous HTTP request by default. To make an @@ -2221,14 +2270,15 @@ def list_network_openshift_io_v1_net_namespace_with_http_info(self, **kwargs): >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.list_network_openshift_io_v1_net_namespace_with_http_info(callback=callback_function) + >>> thread = api.list_net_namespace_with_http_info(callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param str pretty: If 'true', then the output is pretty printed. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param bool include_uninitialized: If true, partially initialized resources are included in the response. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. - :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. + :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. :param int timeout_seconds: Timeout for the list/watch call. :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. :return: V1NetNamespaceList @@ -2236,7 +2286,7 @@ def list_network_openshift_io_v1_net_namespace_with_http_info(self, **kwargs): returns the request thread. """ - all_params = ['pretty', 'field_selector', 'label_selector', 'resource_version', 'timeout_seconds', 'watch'] + all_params = ['pretty', 'field_selector', 'include_uninitialized', 'label_selector', 'resource_version', 'timeout_seconds', 'watch'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -2247,7 +2297,7 @@ def list_network_openshift_io_v1_net_namespace_with_http_info(self, **kwargs): if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method list_network_openshift_io_v1_net_namespace" % key + " to method list_net_namespace" % key ) params[key] = val del params['kwargs'] @@ -2263,6 +2313,8 @@ def list_network_openshift_io_v1_net_namespace_with_http_info(self, **kwargs): query_params['pretty'] = params['pretty'] if 'field_selector' in params: query_params['fieldSelector'] = params['field_selector'] + if 'include_uninitialized' in params: + query_params['includeUninitialized'] = params['include_uninitialized'] if 'label_selector' in params: query_params['labelSelector'] = params['label_selector'] if 'resource_version' in params: @@ -2287,7 +2339,7 @@ def list_network_openshift_io_v1_net_namespace_with_http_info(self, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -2304,7 +2356,7 @@ def list_network_openshift_io_v1_net_namespace_with_http_info(self, **kwargs): _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def patch_network_openshift_io_v1_cluster_network(self, name, body, **kwargs): + def patch_cluster_network(self, name, body, **kwargs): """ partially update the specified ClusterNetwork This method makes a synchronous HTTP request by default. To make an @@ -2313,12 +2365,12 @@ def patch_network_openshift_io_v1_cluster_network(self, name, body, **kwargs): >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.patch_network_openshift_io_v1_cluster_network(name, body, callback=callback_function) + >>> thread = api.patch_cluster_network(name, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param str name: name of the ClusterNetwork (required) - :param UnversionedPatch body: (required) + :param object body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1ClusterNetwork If the method is called asynchronously, @@ -2326,12 +2378,12 @@ def patch_network_openshift_io_v1_cluster_network(self, name, body, **kwargs): """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.patch_network_openshift_io_v1_cluster_network_with_http_info(name, body, **kwargs) + return self.patch_cluster_network_with_http_info(name, body, **kwargs) else: - (data) = self.patch_network_openshift_io_v1_cluster_network_with_http_info(name, body, **kwargs) + (data) = self.patch_cluster_network_with_http_info(name, body, **kwargs) return data - def patch_network_openshift_io_v1_cluster_network_with_http_info(self, name, body, **kwargs): + def patch_cluster_network_with_http_info(self, name, body, **kwargs): """ partially update the specified ClusterNetwork This method makes a synchronous HTTP request by default. To make an @@ -2340,12 +2392,12 @@ def patch_network_openshift_io_v1_cluster_network_with_http_info(self, name, bod >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.patch_network_openshift_io_v1_cluster_network_with_http_info(name, body, callback=callback_function) + >>> thread = api.patch_cluster_network_with_http_info(name, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param str name: name of the ClusterNetwork (required) - :param UnversionedPatch body: (required) + :param object body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1ClusterNetwork If the method is called asynchronously, @@ -2363,16 +2415,16 @@ def patch_network_openshift_io_v1_cluster_network_with_http_info(self, name, bod if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method patch_network_openshift_io_v1_cluster_network" % key + " to method patch_cluster_network" % key ) params[key] = val del params['kwargs'] # verify the required parameter 'name' is set if ('name' not in params) or (params['name'] is None): - raise ValueError("Missing the required parameter `name` when calling `patch_network_openshift_io_v1_cluster_network`") + raise ValueError("Missing the required parameter `name` when calling `patch_cluster_network`") # verify the required parameter 'body' is set if ('body' not in params) or (params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `patch_network_openshift_io_v1_cluster_network`") + raise ValueError("Missing the required parameter `body` when calling `patch_cluster_network`") collection_formats = {} @@ -2403,7 +2455,7 @@ def patch_network_openshift_io_v1_cluster_network_with_http_info(self, name, bod select_header_content_type(['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'PATCH', path_params, @@ -2420,7 +2472,7 @@ def patch_network_openshift_io_v1_cluster_network_with_http_info(self, name, bod _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def patch_network_openshift_io_v1_host_subnet(self, name, body, **kwargs): + def patch_host_subnet(self, name, body, **kwargs): """ partially update the specified HostSubnet This method makes a synchronous HTTP request by default. To make an @@ -2429,12 +2481,12 @@ def patch_network_openshift_io_v1_host_subnet(self, name, body, **kwargs): >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.patch_network_openshift_io_v1_host_subnet(name, body, callback=callback_function) + >>> thread = api.patch_host_subnet(name, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param str name: name of the HostSubnet (required) - :param UnversionedPatch body: (required) + :param object body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1HostSubnet If the method is called asynchronously, @@ -2442,12 +2494,12 @@ def patch_network_openshift_io_v1_host_subnet(self, name, body, **kwargs): """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.patch_network_openshift_io_v1_host_subnet_with_http_info(name, body, **kwargs) + return self.patch_host_subnet_with_http_info(name, body, **kwargs) else: - (data) = self.patch_network_openshift_io_v1_host_subnet_with_http_info(name, body, **kwargs) + (data) = self.patch_host_subnet_with_http_info(name, body, **kwargs) return data - def patch_network_openshift_io_v1_host_subnet_with_http_info(self, name, body, **kwargs): + def patch_host_subnet_with_http_info(self, name, body, **kwargs): """ partially update the specified HostSubnet This method makes a synchronous HTTP request by default. To make an @@ -2456,12 +2508,12 @@ def patch_network_openshift_io_v1_host_subnet_with_http_info(self, name, body, * >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.patch_network_openshift_io_v1_host_subnet_with_http_info(name, body, callback=callback_function) + >>> thread = api.patch_host_subnet_with_http_info(name, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param str name: name of the HostSubnet (required) - :param UnversionedPatch body: (required) + :param object body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1HostSubnet If the method is called asynchronously, @@ -2479,16 +2531,16 @@ def patch_network_openshift_io_v1_host_subnet_with_http_info(self, name, body, * if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method patch_network_openshift_io_v1_host_subnet" % key + " to method patch_host_subnet" % key ) params[key] = val del params['kwargs'] # verify the required parameter 'name' is set if ('name' not in params) or (params['name'] is None): - raise ValueError("Missing the required parameter `name` when calling `patch_network_openshift_io_v1_host_subnet`") + raise ValueError("Missing the required parameter `name` when calling `patch_host_subnet`") # verify the required parameter 'body' is set if ('body' not in params) or (params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `patch_network_openshift_io_v1_host_subnet`") + raise ValueError("Missing the required parameter `body` when calling `patch_host_subnet`") collection_formats = {} @@ -2519,7 +2571,7 @@ def patch_network_openshift_io_v1_host_subnet_with_http_info(self, name, body, * select_header_content_type(['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'PATCH', path_params, @@ -2536,7 +2588,7 @@ def patch_network_openshift_io_v1_host_subnet_with_http_info(self, name, body, * _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def patch_network_openshift_io_v1_namespaced_egress_network_policy(self, name, namespace, body, **kwargs): + def patch_namespaced_egress_network_policy(self, name, namespace, body, **kwargs): """ partially update the specified EgressNetworkPolicy This method makes a synchronous HTTP request by default. To make an @@ -2545,13 +2597,13 @@ def patch_network_openshift_io_v1_namespaced_egress_network_policy(self, name, n >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.patch_network_openshift_io_v1_namespaced_egress_network_policy(name, namespace, body, callback=callback_function) + >>> thread = api.patch_namespaced_egress_network_policy(name, namespace, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param str name: name of the EgressNetworkPolicy (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param UnversionedPatch body: (required) + :param object body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1EgressNetworkPolicy If the method is called asynchronously, @@ -2559,12 +2611,12 @@ def patch_network_openshift_io_v1_namespaced_egress_network_policy(self, name, n """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.patch_network_openshift_io_v1_namespaced_egress_network_policy_with_http_info(name, namespace, body, **kwargs) + return self.patch_namespaced_egress_network_policy_with_http_info(name, namespace, body, **kwargs) else: - (data) = self.patch_network_openshift_io_v1_namespaced_egress_network_policy_with_http_info(name, namespace, body, **kwargs) + (data) = self.patch_namespaced_egress_network_policy_with_http_info(name, namespace, body, **kwargs) return data - def patch_network_openshift_io_v1_namespaced_egress_network_policy_with_http_info(self, name, namespace, body, **kwargs): + def patch_namespaced_egress_network_policy_with_http_info(self, name, namespace, body, **kwargs): """ partially update the specified EgressNetworkPolicy This method makes a synchronous HTTP request by default. To make an @@ -2573,13 +2625,13 @@ def patch_network_openshift_io_v1_namespaced_egress_network_policy_with_http_inf >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.patch_network_openshift_io_v1_namespaced_egress_network_policy_with_http_info(name, namespace, body, callback=callback_function) + >>> thread = api.patch_namespaced_egress_network_policy_with_http_info(name, namespace, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param str name: name of the EgressNetworkPolicy (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param UnversionedPatch body: (required) + :param object body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1EgressNetworkPolicy If the method is called asynchronously, @@ -2597,19 +2649,19 @@ def patch_network_openshift_io_v1_namespaced_egress_network_policy_with_http_inf if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method patch_network_openshift_io_v1_namespaced_egress_network_policy" % key + " to method patch_namespaced_egress_network_policy" % key ) params[key] = val del params['kwargs'] # verify the required parameter 'name' is set if ('name' not in params) or (params['name'] is None): - raise ValueError("Missing the required parameter `name` when calling `patch_network_openshift_io_v1_namespaced_egress_network_policy`") + raise ValueError("Missing the required parameter `name` when calling `patch_namespaced_egress_network_policy`") # verify the required parameter 'namespace' is set if ('namespace' not in params) or (params['namespace'] is None): - raise ValueError("Missing the required parameter `namespace` when calling `patch_network_openshift_io_v1_namespaced_egress_network_policy`") + raise ValueError("Missing the required parameter `namespace` when calling `patch_namespaced_egress_network_policy`") # verify the required parameter 'body' is set if ('body' not in params) or (params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `patch_network_openshift_io_v1_namespaced_egress_network_policy`") + raise ValueError("Missing the required parameter `body` when calling `patch_namespaced_egress_network_policy`") collection_formats = {} @@ -2642,7 +2694,7 @@ def patch_network_openshift_io_v1_namespaced_egress_network_policy_with_http_inf select_header_content_type(['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'PATCH', path_params, @@ -2659,7 +2711,7 @@ def patch_network_openshift_io_v1_namespaced_egress_network_policy_with_http_inf _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def patch_network_openshift_io_v1_net_namespace(self, name, body, **kwargs): + def patch_net_namespace(self, name, body, **kwargs): """ partially update the specified NetNamespace This method makes a synchronous HTTP request by default. To make an @@ -2668,12 +2720,12 @@ def patch_network_openshift_io_v1_net_namespace(self, name, body, **kwargs): >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.patch_network_openshift_io_v1_net_namespace(name, body, callback=callback_function) + >>> thread = api.patch_net_namespace(name, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param str name: name of the NetNamespace (required) - :param UnversionedPatch body: (required) + :param object body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1NetNamespace If the method is called asynchronously, @@ -2681,12 +2733,12 @@ def patch_network_openshift_io_v1_net_namespace(self, name, body, **kwargs): """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.patch_network_openshift_io_v1_net_namespace_with_http_info(name, body, **kwargs) + return self.patch_net_namespace_with_http_info(name, body, **kwargs) else: - (data) = self.patch_network_openshift_io_v1_net_namespace_with_http_info(name, body, **kwargs) + (data) = self.patch_net_namespace_with_http_info(name, body, **kwargs) return data - def patch_network_openshift_io_v1_net_namespace_with_http_info(self, name, body, **kwargs): + def patch_net_namespace_with_http_info(self, name, body, **kwargs): """ partially update the specified NetNamespace This method makes a synchronous HTTP request by default. To make an @@ -2695,12 +2747,12 @@ def patch_network_openshift_io_v1_net_namespace_with_http_info(self, name, body, >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.patch_network_openshift_io_v1_net_namespace_with_http_info(name, body, callback=callback_function) + >>> thread = api.patch_net_namespace_with_http_info(name, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param str name: name of the NetNamespace (required) - :param UnversionedPatch body: (required) + :param object body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1NetNamespace If the method is called asynchronously, @@ -2718,16 +2770,16 @@ def patch_network_openshift_io_v1_net_namespace_with_http_info(self, name, body, if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method patch_network_openshift_io_v1_net_namespace" % key + " to method patch_net_namespace" % key ) params[key] = val del params['kwargs'] # verify the required parameter 'name' is set if ('name' not in params) or (params['name'] is None): - raise ValueError("Missing the required parameter `name` when calling `patch_network_openshift_io_v1_net_namespace`") + raise ValueError("Missing the required parameter `name` when calling `patch_net_namespace`") # verify the required parameter 'body' is set if ('body' not in params) or (params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `patch_network_openshift_io_v1_net_namespace`") + raise ValueError("Missing the required parameter `body` when calling `patch_net_namespace`") collection_formats = {} @@ -2758,7 +2810,7 @@ def patch_network_openshift_io_v1_net_namespace_with_http_info(self, name, body, select_header_content_type(['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'PATCH', path_params, @@ -2775,7 +2827,7 @@ def patch_network_openshift_io_v1_net_namespace_with_http_info(self, name, body, _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def read_network_openshift_io_v1_cluster_network(self, name, **kwargs): + def read_cluster_network(self, name, **kwargs): """ read the specified ClusterNetwork This method makes a synchronous HTTP request by default. To make an @@ -2784,13 +2836,13 @@ def read_network_openshift_io_v1_cluster_network(self, name, **kwargs): >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.read_network_openshift_io_v1_cluster_network(name, callback=callback_function) + >>> thread = api.read_cluster_network(name, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param str name: name of the ClusterNetwork (required) :param str pretty: If 'true', then the output is pretty printed. - :param bool exact: Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace' + :param bool exact: Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. :param bool export: Should this value be exported. Export strips fields that a user can not specify. :return: V1ClusterNetwork If the method is called asynchronously, @@ -2798,12 +2850,12 @@ def read_network_openshift_io_v1_cluster_network(self, name, **kwargs): """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.read_network_openshift_io_v1_cluster_network_with_http_info(name, **kwargs) + return self.read_cluster_network_with_http_info(name, **kwargs) else: - (data) = self.read_network_openshift_io_v1_cluster_network_with_http_info(name, **kwargs) + (data) = self.read_cluster_network_with_http_info(name, **kwargs) return data - def read_network_openshift_io_v1_cluster_network_with_http_info(self, name, **kwargs): + def read_cluster_network_with_http_info(self, name, **kwargs): """ read the specified ClusterNetwork This method makes a synchronous HTTP request by default. To make an @@ -2812,13 +2864,13 @@ def read_network_openshift_io_v1_cluster_network_with_http_info(self, name, **kw >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.read_network_openshift_io_v1_cluster_network_with_http_info(name, callback=callback_function) + >>> thread = api.read_cluster_network_with_http_info(name, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param str name: name of the ClusterNetwork (required) :param str pretty: If 'true', then the output is pretty printed. - :param bool exact: Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace' + :param bool exact: Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. :param bool export: Should this value be exported. Export strips fields that a user can not specify. :return: V1ClusterNetwork If the method is called asynchronously, @@ -2836,13 +2888,13 @@ def read_network_openshift_io_v1_cluster_network_with_http_info(self, name, **kw if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method read_network_openshift_io_v1_cluster_network" % key + " to method read_cluster_network" % key ) params[key] = val del params['kwargs'] # verify the required parameter 'name' is set if ('name' not in params) or (params['name'] is None): - raise ValueError("Missing the required parameter `name` when calling `read_network_openshift_io_v1_cluster_network`") + raise ValueError("Missing the required parameter `name` when calling `read_cluster_network`") collection_formats = {} @@ -2875,7 +2927,7 @@ def read_network_openshift_io_v1_cluster_network_with_http_info(self, name, **kw select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -2892,7 +2944,7 @@ def read_network_openshift_io_v1_cluster_network_with_http_info(self, name, **kw _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def read_network_openshift_io_v1_host_subnet(self, name, **kwargs): + def read_host_subnet(self, name, **kwargs): """ read the specified HostSubnet This method makes a synchronous HTTP request by default. To make an @@ -2901,13 +2953,13 @@ def read_network_openshift_io_v1_host_subnet(self, name, **kwargs): >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.read_network_openshift_io_v1_host_subnet(name, callback=callback_function) + >>> thread = api.read_host_subnet(name, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param str name: name of the HostSubnet (required) :param str pretty: If 'true', then the output is pretty printed. - :param bool exact: Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace' + :param bool exact: Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. :param bool export: Should this value be exported. Export strips fields that a user can not specify. :return: V1HostSubnet If the method is called asynchronously, @@ -2915,12 +2967,12 @@ def read_network_openshift_io_v1_host_subnet(self, name, **kwargs): """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.read_network_openshift_io_v1_host_subnet_with_http_info(name, **kwargs) + return self.read_host_subnet_with_http_info(name, **kwargs) else: - (data) = self.read_network_openshift_io_v1_host_subnet_with_http_info(name, **kwargs) + (data) = self.read_host_subnet_with_http_info(name, **kwargs) return data - def read_network_openshift_io_v1_host_subnet_with_http_info(self, name, **kwargs): + def read_host_subnet_with_http_info(self, name, **kwargs): """ read the specified HostSubnet This method makes a synchronous HTTP request by default. To make an @@ -2929,13 +2981,13 @@ def read_network_openshift_io_v1_host_subnet_with_http_info(self, name, **kwargs >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.read_network_openshift_io_v1_host_subnet_with_http_info(name, callback=callback_function) + >>> thread = api.read_host_subnet_with_http_info(name, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param str name: name of the HostSubnet (required) :param str pretty: If 'true', then the output is pretty printed. - :param bool exact: Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace' + :param bool exact: Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. :param bool export: Should this value be exported. Export strips fields that a user can not specify. :return: V1HostSubnet If the method is called asynchronously, @@ -2953,13 +3005,13 @@ def read_network_openshift_io_v1_host_subnet_with_http_info(self, name, **kwargs if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method read_network_openshift_io_v1_host_subnet" % key + " to method read_host_subnet" % key ) params[key] = val del params['kwargs'] # verify the required parameter 'name' is set if ('name' not in params) or (params['name'] is None): - raise ValueError("Missing the required parameter `name` when calling `read_network_openshift_io_v1_host_subnet`") + raise ValueError("Missing the required parameter `name` when calling `read_host_subnet`") collection_formats = {} @@ -2992,7 +3044,7 @@ def read_network_openshift_io_v1_host_subnet_with_http_info(self, name, **kwargs select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -3009,7 +3061,7 @@ def read_network_openshift_io_v1_host_subnet_with_http_info(self, name, **kwargs _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def read_network_openshift_io_v1_namespaced_egress_network_policy(self, name, namespace, **kwargs): + def read_namespaced_egress_network_policy(self, name, namespace, **kwargs): """ read the specified EgressNetworkPolicy This method makes a synchronous HTTP request by default. To make an @@ -3018,14 +3070,14 @@ def read_network_openshift_io_v1_namespaced_egress_network_policy(self, name, na >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.read_network_openshift_io_v1_namespaced_egress_network_policy(name, namespace, callback=callback_function) + >>> thread = api.read_namespaced_egress_network_policy(name, namespace, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param str name: name of the EgressNetworkPolicy (required) :param str namespace: object name and auth scope, such as for teams and projects (required) :param str pretty: If 'true', then the output is pretty printed. - :param bool exact: Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace' + :param bool exact: Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. :param bool export: Should this value be exported. Export strips fields that a user can not specify. :return: V1EgressNetworkPolicy If the method is called asynchronously, @@ -3033,12 +3085,12 @@ def read_network_openshift_io_v1_namespaced_egress_network_policy(self, name, na """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.read_network_openshift_io_v1_namespaced_egress_network_policy_with_http_info(name, namespace, **kwargs) + return self.read_namespaced_egress_network_policy_with_http_info(name, namespace, **kwargs) else: - (data) = self.read_network_openshift_io_v1_namespaced_egress_network_policy_with_http_info(name, namespace, **kwargs) + (data) = self.read_namespaced_egress_network_policy_with_http_info(name, namespace, **kwargs) return data - def read_network_openshift_io_v1_namespaced_egress_network_policy_with_http_info(self, name, namespace, **kwargs): + def read_namespaced_egress_network_policy_with_http_info(self, name, namespace, **kwargs): """ read the specified EgressNetworkPolicy This method makes a synchronous HTTP request by default. To make an @@ -3047,14 +3099,14 @@ def read_network_openshift_io_v1_namespaced_egress_network_policy_with_http_info >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.read_network_openshift_io_v1_namespaced_egress_network_policy_with_http_info(name, namespace, callback=callback_function) + >>> thread = api.read_namespaced_egress_network_policy_with_http_info(name, namespace, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param str name: name of the EgressNetworkPolicy (required) :param str namespace: object name and auth scope, such as for teams and projects (required) :param str pretty: If 'true', then the output is pretty printed. - :param bool exact: Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace' + :param bool exact: Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. :param bool export: Should this value be exported. Export strips fields that a user can not specify. :return: V1EgressNetworkPolicy If the method is called asynchronously, @@ -3072,16 +3124,16 @@ def read_network_openshift_io_v1_namespaced_egress_network_policy_with_http_info if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method read_network_openshift_io_v1_namespaced_egress_network_policy" % key + " to method read_namespaced_egress_network_policy" % key ) params[key] = val del params['kwargs'] # verify the required parameter 'name' is set if ('name' not in params) or (params['name'] is None): - raise ValueError("Missing the required parameter `name` when calling `read_network_openshift_io_v1_namespaced_egress_network_policy`") + raise ValueError("Missing the required parameter `name` when calling `read_namespaced_egress_network_policy`") # verify the required parameter 'namespace' is set if ('namespace' not in params) or (params['namespace'] is None): - raise ValueError("Missing the required parameter `namespace` when calling `read_network_openshift_io_v1_namespaced_egress_network_policy`") + raise ValueError("Missing the required parameter `namespace` when calling `read_namespaced_egress_network_policy`") collection_formats = {} @@ -3116,7 +3168,7 @@ def read_network_openshift_io_v1_namespaced_egress_network_policy_with_http_info select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -3133,7 +3185,7 @@ def read_network_openshift_io_v1_namespaced_egress_network_policy_with_http_info _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def read_network_openshift_io_v1_net_namespace(self, name, **kwargs): + def read_net_namespace(self, name, **kwargs): """ read the specified NetNamespace This method makes a synchronous HTTP request by default. To make an @@ -3142,13 +3194,13 @@ def read_network_openshift_io_v1_net_namespace(self, name, **kwargs): >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.read_network_openshift_io_v1_net_namespace(name, callback=callback_function) + >>> thread = api.read_net_namespace(name, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param str name: name of the NetNamespace (required) :param str pretty: If 'true', then the output is pretty printed. - :param bool exact: Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace' + :param bool exact: Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. :param bool export: Should this value be exported. Export strips fields that a user can not specify. :return: V1NetNamespace If the method is called asynchronously, @@ -3156,12 +3208,12 @@ def read_network_openshift_io_v1_net_namespace(self, name, **kwargs): """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.read_network_openshift_io_v1_net_namespace_with_http_info(name, **kwargs) + return self.read_net_namespace_with_http_info(name, **kwargs) else: - (data) = self.read_network_openshift_io_v1_net_namespace_with_http_info(name, **kwargs) + (data) = self.read_net_namespace_with_http_info(name, **kwargs) return data - def read_network_openshift_io_v1_net_namespace_with_http_info(self, name, **kwargs): + def read_net_namespace_with_http_info(self, name, **kwargs): """ read the specified NetNamespace This method makes a synchronous HTTP request by default. To make an @@ -3170,13 +3222,13 @@ def read_network_openshift_io_v1_net_namespace_with_http_info(self, name, **kwar >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.read_network_openshift_io_v1_net_namespace_with_http_info(name, callback=callback_function) + >>> thread = api.read_net_namespace_with_http_info(name, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param str name: name of the NetNamespace (required) :param str pretty: If 'true', then the output is pretty printed. - :param bool exact: Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace' + :param bool exact: Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. :param bool export: Should this value be exported. Export strips fields that a user can not specify. :return: V1NetNamespace If the method is called asynchronously, @@ -3194,13 +3246,13 @@ def read_network_openshift_io_v1_net_namespace_with_http_info(self, name, **kwar if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method read_network_openshift_io_v1_net_namespace" % key + " to method read_net_namespace" % key ) params[key] = val del params['kwargs'] # verify the required parameter 'name' is set if ('name' not in params) or (params['name'] is None): - raise ValueError("Missing the required parameter `name` when calling `read_network_openshift_io_v1_net_namespace`") + raise ValueError("Missing the required parameter `name` when calling `read_net_namespace`") collection_formats = {} @@ -3233,7 +3285,7 @@ def read_network_openshift_io_v1_net_namespace_with_http_info(self, name, **kwar select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -3250,7 +3302,7 @@ def read_network_openshift_io_v1_net_namespace_with_http_info(self, name, **kwar _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def replace_network_openshift_io_v1_cluster_network(self, name, body, **kwargs): + def replace_cluster_network(self, name, body, **kwargs): """ replace the specified ClusterNetwork This method makes a synchronous HTTP request by default. To make an @@ -3259,7 +3311,7 @@ def replace_network_openshift_io_v1_cluster_network(self, name, body, **kwargs): >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.replace_network_openshift_io_v1_cluster_network(name, body, callback=callback_function) + >>> thread = api.replace_cluster_network(name, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) @@ -3272,12 +3324,12 @@ def replace_network_openshift_io_v1_cluster_network(self, name, body, **kwargs): """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.replace_network_openshift_io_v1_cluster_network_with_http_info(name, body, **kwargs) + return self.replace_cluster_network_with_http_info(name, body, **kwargs) else: - (data) = self.replace_network_openshift_io_v1_cluster_network_with_http_info(name, body, **kwargs) + (data) = self.replace_cluster_network_with_http_info(name, body, **kwargs) return data - def replace_network_openshift_io_v1_cluster_network_with_http_info(self, name, body, **kwargs): + def replace_cluster_network_with_http_info(self, name, body, **kwargs): """ replace the specified ClusterNetwork This method makes a synchronous HTTP request by default. To make an @@ -3286,7 +3338,7 @@ def replace_network_openshift_io_v1_cluster_network_with_http_info(self, name, b >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.replace_network_openshift_io_v1_cluster_network_with_http_info(name, body, callback=callback_function) + >>> thread = api.replace_cluster_network_with_http_info(name, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) @@ -3309,16 +3361,16 @@ def replace_network_openshift_io_v1_cluster_network_with_http_info(self, name, b if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method replace_network_openshift_io_v1_cluster_network" % key + " to method replace_cluster_network" % key ) params[key] = val del params['kwargs'] # verify the required parameter 'name' is set if ('name' not in params) or (params['name'] is None): - raise ValueError("Missing the required parameter `name` when calling `replace_network_openshift_io_v1_cluster_network`") + raise ValueError("Missing the required parameter `name` when calling `replace_cluster_network`") # verify the required parameter 'body' is set if ('body' not in params) or (params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `replace_network_openshift_io_v1_cluster_network`") + raise ValueError("Missing the required parameter `body` when calling `replace_cluster_network`") collection_formats = {} @@ -3349,7 +3401,7 @@ def replace_network_openshift_io_v1_cluster_network_with_http_info(self, name, b select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'PUT', path_params, @@ -3366,7 +3418,7 @@ def replace_network_openshift_io_v1_cluster_network_with_http_info(self, name, b _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def replace_network_openshift_io_v1_host_subnet(self, name, body, **kwargs): + def replace_host_subnet(self, name, body, **kwargs): """ replace the specified HostSubnet This method makes a synchronous HTTP request by default. To make an @@ -3375,7 +3427,7 @@ def replace_network_openshift_io_v1_host_subnet(self, name, body, **kwargs): >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.replace_network_openshift_io_v1_host_subnet(name, body, callback=callback_function) + >>> thread = api.replace_host_subnet(name, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) @@ -3388,12 +3440,12 @@ def replace_network_openshift_io_v1_host_subnet(self, name, body, **kwargs): """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.replace_network_openshift_io_v1_host_subnet_with_http_info(name, body, **kwargs) + return self.replace_host_subnet_with_http_info(name, body, **kwargs) else: - (data) = self.replace_network_openshift_io_v1_host_subnet_with_http_info(name, body, **kwargs) + (data) = self.replace_host_subnet_with_http_info(name, body, **kwargs) return data - def replace_network_openshift_io_v1_host_subnet_with_http_info(self, name, body, **kwargs): + def replace_host_subnet_with_http_info(self, name, body, **kwargs): """ replace the specified HostSubnet This method makes a synchronous HTTP request by default. To make an @@ -3402,7 +3454,7 @@ def replace_network_openshift_io_v1_host_subnet_with_http_info(self, name, body, >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.replace_network_openshift_io_v1_host_subnet_with_http_info(name, body, callback=callback_function) + >>> thread = api.replace_host_subnet_with_http_info(name, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) @@ -3425,16 +3477,16 @@ def replace_network_openshift_io_v1_host_subnet_with_http_info(self, name, body, if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method replace_network_openshift_io_v1_host_subnet" % key + " to method replace_host_subnet" % key ) params[key] = val del params['kwargs'] # verify the required parameter 'name' is set if ('name' not in params) or (params['name'] is None): - raise ValueError("Missing the required parameter `name` when calling `replace_network_openshift_io_v1_host_subnet`") + raise ValueError("Missing the required parameter `name` when calling `replace_host_subnet`") # verify the required parameter 'body' is set if ('body' not in params) or (params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `replace_network_openshift_io_v1_host_subnet`") + raise ValueError("Missing the required parameter `body` when calling `replace_host_subnet`") collection_formats = {} @@ -3465,7 +3517,7 @@ def replace_network_openshift_io_v1_host_subnet_with_http_info(self, name, body, select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'PUT', path_params, @@ -3482,7 +3534,7 @@ def replace_network_openshift_io_v1_host_subnet_with_http_info(self, name, body, _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def replace_network_openshift_io_v1_namespaced_egress_network_policy(self, name, namespace, body, **kwargs): + def replace_namespaced_egress_network_policy(self, name, namespace, body, **kwargs): """ replace the specified EgressNetworkPolicy This method makes a synchronous HTTP request by default. To make an @@ -3491,7 +3543,7 @@ def replace_network_openshift_io_v1_namespaced_egress_network_policy(self, name, >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.replace_network_openshift_io_v1_namespaced_egress_network_policy(name, namespace, body, callback=callback_function) + >>> thread = api.replace_namespaced_egress_network_policy(name, namespace, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) @@ -3505,12 +3557,12 @@ def replace_network_openshift_io_v1_namespaced_egress_network_policy(self, name, """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.replace_network_openshift_io_v1_namespaced_egress_network_policy_with_http_info(name, namespace, body, **kwargs) + return self.replace_namespaced_egress_network_policy_with_http_info(name, namespace, body, **kwargs) else: - (data) = self.replace_network_openshift_io_v1_namespaced_egress_network_policy_with_http_info(name, namespace, body, **kwargs) + (data) = self.replace_namespaced_egress_network_policy_with_http_info(name, namespace, body, **kwargs) return data - def replace_network_openshift_io_v1_namespaced_egress_network_policy_with_http_info(self, name, namespace, body, **kwargs): + def replace_namespaced_egress_network_policy_with_http_info(self, name, namespace, body, **kwargs): """ replace the specified EgressNetworkPolicy This method makes a synchronous HTTP request by default. To make an @@ -3519,7 +3571,7 @@ def replace_network_openshift_io_v1_namespaced_egress_network_policy_with_http_i >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.replace_network_openshift_io_v1_namespaced_egress_network_policy_with_http_info(name, namespace, body, callback=callback_function) + >>> thread = api.replace_namespaced_egress_network_policy_with_http_info(name, namespace, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) @@ -3543,19 +3595,19 @@ def replace_network_openshift_io_v1_namespaced_egress_network_policy_with_http_i if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method replace_network_openshift_io_v1_namespaced_egress_network_policy" % key + " to method replace_namespaced_egress_network_policy" % key ) params[key] = val del params['kwargs'] # verify the required parameter 'name' is set if ('name' not in params) or (params['name'] is None): - raise ValueError("Missing the required parameter `name` when calling `replace_network_openshift_io_v1_namespaced_egress_network_policy`") + raise ValueError("Missing the required parameter `name` when calling `replace_namespaced_egress_network_policy`") # verify the required parameter 'namespace' is set if ('namespace' not in params) or (params['namespace'] is None): - raise ValueError("Missing the required parameter `namespace` when calling `replace_network_openshift_io_v1_namespaced_egress_network_policy`") + raise ValueError("Missing the required parameter `namespace` when calling `replace_namespaced_egress_network_policy`") # verify the required parameter 'body' is set if ('body' not in params) or (params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `replace_network_openshift_io_v1_namespaced_egress_network_policy`") + raise ValueError("Missing the required parameter `body` when calling `replace_namespaced_egress_network_policy`") collection_formats = {} @@ -3588,7 +3640,7 @@ def replace_network_openshift_io_v1_namespaced_egress_network_policy_with_http_i select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'PUT', path_params, @@ -3605,7 +3657,7 @@ def replace_network_openshift_io_v1_namespaced_egress_network_policy_with_http_i _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def replace_network_openshift_io_v1_net_namespace(self, name, body, **kwargs): + def replace_net_namespace(self, name, body, **kwargs): """ replace the specified NetNamespace This method makes a synchronous HTTP request by default. To make an @@ -3614,7 +3666,7 @@ def replace_network_openshift_io_v1_net_namespace(self, name, body, **kwargs): >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.replace_network_openshift_io_v1_net_namespace(name, body, callback=callback_function) + >>> thread = api.replace_net_namespace(name, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) @@ -3627,12 +3679,12 @@ def replace_network_openshift_io_v1_net_namespace(self, name, body, **kwargs): """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.replace_network_openshift_io_v1_net_namespace_with_http_info(name, body, **kwargs) + return self.replace_net_namespace_with_http_info(name, body, **kwargs) else: - (data) = self.replace_network_openshift_io_v1_net_namespace_with_http_info(name, body, **kwargs) + (data) = self.replace_net_namespace_with_http_info(name, body, **kwargs) return data - def replace_network_openshift_io_v1_net_namespace_with_http_info(self, name, body, **kwargs): + def replace_net_namespace_with_http_info(self, name, body, **kwargs): """ replace the specified NetNamespace This method makes a synchronous HTTP request by default. To make an @@ -3641,7 +3693,7 @@ def replace_network_openshift_io_v1_net_namespace_with_http_info(self, name, bod >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.replace_network_openshift_io_v1_net_namespace_with_http_info(name, body, callback=callback_function) + >>> thread = api.replace_net_namespace_with_http_info(name, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) @@ -3664,16 +3716,16 @@ def replace_network_openshift_io_v1_net_namespace_with_http_info(self, name, bod if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method replace_network_openshift_io_v1_net_namespace" % key + " to method replace_net_namespace" % key ) params[key] = val del params['kwargs'] # verify the required parameter 'name' is set if ('name' not in params) or (params['name'] is None): - raise ValueError("Missing the required parameter `name` when calling `replace_network_openshift_io_v1_net_namespace`") + raise ValueError("Missing the required parameter `name` when calling `replace_net_namespace`") # verify the required parameter 'body' is set if ('body' not in params) or (params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `replace_network_openshift_io_v1_net_namespace`") + raise ValueError("Missing the required parameter `body` when calling `replace_net_namespace`") collection_formats = {} @@ -3704,7 +3756,7 @@ def replace_network_openshift_io_v1_net_namespace_with_http_info(self, name, bod select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'PUT', path_params, diff --git a/openshift/client/apis/oapi_api.py b/openshift/client/apis/oapi_api.py index 6361b18b..2e095c1c 100644 --- a/openshift/client/apis/oapi_api.py +++ b/openshift/client/apis/oapi_api.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -62,7 +62,7 @@ def connect_post_namespaced_binary_build_request_options_instantiatebinary(self, :param str revision_committer_email: revision.committerEmail of the source control user :param str revision_committer_name: revision.committerName of the source control user :param str revision_message: revision.message is the description of a specific commit - :return: str + :return: V1Build If the method is called asynchronously, returns the request thread. """ @@ -95,7 +95,7 @@ def connect_post_namespaced_binary_build_request_options_instantiatebinary_with_ :param str revision_committer_email: revision.committerEmail of the source control user :param str revision_committer_name: revision.committerName of the source control user :param str revision_message: revision.message is the description of a specific commit - :return: str + :return: V1Build If the method is called asynchronously, returns the request thread. """ @@ -163,7 +163,7 @@ def connect_post_namespaced_binary_build_request_options_instantiatebinary_with_ select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'POST', path_params, @@ -172,7 +172,7 @@ def connect_post_namespaced_binary_build_request_options_instantiatebinary_with_ body=body_params, post_params=form_params, files=local_var_files, - response_type='str', + response_type='V1Build', auth_settings=auth_settings, callback=params.get('callback'), _return_http_data_only=params.get('_return_http_data_only'), @@ -180,20 +180,20 @@ def connect_post_namespaced_binary_build_request_options_instantiatebinary_with_ _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def connect_post_namespaced_status_webhooks(self, name, namespace, **kwargs): + def connect_post_namespaced_build_webhooks(self, name, namespace, **kwargs): """ - connect POST requests to webhooks of Status + connect POST requests to webhooks of Build This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.connect_post_namespaced_status_webhooks(name, namespace, callback=callback_function) + >>> thread = api.connect_post_namespaced_build_webhooks(name, namespace, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) - :param str name: name of the Status (required) + :param str name: name of the Build (required) :param str namespace: object name and auth scope, such as for teams and projects (required) :param str path: Path is the URL path to use for the current proxy request to pod. :return: str @@ -202,25 +202,25 @@ def connect_post_namespaced_status_webhooks(self, name, namespace, **kwargs): """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.connect_post_namespaced_status_webhooks_with_http_info(name, namespace, **kwargs) + return self.connect_post_namespaced_build_webhooks_with_http_info(name, namespace, **kwargs) else: - (data) = self.connect_post_namespaced_status_webhooks_with_http_info(name, namespace, **kwargs) + (data) = self.connect_post_namespaced_build_webhooks_with_http_info(name, namespace, **kwargs) return data - def connect_post_namespaced_status_webhooks_with_http_info(self, name, namespace, **kwargs): + def connect_post_namespaced_build_webhooks_with_http_info(self, name, namespace, **kwargs): """ - connect POST requests to webhooks of Status + connect POST requests to webhooks of Build This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.connect_post_namespaced_status_webhooks_with_http_info(name, namespace, callback=callback_function) + >>> thread = api.connect_post_namespaced_build_webhooks_with_http_info(name, namespace, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) - :param str name: name of the Status (required) + :param str name: name of the Build (required) :param str namespace: object name and auth scope, such as for teams and projects (required) :param str path: Path is the URL path to use for the current proxy request to pod. :return: str @@ -239,16 +239,16 @@ def connect_post_namespaced_status_webhooks_with_http_info(self, name, namespace if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method connect_post_namespaced_status_webhooks" % key + " to method connect_post_namespaced_build_webhooks" % key ) params[key] = val del params['kwargs'] # verify the required parameter 'name' is set if ('name' not in params) or (params['name'] is None): - raise ValueError("Missing the required parameter `name` when calling `connect_post_namespaced_status_webhooks`") + raise ValueError("Missing the required parameter `name` when calling `connect_post_namespaced_build_webhooks`") # verify the required parameter 'namespace' is set if ('namespace' not in params) or (params['namespace'] is None): - raise ValueError("Missing the required parameter `namespace` when calling `connect_post_namespaced_status_webhooks`") + raise ValueError("Missing the required parameter `namespace` when calling `connect_post_namespaced_build_webhooks`") collection_formats = {} @@ -279,7 +279,7 @@ def connect_post_namespaced_status_webhooks_with_http_info(self, name, namespace select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'POST', path_params, @@ -296,20 +296,20 @@ def connect_post_namespaced_status_webhooks_with_http_info(self, name, namespace _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def connect_post_namespaced_status_webhooks_with_path(self, name, namespace, path, **kwargs): + def connect_post_namespaced_build_webhooks_with_path(self, name, namespace, path, **kwargs): """ - connect POST requests to webhooks of Status + connect POST requests to webhooks of Build This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.connect_post_namespaced_status_webhooks_with_path(name, namespace, path, callback=callback_function) + >>> thread = api.connect_post_namespaced_build_webhooks_with_path(name, namespace, path, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) - :param str name: name of the Status (required) + :param str name: name of the Build (required) :param str namespace: object name and auth scope, such as for teams and projects (required) :param str path: path to the resource (required) :param str path2: Path is the URL path to use for the current proxy request to pod. @@ -319,25 +319,25 @@ def connect_post_namespaced_status_webhooks_with_path(self, name, namespace, pat """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.connect_post_namespaced_status_webhooks_with_path_with_http_info(name, namespace, path, **kwargs) + return self.connect_post_namespaced_build_webhooks_with_path_with_http_info(name, namespace, path, **kwargs) else: - (data) = self.connect_post_namespaced_status_webhooks_with_path_with_http_info(name, namespace, path, **kwargs) + (data) = self.connect_post_namespaced_build_webhooks_with_path_with_http_info(name, namespace, path, **kwargs) return data - def connect_post_namespaced_status_webhooks_with_path_with_http_info(self, name, namespace, path, **kwargs): + def connect_post_namespaced_build_webhooks_with_path_with_http_info(self, name, namespace, path, **kwargs): """ - connect POST requests to webhooks of Status + connect POST requests to webhooks of Build This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.connect_post_namespaced_status_webhooks_with_path_with_http_info(name, namespace, path, callback=callback_function) + >>> thread = api.connect_post_namespaced_build_webhooks_with_path_with_http_info(name, namespace, path, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) - :param str name: name of the Status (required) + :param str name: name of the Build (required) :param str namespace: object name and auth scope, such as for teams and projects (required) :param str path: path to the resource (required) :param str path2: Path is the URL path to use for the current proxy request to pod. @@ -357,19 +357,19 @@ def connect_post_namespaced_status_webhooks_with_path_with_http_info(self, name, if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method connect_post_namespaced_status_webhooks_with_path" % key + " to method connect_post_namespaced_build_webhooks_with_path" % key ) params[key] = val del params['kwargs'] # verify the required parameter 'name' is set if ('name' not in params) or (params['name'] is None): - raise ValueError("Missing the required parameter `name` when calling `connect_post_namespaced_status_webhooks_with_path`") + raise ValueError("Missing the required parameter `name` when calling `connect_post_namespaced_build_webhooks_with_path`") # verify the required parameter 'namespace' is set if ('namespace' not in params) or (params['namespace'] is None): - raise ValueError("Missing the required parameter `namespace` when calling `connect_post_namespaced_status_webhooks_with_path`") + raise ValueError("Missing the required parameter `namespace` when calling `connect_post_namespaced_build_webhooks_with_path`") # verify the required parameter 'path' is set if ('path' not in params) or (params['path'] is None): - raise ValueError("Missing the required parameter `path` when calling `connect_post_namespaced_status_webhooks_with_path`") + raise ValueError("Missing the required parameter `path` when calling `connect_post_namespaced_build_webhooks_with_path`") collection_formats = {} @@ -402,7 +402,7 @@ def connect_post_namespaced_status_webhooks_with_path_with_http_info(self, name, select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'POST', path_params, @@ -511,7 +511,7 @@ def create_build_config_for_all_namespaces_with_http_info(self, body, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'POST', path_params, @@ -620,7 +620,7 @@ def create_build_for_all_namespaces_with_http_info(self, body, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'POST', path_params, @@ -729,7 +729,7 @@ def create_cluster_network_with_http_info(self, body, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'POST', path_params, @@ -746,224 +746,6 @@ def create_cluster_network_with_http_info(self, body, **kwargs): _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def create_cluster_policy(self, body, **kwargs): - """ - create a ClusterPolicy - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please define a `callback` function - to be invoked when receiving the response. - >>> def callback_function(response): - >>> pprint(response) - >>> - >>> thread = api.create_cluster_policy(body, callback=callback_function) - - :param callback function: The callback function - for asynchronous request. (optional) - :param V1ClusterPolicy body: (required) - :param str pretty: If 'true', then the output is pretty printed. - :return: V1ClusterPolicy - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('callback'): - return self.create_cluster_policy_with_http_info(body, **kwargs) - else: - (data) = self.create_cluster_policy_with_http_info(body, **kwargs) - return data - - def create_cluster_policy_with_http_info(self, body, **kwargs): - """ - create a ClusterPolicy - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please define a `callback` function - to be invoked when receiving the response. - >>> def callback_function(response): - >>> pprint(response) - >>> - >>> thread = api.create_cluster_policy_with_http_info(body, callback=callback_function) - - :param callback function: The callback function - for asynchronous request. (optional) - :param V1ClusterPolicy body: (required) - :param str pretty: If 'true', then the output is pretty printed. - :return: V1ClusterPolicy - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['body', 'pretty'] - all_params.append('callback') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method create_cluster_policy" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'body' is set - if ('body' not in params) or (params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `create_cluster_policy`") - - - collection_formats = {} - - resource_path = '/oapi/v1/clusterpolicies'.replace('{format}', 'json') - path_params = {} - - query_params = {} - if 'pretty' in params: - query_params['pretty'] = params['pretty'] - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - if 'body' in params: - body_params = params['body'] - # HTTP header `Accept` - header_params['Accept'] = self.api_client.\ - select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - - # HTTP header `Content-Type` - header_params['Content-Type'] = self.api_client.\ - select_header_content_type(['*/*']) - - # Authentication setting - auth_settings = ['BearerToken'] - - return self.api_client.call_api(resource_path, 'POST', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1ClusterPolicy', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def create_cluster_policy_binding(self, body, **kwargs): - """ - create a ClusterPolicyBinding - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please define a `callback` function - to be invoked when receiving the response. - >>> def callback_function(response): - >>> pprint(response) - >>> - >>> thread = api.create_cluster_policy_binding(body, callback=callback_function) - - :param callback function: The callback function - for asynchronous request. (optional) - :param V1ClusterPolicyBinding body: (required) - :param str pretty: If 'true', then the output is pretty printed. - :return: V1ClusterPolicyBinding - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('callback'): - return self.create_cluster_policy_binding_with_http_info(body, **kwargs) - else: - (data) = self.create_cluster_policy_binding_with_http_info(body, **kwargs) - return data - - def create_cluster_policy_binding_with_http_info(self, body, **kwargs): - """ - create a ClusterPolicyBinding - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please define a `callback` function - to be invoked when receiving the response. - >>> def callback_function(response): - >>> pprint(response) - >>> - >>> thread = api.create_cluster_policy_binding_with_http_info(body, callback=callback_function) - - :param callback function: The callback function - for asynchronous request. (optional) - :param V1ClusterPolicyBinding body: (required) - :param str pretty: If 'true', then the output is pretty printed. - :return: V1ClusterPolicyBinding - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['body', 'pretty'] - all_params.append('callback') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method create_cluster_policy_binding" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'body' is set - if ('body' not in params) or (params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `create_cluster_policy_binding`") - - - collection_formats = {} - - resource_path = '/oapi/v1/clusterpolicybindings'.replace('{format}', 'json') - path_params = {} - - query_params = {} - if 'pretty' in params: - query_params['pretty'] = params['pretty'] - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - if 'body' in params: - body_params = params['body'] - # HTTP header `Accept` - header_params['Accept'] = self.api_client.\ - select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - - # HTTP header `Content-Type` - header_params['Content-Type'] = self.api_client.\ - select_header_content_type(['*/*']) - - # Authentication setting - auth_settings = ['BearerToken'] - - return self.api_client.call_api(resource_path, 'POST', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1ClusterPolicyBinding', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - def create_cluster_resource_quota(self, body, **kwargs): """ create a ClusterResourceQuota @@ -1056,7 +838,7 @@ def create_cluster_resource_quota_with_http_info(self, body, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'POST', path_params, @@ -1165,7 +947,7 @@ def create_cluster_role_with_http_info(self, body, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'POST', path_params, @@ -1274,7 +1056,7 @@ def create_cluster_role_binding_with_http_info(self, body, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'POST', path_params, @@ -1383,7 +1165,7 @@ def create_deployment_config_for_all_namespaces_with_http_info(self, body, **kwa select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'POST', path_params, @@ -1492,7 +1274,7 @@ def create_deployment_config_rollback_for_all_namespaces_with_http_info(self, bo select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'POST', path_params, @@ -1601,7 +1383,7 @@ def create_egress_network_policy_for_all_namespaces_with_http_info(self, body, * select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'POST', path_params, @@ -1710,7 +1492,7 @@ def create_group_with_http_info(self, body, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'POST', path_params, @@ -1819,7 +1601,7 @@ def create_host_subnet_with_http_info(self, body, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'POST', path_params, @@ -1928,7 +1710,7 @@ def create_identity_with_http_info(self, body, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'POST', path_params, @@ -2037,7 +1819,7 @@ def create_image_with_http_info(self, body, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'POST', path_params, @@ -2146,7 +1928,7 @@ def create_image_signature_with_http_info(self, body, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'POST', path_params, @@ -2255,7 +2037,7 @@ def create_image_stream_for_all_namespaces_with_http_info(self, body, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'POST', path_params, @@ -2364,7 +2146,7 @@ def create_image_stream_import_for_all_namespaces_with_http_info(self, body, **k select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'POST', path_params, @@ -2473,7 +2255,7 @@ def create_image_stream_mapping_for_all_namespaces_with_http_info(self, body, ** select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'POST', path_params, @@ -2582,7 +2364,7 @@ def create_image_stream_tag_for_all_namespaces_with_http_info(self, body, **kwar select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'POST', path_params, @@ -2691,7 +2473,7 @@ def create_local_resource_access_review_for_all_namespaces_with_http_info(self, select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'POST', path_params, @@ -2800,7 +2582,7 @@ def create_local_subject_access_review_for_all_namespaces_with_http_info(self, b select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'POST', path_params, @@ -2916,7 +2698,7 @@ def create_namespaced_build_with_http_info(self, namespace, body, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'POST', path_params, @@ -3032,7 +2814,7 @@ def create_namespaced_build_config_with_http_info(self, namespace, body, **kwarg select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'POST', path_params, @@ -3049,7 +2831,7 @@ def create_namespaced_build_config_with_http_info(self, namespace, body, **kwarg _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def create_namespaced_build_request_clone(self, body, name, namespace, **kwargs): + def create_namespaced_build_request_clone(self, name, namespace, body, **kwargs): """ create clone of a BuildRequest This method makes a synchronous HTTP request by default. To make an @@ -3058,13 +2840,13 @@ def create_namespaced_build_request_clone(self, body, name, namespace, **kwargs) >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.create_namespaced_build_request_clone(body, name, namespace, callback=callback_function) + >>> thread = api.create_namespaced_build_request_clone(name, namespace, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) - :param V1BuildRequest body: (required) :param str name: name of the BuildRequest (required) :param str namespace: object name and auth scope, such as for teams and projects (required) + :param V1BuildRequest body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1BuildRequest If the method is called asynchronously, @@ -3072,12 +2854,12 @@ def create_namespaced_build_request_clone(self, body, name, namespace, **kwargs) """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.create_namespaced_build_request_clone_with_http_info(body, name, namespace, **kwargs) + return self.create_namespaced_build_request_clone_with_http_info(name, namespace, body, **kwargs) else: - (data) = self.create_namespaced_build_request_clone_with_http_info(body, name, namespace, **kwargs) + (data) = self.create_namespaced_build_request_clone_with_http_info(name, namespace, body, **kwargs) return data - def create_namespaced_build_request_clone_with_http_info(self, body, name, namespace, **kwargs): + def create_namespaced_build_request_clone_with_http_info(self, name, namespace, body, **kwargs): """ create clone of a BuildRequest This method makes a synchronous HTTP request by default. To make an @@ -3086,20 +2868,20 @@ def create_namespaced_build_request_clone_with_http_info(self, body, name, names >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.create_namespaced_build_request_clone_with_http_info(body, name, namespace, callback=callback_function) + >>> thread = api.create_namespaced_build_request_clone_with_http_info(name, namespace, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) - :param V1BuildRequest body: (required) :param str name: name of the BuildRequest (required) :param str namespace: object name and auth scope, such as for teams and projects (required) + :param V1BuildRequest body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1BuildRequest If the method is called asynchronously, returns the request thread. """ - all_params = ['body', 'name', 'namespace', 'pretty'] + all_params = ['name', 'namespace', 'body', 'pretty'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -3114,15 +2896,15 @@ def create_namespaced_build_request_clone_with_http_info(self, body, name, names ) params[key] = val del params['kwargs'] - # verify the required parameter 'body' is set - if ('body' not in params) or (params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `create_namespaced_build_request_clone`") # verify the required parameter 'name' is set if ('name' not in params) or (params['name'] is None): raise ValueError("Missing the required parameter `name` when calling `create_namespaced_build_request_clone`") # verify the required parameter 'namespace' is set if ('namespace' not in params) or (params['namespace'] is None): raise ValueError("Missing the required parameter `namespace` when calling `create_namespaced_build_request_clone`") + # verify the required parameter 'body' is set + if ('body' not in params) or (params['body'] is None): + raise ValueError("Missing the required parameter `body` when calling `create_namespaced_build_request_clone`") collection_formats = {} @@ -3155,7 +2937,7 @@ def create_namespaced_build_request_clone_with_http_info(self, body, name, names select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'POST', path_params, @@ -3172,7 +2954,7 @@ def create_namespaced_build_request_clone_with_http_info(self, body, name, names _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def create_namespaced_build_request_instantiate(self, body, name, namespace, **kwargs): + def create_namespaced_build_request_instantiate(self, name, namespace, body, **kwargs): """ create instantiate of a BuildRequest This method makes a synchronous HTTP request by default. To make an @@ -3181,26 +2963,26 @@ def create_namespaced_build_request_instantiate(self, body, name, namespace, **k >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.create_namespaced_build_request_instantiate(body, name, namespace, callback=callback_function) + >>> thread = api.create_namespaced_build_request_instantiate(name, namespace, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) - :param V1BuildRequest body: (required) :param str name: name of the BuildRequest (required) :param str namespace: object name and auth scope, such as for teams and projects (required) + :param V1BuildRequest body: (required) :param str pretty: If 'true', then the output is pretty printed. - :return: V1BuildRequest + :return: V1Build If the method is called asynchronously, returns the request thread. """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.create_namespaced_build_request_instantiate_with_http_info(body, name, namespace, **kwargs) + return self.create_namespaced_build_request_instantiate_with_http_info(name, namespace, body, **kwargs) else: - (data) = self.create_namespaced_build_request_instantiate_with_http_info(body, name, namespace, **kwargs) + (data) = self.create_namespaced_build_request_instantiate_with_http_info(name, namespace, body, **kwargs) return data - def create_namespaced_build_request_instantiate_with_http_info(self, body, name, namespace, **kwargs): + def create_namespaced_build_request_instantiate_with_http_info(self, name, namespace, body, **kwargs): """ create instantiate of a BuildRequest This method makes a synchronous HTTP request by default. To make an @@ -3209,20 +2991,20 @@ def create_namespaced_build_request_instantiate_with_http_info(self, body, name, >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.create_namespaced_build_request_instantiate_with_http_info(body, name, namespace, callback=callback_function) + >>> thread = api.create_namespaced_build_request_instantiate_with_http_info(name, namespace, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) - :param V1BuildRequest body: (required) :param str name: name of the BuildRequest (required) :param str namespace: object name and auth scope, such as for teams and projects (required) + :param V1BuildRequest body: (required) :param str pretty: If 'true', then the output is pretty printed. - :return: V1BuildRequest + :return: V1Build If the method is called asynchronously, returns the request thread. """ - all_params = ['body', 'name', 'namespace', 'pretty'] + all_params = ['name', 'namespace', 'body', 'pretty'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -3237,15 +3019,15 @@ def create_namespaced_build_request_instantiate_with_http_info(self, body, name, ) params[key] = val del params['kwargs'] - # verify the required parameter 'body' is set - if ('body' not in params) or (params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `create_namespaced_build_request_instantiate`") # verify the required parameter 'name' is set if ('name' not in params) or (params['name'] is None): raise ValueError("Missing the required parameter `name` when calling `create_namespaced_build_request_instantiate`") # verify the required parameter 'namespace' is set if ('namespace' not in params) or (params['namespace'] is None): raise ValueError("Missing the required parameter `namespace` when calling `create_namespaced_build_request_instantiate`") + # verify the required parameter 'body' is set + if ('body' not in params) or (params['body'] is None): + raise ValueError("Missing the required parameter `body` when calling `create_namespaced_build_request_instantiate`") collection_formats = {} @@ -3278,7 +3060,7 @@ def create_namespaced_build_request_instantiate_with_http_info(self, body, name, select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'POST', path_params, @@ -3287,7 +3069,7 @@ def create_namespaced_build_request_instantiate_with_http_info(self, body, name, body=body_params, post_params=form_params, files=local_var_files, - response_type='V1BuildRequest', + response_type='V1Build', auth_settings=auth_settings, callback=params.get('callback'), _return_http_data_only=params.get('_return_http_data_only'), @@ -3394,7 +3176,7 @@ def create_namespaced_deployment_config_with_http_info(self, namespace, body, ** select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'POST', path_params, @@ -3411,7 +3193,7 @@ def create_namespaced_deployment_config_with_http_info(self, namespace, body, ** _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def create_namespaced_deployment_config_rollback(self, body, namespace, **kwargs): + def create_namespaced_deployment_config_rollback(self, namespace, body, **kwargs): """ create a DeploymentConfigRollback This method makes a synchronous HTTP request by default. To make an @@ -3420,12 +3202,12 @@ def create_namespaced_deployment_config_rollback(self, body, namespace, **kwargs >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.create_namespaced_deployment_config_rollback(body, namespace, callback=callback_function) + >>> thread = api.create_namespaced_deployment_config_rollback(namespace, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) - :param V1DeploymentConfigRollback body: (required) :param str namespace: object name and auth scope, such as for teams and projects (required) + :param V1DeploymentConfigRollback body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1DeploymentConfigRollback If the method is called asynchronously, @@ -3433,12 +3215,12 @@ def create_namespaced_deployment_config_rollback(self, body, namespace, **kwargs """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.create_namespaced_deployment_config_rollback_with_http_info(body, namespace, **kwargs) + return self.create_namespaced_deployment_config_rollback_with_http_info(namespace, body, **kwargs) else: - (data) = self.create_namespaced_deployment_config_rollback_with_http_info(body, namespace, **kwargs) + (data) = self.create_namespaced_deployment_config_rollback_with_http_info(namespace, body, **kwargs) return data - def create_namespaced_deployment_config_rollback_with_http_info(self, body, namespace, **kwargs): + def create_namespaced_deployment_config_rollback_with_http_info(self, namespace, body, **kwargs): """ create a DeploymentConfigRollback This method makes a synchronous HTTP request by default. To make an @@ -3447,19 +3229,19 @@ def create_namespaced_deployment_config_rollback_with_http_info(self, body, name >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.create_namespaced_deployment_config_rollback_with_http_info(body, namespace, callback=callback_function) + >>> thread = api.create_namespaced_deployment_config_rollback_with_http_info(namespace, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) - :param V1DeploymentConfigRollback body: (required) :param str namespace: object name and auth scope, such as for teams and projects (required) + :param V1DeploymentConfigRollback body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1DeploymentConfigRollback If the method is called asynchronously, returns the request thread. """ - all_params = ['body', 'namespace', 'pretty'] + all_params = ['namespace', 'body', 'pretty'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -3474,12 +3256,12 @@ def create_namespaced_deployment_config_rollback_with_http_info(self, body, name ) params[key] = val del params['kwargs'] - # verify the required parameter 'body' is set - if ('body' not in params) or (params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `create_namespaced_deployment_config_rollback`") # verify the required parameter 'namespace' is set if ('namespace' not in params) or (params['namespace'] is None): raise ValueError("Missing the required parameter `namespace` when calling `create_namespaced_deployment_config_rollback`") + # verify the required parameter 'body' is set + if ('body' not in params) or (params['body'] is None): + raise ValueError("Missing the required parameter `body` when calling `create_namespaced_deployment_config_rollback`") collection_formats = {} @@ -3510,7 +3292,7 @@ def create_namespaced_deployment_config_rollback_with_http_info(self, body, name select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'POST', path_params, @@ -3527,7 +3309,7 @@ def create_namespaced_deployment_config_rollback_with_http_info(self, body, name _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def create_namespaced_deployment_config_rollback_rollback(self, body, name, namespace, **kwargs): + def create_namespaced_deployment_config_rollback_rollback(self, name, namespace, body, **kwargs): """ create rollback of a DeploymentConfigRollback This method makes a synchronous HTTP request by default. To make an @@ -3536,13 +3318,13 @@ def create_namespaced_deployment_config_rollback_rollback(self, body, name, name >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.create_namespaced_deployment_config_rollback_rollback(body, name, namespace, callback=callback_function) + >>> thread = api.create_namespaced_deployment_config_rollback_rollback(name, namespace, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) - :param V1DeploymentConfigRollback body: (required) :param str name: name of the DeploymentConfigRollback (required) :param str namespace: object name and auth scope, such as for teams and projects (required) + :param V1DeploymentConfigRollback body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1DeploymentConfigRollback If the method is called asynchronously, @@ -3550,12 +3332,12 @@ def create_namespaced_deployment_config_rollback_rollback(self, body, name, name """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.create_namespaced_deployment_config_rollback_rollback_with_http_info(body, name, namespace, **kwargs) + return self.create_namespaced_deployment_config_rollback_rollback_with_http_info(name, namespace, body, **kwargs) else: - (data) = self.create_namespaced_deployment_config_rollback_rollback_with_http_info(body, name, namespace, **kwargs) + (data) = self.create_namespaced_deployment_config_rollback_rollback_with_http_info(name, namespace, body, **kwargs) return data - def create_namespaced_deployment_config_rollback_rollback_with_http_info(self, body, name, namespace, **kwargs): + def create_namespaced_deployment_config_rollback_rollback_with_http_info(self, name, namespace, body, **kwargs): """ create rollback of a DeploymentConfigRollback This method makes a synchronous HTTP request by default. To make an @@ -3564,20 +3346,20 @@ def create_namespaced_deployment_config_rollback_rollback_with_http_info(self, b >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.create_namespaced_deployment_config_rollback_rollback_with_http_info(body, name, namespace, callback=callback_function) + >>> thread = api.create_namespaced_deployment_config_rollback_rollback_with_http_info(name, namespace, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) - :param V1DeploymentConfigRollback body: (required) :param str name: name of the DeploymentConfigRollback (required) :param str namespace: object name and auth scope, such as for teams and projects (required) + :param V1DeploymentConfigRollback body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1DeploymentConfigRollback If the method is called asynchronously, returns the request thread. """ - all_params = ['body', 'name', 'namespace', 'pretty'] + all_params = ['name', 'namespace', 'body', 'pretty'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -3592,15 +3374,15 @@ def create_namespaced_deployment_config_rollback_rollback_with_http_info(self, b ) params[key] = val del params['kwargs'] - # verify the required parameter 'body' is set - if ('body' not in params) or (params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `create_namespaced_deployment_config_rollback_rollback`") # verify the required parameter 'name' is set if ('name' not in params) or (params['name'] is None): raise ValueError("Missing the required parameter `name` when calling `create_namespaced_deployment_config_rollback_rollback`") # verify the required parameter 'namespace' is set if ('namespace' not in params) or (params['namespace'] is None): raise ValueError("Missing the required parameter `namespace` when calling `create_namespaced_deployment_config_rollback_rollback`") + # verify the required parameter 'body' is set + if ('body' not in params) or (params['body'] is None): + raise ValueError("Missing the required parameter `body` when calling `create_namespaced_deployment_config_rollback_rollback`") collection_formats = {} @@ -3633,7 +3415,7 @@ def create_namespaced_deployment_config_rollback_rollback_with_http_info(self, b select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'POST', path_params, @@ -3650,7 +3432,7 @@ def create_namespaced_deployment_config_rollback_rollback_with_http_info(self, b _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def create_namespaced_deployment_request_instantiate(self, body, name, namespace, **kwargs): + def create_namespaced_deployment_request_instantiate(self, name, namespace, body, **kwargs): """ create instantiate of a DeploymentRequest This method makes a synchronous HTTP request by default. To make an @@ -3659,13 +3441,13 @@ def create_namespaced_deployment_request_instantiate(self, body, name, namespace >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.create_namespaced_deployment_request_instantiate(body, name, namespace, callback=callback_function) + >>> thread = api.create_namespaced_deployment_request_instantiate(name, namespace, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) - :param V1DeploymentRequest body: (required) :param str name: name of the DeploymentRequest (required) :param str namespace: object name and auth scope, such as for teams and projects (required) + :param V1DeploymentRequest body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1DeploymentRequest If the method is called asynchronously, @@ -3673,12 +3455,12 @@ def create_namespaced_deployment_request_instantiate(self, body, name, namespace """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.create_namespaced_deployment_request_instantiate_with_http_info(body, name, namespace, **kwargs) + return self.create_namespaced_deployment_request_instantiate_with_http_info(name, namespace, body, **kwargs) else: - (data) = self.create_namespaced_deployment_request_instantiate_with_http_info(body, name, namespace, **kwargs) + (data) = self.create_namespaced_deployment_request_instantiate_with_http_info(name, namespace, body, **kwargs) return data - def create_namespaced_deployment_request_instantiate_with_http_info(self, body, name, namespace, **kwargs): + def create_namespaced_deployment_request_instantiate_with_http_info(self, name, namespace, body, **kwargs): """ create instantiate of a DeploymentRequest This method makes a synchronous HTTP request by default. To make an @@ -3687,20 +3469,20 @@ def create_namespaced_deployment_request_instantiate_with_http_info(self, body, >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.create_namespaced_deployment_request_instantiate_with_http_info(body, name, namespace, callback=callback_function) + >>> thread = api.create_namespaced_deployment_request_instantiate_with_http_info(name, namespace, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) - :param V1DeploymentRequest body: (required) :param str name: name of the DeploymentRequest (required) :param str namespace: object name and auth scope, such as for teams and projects (required) + :param V1DeploymentRequest body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1DeploymentRequest If the method is called asynchronously, returns the request thread. """ - all_params = ['body', 'name', 'namespace', 'pretty'] + all_params = ['name', 'namespace', 'body', 'pretty'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -3715,15 +3497,15 @@ def create_namespaced_deployment_request_instantiate_with_http_info(self, body, ) params[key] = val del params['kwargs'] - # verify the required parameter 'body' is set - if ('body' not in params) or (params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `create_namespaced_deployment_request_instantiate`") # verify the required parameter 'name' is set if ('name' not in params) or (params['name'] is None): raise ValueError("Missing the required parameter `name` when calling `create_namespaced_deployment_request_instantiate`") # verify the required parameter 'namespace' is set if ('namespace' not in params) or (params['namespace'] is None): raise ValueError("Missing the required parameter `namespace` when calling `create_namespaced_deployment_request_instantiate`") + # verify the required parameter 'body' is set + if ('body' not in params) or (params['body'] is None): + raise ValueError("Missing the required parameter `body` when calling `create_namespaced_deployment_request_instantiate`") collection_formats = {} @@ -3756,7 +3538,7 @@ def create_namespaced_deployment_request_instantiate_with_http_info(self, body, select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'POST', path_params, @@ -3872,7 +3654,7 @@ def create_namespaced_egress_network_policy_with_http_info(self, namespace, body select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'POST', path_params, @@ -3988,7 +3770,7 @@ def create_namespaced_image_stream_with_http_info(self, namespace, body, **kwarg select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'POST', path_params, @@ -4005,7 +3787,7 @@ def create_namespaced_image_stream_with_http_info(self, namespace, body, **kwarg _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def create_namespaced_image_stream_import(self, body, namespace, **kwargs): + def create_namespaced_image_stream_import(self, namespace, body, **kwargs): """ create an ImageStreamImport This method makes a synchronous HTTP request by default. To make an @@ -4014,12 +3796,12 @@ def create_namespaced_image_stream_import(self, body, namespace, **kwargs): >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.create_namespaced_image_stream_import(body, namespace, callback=callback_function) + >>> thread = api.create_namespaced_image_stream_import(namespace, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) - :param V1ImageStreamImport body: (required) :param str namespace: object name and auth scope, such as for teams and projects (required) + :param V1ImageStreamImport body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1ImageStreamImport If the method is called asynchronously, @@ -4027,12 +3809,12 @@ def create_namespaced_image_stream_import(self, body, namespace, **kwargs): """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.create_namespaced_image_stream_import_with_http_info(body, namespace, **kwargs) + return self.create_namespaced_image_stream_import_with_http_info(namespace, body, **kwargs) else: - (data) = self.create_namespaced_image_stream_import_with_http_info(body, namespace, **kwargs) + (data) = self.create_namespaced_image_stream_import_with_http_info(namespace, body, **kwargs) return data - def create_namespaced_image_stream_import_with_http_info(self, body, namespace, **kwargs): + def create_namespaced_image_stream_import_with_http_info(self, namespace, body, **kwargs): """ create an ImageStreamImport This method makes a synchronous HTTP request by default. To make an @@ -4041,19 +3823,19 @@ def create_namespaced_image_stream_import_with_http_info(self, body, namespace, >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.create_namespaced_image_stream_import_with_http_info(body, namespace, callback=callback_function) + >>> thread = api.create_namespaced_image_stream_import_with_http_info(namespace, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) - :param V1ImageStreamImport body: (required) :param str namespace: object name and auth scope, such as for teams and projects (required) + :param V1ImageStreamImport body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1ImageStreamImport If the method is called asynchronously, returns the request thread. """ - all_params = ['body', 'namespace', 'pretty'] + all_params = ['namespace', 'body', 'pretty'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -4068,12 +3850,12 @@ def create_namespaced_image_stream_import_with_http_info(self, body, namespace, ) params[key] = val del params['kwargs'] - # verify the required parameter 'body' is set - if ('body' not in params) or (params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `create_namespaced_image_stream_import`") # verify the required parameter 'namespace' is set if ('namespace' not in params) or (params['namespace'] is None): raise ValueError("Missing the required parameter `namespace` when calling `create_namespaced_image_stream_import`") + # verify the required parameter 'body' is set + if ('body' not in params) or (params['body'] is None): + raise ValueError("Missing the required parameter `body` when calling `create_namespaced_image_stream_import`") collection_formats = {} @@ -4104,7 +3886,7 @@ def create_namespaced_image_stream_import_with_http_info(self, body, namespace, select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'POST', path_params, @@ -4121,7 +3903,7 @@ def create_namespaced_image_stream_import_with_http_info(self, body, namespace, _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def create_namespaced_image_stream_mapping(self, body, namespace, **kwargs): + def create_namespaced_image_stream_mapping(self, namespace, body, **kwargs): """ create an ImageStreamMapping This method makes a synchronous HTTP request by default. To make an @@ -4130,12 +3912,12 @@ def create_namespaced_image_stream_mapping(self, body, namespace, **kwargs): >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.create_namespaced_image_stream_mapping(body, namespace, callback=callback_function) + >>> thread = api.create_namespaced_image_stream_mapping(namespace, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) - :param V1ImageStreamMapping body: (required) :param str namespace: object name and auth scope, such as for teams and projects (required) + :param V1ImageStreamMapping body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1ImageStreamMapping If the method is called asynchronously, @@ -4143,12 +3925,12 @@ def create_namespaced_image_stream_mapping(self, body, namespace, **kwargs): """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.create_namespaced_image_stream_mapping_with_http_info(body, namespace, **kwargs) + return self.create_namespaced_image_stream_mapping_with_http_info(namespace, body, **kwargs) else: - (data) = self.create_namespaced_image_stream_mapping_with_http_info(body, namespace, **kwargs) + (data) = self.create_namespaced_image_stream_mapping_with_http_info(namespace, body, **kwargs) return data - def create_namespaced_image_stream_mapping_with_http_info(self, body, namespace, **kwargs): + def create_namespaced_image_stream_mapping_with_http_info(self, namespace, body, **kwargs): """ create an ImageStreamMapping This method makes a synchronous HTTP request by default. To make an @@ -4157,19 +3939,19 @@ def create_namespaced_image_stream_mapping_with_http_info(self, body, namespace, >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.create_namespaced_image_stream_mapping_with_http_info(body, namespace, callback=callback_function) + >>> thread = api.create_namespaced_image_stream_mapping_with_http_info(namespace, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) - :param V1ImageStreamMapping body: (required) :param str namespace: object name and auth scope, such as for teams and projects (required) + :param V1ImageStreamMapping body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1ImageStreamMapping If the method is called asynchronously, returns the request thread. """ - all_params = ['body', 'namespace', 'pretty'] + all_params = ['namespace', 'body', 'pretty'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -4184,12 +3966,12 @@ def create_namespaced_image_stream_mapping_with_http_info(self, body, namespace, ) params[key] = val del params['kwargs'] - # verify the required parameter 'body' is set - if ('body' not in params) or (params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `create_namespaced_image_stream_mapping`") # verify the required parameter 'namespace' is set if ('namespace' not in params) or (params['namespace'] is None): raise ValueError("Missing the required parameter `namespace` when calling `create_namespaced_image_stream_mapping`") + # verify the required parameter 'body' is set + if ('body' not in params) or (params['body'] is None): + raise ValueError("Missing the required parameter `body` when calling `create_namespaced_image_stream_mapping`") collection_formats = {} @@ -4220,7 +4002,7 @@ def create_namespaced_image_stream_mapping_with_http_info(self, body, namespace, select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'POST', path_params, @@ -4336,7 +4118,7 @@ def create_namespaced_image_stream_tag_with_http_info(self, namespace, body, **k select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'POST', path_params, @@ -4353,7 +4135,7 @@ def create_namespaced_image_stream_tag_with_http_info(self, namespace, body, **k _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def create_namespaced_local_resource_access_review(self, body, namespace, **kwargs): + def create_namespaced_local_resource_access_review(self, namespace, body, **kwargs): """ create a LocalResourceAccessReview This method makes a synchronous HTTP request by default. To make an @@ -4362,12 +4144,12 @@ def create_namespaced_local_resource_access_review(self, body, namespace, **kwar >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.create_namespaced_local_resource_access_review(body, namespace, callback=callback_function) + >>> thread = api.create_namespaced_local_resource_access_review(namespace, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) - :param V1LocalResourceAccessReview body: (required) :param str namespace: object name and auth scope, such as for teams and projects (required) + :param V1LocalResourceAccessReview body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1LocalResourceAccessReview If the method is called asynchronously, @@ -4375,12 +4157,12 @@ def create_namespaced_local_resource_access_review(self, body, namespace, **kwar """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.create_namespaced_local_resource_access_review_with_http_info(body, namespace, **kwargs) + return self.create_namespaced_local_resource_access_review_with_http_info(namespace, body, **kwargs) else: - (data) = self.create_namespaced_local_resource_access_review_with_http_info(body, namespace, **kwargs) + (data) = self.create_namespaced_local_resource_access_review_with_http_info(namespace, body, **kwargs) return data - def create_namespaced_local_resource_access_review_with_http_info(self, body, namespace, **kwargs): + def create_namespaced_local_resource_access_review_with_http_info(self, namespace, body, **kwargs): """ create a LocalResourceAccessReview This method makes a synchronous HTTP request by default. To make an @@ -4389,19 +4171,19 @@ def create_namespaced_local_resource_access_review_with_http_info(self, body, na >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.create_namespaced_local_resource_access_review_with_http_info(body, namespace, callback=callback_function) + >>> thread = api.create_namespaced_local_resource_access_review_with_http_info(namespace, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) - :param V1LocalResourceAccessReview body: (required) :param str namespace: object name and auth scope, such as for teams and projects (required) + :param V1LocalResourceAccessReview body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1LocalResourceAccessReview If the method is called asynchronously, returns the request thread. """ - all_params = ['body', 'namespace', 'pretty'] + all_params = ['namespace', 'body', 'pretty'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -4416,12 +4198,12 @@ def create_namespaced_local_resource_access_review_with_http_info(self, body, na ) params[key] = val del params['kwargs'] - # verify the required parameter 'body' is set - if ('body' not in params) or (params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `create_namespaced_local_resource_access_review`") # verify the required parameter 'namespace' is set if ('namespace' not in params) or (params['namespace'] is None): raise ValueError("Missing the required parameter `namespace` when calling `create_namespaced_local_resource_access_review`") + # verify the required parameter 'body' is set + if ('body' not in params) or (params['body'] is None): + raise ValueError("Missing the required parameter `body` when calling `create_namespaced_local_resource_access_review`") collection_formats = {} @@ -4452,7 +4234,7 @@ def create_namespaced_local_resource_access_review_with_http_info(self, body, na select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'POST', path_params, @@ -4469,7 +4251,7 @@ def create_namespaced_local_resource_access_review_with_http_info(self, body, na _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def create_namespaced_local_subject_access_review(self, body, namespace, **kwargs): + def create_namespaced_local_subject_access_review(self, namespace, body, **kwargs): """ create a LocalSubjectAccessReview This method makes a synchronous HTTP request by default. To make an @@ -4478,12 +4260,12 @@ def create_namespaced_local_subject_access_review(self, body, namespace, **kwarg >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.create_namespaced_local_subject_access_review(body, namespace, callback=callback_function) + >>> thread = api.create_namespaced_local_subject_access_review(namespace, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) - :param V1LocalSubjectAccessReview body: (required) :param str namespace: object name and auth scope, such as for teams and projects (required) + :param V1LocalSubjectAccessReview body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1LocalSubjectAccessReview If the method is called asynchronously, @@ -4491,12 +4273,12 @@ def create_namespaced_local_subject_access_review(self, body, namespace, **kwarg """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.create_namespaced_local_subject_access_review_with_http_info(body, namespace, **kwargs) + return self.create_namespaced_local_subject_access_review_with_http_info(namespace, body, **kwargs) else: - (data) = self.create_namespaced_local_subject_access_review_with_http_info(body, namespace, **kwargs) + (data) = self.create_namespaced_local_subject_access_review_with_http_info(namespace, body, **kwargs) return data - def create_namespaced_local_subject_access_review_with_http_info(self, body, namespace, **kwargs): + def create_namespaced_local_subject_access_review_with_http_info(self, namespace, body, **kwargs): """ create a LocalSubjectAccessReview This method makes a synchronous HTTP request by default. To make an @@ -4505,19 +4287,19 @@ def create_namespaced_local_subject_access_review_with_http_info(self, body, nam >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.create_namespaced_local_subject_access_review_with_http_info(body, namespace, callback=callback_function) + >>> thread = api.create_namespaced_local_subject_access_review_with_http_info(namespace, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) - :param V1LocalSubjectAccessReview body: (required) :param str namespace: object name and auth scope, such as for teams and projects (required) + :param V1LocalSubjectAccessReview body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1LocalSubjectAccessReview If the method is called asynchronously, returns the request thread. """ - all_params = ['body', 'namespace', 'pretty'] + all_params = ['namespace', 'body', 'pretty'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -4532,12 +4314,12 @@ def create_namespaced_local_subject_access_review_with_http_info(self, body, nam ) params[key] = val del params['kwargs'] - # verify the required parameter 'body' is set - if ('body' not in params) or (params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `create_namespaced_local_subject_access_review`") # verify the required parameter 'namespace' is set if ('namespace' not in params) or (params['namespace'] is None): raise ValueError("Missing the required parameter `namespace` when calling `create_namespaced_local_subject_access_review`") + # verify the required parameter 'body' is set + if ('body' not in params) or (params['body'] is None): + raise ValueError("Missing the required parameter `body` when calling `create_namespaced_local_subject_access_review`") collection_formats = {} @@ -4568,7 +4350,7 @@ def create_namespaced_local_subject_access_review_with_http_info(self, body, nam select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'POST', path_params, @@ -4585,7 +4367,7 @@ def create_namespaced_local_subject_access_review_with_http_info(self, body, nam _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def create_namespaced_pod_security_policy_review(self, body, namespace, **kwargs): + def create_namespaced_pod_security_policy_review(self, namespace, body, **kwargs): """ create a PodSecurityPolicyReview This method makes a synchronous HTTP request by default. To make an @@ -4594,12 +4376,12 @@ def create_namespaced_pod_security_policy_review(self, body, namespace, **kwargs >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.create_namespaced_pod_security_policy_review(body, namespace, callback=callback_function) + >>> thread = api.create_namespaced_pod_security_policy_review(namespace, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) - :param V1PodSecurityPolicyReview body: (required) :param str namespace: object name and auth scope, such as for teams and projects (required) + :param V1PodSecurityPolicyReview body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1PodSecurityPolicyReview If the method is called asynchronously, @@ -4607,12 +4389,12 @@ def create_namespaced_pod_security_policy_review(self, body, namespace, **kwargs """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.create_namespaced_pod_security_policy_review_with_http_info(body, namespace, **kwargs) + return self.create_namespaced_pod_security_policy_review_with_http_info(namespace, body, **kwargs) else: - (data) = self.create_namespaced_pod_security_policy_review_with_http_info(body, namespace, **kwargs) + (data) = self.create_namespaced_pod_security_policy_review_with_http_info(namespace, body, **kwargs) return data - def create_namespaced_pod_security_policy_review_with_http_info(self, body, namespace, **kwargs): + def create_namespaced_pod_security_policy_review_with_http_info(self, namespace, body, **kwargs): """ create a PodSecurityPolicyReview This method makes a synchronous HTTP request by default. To make an @@ -4621,19 +4403,19 @@ def create_namespaced_pod_security_policy_review_with_http_info(self, body, name >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.create_namespaced_pod_security_policy_review_with_http_info(body, namespace, callback=callback_function) + >>> thread = api.create_namespaced_pod_security_policy_review_with_http_info(namespace, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) - :param V1PodSecurityPolicyReview body: (required) :param str namespace: object name and auth scope, such as for teams and projects (required) + :param V1PodSecurityPolicyReview body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1PodSecurityPolicyReview If the method is called asynchronously, returns the request thread. """ - all_params = ['body', 'namespace', 'pretty'] + all_params = ['namespace', 'body', 'pretty'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -4648,12 +4430,12 @@ def create_namespaced_pod_security_policy_review_with_http_info(self, body, name ) params[key] = val del params['kwargs'] - # verify the required parameter 'body' is set - if ('body' not in params) or (params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `create_namespaced_pod_security_policy_review`") # verify the required parameter 'namespace' is set if ('namespace' not in params) or (params['namespace'] is None): raise ValueError("Missing the required parameter `namespace` when calling `create_namespaced_pod_security_policy_review`") + # verify the required parameter 'body' is set + if ('body' not in params) or (params['body'] is None): + raise ValueError("Missing the required parameter `body` when calling `create_namespaced_pod_security_policy_review`") collection_formats = {} @@ -4684,7 +4466,7 @@ def create_namespaced_pod_security_policy_review_with_http_info(self, body, name select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'POST', path_params, @@ -4701,7 +4483,7 @@ def create_namespaced_pod_security_policy_review_with_http_info(self, body, name _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def create_namespaced_pod_security_policy_self_subject_review(self, body, namespace, **kwargs): + def create_namespaced_pod_security_policy_self_subject_review(self, namespace, body, **kwargs): """ create a PodSecurityPolicySelfSubjectReview This method makes a synchronous HTTP request by default. To make an @@ -4710,12 +4492,12 @@ def create_namespaced_pod_security_policy_self_subject_review(self, body, namesp >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.create_namespaced_pod_security_policy_self_subject_review(body, namespace, callback=callback_function) + >>> thread = api.create_namespaced_pod_security_policy_self_subject_review(namespace, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) - :param V1PodSecurityPolicySelfSubjectReview body: (required) :param str namespace: object name and auth scope, such as for teams and projects (required) + :param V1PodSecurityPolicySelfSubjectReview body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1PodSecurityPolicySelfSubjectReview If the method is called asynchronously, @@ -4723,12 +4505,12 @@ def create_namespaced_pod_security_policy_self_subject_review(self, body, namesp """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.create_namespaced_pod_security_policy_self_subject_review_with_http_info(body, namespace, **kwargs) + return self.create_namespaced_pod_security_policy_self_subject_review_with_http_info(namespace, body, **kwargs) else: - (data) = self.create_namespaced_pod_security_policy_self_subject_review_with_http_info(body, namespace, **kwargs) + (data) = self.create_namespaced_pod_security_policy_self_subject_review_with_http_info(namespace, body, **kwargs) return data - def create_namespaced_pod_security_policy_self_subject_review_with_http_info(self, body, namespace, **kwargs): + def create_namespaced_pod_security_policy_self_subject_review_with_http_info(self, namespace, body, **kwargs): """ create a PodSecurityPolicySelfSubjectReview This method makes a synchronous HTTP request by default. To make an @@ -4737,19 +4519,19 @@ def create_namespaced_pod_security_policy_self_subject_review_with_http_info(sel >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.create_namespaced_pod_security_policy_self_subject_review_with_http_info(body, namespace, callback=callback_function) + >>> thread = api.create_namespaced_pod_security_policy_self_subject_review_with_http_info(namespace, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) - :param V1PodSecurityPolicySelfSubjectReview body: (required) :param str namespace: object name and auth scope, such as for teams and projects (required) + :param V1PodSecurityPolicySelfSubjectReview body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1PodSecurityPolicySelfSubjectReview If the method is called asynchronously, returns the request thread. """ - all_params = ['body', 'namespace', 'pretty'] + all_params = ['namespace', 'body', 'pretty'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -4764,12 +4546,12 @@ def create_namespaced_pod_security_policy_self_subject_review_with_http_info(sel ) params[key] = val del params['kwargs'] - # verify the required parameter 'body' is set - if ('body' not in params) or (params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `create_namespaced_pod_security_policy_self_subject_review`") # verify the required parameter 'namespace' is set if ('namespace' not in params) or (params['namespace'] is None): raise ValueError("Missing the required parameter `namespace` when calling `create_namespaced_pod_security_policy_self_subject_review`") + # verify the required parameter 'body' is set + if ('body' not in params) or (params['body'] is None): + raise ValueError("Missing the required parameter `body` when calling `create_namespaced_pod_security_policy_self_subject_review`") collection_formats = {} @@ -4800,7 +4582,7 @@ def create_namespaced_pod_security_policy_self_subject_review_with_http_info(sel select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'POST', path_params, @@ -4817,7 +4599,7 @@ def create_namespaced_pod_security_policy_self_subject_review_with_http_info(sel _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def create_namespaced_pod_security_policy_subject_review(self, body, namespace, **kwargs): + def create_namespaced_pod_security_policy_subject_review(self, namespace, body, **kwargs): """ create a PodSecurityPolicySubjectReview This method makes a synchronous HTTP request by default. To make an @@ -4826,12 +4608,12 @@ def create_namespaced_pod_security_policy_subject_review(self, body, namespace, >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.create_namespaced_pod_security_policy_subject_review(body, namespace, callback=callback_function) + >>> thread = api.create_namespaced_pod_security_policy_subject_review(namespace, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) - :param V1PodSecurityPolicySubjectReview body: (required) :param str namespace: object name and auth scope, such as for teams and projects (required) + :param V1PodSecurityPolicySubjectReview body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1PodSecurityPolicySubjectReview If the method is called asynchronously, @@ -4839,12 +4621,12 @@ def create_namespaced_pod_security_policy_subject_review(self, body, namespace, """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.create_namespaced_pod_security_policy_subject_review_with_http_info(body, namespace, **kwargs) + return self.create_namespaced_pod_security_policy_subject_review_with_http_info(namespace, body, **kwargs) else: - (data) = self.create_namespaced_pod_security_policy_subject_review_with_http_info(body, namespace, **kwargs) + (data) = self.create_namespaced_pod_security_policy_subject_review_with_http_info(namespace, body, **kwargs) return data - def create_namespaced_pod_security_policy_subject_review_with_http_info(self, body, namespace, **kwargs): + def create_namespaced_pod_security_policy_subject_review_with_http_info(self, namespace, body, **kwargs): """ create a PodSecurityPolicySubjectReview This method makes a synchronous HTTP request by default. To make an @@ -4853,19 +4635,19 @@ def create_namespaced_pod_security_policy_subject_review_with_http_info(self, bo >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.create_namespaced_pod_security_policy_subject_review_with_http_info(body, namespace, callback=callback_function) + >>> thread = api.create_namespaced_pod_security_policy_subject_review_with_http_info(namespace, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) - :param V1PodSecurityPolicySubjectReview body: (required) :param str namespace: object name and auth scope, such as for teams and projects (required) + :param V1PodSecurityPolicySubjectReview body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1PodSecurityPolicySubjectReview If the method is called asynchronously, returns the request thread. """ - all_params = ['body', 'namespace', 'pretty'] + all_params = ['namespace', 'body', 'pretty'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -4880,12 +4662,12 @@ def create_namespaced_pod_security_policy_subject_review_with_http_info(self, bo ) params[key] = val del params['kwargs'] - # verify the required parameter 'body' is set - if ('body' not in params) or (params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `create_namespaced_pod_security_policy_subject_review`") # verify the required parameter 'namespace' is set if ('namespace' not in params) or (params['namespace'] is None): raise ValueError("Missing the required parameter `namespace` when calling `create_namespaced_pod_security_policy_subject_review`") + # verify the required parameter 'body' is set + if ('body' not in params) or (params['body'] is None): + raise ValueError("Missing the required parameter `body` when calling `create_namespaced_pod_security_policy_subject_review`") collection_formats = {} @@ -4916,7 +4698,7 @@ def create_namespaced_pod_security_policy_subject_review_with_http_info(self, bo select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'POST', path_params, @@ -4933,50 +4715,50 @@ def create_namespaced_pod_security_policy_subject_review_with_http_info(self, bo _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def create_namespaced_policy(self, namespace, body, **kwargs): + def create_namespaced_processed_template(self, namespace, body, **kwargs): """ - create a Policy + create a Template This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.create_namespaced_policy(namespace, body, callback=callback_function) + >>> thread = api.create_namespaced_processed_template(namespace, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1Policy body: (required) + :param V1Template body: (required) :param str pretty: If 'true', then the output is pretty printed. - :return: V1Policy + :return: V1Template If the method is called asynchronously, returns the request thread. """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.create_namespaced_policy_with_http_info(namespace, body, **kwargs) + return self.create_namespaced_processed_template_with_http_info(namespace, body, **kwargs) else: - (data) = self.create_namespaced_policy_with_http_info(namespace, body, **kwargs) + (data) = self.create_namespaced_processed_template_with_http_info(namespace, body, **kwargs) return data - def create_namespaced_policy_with_http_info(self, namespace, body, **kwargs): + def create_namespaced_processed_template_with_http_info(self, namespace, body, **kwargs): """ - create a Policy + create a Template This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.create_namespaced_policy_with_http_info(namespace, body, callback=callback_function) + >>> thread = api.create_namespaced_processed_template_with_http_info(namespace, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1Policy body: (required) + :param V1Template body: (required) :param str pretty: If 'true', then the output is pretty printed. - :return: V1Policy + :return: V1Template If the method is called asynchronously, returns the request thread. """ @@ -4992,21 +4774,21 @@ def create_namespaced_policy_with_http_info(self, namespace, body, **kwargs): if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method create_namespaced_policy" % key + " to method create_namespaced_processed_template" % key ) params[key] = val del params['kwargs'] # verify the required parameter 'namespace' is set if ('namespace' not in params) or (params['namespace'] is None): - raise ValueError("Missing the required parameter `namespace` when calling `create_namespaced_policy`") + raise ValueError("Missing the required parameter `namespace` when calling `create_namespaced_processed_template`") # verify the required parameter 'body' is set if ('body' not in params) or (params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `create_namespaced_policy`") + raise ValueError("Missing the required parameter `body` when calling `create_namespaced_processed_template`") collection_formats = {} - resource_path = '/oapi/v1/namespaces/{namespace}/policies'.replace('{format}', 'json') + resource_path = '/oapi/v1/namespaces/{namespace}/processedtemplates'.replace('{format}', 'json') path_params = {} if 'namespace' in params: path_params['namespace'] = params['namespace'] @@ -5032,7 +4814,7 @@ def create_namespaced_policy_with_http_info(self, namespace, body, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'POST', path_params, @@ -5041,7 +4823,7 @@ def create_namespaced_policy_with_http_info(self, namespace, body, **kwargs): body=body_params, post_params=form_params, files=local_var_files, - response_type='V1Policy', + response_type='V1Template', auth_settings=auth_settings, callback=params.get('callback'), _return_http_data_only=params.get('_return_http_data_only'), @@ -5049,50 +4831,50 @@ def create_namespaced_policy_with_http_info(self, namespace, body, **kwargs): _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def create_namespaced_policy_binding(self, namespace, body, **kwargs): + def create_namespaced_resource_access_review(self, namespace, body, **kwargs): """ - create a PolicyBinding + create a ResourceAccessReview This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.create_namespaced_policy_binding(namespace, body, callback=callback_function) + >>> thread = api.create_namespaced_resource_access_review(namespace, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1PolicyBinding body: (required) + :param V1ResourceAccessReview body: (required) :param str pretty: If 'true', then the output is pretty printed. - :return: V1PolicyBinding + :return: V1ResourceAccessReview If the method is called asynchronously, returns the request thread. """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.create_namespaced_policy_binding_with_http_info(namespace, body, **kwargs) + return self.create_namespaced_resource_access_review_with_http_info(namespace, body, **kwargs) else: - (data) = self.create_namespaced_policy_binding_with_http_info(namespace, body, **kwargs) + (data) = self.create_namespaced_resource_access_review_with_http_info(namespace, body, **kwargs) return data - def create_namespaced_policy_binding_with_http_info(self, namespace, body, **kwargs): + def create_namespaced_resource_access_review_with_http_info(self, namespace, body, **kwargs): """ - create a PolicyBinding + create a ResourceAccessReview This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.create_namespaced_policy_binding_with_http_info(namespace, body, callback=callback_function) + >>> thread = api.create_namespaced_resource_access_review_with_http_info(namespace, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1PolicyBinding body: (required) + :param V1ResourceAccessReview body: (required) :param str pretty: If 'true', then the output is pretty printed. - :return: V1PolicyBinding + :return: V1ResourceAccessReview If the method is called asynchronously, returns the request thread. """ @@ -5108,21 +4890,21 @@ def create_namespaced_policy_binding_with_http_info(self, namespace, body, **kwa if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method create_namespaced_policy_binding" % key + " to method create_namespaced_resource_access_review" % key ) params[key] = val del params['kwargs'] # verify the required parameter 'namespace' is set if ('namespace' not in params) or (params['namespace'] is None): - raise ValueError("Missing the required parameter `namespace` when calling `create_namespaced_policy_binding`") + raise ValueError("Missing the required parameter `namespace` when calling `create_namespaced_resource_access_review`") # verify the required parameter 'body' is set if ('body' not in params) or (params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `create_namespaced_policy_binding`") + raise ValueError("Missing the required parameter `body` when calling `create_namespaced_resource_access_review`") collection_formats = {} - resource_path = '/oapi/v1/namespaces/{namespace}/policybindings'.replace('{format}', 'json') + resource_path = '/oapi/v1/namespaces/{namespace}/resourceaccessreviews'.replace('{format}', 'json') path_params = {} if 'namespace' in params: path_params['namespace'] = params['namespace'] @@ -5148,7 +4930,7 @@ def create_namespaced_policy_binding_with_http_info(self, namespace, body, **kwa select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'POST', path_params, @@ -5157,7 +4939,7 @@ def create_namespaced_policy_binding_with_http_info(self, namespace, body, **kwa body=body_params, post_params=form_params, files=local_var_files, - response_type='V1PolicyBinding', + response_type='V1ResourceAccessReview', auth_settings=auth_settings, callback=params.get('callback'), _return_http_data_only=params.get('_return_http_data_only'), @@ -5165,55 +4947,55 @@ def create_namespaced_policy_binding_with_http_info(self, namespace, body, **kwa _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def create_namespaced_processed_template(self, body, namespace, **kwargs): + def create_namespaced_role(self, namespace, body, **kwargs): """ - create a Template + create a Role This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.create_namespaced_processed_template(body, namespace, callback=callback_function) + >>> thread = api.create_namespaced_role(namespace, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) - :param V1Template body: (required) :param str namespace: object name and auth scope, such as for teams and projects (required) + :param V1Role body: (required) :param str pretty: If 'true', then the output is pretty printed. - :return: V1Template + :return: V1Role If the method is called asynchronously, returns the request thread. """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.create_namespaced_processed_template_with_http_info(body, namespace, **kwargs) + return self.create_namespaced_role_with_http_info(namespace, body, **kwargs) else: - (data) = self.create_namespaced_processed_template_with_http_info(body, namespace, **kwargs) + (data) = self.create_namespaced_role_with_http_info(namespace, body, **kwargs) return data - def create_namespaced_processed_template_with_http_info(self, body, namespace, **kwargs): + def create_namespaced_role_with_http_info(self, namespace, body, **kwargs): """ - create a Template + create a Role This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.create_namespaced_processed_template_with_http_info(body, namespace, callback=callback_function) + >>> thread = api.create_namespaced_role_with_http_info(namespace, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) - :param V1Template body: (required) :param str namespace: object name and auth scope, such as for teams and projects (required) + :param V1Role body: (required) :param str pretty: If 'true', then the output is pretty printed. - :return: V1Template + :return: V1Role If the method is called asynchronously, returns the request thread. """ - all_params = ['body', 'namespace', 'pretty'] + all_params = ['namespace', 'body', 'pretty'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -5224,21 +5006,21 @@ def create_namespaced_processed_template_with_http_info(self, body, namespace, * if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method create_namespaced_processed_template" % key + " to method create_namespaced_role" % key ) params[key] = val del params['kwargs'] - # verify the required parameter 'body' is set - if ('body' not in params) or (params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `create_namespaced_processed_template`") # verify the required parameter 'namespace' is set if ('namespace' not in params) or (params['namespace'] is None): - raise ValueError("Missing the required parameter `namespace` when calling `create_namespaced_processed_template`") + raise ValueError("Missing the required parameter `namespace` when calling `create_namespaced_role`") + # verify the required parameter 'body' is set + if ('body' not in params) or (params['body'] is None): + raise ValueError("Missing the required parameter `body` when calling `create_namespaced_role`") collection_formats = {} - resource_path = '/oapi/v1/namespaces/{namespace}/processedtemplates'.replace('{format}', 'json') + resource_path = '/oapi/v1/namespaces/{namespace}/roles'.replace('{format}', 'json') path_params = {} if 'namespace' in params: path_params['namespace'] = params['namespace'] @@ -5264,7 +5046,7 @@ def create_namespaced_processed_template_with_http_info(self, body, namespace, * select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'POST', path_params, @@ -5273,7 +5055,7 @@ def create_namespaced_processed_template_with_http_info(self, body, namespace, * body=body_params, post_params=form_params, files=local_var_files, - response_type='V1Template', + response_type='V1Role', auth_settings=auth_settings, callback=params.get('callback'), _return_http_data_only=params.get('_return_http_data_only'), @@ -5281,55 +5063,55 @@ def create_namespaced_processed_template_with_http_info(self, body, namespace, * _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def create_namespaced_resource_access_review(self, body, namespace, **kwargs): + def create_namespaced_role_binding(self, namespace, body, **kwargs): """ - create a ResourceAccessReview + create a RoleBinding This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.create_namespaced_resource_access_review(body, namespace, callback=callback_function) + >>> thread = api.create_namespaced_role_binding(namespace, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) - :param V1ResourceAccessReview body: (required) :param str namespace: object name and auth scope, such as for teams and projects (required) + :param V1RoleBinding body: (required) :param str pretty: If 'true', then the output is pretty printed. - :return: V1ResourceAccessReview + :return: V1RoleBinding If the method is called asynchronously, returns the request thread. """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.create_namespaced_resource_access_review_with_http_info(body, namespace, **kwargs) + return self.create_namespaced_role_binding_with_http_info(namespace, body, **kwargs) else: - (data) = self.create_namespaced_resource_access_review_with_http_info(body, namespace, **kwargs) + (data) = self.create_namespaced_role_binding_with_http_info(namespace, body, **kwargs) return data - def create_namespaced_resource_access_review_with_http_info(self, body, namespace, **kwargs): + def create_namespaced_role_binding_with_http_info(self, namespace, body, **kwargs): """ - create a ResourceAccessReview + create a RoleBinding This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.create_namespaced_resource_access_review_with_http_info(body, namespace, callback=callback_function) + >>> thread = api.create_namespaced_role_binding_with_http_info(namespace, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) - :param V1ResourceAccessReview body: (required) :param str namespace: object name and auth scope, such as for teams and projects (required) + :param V1RoleBinding body: (required) :param str pretty: If 'true', then the output is pretty printed. - :return: V1ResourceAccessReview + :return: V1RoleBinding If the method is called asynchronously, returns the request thread. """ - all_params = ['body', 'namespace', 'pretty'] + all_params = ['namespace', 'body', 'pretty'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -5340,21 +5122,21 @@ def create_namespaced_resource_access_review_with_http_info(self, body, namespac if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method create_namespaced_resource_access_review" % key + " to method create_namespaced_role_binding" % key ) params[key] = val del params['kwargs'] - # verify the required parameter 'body' is set - if ('body' not in params) or (params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `create_namespaced_resource_access_review`") # verify the required parameter 'namespace' is set if ('namespace' not in params) or (params['namespace'] is None): - raise ValueError("Missing the required parameter `namespace` when calling `create_namespaced_resource_access_review`") + raise ValueError("Missing the required parameter `namespace` when calling `create_namespaced_role_binding`") + # verify the required parameter 'body' is set + if ('body' not in params) or (params['body'] is None): + raise ValueError("Missing the required parameter `body` when calling `create_namespaced_role_binding`") collection_formats = {} - resource_path = '/oapi/v1/namespaces/{namespace}/resourceaccessreviews'.replace('{format}', 'json') + resource_path = '/oapi/v1/namespaces/{namespace}/rolebindings'.replace('{format}', 'json') path_params = {} if 'namespace' in params: path_params['namespace'] = params['namespace'] @@ -5380,7 +5162,7 @@ def create_namespaced_resource_access_review_with_http_info(self, body, namespac select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'POST', path_params, @@ -5389,7 +5171,7 @@ def create_namespaced_resource_access_review_with_http_info(self, body, namespac body=body_params, post_params=form_params, files=local_var_files, - response_type='V1ResourceAccessReview', + response_type='V1RoleBinding', auth_settings=auth_settings, callback=params.get('callback'), _return_http_data_only=params.get('_return_http_data_only'), @@ -5397,50 +5179,50 @@ def create_namespaced_resource_access_review_with_http_info(self, body, namespac _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def create_namespaced_role(self, namespace, body, **kwargs): + def create_namespaced_role_binding_restriction(self, namespace, body, **kwargs): """ - create a Role + create a RoleBindingRestriction This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.create_namespaced_role(namespace, body, callback=callback_function) + >>> thread = api.create_namespaced_role_binding_restriction(namespace, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1Role body: (required) + :param V1RoleBindingRestriction body: (required) :param str pretty: If 'true', then the output is pretty printed. - :return: V1Role + :return: V1RoleBindingRestriction If the method is called asynchronously, returns the request thread. """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.create_namespaced_role_with_http_info(namespace, body, **kwargs) + return self.create_namespaced_role_binding_restriction_with_http_info(namespace, body, **kwargs) else: - (data) = self.create_namespaced_role_with_http_info(namespace, body, **kwargs) + (data) = self.create_namespaced_role_binding_restriction_with_http_info(namespace, body, **kwargs) return data - def create_namespaced_role_with_http_info(self, namespace, body, **kwargs): + def create_namespaced_role_binding_restriction_with_http_info(self, namespace, body, **kwargs): """ - create a Role + create a RoleBindingRestriction This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.create_namespaced_role_with_http_info(namespace, body, callback=callback_function) + >>> thread = api.create_namespaced_role_binding_restriction_with_http_info(namespace, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1Role body: (required) + :param V1RoleBindingRestriction body: (required) :param str pretty: If 'true', then the output is pretty printed. - :return: V1Role + :return: V1RoleBindingRestriction If the method is called asynchronously, returns the request thread. """ @@ -5456,21 +5238,21 @@ def create_namespaced_role_with_http_info(self, namespace, body, **kwargs): if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method create_namespaced_role" % key + " to method create_namespaced_role_binding_restriction" % key ) params[key] = val del params['kwargs'] # verify the required parameter 'namespace' is set if ('namespace' not in params) or (params['namespace'] is None): - raise ValueError("Missing the required parameter `namespace` when calling `create_namespaced_role`") + raise ValueError("Missing the required parameter `namespace` when calling `create_namespaced_role_binding_restriction`") # verify the required parameter 'body' is set if ('body' not in params) or (params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `create_namespaced_role`") + raise ValueError("Missing the required parameter `body` when calling `create_namespaced_role_binding_restriction`") collection_formats = {} - resource_path = '/oapi/v1/namespaces/{namespace}/roles'.replace('{format}', 'json') + resource_path = '/oapi/v1/namespaces/{namespace}/rolebindingrestrictions'.replace('{format}', 'json') path_params = {} if 'namespace' in params: path_params['namespace'] = params['namespace'] @@ -5496,7 +5278,7 @@ def create_namespaced_role_with_http_info(self, namespace, body, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'POST', path_params, @@ -5505,7 +5287,7 @@ def create_namespaced_role_with_http_info(self, namespace, body, **kwargs): body=body_params, post_params=form_params, files=local_var_files, - response_type='V1Role', + response_type='V1RoleBindingRestriction', auth_settings=auth_settings, callback=params.get('callback'), _return_http_data_only=params.get('_return_http_data_only'), @@ -5513,50 +5295,50 @@ def create_namespaced_role_with_http_info(self, namespace, body, **kwargs): _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def create_namespaced_role_binding(self, namespace, body, **kwargs): + def create_namespaced_route(self, namespace, body, **kwargs): """ - create a RoleBinding + create a Route This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.create_namespaced_role_binding(namespace, body, callback=callback_function) + >>> thread = api.create_namespaced_route(namespace, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1RoleBinding body: (required) + :param V1Route body: (required) :param str pretty: If 'true', then the output is pretty printed. - :return: V1RoleBinding + :return: V1Route If the method is called asynchronously, returns the request thread. """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.create_namespaced_role_binding_with_http_info(namespace, body, **kwargs) + return self.create_namespaced_route_with_http_info(namespace, body, **kwargs) else: - (data) = self.create_namespaced_role_binding_with_http_info(namespace, body, **kwargs) + (data) = self.create_namespaced_route_with_http_info(namespace, body, **kwargs) return data - def create_namespaced_role_binding_with_http_info(self, namespace, body, **kwargs): + def create_namespaced_route_with_http_info(self, namespace, body, **kwargs): """ - create a RoleBinding + create a Route This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.create_namespaced_role_binding_with_http_info(namespace, body, callback=callback_function) + >>> thread = api.create_namespaced_route_with_http_info(namespace, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1RoleBinding body: (required) + :param V1Route body: (required) :param str pretty: If 'true', then the output is pretty printed. - :return: V1RoleBinding + :return: V1Route If the method is called asynchronously, returns the request thread. """ @@ -5572,21 +5354,21 @@ def create_namespaced_role_binding_with_http_info(self, namespace, body, **kwarg if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method create_namespaced_role_binding" % key + " to method create_namespaced_route" % key ) params[key] = val del params['kwargs'] # verify the required parameter 'namespace' is set if ('namespace' not in params) or (params['namespace'] is None): - raise ValueError("Missing the required parameter `namespace` when calling `create_namespaced_role_binding`") + raise ValueError("Missing the required parameter `namespace` when calling `create_namespaced_route`") # verify the required parameter 'body' is set if ('body' not in params) or (params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `create_namespaced_role_binding`") + raise ValueError("Missing the required parameter `body` when calling `create_namespaced_route`") collection_formats = {} - resource_path = '/oapi/v1/namespaces/{namespace}/rolebindings'.replace('{format}', 'json') + resource_path = '/oapi/v1/namespaces/{namespace}/routes'.replace('{format}', 'json') path_params = {} if 'namespace' in params: path_params['namespace'] = params['namespace'] @@ -5612,7 +5394,7 @@ def create_namespaced_role_binding_with_http_info(self, namespace, body, **kwarg select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'POST', path_params, @@ -5621,7 +5403,7 @@ def create_namespaced_role_binding_with_http_info(self, namespace, body, **kwarg body=body_params, post_params=form_params, files=local_var_files, - response_type='V1RoleBinding', + response_type='V1Route', auth_settings=auth_settings, callback=params.get('callback'), _return_http_data_only=params.get('_return_http_data_only'), @@ -5629,50 +5411,50 @@ def create_namespaced_role_binding_with_http_info(self, namespace, body, **kwarg _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def create_namespaced_role_binding_restriction(self, namespace, body, **kwargs): + def create_namespaced_self_subject_rules_review(self, namespace, body, **kwargs): """ - create a RoleBindingRestriction + create a SelfSubjectRulesReview This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.create_namespaced_role_binding_restriction(namespace, body, callback=callback_function) + >>> thread = api.create_namespaced_self_subject_rules_review(namespace, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1RoleBindingRestriction body: (required) + :param V1SelfSubjectRulesReview body: (required) :param str pretty: If 'true', then the output is pretty printed. - :return: V1RoleBindingRestriction + :return: V1SelfSubjectRulesReview If the method is called asynchronously, returns the request thread. """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.create_namespaced_role_binding_restriction_with_http_info(namespace, body, **kwargs) + return self.create_namespaced_self_subject_rules_review_with_http_info(namespace, body, **kwargs) else: - (data) = self.create_namespaced_role_binding_restriction_with_http_info(namespace, body, **kwargs) + (data) = self.create_namespaced_self_subject_rules_review_with_http_info(namespace, body, **kwargs) return data - def create_namespaced_role_binding_restriction_with_http_info(self, namespace, body, **kwargs): + def create_namespaced_self_subject_rules_review_with_http_info(self, namespace, body, **kwargs): """ - create a RoleBindingRestriction + create a SelfSubjectRulesReview This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.create_namespaced_role_binding_restriction_with_http_info(namespace, body, callback=callback_function) + >>> thread = api.create_namespaced_self_subject_rules_review_with_http_info(namespace, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1RoleBindingRestriction body: (required) + :param V1SelfSubjectRulesReview body: (required) :param str pretty: If 'true', then the output is pretty printed. - :return: V1RoleBindingRestriction + :return: V1SelfSubjectRulesReview If the method is called asynchronously, returns the request thread. """ @@ -5688,248 +5470,16 @@ def create_namespaced_role_binding_restriction_with_http_info(self, namespace, b if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method create_namespaced_role_binding_restriction" % key + " to method create_namespaced_self_subject_rules_review" % key ) params[key] = val del params['kwargs'] # verify the required parameter 'namespace' is set if ('namespace' not in params) or (params['namespace'] is None): - raise ValueError("Missing the required parameter `namespace` when calling `create_namespaced_role_binding_restriction`") + raise ValueError("Missing the required parameter `namespace` when calling `create_namespaced_self_subject_rules_review`") # verify the required parameter 'body' is set if ('body' not in params) or (params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `create_namespaced_role_binding_restriction`") - - - collection_formats = {} - - resource_path = '/oapi/v1/namespaces/{namespace}/rolebindingrestrictions'.replace('{format}', 'json') - path_params = {} - if 'namespace' in params: - path_params['namespace'] = params['namespace'] - - query_params = {} - if 'pretty' in params: - query_params['pretty'] = params['pretty'] - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - if 'body' in params: - body_params = params['body'] - # HTTP header `Accept` - header_params['Accept'] = self.api_client.\ - select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - - # HTTP header `Content-Type` - header_params['Content-Type'] = self.api_client.\ - select_header_content_type(['*/*']) - - # Authentication setting - auth_settings = ['BearerToken'] - - return self.api_client.call_api(resource_path, 'POST', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1RoleBindingRestriction', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def create_namespaced_route(self, namespace, body, **kwargs): - """ - create a Route - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please define a `callback` function - to be invoked when receiving the response. - >>> def callback_function(response): - >>> pprint(response) - >>> - >>> thread = api.create_namespaced_route(namespace, body, callback=callback_function) - - :param callback function: The callback function - for asynchronous request. (optional) - :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1Route body: (required) - :param str pretty: If 'true', then the output is pretty printed. - :return: V1Route - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('callback'): - return self.create_namespaced_route_with_http_info(namespace, body, **kwargs) - else: - (data) = self.create_namespaced_route_with_http_info(namespace, body, **kwargs) - return data - - def create_namespaced_route_with_http_info(self, namespace, body, **kwargs): - """ - create a Route - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please define a `callback` function - to be invoked when receiving the response. - >>> def callback_function(response): - >>> pprint(response) - >>> - >>> thread = api.create_namespaced_route_with_http_info(namespace, body, callback=callback_function) - - :param callback function: The callback function - for asynchronous request. (optional) - :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1Route body: (required) - :param str pretty: If 'true', then the output is pretty printed. - :return: V1Route - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['namespace', 'body', 'pretty'] - all_params.append('callback') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method create_namespaced_route" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'namespace' is set - if ('namespace' not in params) or (params['namespace'] is None): - raise ValueError("Missing the required parameter `namespace` when calling `create_namespaced_route`") - # verify the required parameter 'body' is set - if ('body' not in params) or (params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `create_namespaced_route`") - - - collection_formats = {} - - resource_path = '/oapi/v1/namespaces/{namespace}/routes'.replace('{format}', 'json') - path_params = {} - if 'namespace' in params: - path_params['namespace'] = params['namespace'] - - query_params = {} - if 'pretty' in params: - query_params['pretty'] = params['pretty'] - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - if 'body' in params: - body_params = params['body'] - # HTTP header `Accept` - header_params['Accept'] = self.api_client.\ - select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - - # HTTP header `Content-Type` - header_params['Content-Type'] = self.api_client.\ - select_header_content_type(['*/*']) - - # Authentication setting - auth_settings = ['BearerToken'] - - return self.api_client.call_api(resource_path, 'POST', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1Route', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def create_namespaced_self_subject_rules_review(self, body, namespace, **kwargs): - """ - create a SelfSubjectRulesReview - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please define a `callback` function - to be invoked when receiving the response. - >>> def callback_function(response): - >>> pprint(response) - >>> - >>> thread = api.create_namespaced_self_subject_rules_review(body, namespace, callback=callback_function) - - :param callback function: The callback function - for asynchronous request. (optional) - :param V1SelfSubjectRulesReview body: (required) - :param str namespace: object name and auth scope, such as for teams and projects (required) - :param str pretty: If 'true', then the output is pretty printed. - :return: V1SelfSubjectRulesReview - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('callback'): - return self.create_namespaced_self_subject_rules_review_with_http_info(body, namespace, **kwargs) - else: - (data) = self.create_namespaced_self_subject_rules_review_with_http_info(body, namespace, **kwargs) - return data - - def create_namespaced_self_subject_rules_review_with_http_info(self, body, namespace, **kwargs): - """ - create a SelfSubjectRulesReview - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please define a `callback` function - to be invoked when receiving the response. - >>> def callback_function(response): - >>> pprint(response) - >>> - >>> thread = api.create_namespaced_self_subject_rules_review_with_http_info(body, namespace, callback=callback_function) - - :param callback function: The callback function - for asynchronous request. (optional) - :param V1SelfSubjectRulesReview body: (required) - :param str namespace: object name and auth scope, such as for teams and projects (required) - :param str pretty: If 'true', then the output is pretty printed. - :return: V1SelfSubjectRulesReview - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['body', 'namespace', 'pretty'] - all_params.append('callback') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method create_namespaced_self_subject_rules_review" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'body' is set - if ('body' not in params) or (params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `create_namespaced_self_subject_rules_review`") - # verify the required parameter 'namespace' is set - if ('namespace' not in params) or (params['namespace'] is None): - raise ValueError("Missing the required parameter `namespace` when calling `create_namespaced_self_subject_rules_review`") + raise ValueError("Missing the required parameter `body` when calling `create_namespaced_self_subject_rules_review`") collection_formats = {} @@ -5960,7 +5510,7 @@ def create_namespaced_self_subject_rules_review_with_http_info(self, body, names select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'POST', path_params, @@ -5977,7 +5527,7 @@ def create_namespaced_self_subject_rules_review_with_http_info(self, body, names _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def create_namespaced_subject_access_review(self, body, namespace, **kwargs): + def create_namespaced_subject_access_review(self, namespace, body, **kwargs): """ create a SubjectAccessReview This method makes a synchronous HTTP request by default. To make an @@ -5986,12 +5536,12 @@ def create_namespaced_subject_access_review(self, body, namespace, **kwargs): >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.create_namespaced_subject_access_review(body, namespace, callback=callback_function) + >>> thread = api.create_namespaced_subject_access_review(namespace, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) - :param V1SubjectAccessReview body: (required) :param str namespace: object name and auth scope, such as for teams and projects (required) + :param V1SubjectAccessReview body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1SubjectAccessReview If the method is called asynchronously, @@ -5999,12 +5549,12 @@ def create_namespaced_subject_access_review(self, body, namespace, **kwargs): """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.create_namespaced_subject_access_review_with_http_info(body, namespace, **kwargs) + return self.create_namespaced_subject_access_review_with_http_info(namespace, body, **kwargs) else: - (data) = self.create_namespaced_subject_access_review_with_http_info(body, namespace, **kwargs) + (data) = self.create_namespaced_subject_access_review_with_http_info(namespace, body, **kwargs) return data - def create_namespaced_subject_access_review_with_http_info(self, body, namespace, **kwargs): + def create_namespaced_subject_access_review_with_http_info(self, namespace, body, **kwargs): """ create a SubjectAccessReview This method makes a synchronous HTTP request by default. To make an @@ -6013,19 +5563,19 @@ def create_namespaced_subject_access_review_with_http_info(self, body, namespace >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.create_namespaced_subject_access_review_with_http_info(body, namespace, callback=callback_function) + >>> thread = api.create_namespaced_subject_access_review_with_http_info(namespace, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) - :param V1SubjectAccessReview body: (required) :param str namespace: object name and auth scope, such as for teams and projects (required) + :param V1SubjectAccessReview body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1SubjectAccessReview If the method is called asynchronously, returns the request thread. """ - all_params = ['body', 'namespace', 'pretty'] + all_params = ['namespace', 'body', 'pretty'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -6040,12 +5590,12 @@ def create_namespaced_subject_access_review_with_http_info(self, body, namespace ) params[key] = val del params['kwargs'] - # verify the required parameter 'body' is set - if ('body' not in params) or (params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `create_namespaced_subject_access_review`") # verify the required parameter 'namespace' is set if ('namespace' not in params) or (params['namespace'] is None): raise ValueError("Missing the required parameter `namespace` when calling `create_namespaced_subject_access_review`") + # verify the required parameter 'body' is set + if ('body' not in params) or (params['body'] is None): + raise ValueError("Missing the required parameter `body` when calling `create_namespaced_subject_access_review`") collection_formats = {} @@ -6076,7 +5626,7 @@ def create_namespaced_subject_access_review_with_http_info(self, body, namespace select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'POST', path_params, @@ -6093,7 +5643,7 @@ def create_namespaced_subject_access_review_with_http_info(self, body, namespace _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def create_namespaced_subject_rules_review(self, body, namespace, **kwargs): + def create_namespaced_subject_rules_review(self, namespace, body, **kwargs): """ create a SubjectRulesReview This method makes a synchronous HTTP request by default. To make an @@ -6102,12 +5652,12 @@ def create_namespaced_subject_rules_review(self, body, namespace, **kwargs): >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.create_namespaced_subject_rules_review(body, namespace, callback=callback_function) + >>> thread = api.create_namespaced_subject_rules_review(namespace, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) - :param V1SubjectRulesReview body: (required) :param str namespace: object name and auth scope, such as for teams and projects (required) + :param V1SubjectRulesReview body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1SubjectRulesReview If the method is called asynchronously, @@ -6115,12 +5665,12 @@ def create_namespaced_subject_rules_review(self, body, namespace, **kwargs): """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.create_namespaced_subject_rules_review_with_http_info(body, namespace, **kwargs) + return self.create_namespaced_subject_rules_review_with_http_info(namespace, body, **kwargs) else: - (data) = self.create_namespaced_subject_rules_review_with_http_info(body, namespace, **kwargs) + (data) = self.create_namespaced_subject_rules_review_with_http_info(namespace, body, **kwargs) return data - def create_namespaced_subject_rules_review_with_http_info(self, body, namespace, **kwargs): + def create_namespaced_subject_rules_review_with_http_info(self, namespace, body, **kwargs): """ create a SubjectRulesReview This method makes a synchronous HTTP request by default. To make an @@ -6129,19 +5679,19 @@ def create_namespaced_subject_rules_review_with_http_info(self, body, namespace, >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.create_namespaced_subject_rules_review_with_http_info(body, namespace, callback=callback_function) + >>> thread = api.create_namespaced_subject_rules_review_with_http_info(namespace, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) - :param V1SubjectRulesReview body: (required) :param str namespace: object name and auth scope, such as for teams and projects (required) + :param V1SubjectRulesReview body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1SubjectRulesReview If the method is called asynchronously, returns the request thread. """ - all_params = ['body', 'namespace', 'pretty'] + all_params = ['namespace', 'body', 'pretty'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -6156,12 +5706,12 @@ def create_namespaced_subject_rules_review_with_http_info(self, body, namespace, ) params[key] = val del params['kwargs'] - # verify the required parameter 'body' is set - if ('body' not in params) or (params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `create_namespaced_subject_rules_review`") # verify the required parameter 'namespace' is set if ('namespace' not in params) or (params['namespace'] is None): raise ValueError("Missing the required parameter `namespace` when calling `create_namespaced_subject_rules_review`") + # verify the required parameter 'body' is set + if ('body' not in params) or (params['body'] is None): + raise ValueError("Missing the required parameter `body` when calling `create_namespaced_subject_rules_review`") collection_formats = {} @@ -6192,7 +5742,7 @@ def create_namespaced_subject_rules_review_with_http_info(self, body, namespace, select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'POST', path_params, @@ -6308,7 +5858,7 @@ def create_namespaced_template_with_http_info(self, namespace, body, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'POST', path_params, @@ -6417,7 +5967,7 @@ def create_net_namespace_with_http_info(self, body, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'POST', path_params, @@ -6526,7 +6076,7 @@ def create_o_auth_access_token_with_http_info(self, body, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'POST', path_params, @@ -6635,7 +6185,7 @@ def create_o_auth_authorize_token_with_http_info(self, body, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'POST', path_params, @@ -6744,7 +6294,7 @@ def create_o_auth_client_with_http_info(self, body, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'POST', path_params, @@ -6853,7 +6403,7 @@ def create_o_auth_client_authorization_with_http_info(self, body, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'POST', path_params, @@ -6962,7 +6512,7 @@ def create_pod_security_policy_review_for_all_namespaces_with_http_info(self, bo select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'POST', path_params, @@ -7071,7 +6621,7 @@ def create_pod_security_policy_self_subject_review_for_all_namespaces_with_http_ select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'POST', path_params, @@ -7180,7 +6730,7 @@ def create_pod_security_policy_subject_review_for_all_namespaces_with_http_info( select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'POST', path_params, @@ -7197,264 +6747,46 @@ def create_pod_security_policy_subject_review_for_all_namespaces_with_http_info( _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def create_policy_binding_for_all_namespaces(self, body, **kwargs): + def create_processed_template_for_all_namespaces_v1(self, body, **kwargs): """ - create a PolicyBinding + create a Template This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.create_policy_binding_for_all_namespaces(body, callback=callback_function) + >>> thread = api.create_processed_template_for_all_namespaces_v1(body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) - :param V1PolicyBinding body: (required) + :param V1Template body: (required) :param str pretty: If 'true', then the output is pretty printed. - :return: V1PolicyBinding + :return: V1Template If the method is called asynchronously, returns the request thread. """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.create_policy_binding_for_all_namespaces_with_http_info(body, **kwargs) + return self.create_processed_template_for_all_namespaces_v1_with_http_info(body, **kwargs) else: - (data) = self.create_policy_binding_for_all_namespaces_with_http_info(body, **kwargs) + (data) = self.create_processed_template_for_all_namespaces_v1_with_http_info(body, **kwargs) return data - def create_policy_binding_for_all_namespaces_with_http_info(self, body, **kwargs): + def create_processed_template_for_all_namespaces_v1_with_http_info(self, body, **kwargs): """ - create a PolicyBinding + create a Template This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.create_policy_binding_for_all_namespaces_with_http_info(body, callback=callback_function) + >>> thread = api.create_processed_template_for_all_namespaces_v1_with_http_info(body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) - :param V1PolicyBinding body: (required) - :param str pretty: If 'true', then the output is pretty printed. - :return: V1PolicyBinding - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['body', 'pretty'] - all_params.append('callback') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method create_policy_binding_for_all_namespaces" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'body' is set - if ('body' not in params) or (params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `create_policy_binding_for_all_namespaces`") - - - collection_formats = {} - - resource_path = '/oapi/v1/policybindings'.replace('{format}', 'json') - path_params = {} - - query_params = {} - if 'pretty' in params: - query_params['pretty'] = params['pretty'] - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - if 'body' in params: - body_params = params['body'] - # HTTP header `Accept` - header_params['Accept'] = self.api_client.\ - select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - - # HTTP header `Content-Type` - header_params['Content-Type'] = self.api_client.\ - select_header_content_type(['*/*']) - - # Authentication setting - auth_settings = ['BearerToken'] - - return self.api_client.call_api(resource_path, 'POST', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1PolicyBinding', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def create_policy_for_all_namespaces(self, body, **kwargs): - """ - create a Policy - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please define a `callback` function - to be invoked when receiving the response. - >>> def callback_function(response): - >>> pprint(response) - >>> - >>> thread = api.create_policy_for_all_namespaces(body, callback=callback_function) - - :param callback function: The callback function - for asynchronous request. (optional) - :param V1Policy body: (required) - :param str pretty: If 'true', then the output is pretty printed. - :return: V1Policy - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('callback'): - return self.create_policy_for_all_namespaces_with_http_info(body, **kwargs) - else: - (data) = self.create_policy_for_all_namespaces_with_http_info(body, **kwargs) - return data - - def create_policy_for_all_namespaces_with_http_info(self, body, **kwargs): - """ - create a Policy - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please define a `callback` function - to be invoked when receiving the response. - >>> def callback_function(response): - >>> pprint(response) - >>> - >>> thread = api.create_policy_for_all_namespaces_with_http_info(body, callback=callback_function) - - :param callback function: The callback function - for asynchronous request. (optional) - :param V1Policy body: (required) - :param str pretty: If 'true', then the output is pretty printed. - :return: V1Policy - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['body', 'pretty'] - all_params.append('callback') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method create_policy_for_all_namespaces" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'body' is set - if ('body' not in params) or (params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `create_policy_for_all_namespaces`") - - - collection_formats = {} - - resource_path = '/oapi/v1/policies'.replace('{format}', 'json') - path_params = {} - - query_params = {} - if 'pretty' in params: - query_params['pretty'] = params['pretty'] - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - if 'body' in params: - body_params = params['body'] - # HTTP header `Accept` - header_params['Accept'] = self.api_client.\ - select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - - # HTTP header `Content-Type` - header_params['Content-Type'] = self.api_client.\ - select_header_content_type(['*/*']) - - # Authentication setting - auth_settings = ['BearerToken'] - - return self.api_client.call_api(resource_path, 'POST', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1Policy', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def create_processed_template_for_all_namespaces_v1(self, body, **kwargs): - """ - create a Template - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please define a `callback` function - to be invoked when receiving the response. - >>> def callback_function(response): - >>> pprint(response) - >>> - >>> thread = api.create_processed_template_for_all_namespaces_v1(body, callback=callback_function) - - :param callback function: The callback function - for asynchronous request. (optional) - :param V1Template body: (required) - :param str pretty: If 'true', then the output is pretty printed. - :return: V1Template - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('callback'): - return self.create_processed_template_for_all_namespaces_v1_with_http_info(body, **kwargs) - else: - (data) = self.create_processed_template_for_all_namespaces_v1_with_http_info(body, **kwargs) - return data - - def create_processed_template_for_all_namespaces_v1_with_http_info(self, body, **kwargs): - """ - create a Template - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please define a `callback` function - to be invoked when receiving the response. - >>> def callback_function(response): - >>> pprint(response) - >>> - >>> thread = api.create_processed_template_for_all_namespaces_v1_with_http_info(body, callback=callback_function) - - :param callback function: The callback function - for asynchronous request. (optional) - :param V1Template body: (required) + :param V1Template body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1Template If the method is called asynchronously, @@ -7507,7 +6839,7 @@ def create_processed_template_for_all_namespaces_v1_with_http_info(self, body, * select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'POST', path_params, @@ -7616,7 +6948,7 @@ def create_project_with_http_info(self, body, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'POST', path_params, @@ -7725,7 +7057,7 @@ def create_project_request_with_http_info(self, body, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'POST', path_params, @@ -7834,7 +7166,7 @@ def create_resource_access_review_for_all_namespaces_with_http_info(self, body, select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'POST', path_params, @@ -7943,7 +7275,7 @@ def create_role_binding_for_all_namespaces_with_http_info(self, body, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'POST', path_params, @@ -8052,7 +7384,7 @@ def create_role_binding_restriction_for_all_namespaces_with_http_info(self, body select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'POST', path_params, @@ -8161,7 +7493,7 @@ def create_role_for_all_namespaces_with_http_info(self, body, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'POST', path_params, @@ -8270,7 +7602,7 @@ def create_route_for_all_namespaces_with_http_info(self, body, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'POST', path_params, @@ -8379,7 +7711,7 @@ def create_self_subject_rules_review_for_all_namespaces_with_http_info(self, bod select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'POST', path_params, @@ -8488,7 +7820,7 @@ def create_subject_access_review_for_all_namespaces_with_http_info(self, body, * select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'POST', path_params, @@ -8597,7 +7929,7 @@ def create_subject_rules_review_for_all_namespaces_with_http_info(self, body, ** select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'POST', path_params, @@ -8706,7 +8038,7 @@ def create_template_for_all_namespaces_with_http_info(self, body, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'POST', path_params, @@ -8815,7 +8147,7 @@ def create_user_with_http_info(self, body, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'POST', path_params, @@ -8924,7 +8256,7 @@ def create_user_identity_mapping_with_http_info(self, body, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'POST', path_params, @@ -8958,8 +8290,9 @@ def delete_cluster_network(self, name, body, **kwargs): :param V1DeleteOptions body: (required) :param str pretty: If 'true', then the output is pretty printed. :param int grace_period_seconds: 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. - :param bool orphan_dependents: Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. - :return: UnversionedStatus + :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. + :param str propagation_policy: Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. + :return: V1Status If the method is called asynchronously, returns the request thread. """ @@ -8987,13 +8320,14 @@ def delete_cluster_network_with_http_info(self, name, body, **kwargs): :param V1DeleteOptions body: (required) :param str pretty: If 'true', then the output is pretty printed. :param int grace_period_seconds: 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. - :param bool orphan_dependents: Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. - :return: UnversionedStatus + :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. + :param str propagation_policy: Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. + :return: V1Status If the method is called asynchronously, returns the request thread. """ - all_params = ['name', 'body', 'pretty', 'grace_period_seconds', 'orphan_dependents'] + all_params = ['name', 'body', 'pretty', 'grace_period_seconds', 'orphan_dependents', 'propagation_policy'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -9030,6 +8364,8 @@ def delete_cluster_network_with_http_info(self, name, body, **kwargs): query_params['gracePeriodSeconds'] = params['grace_period_seconds'] if 'orphan_dependents' in params: query_params['orphanDependents'] = params['orphan_dependents'] + if 'propagation_policy' in params: + query_params['propagationPolicy'] = params['propagation_policy'] header_params = {} @@ -9048,7 +8384,7 @@ def delete_cluster_network_with_http_info(self, name, body, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'DELETE', path_params, @@ -9057,7 +8393,7 @@ def delete_cluster_network_with_http_info(self, name, body, **kwargs): body=body_params, post_params=form_params, files=local_var_files, - response_type='UnversionedStatus', + response_type='V1Status', auth_settings=auth_settings, callback=params.get('callback'), _return_http_data_only=params.get('_return_http_data_only'), @@ -9065,59 +8401,61 @@ def delete_cluster_network_with_http_info(self, name, body, **kwargs): _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def delete_cluster_policy(self, name, body, **kwargs): + def delete_cluster_resource_quota(self, name, body, **kwargs): """ - delete a ClusterPolicy + delete a ClusterResourceQuota This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.delete_cluster_policy(name, body, callback=callback_function) + >>> thread = api.delete_cluster_resource_quota(name, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) - :param str name: name of the ClusterPolicy (required) + :param str name: name of the ClusterResourceQuota (required) :param V1DeleteOptions body: (required) :param str pretty: If 'true', then the output is pretty printed. :param int grace_period_seconds: 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. - :param bool orphan_dependents: Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. - :return: UnversionedStatus + :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. + :param str propagation_policy: Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. + :return: V1Status If the method is called asynchronously, returns the request thread. """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.delete_cluster_policy_with_http_info(name, body, **kwargs) + return self.delete_cluster_resource_quota_with_http_info(name, body, **kwargs) else: - (data) = self.delete_cluster_policy_with_http_info(name, body, **kwargs) + (data) = self.delete_cluster_resource_quota_with_http_info(name, body, **kwargs) return data - def delete_cluster_policy_with_http_info(self, name, body, **kwargs): + def delete_cluster_resource_quota_with_http_info(self, name, body, **kwargs): """ - delete a ClusterPolicy + delete a ClusterResourceQuota This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.delete_cluster_policy_with_http_info(name, body, callback=callback_function) + >>> thread = api.delete_cluster_resource_quota_with_http_info(name, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) - :param str name: name of the ClusterPolicy (required) + :param str name: name of the ClusterResourceQuota (required) :param V1DeleteOptions body: (required) :param str pretty: If 'true', then the output is pretty printed. :param int grace_period_seconds: 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. - :param bool orphan_dependents: Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. - :return: UnversionedStatus + :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. + :param str propagation_policy: Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. + :return: V1Status If the method is called asynchronously, returns the request thread. """ - all_params = ['name', 'body', 'pretty', 'grace_period_seconds', 'orphan_dependents'] + all_params = ['name', 'body', 'pretty', 'grace_period_seconds', 'orphan_dependents', 'propagation_policy'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -9128,21 +8466,21 @@ def delete_cluster_policy_with_http_info(self, name, body, **kwargs): if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method delete_cluster_policy" % key + " to method delete_cluster_resource_quota" % key ) params[key] = val del params['kwargs'] # verify the required parameter 'name' is set if ('name' not in params) or (params['name'] is None): - raise ValueError("Missing the required parameter `name` when calling `delete_cluster_policy`") + raise ValueError("Missing the required parameter `name` when calling `delete_cluster_resource_quota`") # verify the required parameter 'body' is set if ('body' not in params) or (params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `delete_cluster_policy`") + raise ValueError("Missing the required parameter `body` when calling `delete_cluster_resource_quota`") collection_formats = {} - resource_path = '/oapi/v1/clusterpolicies/{name}'.replace('{format}', 'json') + resource_path = '/oapi/v1/clusterresourcequotas/{name}'.replace('{format}', 'json') path_params = {} if 'name' in params: path_params['name'] = params['name'] @@ -9154,6 +8492,8 @@ def delete_cluster_policy_with_http_info(self, name, body, **kwargs): query_params['gracePeriodSeconds'] = params['grace_period_seconds'] if 'orphan_dependents' in params: query_params['orphanDependents'] = params['orphan_dependents'] + if 'propagation_policy' in params: + query_params['propagationPolicy'] = params['propagation_policy'] header_params = {} @@ -9172,7 +8512,7 @@ def delete_cluster_policy_with_http_info(self, name, body, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'DELETE', path_params, @@ -9181,7 +8521,7 @@ def delete_cluster_policy_with_http_info(self, name, body, **kwargs): body=body_params, post_params=form_params, files=local_var_files, - response_type='UnversionedStatus', + response_type='V1Status', auth_settings=auth_settings, callback=params.get('callback'), _return_http_data_only=params.get('_return_http_data_only'), @@ -9189,59 +8529,61 @@ def delete_cluster_policy_with_http_info(self, name, body, **kwargs): _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def delete_cluster_policy_binding(self, name, body, **kwargs): + def delete_cluster_role(self, name, body, **kwargs): """ - delete a ClusterPolicyBinding + delete a ClusterRole This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.delete_cluster_policy_binding(name, body, callback=callback_function) + >>> thread = api.delete_cluster_role(name, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) - :param str name: name of the ClusterPolicyBinding (required) + :param str name: name of the ClusterRole (required) :param V1DeleteOptions body: (required) :param str pretty: If 'true', then the output is pretty printed. :param int grace_period_seconds: 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. - :param bool orphan_dependents: Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. - :return: UnversionedStatus + :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. + :param str propagation_policy: Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. + :return: V1Status If the method is called asynchronously, returns the request thread. """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.delete_cluster_policy_binding_with_http_info(name, body, **kwargs) + return self.delete_cluster_role_with_http_info(name, body, **kwargs) else: - (data) = self.delete_cluster_policy_binding_with_http_info(name, body, **kwargs) + (data) = self.delete_cluster_role_with_http_info(name, body, **kwargs) return data - def delete_cluster_policy_binding_with_http_info(self, name, body, **kwargs): + def delete_cluster_role_with_http_info(self, name, body, **kwargs): """ - delete a ClusterPolicyBinding + delete a ClusterRole This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.delete_cluster_policy_binding_with_http_info(name, body, callback=callback_function) + >>> thread = api.delete_cluster_role_with_http_info(name, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) - :param str name: name of the ClusterPolicyBinding (required) + :param str name: name of the ClusterRole (required) :param V1DeleteOptions body: (required) :param str pretty: If 'true', then the output is pretty printed. :param int grace_period_seconds: 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. - :param bool orphan_dependents: Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. - :return: UnversionedStatus + :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. + :param str propagation_policy: Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. + :return: V1Status If the method is called asynchronously, returns the request thread. """ - all_params = ['name', 'body', 'pretty', 'grace_period_seconds', 'orphan_dependents'] + all_params = ['name', 'body', 'pretty', 'grace_period_seconds', 'orphan_dependents', 'propagation_policy'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -9252,21 +8594,21 @@ def delete_cluster_policy_binding_with_http_info(self, name, body, **kwargs): if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method delete_cluster_policy_binding" % key + " to method delete_cluster_role" % key ) params[key] = val del params['kwargs'] # verify the required parameter 'name' is set if ('name' not in params) or (params['name'] is None): - raise ValueError("Missing the required parameter `name` when calling `delete_cluster_policy_binding`") + raise ValueError("Missing the required parameter `name` when calling `delete_cluster_role`") # verify the required parameter 'body' is set if ('body' not in params) or (params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `delete_cluster_policy_binding`") + raise ValueError("Missing the required parameter `body` when calling `delete_cluster_role`") collection_formats = {} - resource_path = '/oapi/v1/clusterpolicybindings/{name}'.replace('{format}', 'json') + resource_path = '/oapi/v1/clusterroles/{name}'.replace('{format}', 'json') path_params = {} if 'name' in params: path_params['name'] = params['name'] @@ -9278,6 +8620,8 @@ def delete_cluster_policy_binding_with_http_info(self, name, body, **kwargs): query_params['gracePeriodSeconds'] = params['grace_period_seconds'] if 'orphan_dependents' in params: query_params['orphanDependents'] = params['orphan_dependents'] + if 'propagation_policy' in params: + query_params['propagationPolicy'] = params['propagation_policy'] header_params = {} @@ -9296,7 +8640,7 @@ def delete_cluster_policy_binding_with_http_info(self, name, body, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'DELETE', path_params, @@ -9305,7 +8649,7 @@ def delete_cluster_policy_binding_with_http_info(self, name, body, **kwargs): body=body_params, post_params=form_params, files=local_var_files, - response_type='UnversionedStatus', + response_type='V1Status', auth_settings=auth_settings, callback=params.get('callback'), _return_http_data_only=params.get('_return_http_data_only'), @@ -9313,59 +8657,61 @@ def delete_cluster_policy_binding_with_http_info(self, name, body, **kwargs): _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def delete_cluster_resource_quota(self, name, body, **kwargs): + def delete_cluster_role_binding(self, name, body, **kwargs): """ - delete a ClusterResourceQuota + delete a ClusterRoleBinding This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.delete_cluster_resource_quota(name, body, callback=callback_function) + >>> thread = api.delete_cluster_role_binding(name, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) - :param str name: name of the ClusterResourceQuota (required) + :param str name: name of the ClusterRoleBinding (required) :param V1DeleteOptions body: (required) :param str pretty: If 'true', then the output is pretty printed. :param int grace_period_seconds: 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. - :param bool orphan_dependents: Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. - :return: UnversionedStatus + :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. + :param str propagation_policy: Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. + :return: V1Status If the method is called asynchronously, returns the request thread. """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.delete_cluster_resource_quota_with_http_info(name, body, **kwargs) + return self.delete_cluster_role_binding_with_http_info(name, body, **kwargs) else: - (data) = self.delete_cluster_resource_quota_with_http_info(name, body, **kwargs) + (data) = self.delete_cluster_role_binding_with_http_info(name, body, **kwargs) return data - def delete_cluster_resource_quota_with_http_info(self, name, body, **kwargs): + def delete_cluster_role_binding_with_http_info(self, name, body, **kwargs): """ - delete a ClusterResourceQuota + delete a ClusterRoleBinding This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.delete_cluster_resource_quota_with_http_info(name, body, callback=callback_function) + >>> thread = api.delete_cluster_role_binding_with_http_info(name, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) - :param str name: name of the ClusterResourceQuota (required) + :param str name: name of the ClusterRoleBinding (required) :param V1DeleteOptions body: (required) :param str pretty: If 'true', then the output is pretty printed. :param int grace_period_seconds: 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. - :param bool orphan_dependents: Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. - :return: UnversionedStatus + :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. + :param str propagation_policy: Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. + :return: V1Status If the method is called asynchronously, returns the request thread. """ - all_params = ['name', 'body', 'pretty', 'grace_period_seconds', 'orphan_dependents'] + all_params = ['name', 'body', 'pretty', 'grace_period_seconds', 'orphan_dependents', 'propagation_policy'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -9376,21 +8722,21 @@ def delete_cluster_resource_quota_with_http_info(self, name, body, **kwargs): if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method delete_cluster_resource_quota" % key + " to method delete_cluster_role_binding" % key ) params[key] = val del params['kwargs'] # verify the required parameter 'name' is set if ('name' not in params) or (params['name'] is None): - raise ValueError("Missing the required parameter `name` when calling `delete_cluster_resource_quota`") + raise ValueError("Missing the required parameter `name` when calling `delete_cluster_role_binding`") # verify the required parameter 'body' is set if ('body' not in params) or (params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `delete_cluster_resource_quota`") + raise ValueError("Missing the required parameter `body` when calling `delete_cluster_role_binding`") collection_formats = {} - resource_path = '/oapi/v1/clusterresourcequotas/{name}'.replace('{format}', 'json') + resource_path = '/oapi/v1/clusterrolebindings/{name}'.replace('{format}', 'json') path_params = {} if 'name' in params: path_params['name'] = params['name'] @@ -9402,6 +8748,8 @@ def delete_cluster_resource_quota_with_http_info(self, name, body, **kwargs): query_params['gracePeriodSeconds'] = params['grace_period_seconds'] if 'orphan_dependents' in params: query_params['orphanDependents'] = params['orphan_dependents'] + if 'propagation_policy' in params: + query_params['propagationPolicy'] = params['propagation_policy'] header_params = {} @@ -9420,7 +8768,7 @@ def delete_cluster_resource_quota_with_http_info(self, name, body, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'DELETE', path_params, @@ -9429,7 +8777,7 @@ def delete_cluster_resource_quota_with_http_info(self, name, body, **kwargs): body=body_params, post_params=form_params, files=local_var_files, - response_type='UnversionedStatus', + response_type='V1Status', auth_settings=auth_settings, callback=params.get('callback'), _return_http_data_only=params.get('_return_http_data_only'), @@ -9437,59 +8785,63 @@ def delete_cluster_resource_quota_with_http_info(self, name, body, **kwargs): _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def delete_cluster_role(self, name, body, **kwargs): + def delete_collection_cluster_network(self, **kwargs): """ - delete a ClusterRole + delete collection of ClusterNetwork This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.delete_cluster_role(name, body, callback=callback_function) + >>> thread = api.delete_collection_cluster_network(callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) - :param str name: name of the ClusterRole (required) - :param V1DeleteOptions body: (required) :param str pretty: If 'true', then the output is pretty printed. - :param int grace_period_seconds: 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. - :param bool orphan_dependents: Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. - :return: UnversionedStatus + :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param bool include_uninitialized: If true, partially initialized resources are included in the response. + :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. + :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. + :param int timeout_seconds: Timeout for the list/watch call. + :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + :return: V1Status If the method is called asynchronously, returns the request thread. """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.delete_cluster_role_with_http_info(name, body, **kwargs) + return self.delete_collection_cluster_network_with_http_info(**kwargs) else: - (data) = self.delete_cluster_role_with_http_info(name, body, **kwargs) + (data) = self.delete_collection_cluster_network_with_http_info(**kwargs) return data - def delete_cluster_role_with_http_info(self, name, body, **kwargs): + def delete_collection_cluster_network_with_http_info(self, **kwargs): """ - delete a ClusterRole + delete collection of ClusterNetwork This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.delete_cluster_role_with_http_info(name, body, callback=callback_function) + >>> thread = api.delete_collection_cluster_network_with_http_info(callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) - :param str name: name of the ClusterRole (required) - :param V1DeleteOptions body: (required) :param str pretty: If 'true', then the output is pretty printed. - :param int grace_period_seconds: 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. - :param bool orphan_dependents: Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. - :return: UnversionedStatus + :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param bool include_uninitialized: If true, partially initialized resources are included in the response. + :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. + :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. + :param int timeout_seconds: Timeout for the list/watch call. + :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + :return: V1Status If the method is called asynchronously, returns the request thread. """ - all_params = ['name', 'body', 'pretty', 'grace_period_seconds', 'orphan_dependents'] + all_params = ['pretty', 'field_selector', 'include_uninitialized', 'label_selector', 'resource_version', 'timeout_seconds', 'watch'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -9500,32 +8852,32 @@ def delete_cluster_role_with_http_info(self, name, body, **kwargs): if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method delete_cluster_role" % key + " to method delete_collection_cluster_network" % key ) params[key] = val del params['kwargs'] - # verify the required parameter 'name' is set - if ('name' not in params) or (params['name'] is None): - raise ValueError("Missing the required parameter `name` when calling `delete_cluster_role`") - # verify the required parameter 'body' is set - if ('body' not in params) or (params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `delete_cluster_role`") collection_formats = {} - resource_path = '/oapi/v1/clusterroles/{name}'.replace('{format}', 'json') + resource_path = '/oapi/v1/clusternetworks'.replace('{format}', 'json') path_params = {} - if 'name' in params: - path_params['name'] = params['name'] query_params = {} if 'pretty' in params: query_params['pretty'] = params['pretty'] - if 'grace_period_seconds' in params: - query_params['gracePeriodSeconds'] = params['grace_period_seconds'] - if 'orphan_dependents' in params: - query_params['orphanDependents'] = params['orphan_dependents'] + if 'field_selector' in params: + query_params['fieldSelector'] = params['field_selector'] + if 'include_uninitialized' in params: + query_params['includeUninitialized'] = params['include_uninitialized'] + if 'label_selector' in params: + query_params['labelSelector'] = params['label_selector'] + if 'resource_version' in params: + query_params['resourceVersion'] = params['resource_version'] + if 'timeout_seconds' in params: + query_params['timeoutSeconds'] = params['timeout_seconds'] + if 'watch' in params: + query_params['watch'] = params['watch'] header_params = {} @@ -9533,8 +8885,6 @@ def delete_cluster_role_with_http_info(self, name, body, **kwargs): local_var_files = {} body_params = None - if 'body' in params: - body_params = params['body'] # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) @@ -9544,7 +8894,7 @@ def delete_cluster_role_with_http_info(self, name, body, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'DELETE', path_params, @@ -9553,7 +8903,7 @@ def delete_cluster_role_with_http_info(self, name, body, **kwargs): body=body_params, post_params=form_params, files=local_var_files, - response_type='UnversionedStatus', + response_type='V1Status', auth_settings=auth_settings, callback=params.get('callback'), _return_http_data_only=params.get('_return_http_data_only'), @@ -9561,59 +8911,63 @@ def delete_cluster_role_with_http_info(self, name, body, **kwargs): _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def delete_cluster_role_binding(self, name, body, **kwargs): + def delete_collection_cluster_resource_quota(self, **kwargs): """ - delete a ClusterRoleBinding + delete collection of ClusterResourceQuota This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.delete_cluster_role_binding(name, body, callback=callback_function) + >>> thread = api.delete_collection_cluster_resource_quota(callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) - :param str name: name of the ClusterRoleBinding (required) - :param V1DeleteOptions body: (required) :param str pretty: If 'true', then the output is pretty printed. - :param int grace_period_seconds: 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. - :param bool orphan_dependents: Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. - :return: UnversionedStatus + :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param bool include_uninitialized: If true, partially initialized resources are included in the response. + :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. + :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. + :param int timeout_seconds: Timeout for the list/watch call. + :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + :return: V1Status If the method is called asynchronously, returns the request thread. """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.delete_cluster_role_binding_with_http_info(name, body, **kwargs) + return self.delete_collection_cluster_resource_quota_with_http_info(**kwargs) else: - (data) = self.delete_cluster_role_binding_with_http_info(name, body, **kwargs) + (data) = self.delete_collection_cluster_resource_quota_with_http_info(**kwargs) return data - def delete_cluster_role_binding_with_http_info(self, name, body, **kwargs): + def delete_collection_cluster_resource_quota_with_http_info(self, **kwargs): """ - delete a ClusterRoleBinding + delete collection of ClusterResourceQuota This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.delete_cluster_role_binding_with_http_info(name, body, callback=callback_function) + >>> thread = api.delete_collection_cluster_resource_quota_with_http_info(callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) - :param str name: name of the ClusterRoleBinding (required) - :param V1DeleteOptions body: (required) :param str pretty: If 'true', then the output is pretty printed. - :param int grace_period_seconds: 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. - :param bool orphan_dependents: Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. - :return: UnversionedStatus + :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param bool include_uninitialized: If true, partially initialized resources are included in the response. + :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. + :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. + :param int timeout_seconds: Timeout for the list/watch call. + :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + :return: V1Status If the method is called asynchronously, returns the request thread. """ - all_params = ['name', 'body', 'pretty', 'grace_period_seconds', 'orphan_dependents'] + all_params = ['pretty', 'field_selector', 'include_uninitialized', 'label_selector', 'resource_version', 'timeout_seconds', 'watch'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -9624,32 +8978,32 @@ def delete_cluster_role_binding_with_http_info(self, name, body, **kwargs): if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method delete_cluster_role_binding" % key + " to method delete_collection_cluster_resource_quota" % key ) params[key] = val del params['kwargs'] - # verify the required parameter 'name' is set - if ('name' not in params) or (params['name'] is None): - raise ValueError("Missing the required parameter `name` when calling `delete_cluster_role_binding`") - # verify the required parameter 'body' is set - if ('body' not in params) or (params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `delete_cluster_role_binding`") collection_formats = {} - resource_path = '/oapi/v1/clusterrolebindings/{name}'.replace('{format}', 'json') + resource_path = '/oapi/v1/clusterresourcequotas'.replace('{format}', 'json') path_params = {} - if 'name' in params: - path_params['name'] = params['name'] query_params = {} if 'pretty' in params: query_params['pretty'] = params['pretty'] - if 'grace_period_seconds' in params: - query_params['gracePeriodSeconds'] = params['grace_period_seconds'] - if 'orphan_dependents' in params: - query_params['orphanDependents'] = params['orphan_dependents'] + if 'field_selector' in params: + query_params['fieldSelector'] = params['field_selector'] + if 'include_uninitialized' in params: + query_params['includeUninitialized'] = params['include_uninitialized'] + if 'label_selector' in params: + query_params['labelSelector'] = params['label_selector'] + if 'resource_version' in params: + query_params['resourceVersion'] = params['resource_version'] + if 'timeout_seconds' in params: + query_params['timeoutSeconds'] = params['timeout_seconds'] + if 'watch' in params: + query_params['watch'] = params['watch'] header_params = {} @@ -9657,8 +9011,6 @@ def delete_cluster_role_binding_with_http_info(self, name, body, **kwargs): local_var_files = {} body_params = None - if 'body' in params: - body_params = params['body'] # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) @@ -9668,7 +9020,7 @@ def delete_cluster_role_binding_with_http_info(self, name, body, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'DELETE', path_params, @@ -9677,7 +9029,7 @@ def delete_cluster_role_binding_with_http_info(self, name, body, **kwargs): body=body_params, post_params=form_params, files=local_var_files, - response_type='UnversionedStatus', + response_type='V1Status', auth_settings=auth_settings, callback=params.get('callback'), _return_http_data_only=params.get('_return_http_data_only'), @@ -9685,61 +9037,63 @@ def delete_cluster_role_binding_with_http_info(self, name, body, **kwargs): _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def delete_collection_cluster_network(self, **kwargs): + def delete_collection_group(self, **kwargs): """ - delete collection of ClusterNetwork + delete collection of Group This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.delete_collection_cluster_network(callback=callback_function) + >>> thread = api.delete_collection_group(callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param str pretty: If 'true', then the output is pretty printed. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param bool include_uninitialized: If true, partially initialized resources are included in the response. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. - :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. + :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. :param int timeout_seconds: Timeout for the list/watch call. :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - :return: UnversionedStatus + :return: V1Status If the method is called asynchronously, returns the request thread. """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.delete_collection_cluster_network_with_http_info(**kwargs) + return self.delete_collection_group_with_http_info(**kwargs) else: - (data) = self.delete_collection_cluster_network_with_http_info(**kwargs) + (data) = self.delete_collection_group_with_http_info(**kwargs) return data - def delete_collection_cluster_network_with_http_info(self, **kwargs): + def delete_collection_group_with_http_info(self, **kwargs): """ - delete collection of ClusterNetwork + delete collection of Group This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.delete_collection_cluster_network_with_http_info(callback=callback_function) + >>> thread = api.delete_collection_group_with_http_info(callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param str pretty: If 'true', then the output is pretty printed. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param bool include_uninitialized: If true, partially initialized resources are included in the response. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. - :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. + :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. :param int timeout_seconds: Timeout for the list/watch call. :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - :return: UnversionedStatus + :return: V1Status If the method is called asynchronously, returns the request thread. """ - all_params = ['pretty', 'field_selector', 'label_selector', 'resource_version', 'timeout_seconds', 'watch'] + all_params = ['pretty', 'field_selector', 'include_uninitialized', 'label_selector', 'resource_version', 'timeout_seconds', 'watch'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -9750,7 +9104,7 @@ def delete_collection_cluster_network_with_http_info(self, **kwargs): if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method delete_collection_cluster_network" % key + " to method delete_collection_group" % key ) params[key] = val del params['kwargs'] @@ -9758,7 +9112,7 @@ def delete_collection_cluster_network_with_http_info(self, **kwargs): collection_formats = {} - resource_path = '/oapi/v1/clusternetworks'.replace('{format}', 'json') + resource_path = '/oapi/v1/groups'.replace('{format}', 'json') path_params = {} query_params = {} @@ -9766,6 +9120,8 @@ def delete_collection_cluster_network_with_http_info(self, **kwargs): query_params['pretty'] = params['pretty'] if 'field_selector' in params: query_params['fieldSelector'] = params['field_selector'] + if 'include_uninitialized' in params: + query_params['includeUninitialized'] = params['include_uninitialized'] if 'label_selector' in params: query_params['labelSelector'] = params['label_selector'] if 'resource_version' in params: @@ -9790,7 +9146,7 @@ def delete_collection_cluster_network_with_http_info(self, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'DELETE', path_params, @@ -9799,7 +9155,7 @@ def delete_collection_cluster_network_with_http_info(self, **kwargs): body=body_params, post_params=form_params, files=local_var_files, - response_type='UnversionedStatus', + response_type='V1Status', auth_settings=auth_settings, callback=params.get('callback'), _return_http_data_only=params.get('_return_http_data_only'), @@ -9807,61 +9163,63 @@ def delete_collection_cluster_network_with_http_info(self, **kwargs): _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def delete_collection_cluster_policy(self, **kwargs): + def delete_collection_host_subnet(self, **kwargs): """ - delete collection of ClusterPolicy + delete collection of HostSubnet This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.delete_collection_cluster_policy(callback=callback_function) + >>> thread = api.delete_collection_host_subnet(callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param str pretty: If 'true', then the output is pretty printed. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param bool include_uninitialized: If true, partially initialized resources are included in the response. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. - :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. + :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. :param int timeout_seconds: Timeout for the list/watch call. :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - :return: UnversionedStatus + :return: V1Status If the method is called asynchronously, returns the request thread. """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.delete_collection_cluster_policy_with_http_info(**kwargs) + return self.delete_collection_host_subnet_with_http_info(**kwargs) else: - (data) = self.delete_collection_cluster_policy_with_http_info(**kwargs) + (data) = self.delete_collection_host_subnet_with_http_info(**kwargs) return data - def delete_collection_cluster_policy_with_http_info(self, **kwargs): + def delete_collection_host_subnet_with_http_info(self, **kwargs): """ - delete collection of ClusterPolicy + delete collection of HostSubnet This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.delete_collection_cluster_policy_with_http_info(callback=callback_function) + >>> thread = api.delete_collection_host_subnet_with_http_info(callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param str pretty: If 'true', then the output is pretty printed. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param bool include_uninitialized: If true, partially initialized resources are included in the response. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. - :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. + :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. :param int timeout_seconds: Timeout for the list/watch call. :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - :return: UnversionedStatus + :return: V1Status If the method is called asynchronously, returns the request thread. """ - all_params = ['pretty', 'field_selector', 'label_selector', 'resource_version', 'timeout_seconds', 'watch'] + all_params = ['pretty', 'field_selector', 'include_uninitialized', 'label_selector', 'resource_version', 'timeout_seconds', 'watch'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -9872,7 +9230,7 @@ def delete_collection_cluster_policy_with_http_info(self, **kwargs): if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method delete_collection_cluster_policy" % key + " to method delete_collection_host_subnet" % key ) params[key] = val del params['kwargs'] @@ -9880,7 +9238,7 @@ def delete_collection_cluster_policy_with_http_info(self, **kwargs): collection_formats = {} - resource_path = '/oapi/v1/clusterpolicies'.replace('{format}', 'json') + resource_path = '/oapi/v1/hostsubnets'.replace('{format}', 'json') path_params = {} query_params = {} @@ -9888,6 +9246,8 @@ def delete_collection_cluster_policy_with_http_info(self, **kwargs): query_params['pretty'] = params['pretty'] if 'field_selector' in params: query_params['fieldSelector'] = params['field_selector'] + if 'include_uninitialized' in params: + query_params['includeUninitialized'] = params['include_uninitialized'] if 'label_selector' in params: query_params['labelSelector'] = params['label_selector'] if 'resource_version' in params: @@ -9912,7 +9272,7 @@ def delete_collection_cluster_policy_with_http_info(self, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'DELETE', path_params, @@ -9921,7 +9281,7 @@ def delete_collection_cluster_policy_with_http_info(self, **kwargs): body=body_params, post_params=form_params, files=local_var_files, - response_type='UnversionedStatus', + response_type='V1Status', auth_settings=auth_settings, callback=params.get('callback'), _return_http_data_only=params.get('_return_http_data_only'), @@ -9929,61 +9289,63 @@ def delete_collection_cluster_policy_with_http_info(self, **kwargs): _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def delete_collection_cluster_policy_binding(self, **kwargs): + def delete_collection_identity(self, **kwargs): """ - delete collection of ClusterPolicyBinding + delete collection of Identity This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.delete_collection_cluster_policy_binding(callback=callback_function) + >>> thread = api.delete_collection_identity(callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param str pretty: If 'true', then the output is pretty printed. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param bool include_uninitialized: If true, partially initialized resources are included in the response. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. - :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. + :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. :param int timeout_seconds: Timeout for the list/watch call. :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - :return: UnversionedStatus + :return: V1Status If the method is called asynchronously, returns the request thread. """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.delete_collection_cluster_policy_binding_with_http_info(**kwargs) + return self.delete_collection_identity_with_http_info(**kwargs) else: - (data) = self.delete_collection_cluster_policy_binding_with_http_info(**kwargs) + (data) = self.delete_collection_identity_with_http_info(**kwargs) return data - def delete_collection_cluster_policy_binding_with_http_info(self, **kwargs): + def delete_collection_identity_with_http_info(self, **kwargs): """ - delete collection of ClusterPolicyBinding + delete collection of Identity This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.delete_collection_cluster_policy_binding_with_http_info(callback=callback_function) + >>> thread = api.delete_collection_identity_with_http_info(callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param str pretty: If 'true', then the output is pretty printed. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param bool include_uninitialized: If true, partially initialized resources are included in the response. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. - :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. + :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. :param int timeout_seconds: Timeout for the list/watch call. :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - :return: UnversionedStatus + :return: V1Status If the method is called asynchronously, returns the request thread. """ - all_params = ['pretty', 'field_selector', 'label_selector', 'resource_version', 'timeout_seconds', 'watch'] + all_params = ['pretty', 'field_selector', 'include_uninitialized', 'label_selector', 'resource_version', 'timeout_seconds', 'watch'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -9994,7 +9356,7 @@ def delete_collection_cluster_policy_binding_with_http_info(self, **kwargs): if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method delete_collection_cluster_policy_binding" % key + " to method delete_collection_identity" % key ) params[key] = val del params['kwargs'] @@ -10002,7 +9364,7 @@ def delete_collection_cluster_policy_binding_with_http_info(self, **kwargs): collection_formats = {} - resource_path = '/oapi/v1/clusterpolicybindings'.replace('{format}', 'json') + resource_path = '/oapi/v1/identities'.replace('{format}', 'json') path_params = {} query_params = {} @@ -10010,6 +9372,8 @@ def delete_collection_cluster_policy_binding_with_http_info(self, **kwargs): query_params['pretty'] = params['pretty'] if 'field_selector' in params: query_params['fieldSelector'] = params['field_selector'] + if 'include_uninitialized' in params: + query_params['includeUninitialized'] = params['include_uninitialized'] if 'label_selector' in params: query_params['labelSelector'] = params['label_selector'] if 'resource_version' in params: @@ -10034,7 +9398,7 @@ def delete_collection_cluster_policy_binding_with_http_info(self, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'DELETE', path_params, @@ -10043,7 +9407,7 @@ def delete_collection_cluster_policy_binding_with_http_info(self, **kwargs): body=body_params, post_params=form_params, files=local_var_files, - response_type='UnversionedStatus', + response_type='V1Status', auth_settings=auth_settings, callback=params.get('callback'), _return_http_data_only=params.get('_return_http_data_only'), @@ -10051,61 +9415,63 @@ def delete_collection_cluster_policy_binding_with_http_info(self, **kwargs): _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def delete_collection_cluster_resource_quota(self, **kwargs): + def delete_collection_image(self, **kwargs): """ - delete collection of ClusterResourceQuota + delete collection of Image This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.delete_collection_cluster_resource_quota(callback=callback_function) + >>> thread = api.delete_collection_image(callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param str pretty: If 'true', then the output is pretty printed. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param bool include_uninitialized: If true, partially initialized resources are included in the response. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. - :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. + :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. :param int timeout_seconds: Timeout for the list/watch call. :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - :return: UnversionedStatus + :return: V1Status If the method is called asynchronously, returns the request thread. """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.delete_collection_cluster_resource_quota_with_http_info(**kwargs) + return self.delete_collection_image_with_http_info(**kwargs) else: - (data) = self.delete_collection_cluster_resource_quota_with_http_info(**kwargs) + (data) = self.delete_collection_image_with_http_info(**kwargs) return data - def delete_collection_cluster_resource_quota_with_http_info(self, **kwargs): + def delete_collection_image_with_http_info(self, **kwargs): """ - delete collection of ClusterResourceQuota + delete collection of Image This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.delete_collection_cluster_resource_quota_with_http_info(callback=callback_function) + >>> thread = api.delete_collection_image_with_http_info(callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param str pretty: If 'true', then the output is pretty printed. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param bool include_uninitialized: If true, partially initialized resources are included in the response. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. - :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. + :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. :param int timeout_seconds: Timeout for the list/watch call. :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - :return: UnversionedStatus + :return: V1Status If the method is called asynchronously, returns the request thread. """ - all_params = ['pretty', 'field_selector', 'label_selector', 'resource_version', 'timeout_seconds', 'watch'] + all_params = ['pretty', 'field_selector', 'include_uninitialized', 'label_selector', 'resource_version', 'timeout_seconds', 'watch'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -10116,7 +9482,7 @@ def delete_collection_cluster_resource_quota_with_http_info(self, **kwargs): if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method delete_collection_cluster_resource_quota" % key + " to method delete_collection_image" % key ) params[key] = val del params['kwargs'] @@ -10124,7 +9490,7 @@ def delete_collection_cluster_resource_quota_with_http_info(self, **kwargs): collection_formats = {} - resource_path = '/oapi/v1/clusterresourcequotas'.replace('{format}', 'json') + resource_path = '/oapi/v1/images'.replace('{format}', 'json') path_params = {} query_params = {} @@ -10132,6 +9498,8 @@ def delete_collection_cluster_resource_quota_with_http_info(self, **kwargs): query_params['pretty'] = params['pretty'] if 'field_selector' in params: query_params['fieldSelector'] = params['field_selector'] + if 'include_uninitialized' in params: + query_params['includeUninitialized'] = params['include_uninitialized'] if 'label_selector' in params: query_params['labelSelector'] = params['label_selector'] if 'resource_version' in params: @@ -10156,7 +9524,7 @@ def delete_collection_cluster_resource_quota_with_http_info(self, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'DELETE', path_params, @@ -10165,7 +9533,7 @@ def delete_collection_cluster_resource_quota_with_http_info(self, **kwargs): body=body_params, post_params=form_params, files=local_var_files, - response_type='UnversionedStatus', + response_type='V1Status', auth_settings=auth_settings, callback=params.get('callback'), _return_http_data_only=params.get('_return_http_data_only'), @@ -10173,61 +9541,65 @@ def delete_collection_cluster_resource_quota_with_http_info(self, **kwargs): _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def delete_collection_group(self, **kwargs): + def delete_collection_namespaced_build(self, namespace, **kwargs): """ - delete collection of Group + delete collection of Build This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.delete_collection_group(callback=callback_function) + >>> thread = api.delete_collection_namespaced_build(namespace, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) + :param str namespace: object name and auth scope, such as for teams and projects (required) :param str pretty: If 'true', then the output is pretty printed. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param bool include_uninitialized: If true, partially initialized resources are included in the response. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. - :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. + :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. :param int timeout_seconds: Timeout for the list/watch call. :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - :return: UnversionedStatus + :return: V1Status If the method is called asynchronously, returns the request thread. """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.delete_collection_group_with_http_info(**kwargs) + return self.delete_collection_namespaced_build_with_http_info(namespace, **kwargs) else: - (data) = self.delete_collection_group_with_http_info(**kwargs) + (data) = self.delete_collection_namespaced_build_with_http_info(namespace, **kwargs) return data - def delete_collection_group_with_http_info(self, **kwargs): + def delete_collection_namespaced_build_with_http_info(self, namespace, **kwargs): """ - delete collection of Group + delete collection of Build This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.delete_collection_group_with_http_info(callback=callback_function) + >>> thread = api.delete_collection_namespaced_build_with_http_info(namespace, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) + :param str namespace: object name and auth scope, such as for teams and projects (required) :param str pretty: If 'true', then the output is pretty printed. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param bool include_uninitialized: If true, partially initialized resources are included in the response. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. - :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. + :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. :param int timeout_seconds: Timeout for the list/watch call. :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - :return: UnversionedStatus + :return: V1Status If the method is called asynchronously, returns the request thread. """ - all_params = ['pretty', 'field_selector', 'label_selector', 'resource_version', 'timeout_seconds', 'watch'] + all_params = ['namespace', 'pretty', 'field_selector', 'include_uninitialized', 'label_selector', 'resource_version', 'timeout_seconds', 'watch'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -10238,22 +9610,29 @@ def delete_collection_group_with_http_info(self, **kwargs): if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method delete_collection_group" % key + " to method delete_collection_namespaced_build" % key ) params[key] = val del params['kwargs'] + # verify the required parameter 'namespace' is set + if ('namespace' not in params) or (params['namespace'] is None): + raise ValueError("Missing the required parameter `namespace` when calling `delete_collection_namespaced_build`") collection_formats = {} - resource_path = '/oapi/v1/groups'.replace('{format}', 'json') + resource_path = '/oapi/v1/namespaces/{namespace}/builds'.replace('{format}', 'json') path_params = {} + if 'namespace' in params: + path_params['namespace'] = params['namespace'] query_params = {} if 'pretty' in params: query_params['pretty'] = params['pretty'] if 'field_selector' in params: query_params['fieldSelector'] = params['field_selector'] + if 'include_uninitialized' in params: + query_params['includeUninitialized'] = params['include_uninitialized'] if 'label_selector' in params: query_params['labelSelector'] = params['label_selector'] if 'resource_version' in params: @@ -10278,7 +9657,7 @@ def delete_collection_group_with_http_info(self, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'DELETE', path_params, @@ -10287,7 +9666,7 @@ def delete_collection_group_with_http_info(self, **kwargs): body=body_params, post_params=form_params, files=local_var_files, - response_type='UnversionedStatus', + response_type='V1Status', auth_settings=auth_settings, callback=params.get('callback'), _return_http_data_only=params.get('_return_http_data_only'), @@ -10295,61 +9674,65 @@ def delete_collection_group_with_http_info(self, **kwargs): _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def delete_collection_host_subnet(self, **kwargs): + def delete_collection_namespaced_build_config(self, namespace, **kwargs): """ - delete collection of HostSubnet + delete collection of BuildConfig This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.delete_collection_host_subnet(callback=callback_function) + >>> thread = api.delete_collection_namespaced_build_config(namespace, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) + :param str namespace: object name and auth scope, such as for teams and projects (required) :param str pretty: If 'true', then the output is pretty printed. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param bool include_uninitialized: If true, partially initialized resources are included in the response. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. - :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. + :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. :param int timeout_seconds: Timeout for the list/watch call. :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - :return: UnversionedStatus + :return: V1Status If the method is called asynchronously, returns the request thread. """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.delete_collection_host_subnet_with_http_info(**kwargs) + return self.delete_collection_namespaced_build_config_with_http_info(namespace, **kwargs) else: - (data) = self.delete_collection_host_subnet_with_http_info(**kwargs) + (data) = self.delete_collection_namespaced_build_config_with_http_info(namespace, **kwargs) return data - def delete_collection_host_subnet_with_http_info(self, **kwargs): + def delete_collection_namespaced_build_config_with_http_info(self, namespace, **kwargs): """ - delete collection of HostSubnet + delete collection of BuildConfig This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.delete_collection_host_subnet_with_http_info(callback=callback_function) + >>> thread = api.delete_collection_namespaced_build_config_with_http_info(namespace, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) + :param str namespace: object name and auth scope, such as for teams and projects (required) :param str pretty: If 'true', then the output is pretty printed. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param bool include_uninitialized: If true, partially initialized resources are included in the response. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. - :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. + :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. :param int timeout_seconds: Timeout for the list/watch call. :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - :return: UnversionedStatus + :return: V1Status If the method is called asynchronously, returns the request thread. """ - all_params = ['pretty', 'field_selector', 'label_selector', 'resource_version', 'timeout_seconds', 'watch'] + all_params = ['namespace', 'pretty', 'field_selector', 'include_uninitialized', 'label_selector', 'resource_version', 'timeout_seconds', 'watch'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -10360,22 +9743,29 @@ def delete_collection_host_subnet_with_http_info(self, **kwargs): if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method delete_collection_host_subnet" % key + " to method delete_collection_namespaced_build_config" % key ) params[key] = val del params['kwargs'] + # verify the required parameter 'namespace' is set + if ('namespace' not in params) or (params['namespace'] is None): + raise ValueError("Missing the required parameter `namespace` when calling `delete_collection_namespaced_build_config`") collection_formats = {} - resource_path = '/oapi/v1/hostsubnets'.replace('{format}', 'json') + resource_path = '/oapi/v1/namespaces/{namespace}/buildconfigs'.replace('{format}', 'json') path_params = {} + if 'namespace' in params: + path_params['namespace'] = params['namespace'] query_params = {} if 'pretty' in params: query_params['pretty'] = params['pretty'] if 'field_selector' in params: query_params['fieldSelector'] = params['field_selector'] + if 'include_uninitialized' in params: + query_params['includeUninitialized'] = params['include_uninitialized'] if 'label_selector' in params: query_params['labelSelector'] = params['label_selector'] if 'resource_version' in params: @@ -10400,7 +9790,7 @@ def delete_collection_host_subnet_with_http_info(self, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'DELETE', path_params, @@ -10409,7 +9799,7 @@ def delete_collection_host_subnet_with_http_info(self, **kwargs): body=body_params, post_params=form_params, files=local_var_files, - response_type='UnversionedStatus', + response_type='V1Status', auth_settings=auth_settings, callback=params.get('callback'), _return_http_data_only=params.get('_return_http_data_only'), @@ -10417,61 +9807,65 @@ def delete_collection_host_subnet_with_http_info(self, **kwargs): _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def delete_collection_identity(self, **kwargs): + def delete_collection_namespaced_deployment_config(self, namespace, **kwargs): """ - delete collection of Identity + delete collection of DeploymentConfig This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.delete_collection_identity(callback=callback_function) + >>> thread = api.delete_collection_namespaced_deployment_config(namespace, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) + :param str namespace: object name and auth scope, such as for teams and projects (required) :param str pretty: If 'true', then the output is pretty printed. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param bool include_uninitialized: If true, partially initialized resources are included in the response. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. - :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. + :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. :param int timeout_seconds: Timeout for the list/watch call. :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - :return: UnversionedStatus + :return: V1Status If the method is called asynchronously, returns the request thread. """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.delete_collection_identity_with_http_info(**kwargs) + return self.delete_collection_namespaced_deployment_config_with_http_info(namespace, **kwargs) else: - (data) = self.delete_collection_identity_with_http_info(**kwargs) + (data) = self.delete_collection_namespaced_deployment_config_with_http_info(namespace, **kwargs) return data - def delete_collection_identity_with_http_info(self, **kwargs): + def delete_collection_namespaced_deployment_config_with_http_info(self, namespace, **kwargs): """ - delete collection of Identity + delete collection of DeploymentConfig This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.delete_collection_identity_with_http_info(callback=callback_function) + >>> thread = api.delete_collection_namespaced_deployment_config_with_http_info(namespace, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) + :param str namespace: object name and auth scope, such as for teams and projects (required) :param str pretty: If 'true', then the output is pretty printed. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param bool include_uninitialized: If true, partially initialized resources are included in the response. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. - :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. + :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. :param int timeout_seconds: Timeout for the list/watch call. :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - :return: UnversionedStatus + :return: V1Status If the method is called asynchronously, returns the request thread. """ - all_params = ['pretty', 'field_selector', 'label_selector', 'resource_version', 'timeout_seconds', 'watch'] + all_params = ['namespace', 'pretty', 'field_selector', 'include_uninitialized', 'label_selector', 'resource_version', 'timeout_seconds', 'watch'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -10482,22 +9876,29 @@ def delete_collection_identity_with_http_info(self, **kwargs): if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method delete_collection_identity" % key + " to method delete_collection_namespaced_deployment_config" % key ) params[key] = val del params['kwargs'] + # verify the required parameter 'namespace' is set + if ('namespace' not in params) or (params['namespace'] is None): + raise ValueError("Missing the required parameter `namespace` when calling `delete_collection_namespaced_deployment_config`") collection_formats = {} - resource_path = '/oapi/v1/identities'.replace('{format}', 'json') + resource_path = '/oapi/v1/namespaces/{namespace}/deploymentconfigs'.replace('{format}', 'json') path_params = {} + if 'namespace' in params: + path_params['namespace'] = params['namespace'] query_params = {} if 'pretty' in params: query_params['pretty'] = params['pretty'] if 'field_selector' in params: query_params['fieldSelector'] = params['field_selector'] + if 'include_uninitialized' in params: + query_params['includeUninitialized'] = params['include_uninitialized'] if 'label_selector' in params: query_params['labelSelector'] = params['label_selector'] if 'resource_version' in params: @@ -10522,7 +9923,7 @@ def delete_collection_identity_with_http_info(self, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'DELETE', path_params, @@ -10531,7 +9932,7 @@ def delete_collection_identity_with_http_info(self, **kwargs): body=body_params, post_params=form_params, files=local_var_files, - response_type='UnversionedStatus', + response_type='V1Status', auth_settings=auth_settings, callback=params.get('callback'), _return_http_data_only=params.get('_return_http_data_only'), @@ -10539,61 +9940,65 @@ def delete_collection_identity_with_http_info(self, **kwargs): _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def delete_collection_image(self, **kwargs): + def delete_collection_namespaced_egress_network_policy(self, namespace, **kwargs): """ - delete collection of Image + delete collection of EgressNetworkPolicy This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.delete_collection_image(callback=callback_function) + >>> thread = api.delete_collection_namespaced_egress_network_policy(namespace, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) + :param str namespace: object name and auth scope, such as for teams and projects (required) :param str pretty: If 'true', then the output is pretty printed. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param bool include_uninitialized: If true, partially initialized resources are included in the response. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. - :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. + :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. :param int timeout_seconds: Timeout for the list/watch call. :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - :return: UnversionedStatus + :return: V1Status If the method is called asynchronously, returns the request thread. """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.delete_collection_image_with_http_info(**kwargs) + return self.delete_collection_namespaced_egress_network_policy_with_http_info(namespace, **kwargs) else: - (data) = self.delete_collection_image_with_http_info(**kwargs) + (data) = self.delete_collection_namespaced_egress_network_policy_with_http_info(namespace, **kwargs) return data - def delete_collection_image_with_http_info(self, **kwargs): + def delete_collection_namespaced_egress_network_policy_with_http_info(self, namespace, **kwargs): """ - delete collection of Image + delete collection of EgressNetworkPolicy This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.delete_collection_image_with_http_info(callback=callback_function) + >>> thread = api.delete_collection_namespaced_egress_network_policy_with_http_info(namespace, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) + :param str namespace: object name and auth scope, such as for teams and projects (required) :param str pretty: If 'true', then the output is pretty printed. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param bool include_uninitialized: If true, partially initialized resources are included in the response. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. - :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. + :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. :param int timeout_seconds: Timeout for the list/watch call. :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - :return: UnversionedStatus + :return: V1Status If the method is called asynchronously, returns the request thread. """ - all_params = ['pretty', 'field_selector', 'label_selector', 'resource_version', 'timeout_seconds', 'watch'] + all_params = ['namespace', 'pretty', 'field_selector', 'include_uninitialized', 'label_selector', 'resource_version', 'timeout_seconds', 'watch'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -10604,22 +10009,29 @@ def delete_collection_image_with_http_info(self, **kwargs): if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method delete_collection_image" % key + " to method delete_collection_namespaced_egress_network_policy" % key ) params[key] = val del params['kwargs'] + # verify the required parameter 'namespace' is set + if ('namespace' not in params) or (params['namespace'] is None): + raise ValueError("Missing the required parameter `namespace` when calling `delete_collection_namespaced_egress_network_policy`") collection_formats = {} - resource_path = '/oapi/v1/images'.replace('{format}', 'json') + resource_path = '/oapi/v1/namespaces/{namespace}/egressnetworkpolicies'.replace('{format}', 'json') path_params = {} + if 'namespace' in params: + path_params['namespace'] = params['namespace'] query_params = {} if 'pretty' in params: query_params['pretty'] = params['pretty'] if 'field_selector' in params: query_params['fieldSelector'] = params['field_selector'] + if 'include_uninitialized' in params: + query_params['includeUninitialized'] = params['include_uninitialized'] if 'label_selector' in params: query_params['labelSelector'] = params['label_selector'] if 'resource_version' in params: @@ -10644,7 +10056,7 @@ def delete_collection_image_with_http_info(self, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'DELETE', path_params, @@ -10653,7 +10065,7 @@ def delete_collection_image_with_http_info(self, **kwargs): body=body_params, post_params=form_params, files=local_var_files, - response_type='UnversionedStatus', + response_type='V1Status', auth_settings=auth_settings, callback=params.get('callback'), _return_http_data_only=params.get('_return_http_data_only'), @@ -10661,63 +10073,65 @@ def delete_collection_image_with_http_info(self, **kwargs): _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def delete_collection_namespaced_build(self, namespace, **kwargs): + def delete_collection_namespaced_image_stream(self, namespace, **kwargs): """ - delete collection of Build + delete collection of ImageStream This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.delete_collection_namespaced_build(namespace, callback=callback_function) + >>> thread = api.delete_collection_namespaced_image_stream(namespace, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param str namespace: object name and auth scope, such as for teams and projects (required) :param str pretty: If 'true', then the output is pretty printed. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param bool include_uninitialized: If true, partially initialized resources are included in the response. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. - :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. + :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. :param int timeout_seconds: Timeout for the list/watch call. :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - :return: UnversionedStatus + :return: V1Status If the method is called asynchronously, returns the request thread. """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.delete_collection_namespaced_build_with_http_info(namespace, **kwargs) + return self.delete_collection_namespaced_image_stream_with_http_info(namespace, **kwargs) else: - (data) = self.delete_collection_namespaced_build_with_http_info(namespace, **kwargs) + (data) = self.delete_collection_namespaced_image_stream_with_http_info(namespace, **kwargs) return data - def delete_collection_namespaced_build_with_http_info(self, namespace, **kwargs): + def delete_collection_namespaced_image_stream_with_http_info(self, namespace, **kwargs): """ - delete collection of Build + delete collection of ImageStream This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.delete_collection_namespaced_build_with_http_info(namespace, callback=callback_function) + >>> thread = api.delete_collection_namespaced_image_stream_with_http_info(namespace, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param str namespace: object name and auth scope, such as for teams and projects (required) :param str pretty: If 'true', then the output is pretty printed. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param bool include_uninitialized: If true, partially initialized resources are included in the response. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. - :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. + :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. :param int timeout_seconds: Timeout for the list/watch call. :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - :return: UnversionedStatus + :return: V1Status If the method is called asynchronously, returns the request thread. """ - all_params = ['namespace', 'pretty', 'field_selector', 'label_selector', 'resource_version', 'timeout_seconds', 'watch'] + all_params = ['namespace', 'pretty', 'field_selector', 'include_uninitialized', 'label_selector', 'resource_version', 'timeout_seconds', 'watch'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -10728,18 +10142,18 @@ def delete_collection_namespaced_build_with_http_info(self, namespace, **kwargs) if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method delete_collection_namespaced_build" % key + " to method delete_collection_namespaced_image_stream" % key ) params[key] = val del params['kwargs'] # verify the required parameter 'namespace' is set if ('namespace' not in params) or (params['namespace'] is None): - raise ValueError("Missing the required parameter `namespace` when calling `delete_collection_namespaced_build`") + raise ValueError("Missing the required parameter `namespace` when calling `delete_collection_namespaced_image_stream`") collection_formats = {} - resource_path = '/oapi/v1/namespaces/{namespace}/builds'.replace('{format}', 'json') + resource_path = '/oapi/v1/namespaces/{namespace}/imagestreams'.replace('{format}', 'json') path_params = {} if 'namespace' in params: path_params['namespace'] = params['namespace'] @@ -10749,6 +10163,8 @@ def delete_collection_namespaced_build_with_http_info(self, namespace, **kwargs) query_params['pretty'] = params['pretty'] if 'field_selector' in params: query_params['fieldSelector'] = params['field_selector'] + if 'include_uninitialized' in params: + query_params['includeUninitialized'] = params['include_uninitialized'] if 'label_selector' in params: query_params['labelSelector'] = params['label_selector'] if 'resource_version' in params: @@ -10773,7 +10189,7 @@ def delete_collection_namespaced_build_with_http_info(self, namespace, **kwargs) select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'DELETE', path_params, @@ -10782,7 +10198,7 @@ def delete_collection_namespaced_build_with_http_info(self, namespace, **kwargs) body=body_params, post_params=form_params, files=local_var_files, - response_type='UnversionedStatus', + response_type='V1Status', auth_settings=auth_settings, callback=params.get('callback'), _return_http_data_only=params.get('_return_http_data_only'), @@ -10790,63 +10206,65 @@ def delete_collection_namespaced_build_with_http_info(self, namespace, **kwargs) _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def delete_collection_namespaced_build_config(self, namespace, **kwargs): + def delete_collection_namespaced_role_binding_restriction(self, namespace, **kwargs): """ - delete collection of BuildConfig + delete collection of RoleBindingRestriction This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.delete_collection_namespaced_build_config(namespace, callback=callback_function) + >>> thread = api.delete_collection_namespaced_role_binding_restriction(namespace, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param str namespace: object name and auth scope, such as for teams and projects (required) :param str pretty: If 'true', then the output is pretty printed. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param bool include_uninitialized: If true, partially initialized resources are included in the response. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. - :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. + :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. :param int timeout_seconds: Timeout for the list/watch call. :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - :return: UnversionedStatus + :return: V1Status If the method is called asynchronously, returns the request thread. """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.delete_collection_namespaced_build_config_with_http_info(namespace, **kwargs) + return self.delete_collection_namespaced_role_binding_restriction_with_http_info(namespace, **kwargs) else: - (data) = self.delete_collection_namespaced_build_config_with_http_info(namespace, **kwargs) + (data) = self.delete_collection_namespaced_role_binding_restriction_with_http_info(namespace, **kwargs) return data - def delete_collection_namespaced_build_config_with_http_info(self, namespace, **kwargs): + def delete_collection_namespaced_role_binding_restriction_with_http_info(self, namespace, **kwargs): """ - delete collection of BuildConfig + delete collection of RoleBindingRestriction This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.delete_collection_namespaced_build_config_with_http_info(namespace, callback=callback_function) + >>> thread = api.delete_collection_namespaced_role_binding_restriction_with_http_info(namespace, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param str namespace: object name and auth scope, such as for teams and projects (required) :param str pretty: If 'true', then the output is pretty printed. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param bool include_uninitialized: If true, partially initialized resources are included in the response. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. - :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. + :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. :param int timeout_seconds: Timeout for the list/watch call. :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - :return: UnversionedStatus + :return: V1Status If the method is called asynchronously, returns the request thread. """ - all_params = ['namespace', 'pretty', 'field_selector', 'label_selector', 'resource_version', 'timeout_seconds', 'watch'] + all_params = ['namespace', 'pretty', 'field_selector', 'include_uninitialized', 'label_selector', 'resource_version', 'timeout_seconds', 'watch'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -10857,18 +10275,18 @@ def delete_collection_namespaced_build_config_with_http_info(self, namespace, ** if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method delete_collection_namespaced_build_config" % key + " to method delete_collection_namespaced_role_binding_restriction" % key ) params[key] = val del params['kwargs'] # verify the required parameter 'namespace' is set if ('namespace' not in params) or (params['namespace'] is None): - raise ValueError("Missing the required parameter `namespace` when calling `delete_collection_namespaced_build_config`") + raise ValueError("Missing the required parameter `namespace` when calling `delete_collection_namespaced_role_binding_restriction`") collection_formats = {} - resource_path = '/oapi/v1/namespaces/{namespace}/buildconfigs'.replace('{format}', 'json') + resource_path = '/oapi/v1/namespaces/{namespace}/rolebindingrestrictions'.replace('{format}', 'json') path_params = {} if 'namespace' in params: path_params['namespace'] = params['namespace'] @@ -10878,6 +10296,8 @@ def delete_collection_namespaced_build_config_with_http_info(self, namespace, ** query_params['pretty'] = params['pretty'] if 'field_selector' in params: query_params['fieldSelector'] = params['field_selector'] + if 'include_uninitialized' in params: + query_params['includeUninitialized'] = params['include_uninitialized'] if 'label_selector' in params: query_params['labelSelector'] = params['label_selector'] if 'resource_version' in params: @@ -10902,7 +10322,7 @@ def delete_collection_namespaced_build_config_with_http_info(self, namespace, ** select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'DELETE', path_params, @@ -10911,7 +10331,7 @@ def delete_collection_namespaced_build_config_with_http_info(self, namespace, ** body=body_params, post_params=form_params, files=local_var_files, - response_type='UnversionedStatus', + response_type='V1Status', auth_settings=auth_settings, callback=params.get('callback'), _return_http_data_only=params.get('_return_http_data_only'), @@ -10919,63 +10339,65 @@ def delete_collection_namespaced_build_config_with_http_info(self, namespace, ** _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def delete_collection_namespaced_deployment_config(self, namespace, **kwargs): + def delete_collection_namespaced_route(self, namespace, **kwargs): """ - delete collection of DeploymentConfig + delete collection of Route This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.delete_collection_namespaced_deployment_config(namespace, callback=callback_function) + >>> thread = api.delete_collection_namespaced_route(namespace, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param str namespace: object name and auth scope, such as for teams and projects (required) :param str pretty: If 'true', then the output is pretty printed. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param bool include_uninitialized: If true, partially initialized resources are included in the response. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. - :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. + :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. :param int timeout_seconds: Timeout for the list/watch call. :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - :return: UnversionedStatus + :return: V1Status If the method is called asynchronously, returns the request thread. """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.delete_collection_namespaced_deployment_config_with_http_info(namespace, **kwargs) + return self.delete_collection_namespaced_route_with_http_info(namespace, **kwargs) else: - (data) = self.delete_collection_namespaced_deployment_config_with_http_info(namespace, **kwargs) + (data) = self.delete_collection_namespaced_route_with_http_info(namespace, **kwargs) return data - def delete_collection_namespaced_deployment_config_with_http_info(self, namespace, **kwargs): + def delete_collection_namespaced_route_with_http_info(self, namespace, **kwargs): """ - delete collection of DeploymentConfig + delete collection of Route This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.delete_collection_namespaced_deployment_config_with_http_info(namespace, callback=callback_function) + >>> thread = api.delete_collection_namespaced_route_with_http_info(namespace, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param str namespace: object name and auth scope, such as for teams and projects (required) :param str pretty: If 'true', then the output is pretty printed. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param bool include_uninitialized: If true, partially initialized resources are included in the response. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. - :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. + :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. :param int timeout_seconds: Timeout for the list/watch call. :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - :return: UnversionedStatus + :return: V1Status If the method is called asynchronously, returns the request thread. """ - all_params = ['namespace', 'pretty', 'field_selector', 'label_selector', 'resource_version', 'timeout_seconds', 'watch'] + all_params = ['namespace', 'pretty', 'field_selector', 'include_uninitialized', 'label_selector', 'resource_version', 'timeout_seconds', 'watch'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -10986,18 +10408,18 @@ def delete_collection_namespaced_deployment_config_with_http_info(self, namespac if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method delete_collection_namespaced_deployment_config" % key + " to method delete_collection_namespaced_route" % key ) params[key] = val del params['kwargs'] # verify the required parameter 'namespace' is set if ('namespace' not in params) or (params['namespace'] is None): - raise ValueError("Missing the required parameter `namespace` when calling `delete_collection_namespaced_deployment_config`") + raise ValueError("Missing the required parameter `namespace` when calling `delete_collection_namespaced_route`") collection_formats = {} - resource_path = '/oapi/v1/namespaces/{namespace}/deploymentconfigs'.replace('{format}', 'json') + resource_path = '/oapi/v1/namespaces/{namespace}/routes'.replace('{format}', 'json') path_params = {} if 'namespace' in params: path_params['namespace'] = params['namespace'] @@ -11007,6 +10429,8 @@ def delete_collection_namespaced_deployment_config_with_http_info(self, namespac query_params['pretty'] = params['pretty'] if 'field_selector' in params: query_params['fieldSelector'] = params['field_selector'] + if 'include_uninitialized' in params: + query_params['includeUninitialized'] = params['include_uninitialized'] if 'label_selector' in params: query_params['labelSelector'] = params['label_selector'] if 'resource_version' in params: @@ -11031,7 +10455,7 @@ def delete_collection_namespaced_deployment_config_with_http_info(self, namespac select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'DELETE', path_params, @@ -11040,7 +10464,7 @@ def delete_collection_namespaced_deployment_config_with_http_info(self, namespac body=body_params, post_params=form_params, files=local_var_files, - response_type='UnversionedStatus', + response_type='V1Status', auth_settings=auth_settings, callback=params.get('callback'), _return_http_data_only=params.get('_return_http_data_only'), @@ -11048,63 +10472,65 @@ def delete_collection_namespaced_deployment_config_with_http_info(self, namespac _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def delete_collection_namespaced_egress_network_policy(self, namespace, **kwargs): + def delete_collection_namespaced_template(self, namespace, **kwargs): """ - delete collection of EgressNetworkPolicy + delete collection of Template This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.delete_collection_namespaced_egress_network_policy(namespace, callback=callback_function) + >>> thread = api.delete_collection_namespaced_template(namespace, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param str namespace: object name and auth scope, such as for teams and projects (required) :param str pretty: If 'true', then the output is pretty printed. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param bool include_uninitialized: If true, partially initialized resources are included in the response. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. - :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. + :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. :param int timeout_seconds: Timeout for the list/watch call. :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - :return: UnversionedStatus + :return: V1Status If the method is called asynchronously, returns the request thread. """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.delete_collection_namespaced_egress_network_policy_with_http_info(namespace, **kwargs) + return self.delete_collection_namespaced_template_with_http_info(namespace, **kwargs) else: - (data) = self.delete_collection_namespaced_egress_network_policy_with_http_info(namespace, **kwargs) + (data) = self.delete_collection_namespaced_template_with_http_info(namespace, **kwargs) return data - def delete_collection_namespaced_egress_network_policy_with_http_info(self, namespace, **kwargs): + def delete_collection_namespaced_template_with_http_info(self, namespace, **kwargs): """ - delete collection of EgressNetworkPolicy + delete collection of Template This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.delete_collection_namespaced_egress_network_policy_with_http_info(namespace, callback=callback_function) + >>> thread = api.delete_collection_namespaced_template_with_http_info(namespace, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param str namespace: object name and auth scope, such as for teams and projects (required) :param str pretty: If 'true', then the output is pretty printed. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param bool include_uninitialized: If true, partially initialized resources are included in the response. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. - :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. + :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. :param int timeout_seconds: Timeout for the list/watch call. :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - :return: UnversionedStatus + :return: V1Status If the method is called asynchronously, returns the request thread. """ - all_params = ['namespace', 'pretty', 'field_selector', 'label_selector', 'resource_version', 'timeout_seconds', 'watch'] + all_params = ['namespace', 'pretty', 'field_selector', 'include_uninitialized', 'label_selector', 'resource_version', 'timeout_seconds', 'watch'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -11115,18 +10541,18 @@ def delete_collection_namespaced_egress_network_policy_with_http_info(self, name if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method delete_collection_namespaced_egress_network_policy" % key + " to method delete_collection_namespaced_template" % key ) params[key] = val del params['kwargs'] # verify the required parameter 'namespace' is set if ('namespace' not in params) or (params['namespace'] is None): - raise ValueError("Missing the required parameter `namespace` when calling `delete_collection_namespaced_egress_network_policy`") + raise ValueError("Missing the required parameter `namespace` when calling `delete_collection_namespaced_template`") collection_formats = {} - resource_path = '/oapi/v1/namespaces/{namespace}/egressnetworkpolicies'.replace('{format}', 'json') + resource_path = '/oapi/v1/namespaces/{namespace}/templates'.replace('{format}', 'json') path_params = {} if 'namespace' in params: path_params['namespace'] = params['namespace'] @@ -11136,6 +10562,8 @@ def delete_collection_namespaced_egress_network_policy_with_http_info(self, name query_params['pretty'] = params['pretty'] if 'field_selector' in params: query_params['fieldSelector'] = params['field_selector'] + if 'include_uninitialized' in params: + query_params['includeUninitialized'] = params['include_uninitialized'] if 'label_selector' in params: query_params['labelSelector'] = params['label_selector'] if 'resource_version' in params: @@ -11160,7 +10588,7 @@ def delete_collection_namespaced_egress_network_policy_with_http_info(self, name select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'DELETE', path_params, @@ -11169,7 +10597,7 @@ def delete_collection_namespaced_egress_network_policy_with_http_info(self, name body=body_params, post_params=form_params, files=local_var_files, - response_type='UnversionedStatus', + response_type='V1Status', auth_settings=auth_settings, callback=params.get('callback'), _return_http_data_only=params.get('_return_http_data_only'), @@ -11177,63 +10605,63 @@ def delete_collection_namespaced_egress_network_policy_with_http_info(self, name _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def delete_collection_namespaced_image_stream(self, namespace, **kwargs): + def delete_collection_net_namespace(self, **kwargs): """ - delete collection of ImageStream + delete collection of NetNamespace This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.delete_collection_namespaced_image_stream(namespace, callback=callback_function) + >>> thread = api.delete_collection_net_namespace(callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) - :param str namespace: object name and auth scope, such as for teams and projects (required) :param str pretty: If 'true', then the output is pretty printed. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param bool include_uninitialized: If true, partially initialized resources are included in the response. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. - :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. + :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. :param int timeout_seconds: Timeout for the list/watch call. :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - :return: UnversionedStatus + :return: V1Status If the method is called asynchronously, returns the request thread. """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.delete_collection_namespaced_image_stream_with_http_info(namespace, **kwargs) + return self.delete_collection_net_namespace_with_http_info(**kwargs) else: - (data) = self.delete_collection_namespaced_image_stream_with_http_info(namespace, **kwargs) + (data) = self.delete_collection_net_namespace_with_http_info(**kwargs) return data - def delete_collection_namespaced_image_stream_with_http_info(self, namespace, **kwargs): + def delete_collection_net_namespace_with_http_info(self, **kwargs): """ - delete collection of ImageStream + delete collection of NetNamespace This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.delete_collection_namespaced_image_stream_with_http_info(namespace, callback=callback_function) + >>> thread = api.delete_collection_net_namespace_with_http_info(callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) - :param str namespace: object name and auth scope, such as for teams and projects (required) :param str pretty: If 'true', then the output is pretty printed. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param bool include_uninitialized: If true, partially initialized resources are included in the response. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. - :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. + :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. :param int timeout_seconds: Timeout for the list/watch call. :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - :return: UnversionedStatus + :return: V1Status If the method is called asynchronously, returns the request thread. """ - all_params = ['namespace', 'pretty', 'field_selector', 'label_selector', 'resource_version', 'timeout_seconds', 'watch'] + all_params = ['pretty', 'field_selector', 'include_uninitialized', 'label_selector', 'resource_version', 'timeout_seconds', 'watch'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -11244,27 +10672,24 @@ def delete_collection_namespaced_image_stream_with_http_info(self, namespace, ** if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method delete_collection_namespaced_image_stream" % key + " to method delete_collection_net_namespace" % key ) params[key] = val del params['kwargs'] - # verify the required parameter 'namespace' is set - if ('namespace' not in params) or (params['namespace'] is None): - raise ValueError("Missing the required parameter `namespace` when calling `delete_collection_namespaced_image_stream`") collection_formats = {} - resource_path = '/oapi/v1/namespaces/{namespace}/imagestreams'.replace('{format}', 'json') + resource_path = '/oapi/v1/netnamespaces'.replace('{format}', 'json') path_params = {} - if 'namespace' in params: - path_params['namespace'] = params['namespace'] query_params = {} if 'pretty' in params: query_params['pretty'] = params['pretty'] if 'field_selector' in params: query_params['fieldSelector'] = params['field_selector'] + if 'include_uninitialized' in params: + query_params['includeUninitialized'] = params['include_uninitialized'] if 'label_selector' in params: query_params['labelSelector'] = params['label_selector'] if 'resource_version' in params: @@ -11289,7 +10714,7 @@ def delete_collection_namespaced_image_stream_with_http_info(self, namespace, ** select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'DELETE', path_params, @@ -11298,7 +10723,7 @@ def delete_collection_namespaced_image_stream_with_http_info(self, namespace, ** body=body_params, post_params=form_params, files=local_var_files, - response_type='UnversionedStatus', + response_type='V1Status', auth_settings=auth_settings, callback=params.get('callback'), _return_http_data_only=params.get('_return_http_data_only'), @@ -11306,63 +10731,63 @@ def delete_collection_namespaced_image_stream_with_http_info(self, namespace, ** _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def delete_collection_namespaced_policy(self, namespace, **kwargs): + def delete_collection_o_auth_access_token(self, **kwargs): """ - delete collection of Policy + delete collection of OAuthAccessToken This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.delete_collection_namespaced_policy(namespace, callback=callback_function) + >>> thread = api.delete_collection_o_auth_access_token(callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) - :param str namespace: object name and auth scope, such as for teams and projects (required) :param str pretty: If 'true', then the output is pretty printed. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param bool include_uninitialized: If true, partially initialized resources are included in the response. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. - :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. + :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. :param int timeout_seconds: Timeout for the list/watch call. :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - :return: UnversionedStatus + :return: V1Status If the method is called asynchronously, returns the request thread. """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.delete_collection_namespaced_policy_with_http_info(namespace, **kwargs) + return self.delete_collection_o_auth_access_token_with_http_info(**kwargs) else: - (data) = self.delete_collection_namespaced_policy_with_http_info(namespace, **kwargs) + (data) = self.delete_collection_o_auth_access_token_with_http_info(**kwargs) return data - def delete_collection_namespaced_policy_with_http_info(self, namespace, **kwargs): + def delete_collection_o_auth_access_token_with_http_info(self, **kwargs): """ - delete collection of Policy + delete collection of OAuthAccessToken This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.delete_collection_namespaced_policy_with_http_info(namespace, callback=callback_function) + >>> thread = api.delete_collection_o_auth_access_token_with_http_info(callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) - :param str namespace: object name and auth scope, such as for teams and projects (required) :param str pretty: If 'true', then the output is pretty printed. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param bool include_uninitialized: If true, partially initialized resources are included in the response. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. - :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. + :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. :param int timeout_seconds: Timeout for the list/watch call. :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - :return: UnversionedStatus + :return: V1Status If the method is called asynchronously, returns the request thread. """ - all_params = ['namespace', 'pretty', 'field_selector', 'label_selector', 'resource_version', 'timeout_seconds', 'watch'] + all_params = ['pretty', 'field_selector', 'include_uninitialized', 'label_selector', 'resource_version', 'timeout_seconds', 'watch'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -11373,27 +10798,24 @@ def delete_collection_namespaced_policy_with_http_info(self, namespace, **kwargs if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method delete_collection_namespaced_policy" % key + " to method delete_collection_o_auth_access_token" % key ) params[key] = val del params['kwargs'] - # verify the required parameter 'namespace' is set - if ('namespace' not in params) or (params['namespace'] is None): - raise ValueError("Missing the required parameter `namespace` when calling `delete_collection_namespaced_policy`") collection_formats = {} - resource_path = '/oapi/v1/namespaces/{namespace}/policies'.replace('{format}', 'json') + resource_path = '/oapi/v1/oauthaccesstokens'.replace('{format}', 'json') path_params = {} - if 'namespace' in params: - path_params['namespace'] = params['namespace'] query_params = {} if 'pretty' in params: query_params['pretty'] = params['pretty'] if 'field_selector' in params: query_params['fieldSelector'] = params['field_selector'] + if 'include_uninitialized' in params: + query_params['includeUninitialized'] = params['include_uninitialized'] if 'label_selector' in params: query_params['labelSelector'] = params['label_selector'] if 'resource_version' in params: @@ -11418,7 +10840,7 @@ def delete_collection_namespaced_policy_with_http_info(self, namespace, **kwargs select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'DELETE', path_params, @@ -11427,7 +10849,7 @@ def delete_collection_namespaced_policy_with_http_info(self, namespace, **kwargs body=body_params, post_params=form_params, files=local_var_files, - response_type='UnversionedStatus', + response_type='V1Status', auth_settings=auth_settings, callback=params.get('callback'), _return_http_data_only=params.get('_return_http_data_only'), @@ -11435,63 +10857,63 @@ def delete_collection_namespaced_policy_with_http_info(self, namespace, **kwargs _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def delete_collection_namespaced_policy_binding(self, namespace, **kwargs): + def delete_collection_o_auth_authorize_token(self, **kwargs): """ - delete collection of PolicyBinding + delete collection of OAuthAuthorizeToken This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.delete_collection_namespaced_policy_binding(namespace, callback=callback_function) + >>> thread = api.delete_collection_o_auth_authorize_token(callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) - :param str namespace: object name and auth scope, such as for teams and projects (required) :param str pretty: If 'true', then the output is pretty printed. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param bool include_uninitialized: If true, partially initialized resources are included in the response. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. - :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. + :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. :param int timeout_seconds: Timeout for the list/watch call. :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - :return: UnversionedStatus + :return: V1Status If the method is called asynchronously, returns the request thread. """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.delete_collection_namespaced_policy_binding_with_http_info(namespace, **kwargs) + return self.delete_collection_o_auth_authorize_token_with_http_info(**kwargs) else: - (data) = self.delete_collection_namespaced_policy_binding_with_http_info(namespace, **kwargs) + (data) = self.delete_collection_o_auth_authorize_token_with_http_info(**kwargs) return data - def delete_collection_namespaced_policy_binding_with_http_info(self, namespace, **kwargs): + def delete_collection_o_auth_authorize_token_with_http_info(self, **kwargs): """ - delete collection of PolicyBinding + delete collection of OAuthAuthorizeToken This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.delete_collection_namespaced_policy_binding_with_http_info(namespace, callback=callback_function) + >>> thread = api.delete_collection_o_auth_authorize_token_with_http_info(callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) - :param str namespace: object name and auth scope, such as for teams and projects (required) :param str pretty: If 'true', then the output is pretty printed. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param bool include_uninitialized: If true, partially initialized resources are included in the response. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. - :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. + :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. :param int timeout_seconds: Timeout for the list/watch call. :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - :return: UnversionedStatus + :return: V1Status If the method is called asynchronously, returns the request thread. """ - all_params = ['namespace', 'pretty', 'field_selector', 'label_selector', 'resource_version', 'timeout_seconds', 'watch'] + all_params = ['pretty', 'field_selector', 'include_uninitialized', 'label_selector', 'resource_version', 'timeout_seconds', 'watch'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -11502,27 +10924,24 @@ def delete_collection_namespaced_policy_binding_with_http_info(self, namespace, if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method delete_collection_namespaced_policy_binding" % key + " to method delete_collection_o_auth_authorize_token" % key ) params[key] = val del params['kwargs'] - # verify the required parameter 'namespace' is set - if ('namespace' not in params) or (params['namespace'] is None): - raise ValueError("Missing the required parameter `namespace` when calling `delete_collection_namespaced_policy_binding`") collection_formats = {} - resource_path = '/oapi/v1/namespaces/{namespace}/policybindings'.replace('{format}', 'json') + resource_path = '/oapi/v1/oauthauthorizetokens'.replace('{format}', 'json') path_params = {} - if 'namespace' in params: - path_params['namespace'] = params['namespace'] query_params = {} if 'pretty' in params: query_params['pretty'] = params['pretty'] if 'field_selector' in params: query_params['fieldSelector'] = params['field_selector'] + if 'include_uninitialized' in params: + query_params['includeUninitialized'] = params['include_uninitialized'] if 'label_selector' in params: query_params['labelSelector'] = params['label_selector'] if 'resource_version' in params: @@ -11547,7 +10966,7 @@ def delete_collection_namespaced_policy_binding_with_http_info(self, namespace, select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'DELETE', path_params, @@ -11556,7 +10975,7 @@ def delete_collection_namespaced_policy_binding_with_http_info(self, namespace, body=body_params, post_params=form_params, files=local_var_files, - response_type='UnversionedStatus', + response_type='V1Status', auth_settings=auth_settings, callback=params.get('callback'), _return_http_data_only=params.get('_return_http_data_only'), @@ -11564,63 +10983,63 @@ def delete_collection_namespaced_policy_binding_with_http_info(self, namespace, _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def delete_collection_namespaced_role_binding_restriction(self, namespace, **kwargs): + def delete_collection_o_auth_client(self, **kwargs): """ - delete collection of RoleBindingRestriction + delete collection of OAuthClient This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.delete_collection_namespaced_role_binding_restriction(namespace, callback=callback_function) + >>> thread = api.delete_collection_o_auth_client(callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) - :param str namespace: object name and auth scope, such as for teams and projects (required) :param str pretty: If 'true', then the output is pretty printed. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param bool include_uninitialized: If true, partially initialized resources are included in the response. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. - :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. + :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. :param int timeout_seconds: Timeout for the list/watch call. :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - :return: UnversionedStatus + :return: V1Status If the method is called asynchronously, returns the request thread. """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.delete_collection_namespaced_role_binding_restriction_with_http_info(namespace, **kwargs) + return self.delete_collection_o_auth_client_with_http_info(**kwargs) else: - (data) = self.delete_collection_namespaced_role_binding_restriction_with_http_info(namespace, **kwargs) + (data) = self.delete_collection_o_auth_client_with_http_info(**kwargs) return data - def delete_collection_namespaced_role_binding_restriction_with_http_info(self, namespace, **kwargs): + def delete_collection_o_auth_client_with_http_info(self, **kwargs): """ - delete collection of RoleBindingRestriction + delete collection of OAuthClient This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.delete_collection_namespaced_role_binding_restriction_with_http_info(namespace, callback=callback_function) + >>> thread = api.delete_collection_o_auth_client_with_http_info(callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) - :param str namespace: object name and auth scope, such as for teams and projects (required) :param str pretty: If 'true', then the output is pretty printed. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param bool include_uninitialized: If true, partially initialized resources are included in the response. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. - :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. + :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. :param int timeout_seconds: Timeout for the list/watch call. :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - :return: UnversionedStatus + :return: V1Status If the method is called asynchronously, returns the request thread. """ - all_params = ['namespace', 'pretty', 'field_selector', 'label_selector', 'resource_version', 'timeout_seconds', 'watch'] + all_params = ['pretty', 'field_selector', 'include_uninitialized', 'label_selector', 'resource_version', 'timeout_seconds', 'watch'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -11631,27 +11050,24 @@ def delete_collection_namespaced_role_binding_restriction_with_http_info(self, n if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method delete_collection_namespaced_role_binding_restriction" % key + " to method delete_collection_o_auth_client" % key ) params[key] = val del params['kwargs'] - # verify the required parameter 'namespace' is set - if ('namespace' not in params) or (params['namespace'] is None): - raise ValueError("Missing the required parameter `namespace` when calling `delete_collection_namespaced_role_binding_restriction`") collection_formats = {} - resource_path = '/oapi/v1/namespaces/{namespace}/rolebindingrestrictions'.replace('{format}', 'json') + resource_path = '/oapi/v1/oauthclients'.replace('{format}', 'json') path_params = {} - if 'namespace' in params: - path_params['namespace'] = params['namespace'] query_params = {} if 'pretty' in params: query_params['pretty'] = params['pretty'] if 'field_selector' in params: query_params['fieldSelector'] = params['field_selector'] + if 'include_uninitialized' in params: + query_params['includeUninitialized'] = params['include_uninitialized'] if 'label_selector' in params: query_params['labelSelector'] = params['label_selector'] if 'resource_version' in params: @@ -11676,7 +11092,7 @@ def delete_collection_namespaced_role_binding_restriction_with_http_info(self, n select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'DELETE', path_params, @@ -11685,7 +11101,7 @@ def delete_collection_namespaced_role_binding_restriction_with_http_info(self, n body=body_params, post_params=form_params, files=local_var_files, - response_type='UnversionedStatus', + response_type='V1Status', auth_settings=auth_settings, callback=params.get('callback'), _return_http_data_only=params.get('_return_http_data_only'), @@ -11693,63 +11109,63 @@ def delete_collection_namespaced_role_binding_restriction_with_http_info(self, n _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def delete_collection_namespaced_route(self, namespace, **kwargs): + def delete_collection_o_auth_client_authorization(self, **kwargs): """ - delete collection of Route + delete collection of OAuthClientAuthorization This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.delete_collection_namespaced_route(namespace, callback=callback_function) + >>> thread = api.delete_collection_o_auth_client_authorization(callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) - :param str namespace: object name and auth scope, such as for teams and projects (required) :param str pretty: If 'true', then the output is pretty printed. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param bool include_uninitialized: If true, partially initialized resources are included in the response. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. - :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. + :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. :param int timeout_seconds: Timeout for the list/watch call. :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - :return: UnversionedStatus + :return: V1Status If the method is called asynchronously, returns the request thread. """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.delete_collection_namespaced_route_with_http_info(namespace, **kwargs) + return self.delete_collection_o_auth_client_authorization_with_http_info(**kwargs) else: - (data) = self.delete_collection_namespaced_route_with_http_info(namespace, **kwargs) + (data) = self.delete_collection_o_auth_client_authorization_with_http_info(**kwargs) return data - def delete_collection_namespaced_route_with_http_info(self, namespace, **kwargs): + def delete_collection_o_auth_client_authorization_with_http_info(self, **kwargs): """ - delete collection of Route + delete collection of OAuthClientAuthorization This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.delete_collection_namespaced_route_with_http_info(namespace, callback=callback_function) + >>> thread = api.delete_collection_o_auth_client_authorization_with_http_info(callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) - :param str namespace: object name and auth scope, such as for teams and projects (required) :param str pretty: If 'true', then the output is pretty printed. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param bool include_uninitialized: If true, partially initialized resources are included in the response. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. - :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. + :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. :param int timeout_seconds: Timeout for the list/watch call. :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - :return: UnversionedStatus + :return: V1Status If the method is called asynchronously, returns the request thread. """ - all_params = ['namespace', 'pretty', 'field_selector', 'label_selector', 'resource_version', 'timeout_seconds', 'watch'] + all_params = ['pretty', 'field_selector', 'include_uninitialized', 'label_selector', 'resource_version', 'timeout_seconds', 'watch'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -11760,27 +11176,24 @@ def delete_collection_namespaced_route_with_http_info(self, namespace, **kwargs) if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method delete_collection_namespaced_route" % key + " to method delete_collection_o_auth_client_authorization" % key ) params[key] = val del params['kwargs'] - # verify the required parameter 'namespace' is set - if ('namespace' not in params) or (params['namespace'] is None): - raise ValueError("Missing the required parameter `namespace` when calling `delete_collection_namespaced_route`") collection_formats = {} - resource_path = '/oapi/v1/namespaces/{namespace}/routes'.replace('{format}', 'json') + resource_path = '/oapi/v1/oauthclientauthorizations'.replace('{format}', 'json') path_params = {} - if 'namespace' in params: - path_params['namespace'] = params['namespace'] query_params = {} if 'pretty' in params: query_params['pretty'] = params['pretty'] if 'field_selector' in params: query_params['fieldSelector'] = params['field_selector'] + if 'include_uninitialized' in params: + query_params['includeUninitialized'] = params['include_uninitialized'] if 'label_selector' in params: query_params['labelSelector'] = params['label_selector'] if 'resource_version' in params: @@ -11805,7 +11218,7 @@ def delete_collection_namespaced_route_with_http_info(self, namespace, **kwargs) select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'DELETE', path_params, @@ -11814,7 +11227,7 @@ def delete_collection_namespaced_route_with_http_info(self, namespace, **kwargs) body=body_params, post_params=form_params, files=local_var_files, - response_type='UnversionedStatus', + response_type='V1Status', auth_settings=auth_settings, callback=params.get('callback'), _return_http_data_only=params.get('_return_http_data_only'), @@ -11822,63 +11235,63 @@ def delete_collection_namespaced_route_with_http_info(self, namespace, **kwargs) _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def delete_collection_namespaced_template(self, namespace, **kwargs): + def delete_collection_user(self, **kwargs): """ - delete collection of Template + delete collection of User This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.delete_collection_namespaced_template(namespace, callback=callback_function) + >>> thread = api.delete_collection_user(callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) - :param str namespace: object name and auth scope, such as for teams and projects (required) :param str pretty: If 'true', then the output is pretty printed. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param bool include_uninitialized: If true, partially initialized resources are included in the response. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. - :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. + :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. :param int timeout_seconds: Timeout for the list/watch call. :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - :return: UnversionedStatus + :return: V1Status If the method is called asynchronously, returns the request thread. """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.delete_collection_namespaced_template_with_http_info(namespace, **kwargs) + return self.delete_collection_user_with_http_info(**kwargs) else: - (data) = self.delete_collection_namespaced_template_with_http_info(namespace, **kwargs) + (data) = self.delete_collection_user_with_http_info(**kwargs) return data - def delete_collection_namespaced_template_with_http_info(self, namespace, **kwargs): + def delete_collection_user_with_http_info(self, **kwargs): """ - delete collection of Template + delete collection of User This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.delete_collection_namespaced_template_with_http_info(namespace, callback=callback_function) + >>> thread = api.delete_collection_user_with_http_info(callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) - :param str namespace: object name and auth scope, such as for teams and projects (required) :param str pretty: If 'true', then the output is pretty printed. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param bool include_uninitialized: If true, partially initialized resources are included in the response. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. - :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. + :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. :param int timeout_seconds: Timeout for the list/watch call. :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - :return: UnversionedStatus + :return: V1Status If the method is called asynchronously, returns the request thread. """ - all_params = ['namespace', 'pretty', 'field_selector', 'label_selector', 'resource_version', 'timeout_seconds', 'watch'] + all_params = ['pretty', 'field_selector', 'include_uninitialized', 'label_selector', 'resource_version', 'timeout_seconds', 'watch'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -11889,27 +11302,24 @@ def delete_collection_namespaced_template_with_http_info(self, namespace, **kwar if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method delete_collection_namespaced_template" % key + " to method delete_collection_user" % key ) params[key] = val del params['kwargs'] - # verify the required parameter 'namespace' is set - if ('namespace' not in params) or (params['namespace'] is None): - raise ValueError("Missing the required parameter `namespace` when calling `delete_collection_namespaced_template`") collection_formats = {} - resource_path = '/oapi/v1/namespaces/{namespace}/templates'.replace('{format}', 'json') + resource_path = '/oapi/v1/users'.replace('{format}', 'json') path_params = {} - if 'namespace' in params: - path_params['namespace'] = params['namespace'] query_params = {} if 'pretty' in params: query_params['pretty'] = params['pretty'] if 'field_selector' in params: query_params['fieldSelector'] = params['field_selector'] + if 'include_uninitialized' in params: + query_params['includeUninitialized'] = params['include_uninitialized'] if 'label_selector' in params: query_params['labelSelector'] = params['label_selector'] if 'resource_version' in params: @@ -11934,7 +11344,7 @@ def delete_collection_namespaced_template_with_http_info(self, namespace, **kwar select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'DELETE', path_params, @@ -11943,7 +11353,7 @@ def delete_collection_namespaced_template_with_http_info(self, namespace, **kwar body=body_params, post_params=form_params, files=local_var_files, - response_type='UnversionedStatus', + response_type='V1Status', auth_settings=auth_settings, callback=params.get('callback'), _return_http_data_only=params.get('_return_http_data_only'), @@ -11951,1398 +11361,61 @@ def delete_collection_namespaced_template_with_http_info(self, namespace, **kwar _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def delete_collection_net_namespace(self, **kwargs): + def delete_group(self, name, body, **kwargs): """ - delete collection of NetNamespace + delete a Group This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.delete_collection_net_namespace(callback=callback_function) - - :param callback function: The callback function - for asynchronous request. (optional) - :param str pretty: If 'true', then the output is pretty printed. - :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. - :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. - :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. - :param int timeout_seconds: Timeout for the list/watch call. - :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - :return: UnversionedStatus - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('callback'): - return self.delete_collection_net_namespace_with_http_info(**kwargs) - else: - (data) = self.delete_collection_net_namespace_with_http_info(**kwargs) - return data - - def delete_collection_net_namespace_with_http_info(self, **kwargs): - """ - delete collection of NetNamespace - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please define a `callback` function - to be invoked when receiving the response. - >>> def callback_function(response): - >>> pprint(response) - >>> - >>> thread = api.delete_collection_net_namespace_with_http_info(callback=callback_function) - - :param callback function: The callback function - for asynchronous request. (optional) - :param str pretty: If 'true', then the output is pretty printed. - :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. - :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. - :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. - :param int timeout_seconds: Timeout for the list/watch call. - :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - :return: UnversionedStatus - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['pretty', 'field_selector', 'label_selector', 'resource_version', 'timeout_seconds', 'watch'] - all_params.append('callback') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method delete_collection_net_namespace" % key - ) - params[key] = val - del params['kwargs'] - - - collection_formats = {} - - resource_path = '/oapi/v1/netnamespaces'.replace('{format}', 'json') - path_params = {} - - query_params = {} - if 'pretty' in params: - query_params['pretty'] = params['pretty'] - if 'field_selector' in params: - query_params['fieldSelector'] = params['field_selector'] - if 'label_selector' in params: - query_params['labelSelector'] = params['label_selector'] - if 'resource_version' in params: - query_params['resourceVersion'] = params['resource_version'] - if 'timeout_seconds' in params: - query_params['timeoutSeconds'] = params['timeout_seconds'] - if 'watch' in params: - query_params['watch'] = params['watch'] - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - # HTTP header `Accept` - header_params['Accept'] = self.api_client.\ - select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - - # HTTP header `Content-Type` - header_params['Content-Type'] = self.api_client.\ - select_header_content_type(['*/*']) - - # Authentication setting - auth_settings = ['BearerToken'] - - return self.api_client.call_api(resource_path, 'DELETE', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='UnversionedStatus', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def delete_collection_o_auth_access_token(self, **kwargs): - """ - delete collection of OAuthAccessToken - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please define a `callback` function - to be invoked when receiving the response. - >>> def callback_function(response): - >>> pprint(response) - >>> - >>> thread = api.delete_collection_o_auth_access_token(callback=callback_function) - - :param callback function: The callback function - for asynchronous request. (optional) - :param str pretty: If 'true', then the output is pretty printed. - :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. - :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. - :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. - :param int timeout_seconds: Timeout for the list/watch call. - :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - :return: UnversionedStatus - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('callback'): - return self.delete_collection_o_auth_access_token_with_http_info(**kwargs) - else: - (data) = self.delete_collection_o_auth_access_token_with_http_info(**kwargs) - return data - - def delete_collection_o_auth_access_token_with_http_info(self, **kwargs): - """ - delete collection of OAuthAccessToken - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please define a `callback` function - to be invoked when receiving the response. - >>> def callback_function(response): - >>> pprint(response) - >>> - >>> thread = api.delete_collection_o_auth_access_token_with_http_info(callback=callback_function) - - :param callback function: The callback function - for asynchronous request. (optional) - :param str pretty: If 'true', then the output is pretty printed. - :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. - :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. - :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. - :param int timeout_seconds: Timeout for the list/watch call. - :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - :return: UnversionedStatus - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['pretty', 'field_selector', 'label_selector', 'resource_version', 'timeout_seconds', 'watch'] - all_params.append('callback') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method delete_collection_o_auth_access_token" % key - ) - params[key] = val - del params['kwargs'] - - - collection_formats = {} - - resource_path = '/oapi/v1/oauthaccesstokens'.replace('{format}', 'json') - path_params = {} - - query_params = {} - if 'pretty' in params: - query_params['pretty'] = params['pretty'] - if 'field_selector' in params: - query_params['fieldSelector'] = params['field_selector'] - if 'label_selector' in params: - query_params['labelSelector'] = params['label_selector'] - if 'resource_version' in params: - query_params['resourceVersion'] = params['resource_version'] - if 'timeout_seconds' in params: - query_params['timeoutSeconds'] = params['timeout_seconds'] - if 'watch' in params: - query_params['watch'] = params['watch'] - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - # HTTP header `Accept` - header_params['Accept'] = self.api_client.\ - select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - - # HTTP header `Content-Type` - header_params['Content-Type'] = self.api_client.\ - select_header_content_type(['*/*']) - - # Authentication setting - auth_settings = ['BearerToken'] - - return self.api_client.call_api(resource_path, 'DELETE', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='UnversionedStatus', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def delete_collection_o_auth_authorize_token(self, **kwargs): - """ - delete collection of OAuthAuthorizeToken - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please define a `callback` function - to be invoked when receiving the response. - >>> def callback_function(response): - >>> pprint(response) - >>> - >>> thread = api.delete_collection_o_auth_authorize_token(callback=callback_function) - - :param callback function: The callback function - for asynchronous request. (optional) - :param str pretty: If 'true', then the output is pretty printed. - :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. - :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. - :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. - :param int timeout_seconds: Timeout for the list/watch call. - :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - :return: UnversionedStatus - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('callback'): - return self.delete_collection_o_auth_authorize_token_with_http_info(**kwargs) - else: - (data) = self.delete_collection_o_auth_authorize_token_with_http_info(**kwargs) - return data - - def delete_collection_o_auth_authorize_token_with_http_info(self, **kwargs): - """ - delete collection of OAuthAuthorizeToken - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please define a `callback` function - to be invoked when receiving the response. - >>> def callback_function(response): - >>> pprint(response) - >>> - >>> thread = api.delete_collection_o_auth_authorize_token_with_http_info(callback=callback_function) - - :param callback function: The callback function - for asynchronous request. (optional) - :param str pretty: If 'true', then the output is pretty printed. - :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. - :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. - :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. - :param int timeout_seconds: Timeout for the list/watch call. - :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - :return: UnversionedStatus - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['pretty', 'field_selector', 'label_selector', 'resource_version', 'timeout_seconds', 'watch'] - all_params.append('callback') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method delete_collection_o_auth_authorize_token" % key - ) - params[key] = val - del params['kwargs'] - - - collection_formats = {} - - resource_path = '/oapi/v1/oauthauthorizetokens'.replace('{format}', 'json') - path_params = {} - - query_params = {} - if 'pretty' in params: - query_params['pretty'] = params['pretty'] - if 'field_selector' in params: - query_params['fieldSelector'] = params['field_selector'] - if 'label_selector' in params: - query_params['labelSelector'] = params['label_selector'] - if 'resource_version' in params: - query_params['resourceVersion'] = params['resource_version'] - if 'timeout_seconds' in params: - query_params['timeoutSeconds'] = params['timeout_seconds'] - if 'watch' in params: - query_params['watch'] = params['watch'] - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - # HTTP header `Accept` - header_params['Accept'] = self.api_client.\ - select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - - # HTTP header `Content-Type` - header_params['Content-Type'] = self.api_client.\ - select_header_content_type(['*/*']) - - # Authentication setting - auth_settings = ['BearerToken'] - - return self.api_client.call_api(resource_path, 'DELETE', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='UnversionedStatus', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def delete_collection_o_auth_client(self, **kwargs): - """ - delete collection of OAuthClient - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please define a `callback` function - to be invoked when receiving the response. - >>> def callback_function(response): - >>> pprint(response) - >>> - >>> thread = api.delete_collection_o_auth_client(callback=callback_function) - - :param callback function: The callback function - for asynchronous request. (optional) - :param str pretty: If 'true', then the output is pretty printed. - :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. - :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. - :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. - :param int timeout_seconds: Timeout for the list/watch call. - :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - :return: UnversionedStatus - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('callback'): - return self.delete_collection_o_auth_client_with_http_info(**kwargs) - else: - (data) = self.delete_collection_o_auth_client_with_http_info(**kwargs) - return data - - def delete_collection_o_auth_client_with_http_info(self, **kwargs): - """ - delete collection of OAuthClient - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please define a `callback` function - to be invoked when receiving the response. - >>> def callback_function(response): - >>> pprint(response) - >>> - >>> thread = api.delete_collection_o_auth_client_with_http_info(callback=callback_function) - - :param callback function: The callback function - for asynchronous request. (optional) - :param str pretty: If 'true', then the output is pretty printed. - :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. - :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. - :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. - :param int timeout_seconds: Timeout for the list/watch call. - :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - :return: UnversionedStatus - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['pretty', 'field_selector', 'label_selector', 'resource_version', 'timeout_seconds', 'watch'] - all_params.append('callback') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method delete_collection_o_auth_client" % key - ) - params[key] = val - del params['kwargs'] - - - collection_formats = {} - - resource_path = '/oapi/v1/oauthclients'.replace('{format}', 'json') - path_params = {} - - query_params = {} - if 'pretty' in params: - query_params['pretty'] = params['pretty'] - if 'field_selector' in params: - query_params['fieldSelector'] = params['field_selector'] - if 'label_selector' in params: - query_params['labelSelector'] = params['label_selector'] - if 'resource_version' in params: - query_params['resourceVersion'] = params['resource_version'] - if 'timeout_seconds' in params: - query_params['timeoutSeconds'] = params['timeout_seconds'] - if 'watch' in params: - query_params['watch'] = params['watch'] - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - # HTTP header `Accept` - header_params['Accept'] = self.api_client.\ - select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - - # HTTP header `Content-Type` - header_params['Content-Type'] = self.api_client.\ - select_header_content_type(['*/*']) - - # Authentication setting - auth_settings = ['BearerToken'] - - return self.api_client.call_api(resource_path, 'DELETE', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='UnversionedStatus', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def delete_collection_o_auth_client_authorization(self, **kwargs): - """ - delete collection of OAuthClientAuthorization - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please define a `callback` function - to be invoked when receiving the response. - >>> def callback_function(response): - >>> pprint(response) - >>> - >>> thread = api.delete_collection_o_auth_client_authorization(callback=callback_function) - - :param callback function: The callback function - for asynchronous request. (optional) - :param str pretty: If 'true', then the output is pretty printed. - :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. - :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. - :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. - :param int timeout_seconds: Timeout for the list/watch call. - :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - :return: UnversionedStatus - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('callback'): - return self.delete_collection_o_auth_client_authorization_with_http_info(**kwargs) - else: - (data) = self.delete_collection_o_auth_client_authorization_with_http_info(**kwargs) - return data - - def delete_collection_o_auth_client_authorization_with_http_info(self, **kwargs): - """ - delete collection of OAuthClientAuthorization - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please define a `callback` function - to be invoked when receiving the response. - >>> def callback_function(response): - >>> pprint(response) - >>> - >>> thread = api.delete_collection_o_auth_client_authorization_with_http_info(callback=callback_function) - - :param callback function: The callback function - for asynchronous request. (optional) - :param str pretty: If 'true', then the output is pretty printed. - :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. - :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. - :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. - :param int timeout_seconds: Timeout for the list/watch call. - :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - :return: UnversionedStatus - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['pretty', 'field_selector', 'label_selector', 'resource_version', 'timeout_seconds', 'watch'] - all_params.append('callback') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method delete_collection_o_auth_client_authorization" % key - ) - params[key] = val - del params['kwargs'] - - - collection_formats = {} - - resource_path = '/oapi/v1/oauthclientauthorizations'.replace('{format}', 'json') - path_params = {} - - query_params = {} - if 'pretty' in params: - query_params['pretty'] = params['pretty'] - if 'field_selector' in params: - query_params['fieldSelector'] = params['field_selector'] - if 'label_selector' in params: - query_params['labelSelector'] = params['label_selector'] - if 'resource_version' in params: - query_params['resourceVersion'] = params['resource_version'] - if 'timeout_seconds' in params: - query_params['timeoutSeconds'] = params['timeout_seconds'] - if 'watch' in params: - query_params['watch'] = params['watch'] - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - # HTTP header `Accept` - header_params['Accept'] = self.api_client.\ - select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - - # HTTP header `Content-Type` - header_params['Content-Type'] = self.api_client.\ - select_header_content_type(['*/*']) - - # Authentication setting - auth_settings = ['BearerToken'] - - return self.api_client.call_api(resource_path, 'DELETE', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='UnversionedStatus', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def delete_collection_user(self, **kwargs): - """ - delete collection of User - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please define a `callback` function - to be invoked when receiving the response. - >>> def callback_function(response): - >>> pprint(response) - >>> - >>> thread = api.delete_collection_user(callback=callback_function) - - :param callback function: The callback function - for asynchronous request. (optional) - :param str pretty: If 'true', then the output is pretty printed. - :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. - :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. - :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. - :param int timeout_seconds: Timeout for the list/watch call. - :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - :return: UnversionedStatus - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('callback'): - return self.delete_collection_user_with_http_info(**kwargs) - else: - (data) = self.delete_collection_user_with_http_info(**kwargs) - return data - - def delete_collection_user_with_http_info(self, **kwargs): - """ - delete collection of User - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please define a `callback` function - to be invoked when receiving the response. - >>> def callback_function(response): - >>> pprint(response) - >>> - >>> thread = api.delete_collection_user_with_http_info(callback=callback_function) - - :param callback function: The callback function - for asynchronous request. (optional) - :param str pretty: If 'true', then the output is pretty printed. - :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. - :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. - :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. - :param int timeout_seconds: Timeout for the list/watch call. - :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - :return: UnversionedStatus - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['pretty', 'field_selector', 'label_selector', 'resource_version', 'timeout_seconds', 'watch'] - all_params.append('callback') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method delete_collection_user" % key - ) - params[key] = val - del params['kwargs'] - - - collection_formats = {} - - resource_path = '/oapi/v1/users'.replace('{format}', 'json') - path_params = {} - - query_params = {} - if 'pretty' in params: - query_params['pretty'] = params['pretty'] - if 'field_selector' in params: - query_params['fieldSelector'] = params['field_selector'] - if 'label_selector' in params: - query_params['labelSelector'] = params['label_selector'] - if 'resource_version' in params: - query_params['resourceVersion'] = params['resource_version'] - if 'timeout_seconds' in params: - query_params['timeoutSeconds'] = params['timeout_seconds'] - if 'watch' in params: - query_params['watch'] = params['watch'] - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - # HTTP header `Accept` - header_params['Accept'] = self.api_client.\ - select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - - # HTTP header `Content-Type` - header_params['Content-Type'] = self.api_client.\ - select_header_content_type(['*/*']) - - # Authentication setting - auth_settings = ['BearerToken'] - - return self.api_client.call_api(resource_path, 'DELETE', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='UnversionedStatus', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def delete_group(self, name, body, **kwargs): - """ - delete a Group - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please define a `callback` function - to be invoked when receiving the response. - >>> def callback_function(response): - >>> pprint(response) - >>> - >>> thread = api.delete_group(name, body, callback=callback_function) - - :param callback function: The callback function - for asynchronous request. (optional) - :param str name: name of the Group (required) - :param V1DeleteOptions body: (required) - :param str pretty: If 'true', then the output is pretty printed. - :param int grace_period_seconds: 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. - :param bool orphan_dependents: Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. - :return: UnversionedStatus - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('callback'): - return self.delete_group_with_http_info(name, body, **kwargs) - else: - (data) = self.delete_group_with_http_info(name, body, **kwargs) - return data - - def delete_group_with_http_info(self, name, body, **kwargs): - """ - delete a Group - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please define a `callback` function - to be invoked when receiving the response. - >>> def callback_function(response): - >>> pprint(response) - >>> - >>> thread = api.delete_group_with_http_info(name, body, callback=callback_function) - - :param callback function: The callback function - for asynchronous request. (optional) - :param str name: name of the Group (required) - :param V1DeleteOptions body: (required) - :param str pretty: If 'true', then the output is pretty printed. - :param int grace_period_seconds: 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. - :param bool orphan_dependents: Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. - :return: UnversionedStatus - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['name', 'body', 'pretty', 'grace_period_seconds', 'orphan_dependents'] - all_params.append('callback') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method delete_group" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'name' is set - if ('name' not in params) or (params['name'] is None): - raise ValueError("Missing the required parameter `name` when calling `delete_group`") - # verify the required parameter 'body' is set - if ('body' not in params) or (params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `delete_group`") - - - collection_formats = {} - - resource_path = '/oapi/v1/groups/{name}'.replace('{format}', 'json') - path_params = {} - if 'name' in params: - path_params['name'] = params['name'] - - query_params = {} - if 'pretty' in params: - query_params['pretty'] = params['pretty'] - if 'grace_period_seconds' in params: - query_params['gracePeriodSeconds'] = params['grace_period_seconds'] - if 'orphan_dependents' in params: - query_params['orphanDependents'] = params['orphan_dependents'] - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - if 'body' in params: - body_params = params['body'] - # HTTP header `Accept` - header_params['Accept'] = self.api_client.\ - select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - - # HTTP header `Content-Type` - header_params['Content-Type'] = self.api_client.\ - select_header_content_type(['*/*']) - - # Authentication setting - auth_settings = ['BearerToken'] - - return self.api_client.call_api(resource_path, 'DELETE', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='UnversionedStatus', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def delete_host_subnet(self, name, body, **kwargs): - """ - delete a HostSubnet - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please define a `callback` function - to be invoked when receiving the response. - >>> def callback_function(response): - >>> pprint(response) - >>> - >>> thread = api.delete_host_subnet(name, body, callback=callback_function) - - :param callback function: The callback function - for asynchronous request. (optional) - :param str name: name of the HostSubnet (required) - :param V1DeleteOptions body: (required) - :param str pretty: If 'true', then the output is pretty printed. - :param int grace_period_seconds: 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. - :param bool orphan_dependents: Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. - :return: UnversionedStatus - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('callback'): - return self.delete_host_subnet_with_http_info(name, body, **kwargs) - else: - (data) = self.delete_host_subnet_with_http_info(name, body, **kwargs) - return data - - def delete_host_subnet_with_http_info(self, name, body, **kwargs): - """ - delete a HostSubnet - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please define a `callback` function - to be invoked when receiving the response. - >>> def callback_function(response): - >>> pprint(response) - >>> - >>> thread = api.delete_host_subnet_with_http_info(name, body, callback=callback_function) - - :param callback function: The callback function - for asynchronous request. (optional) - :param str name: name of the HostSubnet (required) - :param V1DeleteOptions body: (required) - :param str pretty: If 'true', then the output is pretty printed. - :param int grace_period_seconds: 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. - :param bool orphan_dependents: Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. - :return: UnversionedStatus - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['name', 'body', 'pretty', 'grace_period_seconds', 'orphan_dependents'] - all_params.append('callback') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method delete_host_subnet" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'name' is set - if ('name' not in params) or (params['name'] is None): - raise ValueError("Missing the required parameter `name` when calling `delete_host_subnet`") - # verify the required parameter 'body' is set - if ('body' not in params) or (params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `delete_host_subnet`") - - - collection_formats = {} - - resource_path = '/oapi/v1/hostsubnets/{name}'.replace('{format}', 'json') - path_params = {} - if 'name' in params: - path_params['name'] = params['name'] - - query_params = {} - if 'pretty' in params: - query_params['pretty'] = params['pretty'] - if 'grace_period_seconds' in params: - query_params['gracePeriodSeconds'] = params['grace_period_seconds'] - if 'orphan_dependents' in params: - query_params['orphanDependents'] = params['orphan_dependents'] - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - if 'body' in params: - body_params = params['body'] - # HTTP header `Accept` - header_params['Accept'] = self.api_client.\ - select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - - # HTTP header `Content-Type` - header_params['Content-Type'] = self.api_client.\ - select_header_content_type(['*/*']) - - # Authentication setting - auth_settings = ['BearerToken'] - - return self.api_client.call_api(resource_path, 'DELETE', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='UnversionedStatus', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def delete_identity(self, name, body, **kwargs): - """ - delete an Identity - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please define a `callback` function - to be invoked when receiving the response. - >>> def callback_function(response): - >>> pprint(response) - >>> - >>> thread = api.delete_identity(name, body, callback=callback_function) - - :param callback function: The callback function - for asynchronous request. (optional) - :param str name: name of the Identity (required) - :param V1DeleteOptions body: (required) - :param str pretty: If 'true', then the output is pretty printed. - :param int grace_period_seconds: 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. - :param bool orphan_dependents: Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. - :return: UnversionedStatus - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('callback'): - return self.delete_identity_with_http_info(name, body, **kwargs) - else: - (data) = self.delete_identity_with_http_info(name, body, **kwargs) - return data - - def delete_identity_with_http_info(self, name, body, **kwargs): - """ - delete an Identity - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please define a `callback` function - to be invoked when receiving the response. - >>> def callback_function(response): - >>> pprint(response) - >>> - >>> thread = api.delete_identity_with_http_info(name, body, callback=callback_function) - - :param callback function: The callback function - for asynchronous request. (optional) - :param str name: name of the Identity (required) - :param V1DeleteOptions body: (required) - :param str pretty: If 'true', then the output is pretty printed. - :param int grace_period_seconds: 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. - :param bool orphan_dependents: Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. - :return: UnversionedStatus - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['name', 'body', 'pretty', 'grace_period_seconds', 'orphan_dependents'] - all_params.append('callback') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method delete_identity" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'name' is set - if ('name' not in params) or (params['name'] is None): - raise ValueError("Missing the required parameter `name` when calling `delete_identity`") - # verify the required parameter 'body' is set - if ('body' not in params) or (params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `delete_identity`") - - - collection_formats = {} - - resource_path = '/oapi/v1/identities/{name}'.replace('{format}', 'json') - path_params = {} - if 'name' in params: - path_params['name'] = params['name'] - - query_params = {} - if 'pretty' in params: - query_params['pretty'] = params['pretty'] - if 'grace_period_seconds' in params: - query_params['gracePeriodSeconds'] = params['grace_period_seconds'] - if 'orphan_dependents' in params: - query_params['orphanDependents'] = params['orphan_dependents'] - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - if 'body' in params: - body_params = params['body'] - # HTTP header `Accept` - header_params['Accept'] = self.api_client.\ - select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - - # HTTP header `Content-Type` - header_params['Content-Type'] = self.api_client.\ - select_header_content_type(['*/*']) - - # Authentication setting - auth_settings = ['BearerToken'] - - return self.api_client.call_api(resource_path, 'DELETE', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='UnversionedStatus', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def delete_image(self, name, body, **kwargs): - """ - delete an Image - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please define a `callback` function - to be invoked when receiving the response. - >>> def callback_function(response): - >>> pprint(response) - >>> - >>> thread = api.delete_image(name, body, callback=callback_function) - - :param callback function: The callback function - for asynchronous request. (optional) - :param str name: name of the Image (required) - :param V1DeleteOptions body: (required) - :param str pretty: If 'true', then the output is pretty printed. - :param int grace_period_seconds: 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. - :param bool orphan_dependents: Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. - :return: UnversionedStatus - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('callback'): - return self.delete_image_with_http_info(name, body, **kwargs) - else: - (data) = self.delete_image_with_http_info(name, body, **kwargs) - return data - - def delete_image_with_http_info(self, name, body, **kwargs): - """ - delete an Image - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please define a `callback` function - to be invoked when receiving the response. - >>> def callback_function(response): - >>> pprint(response) - >>> - >>> thread = api.delete_image_with_http_info(name, body, callback=callback_function) - - :param callback function: The callback function - for asynchronous request. (optional) - :param str name: name of the Image (required) - :param V1DeleteOptions body: (required) - :param str pretty: If 'true', then the output is pretty printed. - :param int grace_period_seconds: 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. - :param bool orphan_dependents: Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. - :return: UnversionedStatus - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['name', 'body', 'pretty', 'grace_period_seconds', 'orphan_dependents'] - all_params.append('callback') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method delete_image" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'name' is set - if ('name' not in params) or (params['name'] is None): - raise ValueError("Missing the required parameter `name` when calling `delete_image`") - # verify the required parameter 'body' is set - if ('body' not in params) or (params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `delete_image`") - - - collection_formats = {} - - resource_path = '/oapi/v1/images/{name}'.replace('{format}', 'json') - path_params = {} - if 'name' in params: - path_params['name'] = params['name'] - - query_params = {} - if 'pretty' in params: - query_params['pretty'] = params['pretty'] - if 'grace_period_seconds' in params: - query_params['gracePeriodSeconds'] = params['grace_period_seconds'] - if 'orphan_dependents' in params: - query_params['orphanDependents'] = params['orphan_dependents'] - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - if 'body' in params: - body_params = params['body'] - # HTTP header `Accept` - header_params['Accept'] = self.api_client.\ - select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - - # HTTP header `Content-Type` - header_params['Content-Type'] = self.api_client.\ - select_header_content_type(['*/*']) - - # Authentication setting - auth_settings = ['BearerToken'] - - return self.api_client.call_api(resource_path, 'DELETE', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='UnversionedStatus', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def delete_image_signature(self, name, **kwargs): - """ - delete an ImageSignature - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please define a `callback` function - to be invoked when receiving the response. - >>> def callback_function(response): - >>> pprint(response) - >>> - >>> thread = api.delete_image_signature(name, callback=callback_function) - - :param callback function: The callback function - for asynchronous request. (optional) - :param str name: name of the ImageSignature (required) - :param str pretty: If 'true', then the output is pretty printed. - :return: UnversionedStatus - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('callback'): - return self.delete_image_signature_with_http_info(name, **kwargs) - else: - (data) = self.delete_image_signature_with_http_info(name, **kwargs) - return data - - def delete_image_signature_with_http_info(self, name, **kwargs): - """ - delete an ImageSignature - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please define a `callback` function - to be invoked when receiving the response. - >>> def callback_function(response): - >>> pprint(response) - >>> - >>> thread = api.delete_image_signature_with_http_info(name, callback=callback_function) - - :param callback function: The callback function - for asynchronous request. (optional) - :param str name: name of the ImageSignature (required) - :param str pretty: If 'true', then the output is pretty printed. - :return: UnversionedStatus - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['name', 'pretty'] - all_params.append('callback') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method delete_image_signature" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'name' is set - if ('name' not in params) or (params['name'] is None): - raise ValueError("Missing the required parameter `name` when calling `delete_image_signature`") - - - collection_formats = {} - - resource_path = '/oapi/v1/imagesignatures/{name}'.replace('{format}', 'json') - path_params = {} - if 'name' in params: - path_params['name'] = params['name'] - - query_params = {} - if 'pretty' in params: - query_params['pretty'] = params['pretty'] - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - # HTTP header `Accept` - header_params['Accept'] = self.api_client.\ - select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - - # HTTP header `Content-Type` - header_params['Content-Type'] = self.api_client.\ - select_header_content_type(['*/*']) - - # Authentication setting - auth_settings = ['BearerToken'] - - return self.api_client.call_api(resource_path, 'DELETE', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='UnversionedStatus', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def delete_namespaced_build(self, name, namespace, body, **kwargs): - """ - delete a Build - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please define a `callback` function - to be invoked when receiving the response. - >>> def callback_function(response): - >>> pprint(response) - >>> - >>> thread = api.delete_namespaced_build(name, namespace, body, callback=callback_function) + >>> thread = api.delete_group(name, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) - :param str name: name of the Build (required) - :param str namespace: object name and auth scope, such as for teams and projects (required) + :param str name: name of the Group (required) :param V1DeleteOptions body: (required) :param str pretty: If 'true', then the output is pretty printed. :param int grace_period_seconds: 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. - :param bool orphan_dependents: Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. - :return: UnversionedStatus + :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. + :param str propagation_policy: Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. + :return: V1Status If the method is called asynchronously, returns the request thread. """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.delete_namespaced_build_with_http_info(name, namespace, body, **kwargs) + return self.delete_group_with_http_info(name, body, **kwargs) else: - (data) = self.delete_namespaced_build_with_http_info(name, namespace, body, **kwargs) + (data) = self.delete_group_with_http_info(name, body, **kwargs) return data - def delete_namespaced_build_with_http_info(self, name, namespace, body, **kwargs): + def delete_group_with_http_info(self, name, body, **kwargs): """ - delete a Build + delete a Group This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.delete_namespaced_build_with_http_info(name, namespace, body, callback=callback_function) + >>> thread = api.delete_group_with_http_info(name, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) - :param str name: name of the Build (required) - :param str namespace: object name and auth scope, such as for teams and projects (required) + :param str name: name of the Group (required) :param V1DeleteOptions body: (required) :param str pretty: If 'true', then the output is pretty printed. :param int grace_period_seconds: 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. - :param bool orphan_dependents: Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. - :return: UnversionedStatus + :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. + :param str propagation_policy: Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. + :return: V1Status If the method is called asynchronously, returns the request thread. """ - all_params = ['name', 'namespace', 'body', 'pretty', 'grace_period_seconds', 'orphan_dependents'] + all_params = ['name', 'body', 'pretty', 'grace_period_seconds', 'orphan_dependents', 'propagation_policy'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -13353,29 +11426,24 @@ def delete_namespaced_build_with_http_info(self, name, namespace, body, **kwargs if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method delete_namespaced_build" % key + " to method delete_group" % key ) params[key] = val del params['kwargs'] # verify the required parameter 'name' is set if ('name' not in params) or (params['name'] is None): - raise ValueError("Missing the required parameter `name` when calling `delete_namespaced_build`") - # verify the required parameter 'namespace' is set - if ('namespace' not in params) or (params['namespace'] is None): - raise ValueError("Missing the required parameter `namespace` when calling `delete_namespaced_build`") + raise ValueError("Missing the required parameter `name` when calling `delete_group`") # verify the required parameter 'body' is set if ('body' not in params) or (params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `delete_namespaced_build`") + raise ValueError("Missing the required parameter `body` when calling `delete_group`") collection_formats = {} - resource_path = '/oapi/v1/namespaces/{namespace}/builds/{name}'.replace('{format}', 'json') + resource_path = '/oapi/v1/groups/{name}'.replace('{format}', 'json') path_params = {} if 'name' in params: path_params['name'] = params['name'] - if 'namespace' in params: - path_params['namespace'] = params['namespace'] query_params = {} if 'pretty' in params: @@ -13384,6 +11452,8 @@ def delete_namespaced_build_with_http_info(self, name, namespace, body, **kwargs query_params['gracePeriodSeconds'] = params['grace_period_seconds'] if 'orphan_dependents' in params: query_params['orphanDependents'] = params['orphan_dependents'] + if 'propagation_policy' in params: + query_params['propagationPolicy'] = params['propagation_policy'] header_params = {} @@ -13402,7 +11472,7 @@ def delete_namespaced_build_with_http_info(self, name, namespace, body, **kwargs select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'DELETE', path_params, @@ -13411,7 +11481,7 @@ def delete_namespaced_build_with_http_info(self, name, namespace, body, **kwargs body=body_params, post_params=form_params, files=local_var_files, - response_type='UnversionedStatus', + response_type='V1Status', auth_settings=auth_settings, callback=params.get('callback'), _return_http_data_only=params.get('_return_http_data_only'), @@ -13419,61 +11489,61 @@ def delete_namespaced_build_with_http_info(self, name, namespace, body, **kwargs _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def delete_namespaced_build_config(self, name, namespace, body, **kwargs): + def delete_host_subnet(self, name, body, **kwargs): """ - delete a BuildConfig + delete a HostSubnet This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.delete_namespaced_build_config(name, namespace, body, callback=callback_function) + >>> thread = api.delete_host_subnet(name, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) - :param str name: name of the BuildConfig (required) - :param str namespace: object name and auth scope, such as for teams and projects (required) + :param str name: name of the HostSubnet (required) :param V1DeleteOptions body: (required) :param str pretty: If 'true', then the output is pretty printed. :param int grace_period_seconds: 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. - :param bool orphan_dependents: Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. - :return: UnversionedStatus + :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. + :param str propagation_policy: Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. + :return: V1Status If the method is called asynchronously, returns the request thread. """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.delete_namespaced_build_config_with_http_info(name, namespace, body, **kwargs) + return self.delete_host_subnet_with_http_info(name, body, **kwargs) else: - (data) = self.delete_namespaced_build_config_with_http_info(name, namespace, body, **kwargs) + (data) = self.delete_host_subnet_with_http_info(name, body, **kwargs) return data - def delete_namespaced_build_config_with_http_info(self, name, namespace, body, **kwargs): + def delete_host_subnet_with_http_info(self, name, body, **kwargs): """ - delete a BuildConfig + delete a HostSubnet This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.delete_namespaced_build_config_with_http_info(name, namespace, body, callback=callback_function) + >>> thread = api.delete_host_subnet_with_http_info(name, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) - :param str name: name of the BuildConfig (required) - :param str namespace: object name and auth scope, such as for teams and projects (required) + :param str name: name of the HostSubnet (required) :param V1DeleteOptions body: (required) :param str pretty: If 'true', then the output is pretty printed. :param int grace_period_seconds: 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. - :param bool orphan_dependents: Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. - :return: UnversionedStatus + :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. + :param str propagation_policy: Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. + :return: V1Status If the method is called asynchronously, returns the request thread. """ - all_params = ['name', 'namespace', 'body', 'pretty', 'grace_period_seconds', 'orphan_dependents'] + all_params = ['name', 'body', 'pretty', 'grace_period_seconds', 'orphan_dependents', 'propagation_policy'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -13484,29 +11554,24 @@ def delete_namespaced_build_config_with_http_info(self, name, namespace, body, * if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method delete_namespaced_build_config" % key + " to method delete_host_subnet" % key ) params[key] = val del params['kwargs'] # verify the required parameter 'name' is set if ('name' not in params) or (params['name'] is None): - raise ValueError("Missing the required parameter `name` when calling `delete_namespaced_build_config`") - # verify the required parameter 'namespace' is set - if ('namespace' not in params) or (params['namespace'] is None): - raise ValueError("Missing the required parameter `namespace` when calling `delete_namespaced_build_config`") + raise ValueError("Missing the required parameter `name` when calling `delete_host_subnet`") # verify the required parameter 'body' is set if ('body' not in params) or (params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `delete_namespaced_build_config`") + raise ValueError("Missing the required parameter `body` when calling `delete_host_subnet`") collection_formats = {} - resource_path = '/oapi/v1/namespaces/{namespace}/buildconfigs/{name}'.replace('{format}', 'json') + resource_path = '/oapi/v1/hostsubnets/{name}'.replace('{format}', 'json') path_params = {} if 'name' in params: path_params['name'] = params['name'] - if 'namespace' in params: - path_params['namespace'] = params['namespace'] query_params = {} if 'pretty' in params: @@ -13515,6 +11580,8 @@ def delete_namespaced_build_config_with_http_info(self, name, namespace, body, * query_params['gracePeriodSeconds'] = params['grace_period_seconds'] if 'orphan_dependents' in params: query_params['orphanDependents'] = params['orphan_dependents'] + if 'propagation_policy' in params: + query_params['propagationPolicy'] = params['propagation_policy'] header_params = {} @@ -13533,7 +11600,7 @@ def delete_namespaced_build_config_with_http_info(self, name, namespace, body, * select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'DELETE', path_params, @@ -13542,7 +11609,7 @@ def delete_namespaced_build_config_with_http_info(self, name, namespace, body, * body=body_params, post_params=form_params, files=local_var_files, - response_type='UnversionedStatus', + response_type='V1Status', auth_settings=auth_settings, callback=params.get('callback'), _return_http_data_only=params.get('_return_http_data_only'), @@ -13550,61 +11617,61 @@ def delete_namespaced_build_config_with_http_info(self, name, namespace, body, * _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def delete_namespaced_deployment_config(self, name, namespace, body, **kwargs): + def delete_identity(self, name, body, **kwargs): """ - delete a DeploymentConfig + delete an Identity This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.delete_namespaced_deployment_config(name, namespace, body, callback=callback_function) + >>> thread = api.delete_identity(name, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) - :param str name: name of the DeploymentConfig (required) - :param str namespace: object name and auth scope, such as for teams and projects (required) + :param str name: name of the Identity (required) :param V1DeleteOptions body: (required) :param str pretty: If 'true', then the output is pretty printed. :param int grace_period_seconds: 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. - :param bool orphan_dependents: Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. - :return: UnversionedStatus + :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. + :param str propagation_policy: Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. + :return: V1Status If the method is called asynchronously, returns the request thread. """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.delete_namespaced_deployment_config_with_http_info(name, namespace, body, **kwargs) + return self.delete_identity_with_http_info(name, body, **kwargs) else: - (data) = self.delete_namespaced_deployment_config_with_http_info(name, namespace, body, **kwargs) + (data) = self.delete_identity_with_http_info(name, body, **kwargs) return data - def delete_namespaced_deployment_config_with_http_info(self, name, namespace, body, **kwargs): + def delete_identity_with_http_info(self, name, body, **kwargs): """ - delete a DeploymentConfig + delete an Identity This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.delete_namespaced_deployment_config_with_http_info(name, namespace, body, callback=callback_function) + >>> thread = api.delete_identity_with_http_info(name, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) - :param str name: name of the DeploymentConfig (required) - :param str namespace: object name and auth scope, such as for teams and projects (required) + :param str name: name of the Identity (required) :param V1DeleteOptions body: (required) :param str pretty: If 'true', then the output is pretty printed. :param int grace_period_seconds: 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. - :param bool orphan_dependents: Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. - :return: UnversionedStatus + :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. + :param str propagation_policy: Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. + :return: V1Status If the method is called asynchronously, returns the request thread. """ - all_params = ['name', 'namespace', 'body', 'pretty', 'grace_period_seconds', 'orphan_dependents'] + all_params = ['name', 'body', 'pretty', 'grace_period_seconds', 'orphan_dependents', 'propagation_policy'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -13615,29 +11682,24 @@ def delete_namespaced_deployment_config_with_http_info(self, name, namespace, bo if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method delete_namespaced_deployment_config" % key + " to method delete_identity" % key ) params[key] = val del params['kwargs'] # verify the required parameter 'name' is set if ('name' not in params) or (params['name'] is None): - raise ValueError("Missing the required parameter `name` when calling `delete_namespaced_deployment_config`") - # verify the required parameter 'namespace' is set - if ('namespace' not in params) or (params['namespace'] is None): - raise ValueError("Missing the required parameter `namespace` when calling `delete_namespaced_deployment_config`") + raise ValueError("Missing the required parameter `name` when calling `delete_identity`") # verify the required parameter 'body' is set if ('body' not in params) or (params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `delete_namespaced_deployment_config`") + raise ValueError("Missing the required parameter `body` when calling `delete_identity`") collection_formats = {} - resource_path = '/oapi/v1/namespaces/{namespace}/deploymentconfigs/{name}'.replace('{format}', 'json') + resource_path = '/oapi/v1/identities/{name}'.replace('{format}', 'json') path_params = {} if 'name' in params: path_params['name'] = params['name'] - if 'namespace' in params: - path_params['namespace'] = params['namespace'] query_params = {} if 'pretty' in params: @@ -13646,6 +11708,8 @@ def delete_namespaced_deployment_config_with_http_info(self, name, namespace, bo query_params['gracePeriodSeconds'] = params['grace_period_seconds'] if 'orphan_dependents' in params: query_params['orphanDependents'] = params['orphan_dependents'] + if 'propagation_policy' in params: + query_params['propagationPolicy'] = params['propagation_policy'] header_params = {} @@ -13664,7 +11728,7 @@ def delete_namespaced_deployment_config_with_http_info(self, name, namespace, bo select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'DELETE', path_params, @@ -13673,7 +11737,7 @@ def delete_namespaced_deployment_config_with_http_info(self, name, namespace, bo body=body_params, post_params=form_params, files=local_var_files, - response_type='UnversionedStatus', + response_type='V1Status', auth_settings=auth_settings, callback=params.get('callback'), _return_http_data_only=params.get('_return_http_data_only'), @@ -13681,61 +11745,61 @@ def delete_namespaced_deployment_config_with_http_info(self, name, namespace, bo _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def delete_namespaced_egress_network_policy(self, name, namespace, body, **kwargs): + def delete_image(self, name, body, **kwargs): """ - delete an EgressNetworkPolicy + delete an Image This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.delete_namespaced_egress_network_policy(name, namespace, body, callback=callback_function) + >>> thread = api.delete_image(name, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) - :param str name: name of the EgressNetworkPolicy (required) - :param str namespace: object name and auth scope, such as for teams and projects (required) + :param str name: name of the Image (required) :param V1DeleteOptions body: (required) :param str pretty: If 'true', then the output is pretty printed. :param int grace_period_seconds: 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. - :param bool orphan_dependents: Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. - :return: UnversionedStatus + :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. + :param str propagation_policy: Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. + :return: V1Status If the method is called asynchronously, returns the request thread. """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.delete_namespaced_egress_network_policy_with_http_info(name, namespace, body, **kwargs) + return self.delete_image_with_http_info(name, body, **kwargs) else: - (data) = self.delete_namespaced_egress_network_policy_with_http_info(name, namespace, body, **kwargs) + (data) = self.delete_image_with_http_info(name, body, **kwargs) return data - def delete_namespaced_egress_network_policy_with_http_info(self, name, namespace, body, **kwargs): + def delete_image_with_http_info(self, name, body, **kwargs): """ - delete an EgressNetworkPolicy + delete an Image This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.delete_namespaced_egress_network_policy_with_http_info(name, namespace, body, callback=callback_function) + >>> thread = api.delete_image_with_http_info(name, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) - :param str name: name of the EgressNetworkPolicy (required) - :param str namespace: object name and auth scope, such as for teams and projects (required) + :param str name: name of the Image (required) :param V1DeleteOptions body: (required) :param str pretty: If 'true', then the output is pretty printed. :param int grace_period_seconds: 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. - :param bool orphan_dependents: Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. - :return: UnversionedStatus + :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. + :param str propagation_policy: Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. + :return: V1Status If the method is called asynchronously, returns the request thread. """ - all_params = ['name', 'namespace', 'body', 'pretty', 'grace_period_seconds', 'orphan_dependents'] + all_params = ['name', 'body', 'pretty', 'grace_period_seconds', 'orphan_dependents', 'propagation_policy'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -13746,29 +11810,24 @@ def delete_namespaced_egress_network_policy_with_http_info(self, name, namespace if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method delete_namespaced_egress_network_policy" % key + " to method delete_image" % key ) params[key] = val del params['kwargs'] # verify the required parameter 'name' is set if ('name' not in params) or (params['name'] is None): - raise ValueError("Missing the required parameter `name` when calling `delete_namespaced_egress_network_policy`") - # verify the required parameter 'namespace' is set - if ('namespace' not in params) or (params['namespace'] is None): - raise ValueError("Missing the required parameter `namespace` when calling `delete_namespaced_egress_network_policy`") + raise ValueError("Missing the required parameter `name` when calling `delete_image`") # verify the required parameter 'body' is set if ('body' not in params) or (params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `delete_namespaced_egress_network_policy`") + raise ValueError("Missing the required parameter `body` when calling `delete_image`") collection_formats = {} - resource_path = '/oapi/v1/namespaces/{namespace}/egressnetworkpolicies/{name}'.replace('{format}', 'json') + resource_path = '/oapi/v1/images/{name}'.replace('{format}', 'json') path_params = {} if 'name' in params: path_params['name'] = params['name'] - if 'namespace' in params: - path_params['namespace'] = params['namespace'] query_params = {} if 'pretty' in params: @@ -13777,6 +11836,8 @@ def delete_namespaced_egress_network_policy_with_http_info(self, name, namespace query_params['gracePeriodSeconds'] = params['grace_period_seconds'] if 'orphan_dependents' in params: query_params['orphanDependents'] = params['orphan_dependents'] + if 'propagation_policy' in params: + query_params['propagationPolicy'] = params['propagation_policy'] header_params = {} @@ -13795,7 +11856,7 @@ def delete_namespaced_egress_network_policy_with_http_info(self, name, namespace select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'DELETE', path_params, @@ -13804,7 +11865,7 @@ def delete_namespaced_egress_network_policy_with_http_info(self, name, namespace body=body_params, post_params=form_params, files=local_var_files, - response_type='UnversionedStatus', + response_type='V1Status', auth_settings=auth_settings, callback=params.get('callback'), _return_http_data_only=params.get('_return_http_data_only'), @@ -13812,61 +11873,53 @@ def delete_namespaced_egress_network_policy_with_http_info(self, name, namespace _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def delete_namespaced_image_stream(self, name, namespace, body, **kwargs): + def delete_image_signature(self, name, **kwargs): """ - delete an ImageStream + delete an ImageSignature This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.delete_namespaced_image_stream(name, namespace, body, callback=callback_function) + >>> thread = api.delete_image_signature(name, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) - :param str name: name of the ImageStream (required) - :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1DeleteOptions body: (required) + :param str name: name of the ImageSignature (required) :param str pretty: If 'true', then the output is pretty printed. - :param int grace_period_seconds: 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. - :param bool orphan_dependents: Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. - :return: UnversionedStatus + :return: V1Status If the method is called asynchronously, returns the request thread. """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.delete_namespaced_image_stream_with_http_info(name, namespace, body, **kwargs) + return self.delete_image_signature_with_http_info(name, **kwargs) else: - (data) = self.delete_namespaced_image_stream_with_http_info(name, namespace, body, **kwargs) + (data) = self.delete_image_signature_with_http_info(name, **kwargs) return data - def delete_namespaced_image_stream_with_http_info(self, name, namespace, body, **kwargs): + def delete_image_signature_with_http_info(self, name, **kwargs): """ - delete an ImageStream + delete an ImageSignature This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.delete_namespaced_image_stream_with_http_info(name, namespace, body, callback=callback_function) + >>> thread = api.delete_image_signature_with_http_info(name, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) - :param str name: name of the ImageStream (required) - :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1DeleteOptions body: (required) + :param str name: name of the ImageSignature (required) :param str pretty: If 'true', then the output is pretty printed. - :param int grace_period_seconds: 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. - :param bool orphan_dependents: Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. - :return: UnversionedStatus + :return: V1Status If the method is called asynchronously, returns the request thread. """ - all_params = ['name', 'namespace', 'body', 'pretty', 'grace_period_seconds', 'orphan_dependents'] + all_params = ['name', 'pretty'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -13877,37 +11930,25 @@ def delete_namespaced_image_stream_with_http_info(self, name, namespace, body, * if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method delete_namespaced_image_stream" % key + " to method delete_image_signature" % key ) params[key] = val del params['kwargs'] # verify the required parameter 'name' is set if ('name' not in params) or (params['name'] is None): - raise ValueError("Missing the required parameter `name` when calling `delete_namespaced_image_stream`") - # verify the required parameter 'namespace' is set - if ('namespace' not in params) or (params['namespace'] is None): - raise ValueError("Missing the required parameter `namespace` when calling `delete_namespaced_image_stream`") - # verify the required parameter 'body' is set - if ('body' not in params) or (params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `delete_namespaced_image_stream`") + raise ValueError("Missing the required parameter `name` when calling `delete_image_signature`") collection_formats = {} - resource_path = '/oapi/v1/namespaces/{namespace}/imagestreams/{name}'.replace('{format}', 'json') + resource_path = '/oapi/v1/imagesignatures/{name}'.replace('{format}', 'json') path_params = {} if 'name' in params: path_params['name'] = params['name'] - if 'namespace' in params: - path_params['namespace'] = params['namespace'] query_params = {} if 'pretty' in params: query_params['pretty'] = params['pretty'] - if 'grace_period_seconds' in params: - query_params['gracePeriodSeconds'] = params['grace_period_seconds'] - if 'orphan_dependents' in params: - query_params['orphanDependents'] = params['orphan_dependents'] header_params = {} @@ -13915,8 +11956,6 @@ def delete_namespaced_image_stream_with_http_info(self, name, namespace, body, * local_var_files = {} body_params = None - if 'body' in params: - body_params = params['body'] # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) @@ -13926,7 +11965,7 @@ def delete_namespaced_image_stream_with_http_info(self, name, namespace, body, * select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'DELETE', path_params, @@ -13935,7 +11974,7 @@ def delete_namespaced_image_stream_with_http_info(self, name, namespace, body, * body=body_params, post_params=form_params, files=local_var_files, - response_type='UnversionedStatus', + response_type='V1Status', auth_settings=auth_settings, callback=params.get('callback'), _return_http_data_only=params.get('_return_http_data_only'), @@ -13943,55 +11982,63 @@ def delete_namespaced_image_stream_with_http_info(self, name, namespace, body, * _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def delete_namespaced_image_stream_tag(self, name, namespace, **kwargs): + def delete_namespaced_build(self, name, namespace, body, **kwargs): """ - delete an ImageStreamTag + delete a Build This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.delete_namespaced_image_stream_tag(name, namespace, callback=callback_function) + >>> thread = api.delete_namespaced_build(name, namespace, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) - :param str name: name of the ImageStreamTag (required) + :param str name: name of the Build (required) :param str namespace: object name and auth scope, such as for teams and projects (required) + :param V1DeleteOptions body: (required) :param str pretty: If 'true', then the output is pretty printed. - :return: UnversionedStatus + :param int grace_period_seconds: 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. + :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. + :param str propagation_policy: Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. + :return: V1Status If the method is called asynchronously, returns the request thread. """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.delete_namespaced_image_stream_tag_with_http_info(name, namespace, **kwargs) + return self.delete_namespaced_build_with_http_info(name, namespace, body, **kwargs) else: - (data) = self.delete_namespaced_image_stream_tag_with_http_info(name, namespace, **kwargs) + (data) = self.delete_namespaced_build_with_http_info(name, namespace, body, **kwargs) return data - def delete_namespaced_image_stream_tag_with_http_info(self, name, namespace, **kwargs): + def delete_namespaced_build_with_http_info(self, name, namespace, body, **kwargs): """ - delete an ImageStreamTag + delete a Build This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.delete_namespaced_image_stream_tag_with_http_info(name, namespace, callback=callback_function) + >>> thread = api.delete_namespaced_build_with_http_info(name, namespace, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) - :param str name: name of the ImageStreamTag (required) + :param str name: name of the Build (required) :param str namespace: object name and auth scope, such as for teams and projects (required) + :param V1DeleteOptions body: (required) :param str pretty: If 'true', then the output is pretty printed. - :return: UnversionedStatus + :param int grace_period_seconds: 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. + :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. + :param str propagation_policy: Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. + :return: V1Status If the method is called asynchronously, returns the request thread. """ - all_params = ['name', 'namespace', 'pretty'] + all_params = ['name', 'namespace', 'body', 'pretty', 'grace_period_seconds', 'orphan_dependents', 'propagation_policy'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -14002,21 +12049,24 @@ def delete_namespaced_image_stream_tag_with_http_info(self, name, namespace, **k if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method delete_namespaced_image_stream_tag" % key + " to method delete_namespaced_build" % key ) params[key] = val del params['kwargs'] # verify the required parameter 'name' is set if ('name' not in params) or (params['name'] is None): - raise ValueError("Missing the required parameter `name` when calling `delete_namespaced_image_stream_tag`") + raise ValueError("Missing the required parameter `name` when calling `delete_namespaced_build`") # verify the required parameter 'namespace' is set if ('namespace' not in params) or (params['namespace'] is None): - raise ValueError("Missing the required parameter `namespace` when calling `delete_namespaced_image_stream_tag`") + raise ValueError("Missing the required parameter `namespace` when calling `delete_namespaced_build`") + # verify the required parameter 'body' is set + if ('body' not in params) or (params['body'] is None): + raise ValueError("Missing the required parameter `body` when calling `delete_namespaced_build`") collection_formats = {} - resource_path = '/oapi/v1/namespaces/{namespace}/imagestreamtags/{name}'.replace('{format}', 'json') + resource_path = '/oapi/v1/namespaces/{namespace}/builds/{name}'.replace('{format}', 'json') path_params = {} if 'name' in params: path_params['name'] = params['name'] @@ -14026,6 +12076,12 @@ def delete_namespaced_image_stream_tag_with_http_info(self, name, namespace, **k query_params = {} if 'pretty' in params: query_params['pretty'] = params['pretty'] + if 'grace_period_seconds' in params: + query_params['gracePeriodSeconds'] = params['grace_period_seconds'] + if 'orphan_dependents' in params: + query_params['orphanDependents'] = params['orphan_dependents'] + if 'propagation_policy' in params: + query_params['propagationPolicy'] = params['propagation_policy'] header_params = {} @@ -14033,6 +12089,8 @@ def delete_namespaced_image_stream_tag_with_http_info(self, name, namespace, **k local_var_files = {} body_params = None + if 'body' in params: + body_params = params['body'] # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) @@ -14042,7 +12100,7 @@ def delete_namespaced_image_stream_tag_with_http_info(self, name, namespace, **k select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'DELETE', path_params, @@ -14051,7 +12109,7 @@ def delete_namespaced_image_stream_tag_with_http_info(self, name, namespace, **k body=body_params, post_params=form_params, files=local_var_files, - response_type='UnversionedStatus', + response_type='V1Status', auth_settings=auth_settings, callback=params.get('callback'), _return_http_data_only=params.get('_return_http_data_only'), @@ -14059,61 +12117,63 @@ def delete_namespaced_image_stream_tag_with_http_info(self, name, namespace, **k _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def delete_namespaced_policy(self, name, namespace, body, **kwargs): + def delete_namespaced_build_config(self, name, namespace, body, **kwargs): """ - delete a Policy + delete a BuildConfig This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.delete_namespaced_policy(name, namespace, body, callback=callback_function) + >>> thread = api.delete_namespaced_build_config(name, namespace, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) - :param str name: name of the Policy (required) + :param str name: name of the BuildConfig (required) :param str namespace: object name and auth scope, such as for teams and projects (required) :param V1DeleteOptions body: (required) :param str pretty: If 'true', then the output is pretty printed. :param int grace_period_seconds: 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. - :param bool orphan_dependents: Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. - :return: UnversionedStatus + :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. + :param str propagation_policy: Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. + :return: V1Status If the method is called asynchronously, returns the request thread. """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.delete_namespaced_policy_with_http_info(name, namespace, body, **kwargs) + return self.delete_namespaced_build_config_with_http_info(name, namespace, body, **kwargs) else: - (data) = self.delete_namespaced_policy_with_http_info(name, namespace, body, **kwargs) + (data) = self.delete_namespaced_build_config_with_http_info(name, namespace, body, **kwargs) return data - def delete_namespaced_policy_with_http_info(self, name, namespace, body, **kwargs): + def delete_namespaced_build_config_with_http_info(self, name, namespace, body, **kwargs): """ - delete a Policy + delete a BuildConfig This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.delete_namespaced_policy_with_http_info(name, namespace, body, callback=callback_function) + >>> thread = api.delete_namespaced_build_config_with_http_info(name, namespace, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) - :param str name: name of the Policy (required) + :param str name: name of the BuildConfig (required) :param str namespace: object name and auth scope, such as for teams and projects (required) :param V1DeleteOptions body: (required) :param str pretty: If 'true', then the output is pretty printed. :param int grace_period_seconds: 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. - :param bool orphan_dependents: Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. - :return: UnversionedStatus + :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. + :param str propagation_policy: Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. + :return: V1Status If the method is called asynchronously, returns the request thread. """ - all_params = ['name', 'namespace', 'body', 'pretty', 'grace_period_seconds', 'orphan_dependents'] + all_params = ['name', 'namespace', 'body', 'pretty', 'grace_period_seconds', 'orphan_dependents', 'propagation_policy'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -14124,24 +12184,24 @@ def delete_namespaced_policy_with_http_info(self, name, namespace, body, **kwarg if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method delete_namespaced_policy" % key + " to method delete_namespaced_build_config" % key ) params[key] = val del params['kwargs'] # verify the required parameter 'name' is set if ('name' not in params) or (params['name'] is None): - raise ValueError("Missing the required parameter `name` when calling `delete_namespaced_policy`") + raise ValueError("Missing the required parameter `name` when calling `delete_namespaced_build_config`") # verify the required parameter 'namespace' is set if ('namespace' not in params) or (params['namespace'] is None): - raise ValueError("Missing the required parameter `namespace` when calling `delete_namespaced_policy`") + raise ValueError("Missing the required parameter `namespace` when calling `delete_namespaced_build_config`") # verify the required parameter 'body' is set if ('body' not in params) or (params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `delete_namespaced_policy`") + raise ValueError("Missing the required parameter `body` when calling `delete_namespaced_build_config`") collection_formats = {} - resource_path = '/oapi/v1/namespaces/{namespace}/policies/{name}'.replace('{format}', 'json') + resource_path = '/oapi/v1/namespaces/{namespace}/buildconfigs/{name}'.replace('{format}', 'json') path_params = {} if 'name' in params: path_params['name'] = params['name'] @@ -14155,6 +12215,8 @@ def delete_namespaced_policy_with_http_info(self, name, namespace, body, **kwarg query_params['gracePeriodSeconds'] = params['grace_period_seconds'] if 'orphan_dependents' in params: query_params['orphanDependents'] = params['orphan_dependents'] + if 'propagation_policy' in params: + query_params['propagationPolicy'] = params['propagation_policy'] header_params = {} @@ -14173,7 +12235,7 @@ def delete_namespaced_policy_with_http_info(self, name, namespace, body, **kwarg select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'DELETE', path_params, @@ -14182,7 +12244,7 @@ def delete_namespaced_policy_with_http_info(self, name, namespace, body, **kwarg body=body_params, post_params=form_params, files=local_var_files, - response_type='UnversionedStatus', + response_type='V1Status', auth_settings=auth_settings, callback=params.get('callback'), _return_http_data_only=params.get('_return_http_data_only'), @@ -14190,61 +12252,63 @@ def delete_namespaced_policy_with_http_info(self, name, namespace, body, **kwarg _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def delete_namespaced_policy_binding(self, name, namespace, body, **kwargs): + def delete_namespaced_deployment_config(self, name, namespace, body, **kwargs): """ - delete a PolicyBinding + delete a DeploymentConfig This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.delete_namespaced_policy_binding(name, namespace, body, callback=callback_function) + >>> thread = api.delete_namespaced_deployment_config(name, namespace, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) - :param str name: name of the PolicyBinding (required) + :param str name: name of the DeploymentConfig (required) :param str namespace: object name and auth scope, such as for teams and projects (required) :param V1DeleteOptions body: (required) :param str pretty: If 'true', then the output is pretty printed. :param int grace_period_seconds: 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. - :param bool orphan_dependents: Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. - :return: UnversionedStatus + :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. + :param str propagation_policy: Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. + :return: V1Status If the method is called asynchronously, returns the request thread. """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.delete_namespaced_policy_binding_with_http_info(name, namespace, body, **kwargs) + return self.delete_namespaced_deployment_config_with_http_info(name, namespace, body, **kwargs) else: - (data) = self.delete_namespaced_policy_binding_with_http_info(name, namespace, body, **kwargs) + (data) = self.delete_namespaced_deployment_config_with_http_info(name, namespace, body, **kwargs) return data - def delete_namespaced_policy_binding_with_http_info(self, name, namespace, body, **kwargs): + def delete_namespaced_deployment_config_with_http_info(self, name, namespace, body, **kwargs): """ - delete a PolicyBinding + delete a DeploymentConfig This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.delete_namespaced_policy_binding_with_http_info(name, namespace, body, callback=callback_function) + >>> thread = api.delete_namespaced_deployment_config_with_http_info(name, namespace, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) - :param str name: name of the PolicyBinding (required) + :param str name: name of the DeploymentConfig (required) :param str namespace: object name and auth scope, such as for teams and projects (required) :param V1DeleteOptions body: (required) :param str pretty: If 'true', then the output is pretty printed. :param int grace_period_seconds: 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. - :param bool orphan_dependents: Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. - :return: UnversionedStatus + :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. + :param str propagation_policy: Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. + :return: V1Status If the method is called asynchronously, returns the request thread. """ - all_params = ['name', 'namespace', 'body', 'pretty', 'grace_period_seconds', 'orphan_dependents'] + all_params = ['name', 'namespace', 'body', 'pretty', 'grace_period_seconds', 'orphan_dependents', 'propagation_policy'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -14255,24 +12319,24 @@ def delete_namespaced_policy_binding_with_http_info(self, name, namespace, body, if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method delete_namespaced_policy_binding" % key + " to method delete_namespaced_deployment_config" % key ) params[key] = val del params['kwargs'] # verify the required parameter 'name' is set if ('name' not in params) or (params['name'] is None): - raise ValueError("Missing the required parameter `name` when calling `delete_namespaced_policy_binding`") + raise ValueError("Missing the required parameter `name` when calling `delete_namespaced_deployment_config`") # verify the required parameter 'namespace' is set if ('namespace' not in params) or (params['namespace'] is None): - raise ValueError("Missing the required parameter `namespace` when calling `delete_namespaced_policy_binding`") + raise ValueError("Missing the required parameter `namespace` when calling `delete_namespaced_deployment_config`") # verify the required parameter 'body' is set if ('body' not in params) or (params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `delete_namespaced_policy_binding`") + raise ValueError("Missing the required parameter `body` when calling `delete_namespaced_deployment_config`") collection_formats = {} - resource_path = '/oapi/v1/namespaces/{namespace}/policybindings/{name}'.replace('{format}', 'json') + resource_path = '/oapi/v1/namespaces/{namespace}/deploymentconfigs/{name}'.replace('{format}', 'json') path_params = {} if 'name' in params: path_params['name'] = params['name'] @@ -14286,6 +12350,8 @@ def delete_namespaced_policy_binding_with_http_info(self, name, namespace, body, query_params['gracePeriodSeconds'] = params['grace_period_seconds'] if 'orphan_dependents' in params: query_params['orphanDependents'] = params['orphan_dependents'] + if 'propagation_policy' in params: + query_params['propagationPolicy'] = params['propagation_policy'] header_params = {} @@ -14304,7 +12370,7 @@ def delete_namespaced_policy_binding_with_http_info(self, name, namespace, body, select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'DELETE', path_params, @@ -14313,7 +12379,7 @@ def delete_namespaced_policy_binding_with_http_info(self, name, namespace, body, body=body_params, post_params=form_params, files=local_var_files, - response_type='UnversionedStatus', + response_type='V1Status', auth_settings=auth_settings, callback=params.get('callback'), _return_http_data_only=params.get('_return_http_data_only'), @@ -14321,61 +12387,63 @@ def delete_namespaced_policy_binding_with_http_info(self, name, namespace, body, _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def delete_namespaced_role(self, name, namespace, body, **kwargs): + def delete_namespaced_egress_network_policy(self, name, namespace, body, **kwargs): """ - delete a Role + delete an EgressNetworkPolicy This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.delete_namespaced_role(name, namespace, body, callback=callback_function) + >>> thread = api.delete_namespaced_egress_network_policy(name, namespace, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) - :param str name: name of the Role (required) + :param str name: name of the EgressNetworkPolicy (required) :param str namespace: object name and auth scope, such as for teams and projects (required) :param V1DeleteOptions body: (required) :param str pretty: If 'true', then the output is pretty printed. :param int grace_period_seconds: 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. - :param bool orphan_dependents: Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. - :return: UnversionedStatus + :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. + :param str propagation_policy: Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. + :return: V1Status If the method is called asynchronously, returns the request thread. """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.delete_namespaced_role_with_http_info(name, namespace, body, **kwargs) + return self.delete_namespaced_egress_network_policy_with_http_info(name, namespace, body, **kwargs) else: - (data) = self.delete_namespaced_role_with_http_info(name, namespace, body, **kwargs) + (data) = self.delete_namespaced_egress_network_policy_with_http_info(name, namespace, body, **kwargs) return data - def delete_namespaced_role_with_http_info(self, name, namespace, body, **kwargs): + def delete_namespaced_egress_network_policy_with_http_info(self, name, namespace, body, **kwargs): """ - delete a Role + delete an EgressNetworkPolicy This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.delete_namespaced_role_with_http_info(name, namespace, body, callback=callback_function) + >>> thread = api.delete_namespaced_egress_network_policy_with_http_info(name, namespace, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) - :param str name: name of the Role (required) + :param str name: name of the EgressNetworkPolicy (required) :param str namespace: object name and auth scope, such as for teams and projects (required) :param V1DeleteOptions body: (required) :param str pretty: If 'true', then the output is pretty printed. :param int grace_period_seconds: 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. - :param bool orphan_dependents: Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. - :return: UnversionedStatus + :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. + :param str propagation_policy: Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. + :return: V1Status If the method is called asynchronously, returns the request thread. """ - all_params = ['name', 'namespace', 'body', 'pretty', 'grace_period_seconds', 'orphan_dependents'] + all_params = ['name', 'namespace', 'body', 'pretty', 'grace_period_seconds', 'orphan_dependents', 'propagation_policy'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -14386,24 +12454,24 @@ def delete_namespaced_role_with_http_info(self, name, namespace, body, **kwargs) if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method delete_namespaced_role" % key + " to method delete_namespaced_egress_network_policy" % key ) params[key] = val del params['kwargs'] # verify the required parameter 'name' is set if ('name' not in params) or (params['name'] is None): - raise ValueError("Missing the required parameter `name` when calling `delete_namespaced_role`") + raise ValueError("Missing the required parameter `name` when calling `delete_namespaced_egress_network_policy`") # verify the required parameter 'namespace' is set if ('namespace' not in params) or (params['namespace'] is None): - raise ValueError("Missing the required parameter `namespace` when calling `delete_namespaced_role`") + raise ValueError("Missing the required parameter `namespace` when calling `delete_namespaced_egress_network_policy`") # verify the required parameter 'body' is set if ('body' not in params) or (params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `delete_namespaced_role`") + raise ValueError("Missing the required parameter `body` when calling `delete_namespaced_egress_network_policy`") collection_formats = {} - resource_path = '/oapi/v1/namespaces/{namespace}/roles/{name}'.replace('{format}', 'json') + resource_path = '/oapi/v1/namespaces/{namespace}/egressnetworkpolicies/{name}'.replace('{format}', 'json') path_params = {} if 'name' in params: path_params['name'] = params['name'] @@ -14417,6 +12485,8 @@ def delete_namespaced_role_with_http_info(self, name, namespace, body, **kwargs) query_params['gracePeriodSeconds'] = params['grace_period_seconds'] if 'orphan_dependents' in params: query_params['orphanDependents'] = params['orphan_dependents'] + if 'propagation_policy' in params: + query_params['propagationPolicy'] = params['propagation_policy'] header_params = {} @@ -14435,7 +12505,7 @@ def delete_namespaced_role_with_http_info(self, name, namespace, body, **kwargs) select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'DELETE', path_params, @@ -14444,7 +12514,7 @@ def delete_namespaced_role_with_http_info(self, name, namespace, body, **kwargs) body=body_params, post_params=form_params, files=local_var_files, - response_type='UnversionedStatus', + response_type='V1Status', auth_settings=auth_settings, callback=params.get('callback'), _return_http_data_only=params.get('_return_http_data_only'), @@ -14452,61 +12522,63 @@ def delete_namespaced_role_with_http_info(self, name, namespace, body, **kwargs) _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def delete_namespaced_role_binding(self, name, namespace, body, **kwargs): + def delete_namespaced_image_stream(self, name, namespace, body, **kwargs): """ - delete a RoleBinding + delete an ImageStream This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.delete_namespaced_role_binding(name, namespace, body, callback=callback_function) + >>> thread = api.delete_namespaced_image_stream(name, namespace, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) - :param str name: name of the RoleBinding (required) + :param str name: name of the ImageStream (required) :param str namespace: object name and auth scope, such as for teams and projects (required) :param V1DeleteOptions body: (required) :param str pretty: If 'true', then the output is pretty printed. :param int grace_period_seconds: 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. - :param bool orphan_dependents: Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. - :return: UnversionedStatus + :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. + :param str propagation_policy: Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. + :return: V1Status If the method is called asynchronously, returns the request thread. """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.delete_namespaced_role_binding_with_http_info(name, namespace, body, **kwargs) + return self.delete_namespaced_image_stream_with_http_info(name, namespace, body, **kwargs) else: - (data) = self.delete_namespaced_role_binding_with_http_info(name, namespace, body, **kwargs) + (data) = self.delete_namespaced_image_stream_with_http_info(name, namespace, body, **kwargs) return data - def delete_namespaced_role_binding_with_http_info(self, name, namespace, body, **kwargs): + def delete_namespaced_image_stream_with_http_info(self, name, namespace, body, **kwargs): """ - delete a RoleBinding + delete an ImageStream This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.delete_namespaced_role_binding_with_http_info(name, namespace, body, callback=callback_function) + >>> thread = api.delete_namespaced_image_stream_with_http_info(name, namespace, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) - :param str name: name of the RoleBinding (required) + :param str name: name of the ImageStream (required) :param str namespace: object name and auth scope, such as for teams and projects (required) :param V1DeleteOptions body: (required) :param str pretty: If 'true', then the output is pretty printed. :param int grace_period_seconds: 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. - :param bool orphan_dependents: Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. - :return: UnversionedStatus + :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. + :param str propagation_policy: Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. + :return: V1Status If the method is called asynchronously, returns the request thread. """ - all_params = ['name', 'namespace', 'body', 'pretty', 'grace_period_seconds', 'orphan_dependents'] + all_params = ['name', 'namespace', 'body', 'pretty', 'grace_period_seconds', 'orphan_dependents', 'propagation_policy'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -14517,24 +12589,24 @@ def delete_namespaced_role_binding_with_http_info(self, name, namespace, body, * if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method delete_namespaced_role_binding" % key + " to method delete_namespaced_image_stream" % key ) params[key] = val del params['kwargs'] # verify the required parameter 'name' is set if ('name' not in params) or (params['name'] is None): - raise ValueError("Missing the required parameter `name` when calling `delete_namespaced_role_binding`") + raise ValueError("Missing the required parameter `name` when calling `delete_namespaced_image_stream`") # verify the required parameter 'namespace' is set if ('namespace' not in params) or (params['namespace'] is None): - raise ValueError("Missing the required parameter `namespace` when calling `delete_namespaced_role_binding`") + raise ValueError("Missing the required parameter `namespace` when calling `delete_namespaced_image_stream`") # verify the required parameter 'body' is set if ('body' not in params) or (params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `delete_namespaced_role_binding`") + raise ValueError("Missing the required parameter `body` when calling `delete_namespaced_image_stream`") collection_formats = {} - resource_path = '/oapi/v1/namespaces/{namespace}/rolebindings/{name}'.replace('{format}', 'json') + resource_path = '/oapi/v1/namespaces/{namespace}/imagestreams/{name}'.replace('{format}', 'json') path_params = {} if 'name' in params: path_params['name'] = params['name'] @@ -14548,6 +12620,8 @@ def delete_namespaced_role_binding_with_http_info(self, name, namespace, body, * query_params['gracePeriodSeconds'] = params['grace_period_seconds'] if 'orphan_dependents' in params: query_params['orphanDependents'] = params['orphan_dependents'] + if 'propagation_policy' in params: + query_params['propagationPolicy'] = params['propagation_policy'] header_params = {} @@ -14566,7 +12640,7 @@ def delete_namespaced_role_binding_with_http_info(self, name, namespace, body, * select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'DELETE', path_params, @@ -14575,7 +12649,7 @@ def delete_namespaced_role_binding_with_http_info(self, name, namespace, body, * body=body_params, post_params=form_params, files=local_var_files, - response_type='UnversionedStatus', + response_type='V1Status', auth_settings=auth_settings, callback=params.get('callback'), _return_http_data_only=params.get('_return_http_data_only'), @@ -14583,61 +12657,55 @@ def delete_namespaced_role_binding_with_http_info(self, name, namespace, body, * _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def delete_namespaced_role_binding_restriction(self, name, namespace, body, **kwargs): + def delete_namespaced_image_stream_tag(self, name, namespace, **kwargs): """ - delete a RoleBindingRestriction + delete an ImageStreamTag This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.delete_namespaced_role_binding_restriction(name, namespace, body, callback=callback_function) + >>> thread = api.delete_namespaced_image_stream_tag(name, namespace, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) - :param str name: name of the RoleBindingRestriction (required) + :param str name: name of the ImageStreamTag (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1DeleteOptions body: (required) :param str pretty: If 'true', then the output is pretty printed. - :param int grace_period_seconds: 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. - :param bool orphan_dependents: Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. - :return: UnversionedStatus + :return: V1Status If the method is called asynchronously, returns the request thread. """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.delete_namespaced_role_binding_restriction_with_http_info(name, namespace, body, **kwargs) + return self.delete_namespaced_image_stream_tag_with_http_info(name, namespace, **kwargs) else: - (data) = self.delete_namespaced_role_binding_restriction_with_http_info(name, namespace, body, **kwargs) + (data) = self.delete_namespaced_image_stream_tag_with_http_info(name, namespace, **kwargs) return data - def delete_namespaced_role_binding_restriction_with_http_info(self, name, namespace, body, **kwargs): + def delete_namespaced_image_stream_tag_with_http_info(self, name, namespace, **kwargs): """ - delete a RoleBindingRestriction + delete an ImageStreamTag This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.delete_namespaced_role_binding_restriction_with_http_info(name, namespace, body, callback=callback_function) + >>> thread = api.delete_namespaced_image_stream_tag_with_http_info(name, namespace, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) - :param str name: name of the RoleBindingRestriction (required) + :param str name: name of the ImageStreamTag (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1DeleteOptions body: (required) :param str pretty: If 'true', then the output is pretty printed. - :param int grace_period_seconds: 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. - :param bool orphan_dependents: Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. - :return: UnversionedStatus + :return: V1Status If the method is called asynchronously, returns the request thread. """ - all_params = ['name', 'namespace', 'body', 'pretty', 'grace_period_seconds', 'orphan_dependents'] + all_params = ['name', 'namespace', 'pretty'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -14648,24 +12716,21 @@ def delete_namespaced_role_binding_restriction_with_http_info(self, name, namesp if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method delete_namespaced_role_binding_restriction" % key + " to method delete_namespaced_image_stream_tag" % key ) params[key] = val del params['kwargs'] # verify the required parameter 'name' is set if ('name' not in params) or (params['name'] is None): - raise ValueError("Missing the required parameter `name` when calling `delete_namespaced_role_binding_restriction`") + raise ValueError("Missing the required parameter `name` when calling `delete_namespaced_image_stream_tag`") # verify the required parameter 'namespace' is set if ('namespace' not in params) or (params['namespace'] is None): - raise ValueError("Missing the required parameter `namespace` when calling `delete_namespaced_role_binding_restriction`") - # verify the required parameter 'body' is set - if ('body' not in params) or (params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `delete_namespaced_role_binding_restriction`") + raise ValueError("Missing the required parameter `namespace` when calling `delete_namespaced_image_stream_tag`") collection_formats = {} - resource_path = '/oapi/v1/namespaces/{namespace}/rolebindingrestrictions/{name}'.replace('{format}', 'json') + resource_path = '/oapi/v1/namespaces/{namespace}/imagestreamtags/{name}'.replace('{format}', 'json') path_params = {} if 'name' in params: path_params['name'] = params['name'] @@ -14675,10 +12740,6 @@ def delete_namespaced_role_binding_restriction_with_http_info(self, name, namesp query_params = {} if 'pretty' in params: query_params['pretty'] = params['pretty'] - if 'grace_period_seconds' in params: - query_params['gracePeriodSeconds'] = params['grace_period_seconds'] - if 'orphan_dependents' in params: - query_params['orphanDependents'] = params['orphan_dependents'] header_params = {} @@ -14686,8 +12747,6 @@ def delete_namespaced_role_binding_restriction_with_http_info(self, name, namesp local_var_files = {} body_params = None - if 'body' in params: - body_params = params['body'] # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) @@ -14697,7 +12756,7 @@ def delete_namespaced_role_binding_restriction_with_http_info(self, name, namesp select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'DELETE', path_params, @@ -14706,7 +12765,7 @@ def delete_namespaced_role_binding_restriction_with_http_info(self, name, namesp body=body_params, post_params=form_params, files=local_var_files, - response_type='UnversionedStatus', + response_type='V1Status', auth_settings=auth_settings, callback=params.get('callback'), _return_http_data_only=params.get('_return_http_data_only'), @@ -14714,61 +12773,63 @@ def delete_namespaced_role_binding_restriction_with_http_info(self, name, namesp _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def delete_namespaced_route(self, name, namespace, body, **kwargs): + def delete_namespaced_role(self, name, namespace, body, **kwargs): """ - delete a Route + delete a Role This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.delete_namespaced_route(name, namespace, body, callback=callback_function) + >>> thread = api.delete_namespaced_role(name, namespace, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) - :param str name: name of the Route (required) + :param str name: name of the Role (required) :param str namespace: object name and auth scope, such as for teams and projects (required) :param V1DeleteOptions body: (required) :param str pretty: If 'true', then the output is pretty printed. :param int grace_period_seconds: 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. - :param bool orphan_dependents: Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. - :return: UnversionedStatus + :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. + :param str propagation_policy: Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. + :return: V1Status If the method is called asynchronously, returns the request thread. """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.delete_namespaced_route_with_http_info(name, namespace, body, **kwargs) + return self.delete_namespaced_role_with_http_info(name, namespace, body, **kwargs) else: - (data) = self.delete_namespaced_route_with_http_info(name, namespace, body, **kwargs) + (data) = self.delete_namespaced_role_with_http_info(name, namespace, body, **kwargs) return data - def delete_namespaced_route_with_http_info(self, name, namespace, body, **kwargs): + def delete_namespaced_role_with_http_info(self, name, namespace, body, **kwargs): """ - delete a Route + delete a Role This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.delete_namespaced_route_with_http_info(name, namespace, body, callback=callback_function) + >>> thread = api.delete_namespaced_role_with_http_info(name, namespace, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) - :param str name: name of the Route (required) + :param str name: name of the Role (required) :param str namespace: object name and auth scope, such as for teams and projects (required) :param V1DeleteOptions body: (required) :param str pretty: If 'true', then the output is pretty printed. :param int grace_period_seconds: 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. - :param bool orphan_dependents: Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. - :return: UnversionedStatus + :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. + :param str propagation_policy: Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. + :return: V1Status If the method is called asynchronously, returns the request thread. """ - all_params = ['name', 'namespace', 'body', 'pretty', 'grace_period_seconds', 'orphan_dependents'] + all_params = ['name', 'namespace', 'body', 'pretty', 'grace_period_seconds', 'orphan_dependents', 'propagation_policy'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -14779,24 +12840,24 @@ def delete_namespaced_route_with_http_info(self, name, namespace, body, **kwargs if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method delete_namespaced_route" % key + " to method delete_namespaced_role" % key ) params[key] = val del params['kwargs'] # verify the required parameter 'name' is set if ('name' not in params) or (params['name'] is None): - raise ValueError("Missing the required parameter `name` when calling `delete_namespaced_route`") + raise ValueError("Missing the required parameter `name` when calling `delete_namespaced_role`") # verify the required parameter 'namespace' is set if ('namespace' not in params) or (params['namespace'] is None): - raise ValueError("Missing the required parameter `namespace` when calling `delete_namespaced_route`") + raise ValueError("Missing the required parameter `namespace` when calling `delete_namespaced_role`") # verify the required parameter 'body' is set if ('body' not in params) or (params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `delete_namespaced_route`") + raise ValueError("Missing the required parameter `body` when calling `delete_namespaced_role`") collection_formats = {} - resource_path = '/oapi/v1/namespaces/{namespace}/routes/{name}'.replace('{format}', 'json') + resource_path = '/oapi/v1/namespaces/{namespace}/roles/{name}'.replace('{format}', 'json') path_params = {} if 'name' in params: path_params['name'] = params['name'] @@ -14810,6 +12871,8 @@ def delete_namespaced_route_with_http_info(self, name, namespace, body, **kwargs query_params['gracePeriodSeconds'] = params['grace_period_seconds'] if 'orphan_dependents' in params: query_params['orphanDependents'] = params['orphan_dependents'] + if 'propagation_policy' in params: + query_params['propagationPolicy'] = params['propagation_policy'] header_params = {} @@ -14828,7 +12891,7 @@ def delete_namespaced_route_with_http_info(self, name, namespace, body, **kwargs select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'DELETE', path_params, @@ -14837,7 +12900,7 @@ def delete_namespaced_route_with_http_info(self, name, namespace, body, **kwargs body=body_params, post_params=form_params, files=local_var_files, - response_type='UnversionedStatus', + response_type='V1Status', auth_settings=auth_settings, callback=params.get('callback'), _return_http_data_only=params.get('_return_http_data_only'), @@ -14845,61 +12908,63 @@ def delete_namespaced_route_with_http_info(self, name, namespace, body, **kwargs _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def delete_namespaced_template(self, name, namespace, body, **kwargs): + def delete_namespaced_role_binding(self, name, namespace, body, **kwargs): """ - delete a Template + delete a RoleBinding This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.delete_namespaced_template(name, namespace, body, callback=callback_function) + >>> thread = api.delete_namespaced_role_binding(name, namespace, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) - :param str name: name of the Template (required) + :param str name: name of the RoleBinding (required) :param str namespace: object name and auth scope, such as for teams and projects (required) :param V1DeleteOptions body: (required) :param str pretty: If 'true', then the output is pretty printed. :param int grace_period_seconds: 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. - :param bool orphan_dependents: Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. - :return: UnversionedStatus + :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. + :param str propagation_policy: Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. + :return: V1Status If the method is called asynchronously, returns the request thread. """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.delete_namespaced_template_with_http_info(name, namespace, body, **kwargs) + return self.delete_namespaced_role_binding_with_http_info(name, namespace, body, **kwargs) else: - (data) = self.delete_namespaced_template_with_http_info(name, namespace, body, **kwargs) + (data) = self.delete_namespaced_role_binding_with_http_info(name, namespace, body, **kwargs) return data - def delete_namespaced_template_with_http_info(self, name, namespace, body, **kwargs): + def delete_namespaced_role_binding_with_http_info(self, name, namespace, body, **kwargs): """ - delete a Template + delete a RoleBinding This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.delete_namespaced_template_with_http_info(name, namespace, body, callback=callback_function) + >>> thread = api.delete_namespaced_role_binding_with_http_info(name, namespace, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) - :param str name: name of the Template (required) + :param str name: name of the RoleBinding (required) :param str namespace: object name and auth scope, such as for teams and projects (required) :param V1DeleteOptions body: (required) :param str pretty: If 'true', then the output is pretty printed. :param int grace_period_seconds: 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. - :param bool orphan_dependents: Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. - :return: UnversionedStatus + :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. + :param str propagation_policy: Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. + :return: V1Status If the method is called asynchronously, returns the request thread. """ - all_params = ['name', 'namespace', 'body', 'pretty', 'grace_period_seconds', 'orphan_dependents'] + all_params = ['name', 'namespace', 'body', 'pretty', 'grace_period_seconds', 'orphan_dependents', 'propagation_policy'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -14910,24 +12975,24 @@ def delete_namespaced_template_with_http_info(self, name, namespace, body, **kwa if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method delete_namespaced_template" % key + " to method delete_namespaced_role_binding" % key ) params[key] = val del params['kwargs'] # verify the required parameter 'name' is set if ('name' not in params) or (params['name'] is None): - raise ValueError("Missing the required parameter `name` when calling `delete_namespaced_template`") + raise ValueError("Missing the required parameter `name` when calling `delete_namespaced_role_binding`") # verify the required parameter 'namespace' is set if ('namespace' not in params) or (params['namespace'] is None): - raise ValueError("Missing the required parameter `namespace` when calling `delete_namespaced_template`") + raise ValueError("Missing the required parameter `namespace` when calling `delete_namespaced_role_binding`") # verify the required parameter 'body' is set if ('body' not in params) or (params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `delete_namespaced_template`") + raise ValueError("Missing the required parameter `body` when calling `delete_namespaced_role_binding`") collection_formats = {} - resource_path = '/oapi/v1/namespaces/{namespace}/templates/{name}'.replace('{format}', 'json') + resource_path = '/oapi/v1/namespaces/{namespace}/rolebindings/{name}'.replace('{format}', 'json') path_params = {} if 'name' in params: path_params['name'] = params['name'] @@ -14941,6 +13006,8 @@ def delete_namespaced_template_with_http_info(self, name, namespace, body, **kwa query_params['gracePeriodSeconds'] = params['grace_period_seconds'] if 'orphan_dependents' in params: query_params['orphanDependents'] = params['orphan_dependents'] + if 'propagation_policy' in params: + query_params['propagationPolicy'] = params['propagation_policy'] header_params = {} @@ -14959,7 +13026,7 @@ def delete_namespaced_template_with_http_info(self, name, namespace, body, **kwa select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'DELETE', path_params, @@ -14968,7 +13035,7 @@ def delete_namespaced_template_with_http_info(self, name, namespace, body, **kwa body=body_params, post_params=form_params, files=local_var_files, - response_type='UnversionedStatus', + response_type='V1Status', auth_settings=auth_settings, callback=params.get('callback'), _return_http_data_only=params.get('_return_http_data_only'), @@ -14976,59 +13043,63 @@ def delete_namespaced_template_with_http_info(self, name, namespace, body, **kwa _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def delete_net_namespace(self, name, body, **kwargs): + def delete_namespaced_role_binding_restriction(self, name, namespace, body, **kwargs): """ - delete a NetNamespace + delete a RoleBindingRestriction This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.delete_net_namespace(name, body, callback=callback_function) + >>> thread = api.delete_namespaced_role_binding_restriction(name, namespace, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) - :param str name: name of the NetNamespace (required) + :param str name: name of the RoleBindingRestriction (required) + :param str namespace: object name and auth scope, such as for teams and projects (required) :param V1DeleteOptions body: (required) :param str pretty: If 'true', then the output is pretty printed. :param int grace_period_seconds: 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. - :param bool orphan_dependents: Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. - :return: UnversionedStatus + :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. + :param str propagation_policy: Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. + :return: V1Status If the method is called asynchronously, returns the request thread. """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.delete_net_namespace_with_http_info(name, body, **kwargs) + return self.delete_namespaced_role_binding_restriction_with_http_info(name, namespace, body, **kwargs) else: - (data) = self.delete_net_namespace_with_http_info(name, body, **kwargs) + (data) = self.delete_namespaced_role_binding_restriction_with_http_info(name, namespace, body, **kwargs) return data - def delete_net_namespace_with_http_info(self, name, body, **kwargs): + def delete_namespaced_role_binding_restriction_with_http_info(self, name, namespace, body, **kwargs): """ - delete a NetNamespace + delete a RoleBindingRestriction This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.delete_net_namespace_with_http_info(name, body, callback=callback_function) + >>> thread = api.delete_namespaced_role_binding_restriction_with_http_info(name, namespace, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) - :param str name: name of the NetNamespace (required) + :param str name: name of the RoleBindingRestriction (required) + :param str namespace: object name and auth scope, such as for teams and projects (required) :param V1DeleteOptions body: (required) :param str pretty: If 'true', then the output is pretty printed. :param int grace_period_seconds: 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. - :param bool orphan_dependents: Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. - :return: UnversionedStatus + :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. + :param str propagation_policy: Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. + :return: V1Status If the method is called asynchronously, returns the request thread. """ - all_params = ['name', 'body', 'pretty', 'grace_period_seconds', 'orphan_dependents'] + all_params = ['name', 'namespace', 'body', 'pretty', 'grace_period_seconds', 'orphan_dependents', 'propagation_policy'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -15039,24 +13110,29 @@ def delete_net_namespace_with_http_info(self, name, body, **kwargs): if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method delete_net_namespace" % key + " to method delete_namespaced_role_binding_restriction" % key ) params[key] = val del params['kwargs'] # verify the required parameter 'name' is set if ('name' not in params) or (params['name'] is None): - raise ValueError("Missing the required parameter `name` when calling `delete_net_namespace`") + raise ValueError("Missing the required parameter `name` when calling `delete_namespaced_role_binding_restriction`") + # verify the required parameter 'namespace' is set + if ('namespace' not in params) or (params['namespace'] is None): + raise ValueError("Missing the required parameter `namespace` when calling `delete_namespaced_role_binding_restriction`") # verify the required parameter 'body' is set if ('body' not in params) or (params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `delete_net_namespace`") + raise ValueError("Missing the required parameter `body` when calling `delete_namespaced_role_binding_restriction`") collection_formats = {} - resource_path = '/oapi/v1/netnamespaces/{name}'.replace('{format}', 'json') + resource_path = '/oapi/v1/namespaces/{namespace}/rolebindingrestrictions/{name}'.replace('{format}', 'json') path_params = {} if 'name' in params: path_params['name'] = params['name'] + if 'namespace' in params: + path_params['namespace'] = params['namespace'] query_params = {} if 'pretty' in params: @@ -15065,6 +13141,8 @@ def delete_net_namespace_with_http_info(self, name, body, **kwargs): query_params['gracePeriodSeconds'] = params['grace_period_seconds'] if 'orphan_dependents' in params: query_params['orphanDependents'] = params['orphan_dependents'] + if 'propagation_policy' in params: + query_params['propagationPolicy'] = params['propagation_policy'] header_params = {} @@ -15083,7 +13161,7 @@ def delete_net_namespace_with_http_info(self, name, body, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'DELETE', path_params, @@ -15092,7 +13170,7 @@ def delete_net_namespace_with_http_info(self, name, body, **kwargs): body=body_params, post_params=form_params, files=local_var_files, - response_type='UnversionedStatus', + response_type='V1Status', auth_settings=auth_settings, callback=params.get('callback'), _return_http_data_only=params.get('_return_http_data_only'), @@ -15100,59 +13178,63 @@ def delete_net_namespace_with_http_info(self, name, body, **kwargs): _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def delete_o_auth_access_token(self, name, body, **kwargs): + def delete_namespaced_route(self, name, namespace, body, **kwargs): """ - delete an OAuthAccessToken + delete a Route This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.delete_o_auth_access_token(name, body, callback=callback_function) + >>> thread = api.delete_namespaced_route(name, namespace, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) - :param str name: name of the OAuthAccessToken (required) + :param str name: name of the Route (required) + :param str namespace: object name and auth scope, such as for teams and projects (required) :param V1DeleteOptions body: (required) :param str pretty: If 'true', then the output is pretty printed. :param int grace_period_seconds: 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. - :param bool orphan_dependents: Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. - :return: UnversionedStatus + :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. + :param str propagation_policy: Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. + :return: V1Status If the method is called asynchronously, returns the request thread. """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.delete_o_auth_access_token_with_http_info(name, body, **kwargs) + return self.delete_namespaced_route_with_http_info(name, namespace, body, **kwargs) else: - (data) = self.delete_o_auth_access_token_with_http_info(name, body, **kwargs) + (data) = self.delete_namespaced_route_with_http_info(name, namespace, body, **kwargs) return data - def delete_o_auth_access_token_with_http_info(self, name, body, **kwargs): + def delete_namespaced_route_with_http_info(self, name, namespace, body, **kwargs): """ - delete an OAuthAccessToken + delete a Route This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.delete_o_auth_access_token_with_http_info(name, body, callback=callback_function) + >>> thread = api.delete_namespaced_route_with_http_info(name, namespace, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) - :param str name: name of the OAuthAccessToken (required) + :param str name: name of the Route (required) + :param str namespace: object name and auth scope, such as for teams and projects (required) :param V1DeleteOptions body: (required) :param str pretty: If 'true', then the output is pretty printed. :param int grace_period_seconds: 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. - :param bool orphan_dependents: Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. - :return: UnversionedStatus + :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. + :param str propagation_policy: Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. + :return: V1Status If the method is called asynchronously, returns the request thread. """ - all_params = ['name', 'body', 'pretty', 'grace_period_seconds', 'orphan_dependents'] + all_params = ['name', 'namespace', 'body', 'pretty', 'grace_period_seconds', 'orphan_dependents', 'propagation_policy'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -15163,24 +13245,29 @@ def delete_o_auth_access_token_with_http_info(self, name, body, **kwargs): if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method delete_o_auth_access_token" % key + " to method delete_namespaced_route" % key ) params[key] = val del params['kwargs'] # verify the required parameter 'name' is set if ('name' not in params) or (params['name'] is None): - raise ValueError("Missing the required parameter `name` when calling `delete_o_auth_access_token`") + raise ValueError("Missing the required parameter `name` when calling `delete_namespaced_route`") + # verify the required parameter 'namespace' is set + if ('namespace' not in params) or (params['namespace'] is None): + raise ValueError("Missing the required parameter `namespace` when calling `delete_namespaced_route`") # verify the required parameter 'body' is set if ('body' not in params) or (params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `delete_o_auth_access_token`") + raise ValueError("Missing the required parameter `body` when calling `delete_namespaced_route`") collection_formats = {} - resource_path = '/oapi/v1/oauthaccesstokens/{name}'.replace('{format}', 'json') + resource_path = '/oapi/v1/namespaces/{namespace}/routes/{name}'.replace('{format}', 'json') path_params = {} if 'name' in params: path_params['name'] = params['name'] + if 'namespace' in params: + path_params['namespace'] = params['namespace'] query_params = {} if 'pretty' in params: @@ -15189,6 +13276,8 @@ def delete_o_auth_access_token_with_http_info(self, name, body, **kwargs): query_params['gracePeriodSeconds'] = params['grace_period_seconds'] if 'orphan_dependents' in params: query_params['orphanDependents'] = params['orphan_dependents'] + if 'propagation_policy' in params: + query_params['propagationPolicy'] = params['propagation_policy'] header_params = {} @@ -15207,7 +13296,7 @@ def delete_o_auth_access_token_with_http_info(self, name, body, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'DELETE', path_params, @@ -15216,7 +13305,7 @@ def delete_o_auth_access_token_with_http_info(self, name, body, **kwargs): body=body_params, post_params=form_params, files=local_var_files, - response_type='UnversionedStatus', + response_type='V1Status', auth_settings=auth_settings, callback=params.get('callback'), _return_http_data_only=params.get('_return_http_data_only'), @@ -15224,59 +13313,63 @@ def delete_o_auth_access_token_with_http_info(self, name, body, **kwargs): _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def delete_o_auth_authorize_token(self, name, body, **kwargs): + def delete_namespaced_template(self, name, namespace, body, **kwargs): """ - delete an OAuthAuthorizeToken + delete a Template This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.delete_o_auth_authorize_token(name, body, callback=callback_function) + >>> thread = api.delete_namespaced_template(name, namespace, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) - :param str name: name of the OAuthAuthorizeToken (required) + :param str name: name of the Template (required) + :param str namespace: object name and auth scope, such as for teams and projects (required) :param V1DeleteOptions body: (required) :param str pretty: If 'true', then the output is pretty printed. :param int grace_period_seconds: 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. - :param bool orphan_dependents: Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. - :return: UnversionedStatus + :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. + :param str propagation_policy: Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. + :return: V1Status If the method is called asynchronously, returns the request thread. """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.delete_o_auth_authorize_token_with_http_info(name, body, **kwargs) + return self.delete_namespaced_template_with_http_info(name, namespace, body, **kwargs) else: - (data) = self.delete_o_auth_authorize_token_with_http_info(name, body, **kwargs) + (data) = self.delete_namespaced_template_with_http_info(name, namespace, body, **kwargs) return data - def delete_o_auth_authorize_token_with_http_info(self, name, body, **kwargs): + def delete_namespaced_template_with_http_info(self, name, namespace, body, **kwargs): """ - delete an OAuthAuthorizeToken + delete a Template This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.delete_o_auth_authorize_token_with_http_info(name, body, callback=callback_function) + >>> thread = api.delete_namespaced_template_with_http_info(name, namespace, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) - :param str name: name of the OAuthAuthorizeToken (required) + :param str name: name of the Template (required) + :param str namespace: object name and auth scope, such as for teams and projects (required) :param V1DeleteOptions body: (required) :param str pretty: If 'true', then the output is pretty printed. :param int grace_period_seconds: 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. - :param bool orphan_dependents: Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. - :return: UnversionedStatus + :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. + :param str propagation_policy: Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. + :return: V1Status If the method is called asynchronously, returns the request thread. """ - all_params = ['name', 'body', 'pretty', 'grace_period_seconds', 'orphan_dependents'] + all_params = ['name', 'namespace', 'body', 'pretty', 'grace_period_seconds', 'orphan_dependents', 'propagation_policy'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -15287,24 +13380,29 @@ def delete_o_auth_authorize_token_with_http_info(self, name, body, **kwargs): if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method delete_o_auth_authorize_token" % key + " to method delete_namespaced_template" % key ) params[key] = val del params['kwargs'] # verify the required parameter 'name' is set if ('name' not in params) or (params['name'] is None): - raise ValueError("Missing the required parameter `name` when calling `delete_o_auth_authorize_token`") + raise ValueError("Missing the required parameter `name` when calling `delete_namespaced_template`") + # verify the required parameter 'namespace' is set + if ('namespace' not in params) or (params['namespace'] is None): + raise ValueError("Missing the required parameter `namespace` when calling `delete_namespaced_template`") # verify the required parameter 'body' is set if ('body' not in params) or (params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `delete_o_auth_authorize_token`") + raise ValueError("Missing the required parameter `body` when calling `delete_namespaced_template`") collection_formats = {} - resource_path = '/oapi/v1/oauthauthorizetokens/{name}'.replace('{format}', 'json') + resource_path = '/oapi/v1/namespaces/{namespace}/templates/{name}'.replace('{format}', 'json') path_params = {} if 'name' in params: path_params['name'] = params['name'] + if 'namespace' in params: + path_params['namespace'] = params['namespace'] query_params = {} if 'pretty' in params: @@ -15313,6 +13411,8 @@ def delete_o_auth_authorize_token_with_http_info(self, name, body, **kwargs): query_params['gracePeriodSeconds'] = params['grace_period_seconds'] if 'orphan_dependents' in params: query_params['orphanDependents'] = params['orphan_dependents'] + if 'propagation_policy' in params: + query_params['propagationPolicy'] = params['propagation_policy'] header_params = {} @@ -15331,7 +13431,7 @@ def delete_o_auth_authorize_token_with_http_info(self, name, body, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'DELETE', path_params, @@ -15340,7 +13440,7 @@ def delete_o_auth_authorize_token_with_http_info(self, name, body, **kwargs): body=body_params, post_params=form_params, files=local_var_files, - response_type='UnversionedStatus', + response_type='V1Status', auth_settings=auth_settings, callback=params.get('callback'), _return_http_data_only=params.get('_return_http_data_only'), @@ -15348,59 +13448,61 @@ def delete_o_auth_authorize_token_with_http_info(self, name, body, **kwargs): _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def delete_o_auth_client(self, name, body, **kwargs): + def delete_net_namespace(self, name, body, **kwargs): """ - delete an OAuthClient + delete a NetNamespace This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.delete_o_auth_client(name, body, callback=callback_function) + >>> thread = api.delete_net_namespace(name, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) - :param str name: name of the OAuthClient (required) + :param str name: name of the NetNamespace (required) :param V1DeleteOptions body: (required) :param str pretty: If 'true', then the output is pretty printed. :param int grace_period_seconds: 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. - :param bool orphan_dependents: Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. - :return: UnversionedStatus + :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. + :param str propagation_policy: Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. + :return: V1Status If the method is called asynchronously, returns the request thread. """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.delete_o_auth_client_with_http_info(name, body, **kwargs) + return self.delete_net_namespace_with_http_info(name, body, **kwargs) else: - (data) = self.delete_o_auth_client_with_http_info(name, body, **kwargs) + (data) = self.delete_net_namespace_with_http_info(name, body, **kwargs) return data - def delete_o_auth_client_with_http_info(self, name, body, **kwargs): + def delete_net_namespace_with_http_info(self, name, body, **kwargs): """ - delete an OAuthClient + delete a NetNamespace This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.delete_o_auth_client_with_http_info(name, body, callback=callback_function) + >>> thread = api.delete_net_namespace_with_http_info(name, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) - :param str name: name of the OAuthClient (required) + :param str name: name of the NetNamespace (required) :param V1DeleteOptions body: (required) :param str pretty: If 'true', then the output is pretty printed. :param int grace_period_seconds: 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. - :param bool orphan_dependents: Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. - :return: UnversionedStatus + :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. + :param str propagation_policy: Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. + :return: V1Status If the method is called asynchronously, returns the request thread. """ - all_params = ['name', 'body', 'pretty', 'grace_period_seconds', 'orphan_dependents'] + all_params = ['name', 'body', 'pretty', 'grace_period_seconds', 'orphan_dependents', 'propagation_policy'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -15411,21 +13513,21 @@ def delete_o_auth_client_with_http_info(self, name, body, **kwargs): if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method delete_o_auth_client" % key + " to method delete_net_namespace" % key ) params[key] = val del params['kwargs'] # verify the required parameter 'name' is set if ('name' not in params) or (params['name'] is None): - raise ValueError("Missing the required parameter `name` when calling `delete_o_auth_client`") + raise ValueError("Missing the required parameter `name` when calling `delete_net_namespace`") # verify the required parameter 'body' is set if ('body' not in params) or (params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `delete_o_auth_client`") + raise ValueError("Missing the required parameter `body` when calling `delete_net_namespace`") collection_formats = {} - resource_path = '/oapi/v1/oauthclients/{name}'.replace('{format}', 'json') + resource_path = '/oapi/v1/netnamespaces/{name}'.replace('{format}', 'json') path_params = {} if 'name' in params: path_params['name'] = params['name'] @@ -15437,6 +13539,8 @@ def delete_o_auth_client_with_http_info(self, name, body, **kwargs): query_params['gracePeriodSeconds'] = params['grace_period_seconds'] if 'orphan_dependents' in params: query_params['orphanDependents'] = params['orphan_dependents'] + if 'propagation_policy' in params: + query_params['propagationPolicy'] = params['propagation_policy'] header_params = {} @@ -15455,7 +13559,7 @@ def delete_o_auth_client_with_http_info(self, name, body, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'DELETE', path_params, @@ -15464,7 +13568,7 @@ def delete_o_auth_client_with_http_info(self, name, body, **kwargs): body=body_params, post_params=form_params, files=local_var_files, - response_type='UnversionedStatus', + response_type='V1Status', auth_settings=auth_settings, callback=params.get('callback'), _return_http_data_only=params.get('_return_http_data_only'), @@ -15472,59 +13576,61 @@ def delete_o_auth_client_with_http_info(self, name, body, **kwargs): _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def delete_o_auth_client_authorization(self, name, body, **kwargs): + def delete_o_auth_access_token(self, name, body, **kwargs): """ - delete an OAuthClientAuthorization + delete an OAuthAccessToken This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.delete_o_auth_client_authorization(name, body, callback=callback_function) + >>> thread = api.delete_o_auth_access_token(name, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) - :param str name: name of the OAuthClientAuthorization (required) + :param str name: name of the OAuthAccessToken (required) :param V1DeleteOptions body: (required) :param str pretty: If 'true', then the output is pretty printed. :param int grace_period_seconds: 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. - :param bool orphan_dependents: Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. - :return: UnversionedStatus + :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. + :param str propagation_policy: Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. + :return: V1Status If the method is called asynchronously, returns the request thread. """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.delete_o_auth_client_authorization_with_http_info(name, body, **kwargs) + return self.delete_o_auth_access_token_with_http_info(name, body, **kwargs) else: - (data) = self.delete_o_auth_client_authorization_with_http_info(name, body, **kwargs) + (data) = self.delete_o_auth_access_token_with_http_info(name, body, **kwargs) return data - def delete_o_auth_client_authorization_with_http_info(self, name, body, **kwargs): + def delete_o_auth_access_token_with_http_info(self, name, body, **kwargs): """ - delete an OAuthClientAuthorization + delete an OAuthAccessToken This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.delete_o_auth_client_authorization_with_http_info(name, body, callback=callback_function) + >>> thread = api.delete_o_auth_access_token_with_http_info(name, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) - :param str name: name of the OAuthClientAuthorization (required) + :param str name: name of the OAuthAccessToken (required) :param V1DeleteOptions body: (required) :param str pretty: If 'true', then the output is pretty printed. :param int grace_period_seconds: 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. - :param bool orphan_dependents: Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. - :return: UnversionedStatus + :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. + :param str propagation_policy: Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. + :return: V1Status If the method is called asynchronously, returns the request thread. """ - all_params = ['name', 'body', 'pretty', 'grace_period_seconds', 'orphan_dependents'] + all_params = ['name', 'body', 'pretty', 'grace_period_seconds', 'orphan_dependents', 'propagation_policy'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -15535,21 +13641,21 @@ def delete_o_auth_client_authorization_with_http_info(self, name, body, **kwargs if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method delete_o_auth_client_authorization" % key + " to method delete_o_auth_access_token" % key ) params[key] = val del params['kwargs'] # verify the required parameter 'name' is set if ('name' not in params) or (params['name'] is None): - raise ValueError("Missing the required parameter `name` when calling `delete_o_auth_client_authorization`") + raise ValueError("Missing the required parameter `name` when calling `delete_o_auth_access_token`") # verify the required parameter 'body' is set if ('body' not in params) or (params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `delete_o_auth_client_authorization`") + raise ValueError("Missing the required parameter `body` when calling `delete_o_auth_access_token`") collection_formats = {} - resource_path = '/oapi/v1/oauthclientauthorizations/{name}'.replace('{format}', 'json') + resource_path = '/oapi/v1/oauthaccesstokens/{name}'.replace('{format}', 'json') path_params = {} if 'name' in params: path_params['name'] = params['name'] @@ -15561,6 +13667,8 @@ def delete_o_auth_client_authorization_with_http_info(self, name, body, **kwargs query_params['gracePeriodSeconds'] = params['grace_period_seconds'] if 'orphan_dependents' in params: query_params['orphanDependents'] = params['orphan_dependents'] + if 'propagation_policy' in params: + query_params['propagationPolicy'] = params['propagation_policy'] header_params = {} @@ -15579,7 +13687,7 @@ def delete_o_auth_client_authorization_with_http_info(self, name, body, **kwargs select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'DELETE', path_params, @@ -15588,7 +13696,7 @@ def delete_o_auth_client_authorization_with_http_info(self, name, body, **kwargs body=body_params, post_params=form_params, files=local_var_files, - response_type='UnversionedStatus', + response_type='V1Status', auth_settings=auth_settings, callback=params.get('callback'), _return_http_data_only=params.get('_return_http_data_only'), @@ -15596,53 +13704,61 @@ def delete_o_auth_client_authorization_with_http_info(self, name, body, **kwargs _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def delete_project(self, name, **kwargs): + def delete_o_auth_authorize_token(self, name, body, **kwargs): """ - delete a Project + delete an OAuthAuthorizeToken This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.delete_project(name, callback=callback_function) + >>> thread = api.delete_o_auth_authorize_token(name, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) - :param str name: name of the Project (required) + :param str name: name of the OAuthAuthorizeToken (required) + :param V1DeleteOptions body: (required) :param str pretty: If 'true', then the output is pretty printed. - :return: UnversionedStatus + :param int grace_period_seconds: 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. + :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. + :param str propagation_policy: Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. + :return: V1Status If the method is called asynchronously, returns the request thread. """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.delete_project_with_http_info(name, **kwargs) + return self.delete_o_auth_authorize_token_with_http_info(name, body, **kwargs) else: - (data) = self.delete_project_with_http_info(name, **kwargs) + (data) = self.delete_o_auth_authorize_token_with_http_info(name, body, **kwargs) return data - def delete_project_with_http_info(self, name, **kwargs): + def delete_o_auth_authorize_token_with_http_info(self, name, body, **kwargs): """ - delete a Project + delete an OAuthAuthorizeToken This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.delete_project_with_http_info(name, callback=callback_function) + >>> thread = api.delete_o_auth_authorize_token_with_http_info(name, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) - :param str name: name of the Project (required) + :param str name: name of the OAuthAuthorizeToken (required) + :param V1DeleteOptions body: (required) :param str pretty: If 'true', then the output is pretty printed. - :return: UnversionedStatus + :param int grace_period_seconds: 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. + :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. + :param str propagation_policy: Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. + :return: V1Status If the method is called asynchronously, returns the request thread. """ - all_params = ['name', 'pretty'] + all_params = ['name', 'body', 'pretty', 'grace_period_seconds', 'orphan_dependents', 'propagation_policy'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -15653,18 +13769,21 @@ def delete_project_with_http_info(self, name, **kwargs): if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method delete_project" % key + " to method delete_o_auth_authorize_token" % key ) params[key] = val del params['kwargs'] # verify the required parameter 'name' is set if ('name' not in params) or (params['name'] is None): - raise ValueError("Missing the required parameter `name` when calling `delete_project`") + raise ValueError("Missing the required parameter `name` when calling `delete_o_auth_authorize_token`") + # verify the required parameter 'body' is set + if ('body' not in params) or (params['body'] is None): + raise ValueError("Missing the required parameter `body` when calling `delete_o_auth_authorize_token`") collection_formats = {} - resource_path = '/oapi/v1/projects/{name}'.replace('{format}', 'json') + resource_path = '/oapi/v1/oauthauthorizetokens/{name}'.replace('{format}', 'json') path_params = {} if 'name' in params: path_params['name'] = params['name'] @@ -15672,6 +13791,12 @@ def delete_project_with_http_info(self, name, **kwargs): query_params = {} if 'pretty' in params: query_params['pretty'] = params['pretty'] + if 'grace_period_seconds' in params: + query_params['gracePeriodSeconds'] = params['grace_period_seconds'] + if 'orphan_dependents' in params: + query_params['orphanDependents'] = params['orphan_dependents'] + if 'propagation_policy' in params: + query_params['propagationPolicy'] = params['propagation_policy'] header_params = {} @@ -15679,6 +13804,8 @@ def delete_project_with_http_info(self, name, **kwargs): local_var_files = {} body_params = None + if 'body' in params: + body_params = params['body'] # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) @@ -15688,7 +13815,7 @@ def delete_project_with_http_info(self, name, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'DELETE', path_params, @@ -15697,7 +13824,7 @@ def delete_project_with_http_info(self, name, **kwargs): body=body_params, post_params=form_params, files=local_var_files, - response_type='UnversionedStatus', + response_type='V1Status', auth_settings=auth_settings, callback=params.get('callback'), _return_http_data_only=params.get('_return_http_data_only'), @@ -15705,59 +13832,61 @@ def delete_project_with_http_info(self, name, **kwargs): _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def delete_user(self, name, body, **kwargs): + def delete_o_auth_client(self, name, body, **kwargs): """ - delete an User + delete an OAuthClient This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.delete_user(name, body, callback=callback_function) + >>> thread = api.delete_o_auth_client(name, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) - :param str name: name of the User (required) + :param str name: name of the OAuthClient (required) :param V1DeleteOptions body: (required) :param str pretty: If 'true', then the output is pretty printed. :param int grace_period_seconds: 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. - :param bool orphan_dependents: Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. - :return: UnversionedStatus + :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. + :param str propagation_policy: Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. + :return: V1Status If the method is called asynchronously, returns the request thread. """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.delete_user_with_http_info(name, body, **kwargs) + return self.delete_o_auth_client_with_http_info(name, body, **kwargs) else: - (data) = self.delete_user_with_http_info(name, body, **kwargs) + (data) = self.delete_o_auth_client_with_http_info(name, body, **kwargs) return data - def delete_user_with_http_info(self, name, body, **kwargs): + def delete_o_auth_client_with_http_info(self, name, body, **kwargs): """ - delete an User + delete an OAuthClient This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.delete_user_with_http_info(name, body, callback=callback_function) + >>> thread = api.delete_o_auth_client_with_http_info(name, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) - :param str name: name of the User (required) + :param str name: name of the OAuthClient (required) :param V1DeleteOptions body: (required) :param str pretty: If 'true', then the output is pretty printed. :param int grace_period_seconds: 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. - :param bool orphan_dependents: Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. - :return: UnversionedStatus + :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. + :param str propagation_policy: Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. + :return: V1Status If the method is called asynchronously, returns the request thread. """ - all_params = ['name', 'body', 'pretty', 'grace_period_seconds', 'orphan_dependents'] + all_params = ['name', 'body', 'pretty', 'grace_period_seconds', 'orphan_dependents', 'propagation_policy'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -15768,21 +13897,21 @@ def delete_user_with_http_info(self, name, body, **kwargs): if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method delete_user" % key + " to method delete_o_auth_client" % key ) params[key] = val del params['kwargs'] # verify the required parameter 'name' is set if ('name' not in params) or (params['name'] is None): - raise ValueError("Missing the required parameter `name` when calling `delete_user`") + raise ValueError("Missing the required parameter `name` when calling `delete_o_auth_client`") # verify the required parameter 'body' is set if ('body' not in params) or (params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `delete_user`") + raise ValueError("Missing the required parameter `body` when calling `delete_o_auth_client`") collection_formats = {} - resource_path = '/oapi/v1/users/{name}'.replace('{format}', 'json') + resource_path = '/oapi/v1/oauthclients/{name}'.replace('{format}', 'json') path_params = {} if 'name' in params: path_params['name'] = params['name'] @@ -15794,6 +13923,8 @@ def delete_user_with_http_info(self, name, body, **kwargs): query_params['gracePeriodSeconds'] = params['grace_period_seconds'] if 'orphan_dependents' in params: query_params['orphanDependents'] = params['orphan_dependents'] + if 'propagation_policy' in params: + query_params['propagationPolicy'] = params['propagation_policy'] header_params = {} @@ -15812,7 +13943,7 @@ def delete_user_with_http_info(self, name, body, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'DELETE', path_params, @@ -15821,7 +13952,7 @@ def delete_user_with_http_info(self, name, body, **kwargs): body=body_params, post_params=form_params, files=local_var_files, - response_type='UnversionedStatus', + response_type='V1Status', auth_settings=auth_settings, callback=params.get('callback'), _return_http_data_only=params.get('_return_http_data_only'), @@ -15829,53 +13960,61 @@ def delete_user_with_http_info(self, name, body, **kwargs): _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def delete_user_identity_mapping(self, name, **kwargs): + def delete_o_auth_client_authorization(self, name, body, **kwargs): """ - delete an UserIdentityMapping + delete an OAuthClientAuthorization This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.delete_user_identity_mapping(name, callback=callback_function) + >>> thread = api.delete_o_auth_client_authorization(name, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) - :param str name: name of the UserIdentityMapping (required) + :param str name: name of the OAuthClientAuthorization (required) + :param V1DeleteOptions body: (required) :param str pretty: If 'true', then the output is pretty printed. - :return: UnversionedStatus + :param int grace_period_seconds: 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. + :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. + :param str propagation_policy: Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. + :return: V1Status If the method is called asynchronously, returns the request thread. """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.delete_user_identity_mapping_with_http_info(name, **kwargs) + return self.delete_o_auth_client_authorization_with_http_info(name, body, **kwargs) else: - (data) = self.delete_user_identity_mapping_with_http_info(name, **kwargs) + (data) = self.delete_o_auth_client_authorization_with_http_info(name, body, **kwargs) return data - def delete_user_identity_mapping_with_http_info(self, name, **kwargs): + def delete_o_auth_client_authorization_with_http_info(self, name, body, **kwargs): """ - delete an UserIdentityMapping + delete an OAuthClientAuthorization This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.delete_user_identity_mapping_with_http_info(name, callback=callback_function) + >>> thread = api.delete_o_auth_client_authorization_with_http_info(name, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) - :param str name: name of the UserIdentityMapping (required) + :param str name: name of the OAuthClientAuthorization (required) + :param V1DeleteOptions body: (required) :param str pretty: If 'true', then the output is pretty printed. - :return: UnversionedStatus + :param int grace_period_seconds: 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. + :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. + :param str propagation_policy: Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. + :return: V1Status If the method is called asynchronously, returns the request thread. """ - all_params = ['name', 'pretty'] + all_params = ['name', 'body', 'pretty', 'grace_period_seconds', 'orphan_dependents', 'propagation_policy'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -15886,18 +14025,21 @@ def delete_user_identity_mapping_with_http_info(self, name, **kwargs): if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method delete_user_identity_mapping" % key + " to method delete_o_auth_client_authorization" % key ) params[key] = val del params['kwargs'] # verify the required parameter 'name' is set if ('name' not in params) or (params['name'] is None): - raise ValueError("Missing the required parameter `name` when calling `delete_user_identity_mapping`") + raise ValueError("Missing the required parameter `name` when calling `delete_o_auth_client_authorization`") + # verify the required parameter 'body' is set + if ('body' not in params) or (params['body'] is None): + raise ValueError("Missing the required parameter `body` when calling `delete_o_auth_client_authorization`") collection_formats = {} - resource_path = '/oapi/v1/useridentitymappings/{name}'.replace('{format}', 'json') + resource_path = '/oapi/v1/oauthclientauthorizations/{name}'.replace('{format}', 'json') path_params = {} if 'name' in params: path_params['name'] = params['name'] @@ -15905,6 +14047,12 @@ def delete_user_identity_mapping_with_http_info(self, name, **kwargs): query_params = {} if 'pretty' in params: query_params['pretty'] = params['pretty'] + if 'grace_period_seconds' in params: + query_params['gracePeriodSeconds'] = params['grace_period_seconds'] + if 'orphan_dependents' in params: + query_params['orphanDependents'] = params['orphan_dependents'] + if 'propagation_policy' in params: + query_params['propagationPolicy'] = params['propagation_policy'] header_params = {} @@ -15912,6 +14060,8 @@ def delete_user_identity_mapping_with_http_info(self, name, **kwargs): local_var_files = {} body_params = None + if 'body' in params: + body_params = params['body'] # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) @@ -15921,7 +14071,7 @@ def delete_user_identity_mapping_with_http_info(self, name, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'DELETE', path_params, @@ -15930,7 +14080,7 @@ def delete_user_identity_mapping_with_http_info(self, name, **kwargs): body=body_params, post_params=form_params, files=local_var_files, - response_type='UnversionedStatus', + response_type='V1Status', auth_settings=auth_settings, callback=params.get('callback'), _return_http_data_only=params.get('_return_http_data_only'), @@ -15938,55 +14088,53 @@ def delete_user_identity_mapping_with_http_info(self, name, **kwargs): _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def generate_namespaced_deployment_config(self, name, namespace, **kwargs): + def delete_project(self, name, **kwargs): """ - read the specified DeploymentConfig + delete a Project This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.generate_namespaced_deployment_config(name, namespace, callback=callback_function) + >>> thread = api.delete_project(name, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) - :param str name: name of the DeploymentConfig (required) - :param str namespace: object name and auth scope, such as for teams and projects (required) + :param str name: name of the Project (required) :param str pretty: If 'true', then the output is pretty printed. - :return: V1DeploymentConfig + :return: V1Status If the method is called asynchronously, returns the request thread. """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.generate_namespaced_deployment_config_with_http_info(name, namespace, **kwargs) + return self.delete_project_with_http_info(name, **kwargs) else: - (data) = self.generate_namespaced_deployment_config_with_http_info(name, namespace, **kwargs) + (data) = self.delete_project_with_http_info(name, **kwargs) return data - def generate_namespaced_deployment_config_with_http_info(self, name, namespace, **kwargs): + def delete_project_with_http_info(self, name, **kwargs): """ - read the specified DeploymentConfig + delete a Project This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.generate_namespaced_deployment_config_with_http_info(name, namespace, callback=callback_function) + >>> thread = api.delete_project_with_http_info(name, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) - :param str name: name of the DeploymentConfig (required) - :param str namespace: object name and auth scope, such as for teams and projects (required) + :param str name: name of the Project (required) :param str pretty: If 'true', then the output is pretty printed. - :return: V1DeploymentConfig + :return: V1Status If the method is called asynchronously, returns the request thread. """ - all_params = ['name', 'namespace', 'pretty'] + all_params = ['name', 'pretty'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -15997,26 +14145,21 @@ def generate_namespaced_deployment_config_with_http_info(self, name, namespace, if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method generate_namespaced_deployment_config" % key + " to method delete_project" % key ) params[key] = val del params['kwargs'] # verify the required parameter 'name' is set if ('name' not in params) or (params['name'] is None): - raise ValueError("Missing the required parameter `name` when calling `generate_namespaced_deployment_config`") - # verify the required parameter 'namespace' is set - if ('namespace' not in params) or (params['namespace'] is None): - raise ValueError("Missing the required parameter `namespace` when calling `generate_namespaced_deployment_config`") + raise ValueError("Missing the required parameter `name` when calling `delete_project`") collection_formats = {} - resource_path = '/oapi/v1/namespaces/{namespace}/generatedeploymentconfigs/{name}'.replace('{format}', 'json') + resource_path = '/oapi/v1/projects/{name}'.replace('{format}', 'json') path_params = {} if 'name' in params: path_params['name'] = params['name'] - if 'namespace' in params: - path_params['namespace'] = params['namespace'] query_params = {} if 'pretty' in params: @@ -16037,16 +14180,16 @@ def generate_namespaced_deployment_config_with_http_info(self, name, namespace, select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] - return self.api_client.call_api(resource_path, 'GET', + return self.api_client.call_api(resource_path, 'DELETE', path_params, query_params, header_params, body=body_params, post_params=form_params, files=local_var_files, - response_type='V1DeploymentConfig', + response_type='V1Status', auth_settings=auth_settings, callback=params.get('callback'), _return_http_data_only=params.get('_return_http_data_only'), @@ -16054,49 +14197,61 @@ def generate_namespaced_deployment_config_with_http_info(self, name, namespace, _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def get_api_resources(self, **kwargs): + def delete_user(self, name, body, **kwargs): """ - get available resources + delete an User This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.get_api_resources(callback=callback_function) + >>> thread = api.delete_user(name, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) - :return: UnversionedAPIResourceList + :param str name: name of the User (required) + :param V1DeleteOptions body: (required) + :param str pretty: If 'true', then the output is pretty printed. + :param int grace_period_seconds: 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. + :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. + :param str propagation_policy: Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. + :return: V1Status If the method is called asynchronously, returns the request thread. """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.get_api_resources_with_http_info(**kwargs) + return self.delete_user_with_http_info(name, body, **kwargs) else: - (data) = self.get_api_resources_with_http_info(**kwargs) + (data) = self.delete_user_with_http_info(name, body, **kwargs) return data - def get_api_resources_with_http_info(self, **kwargs): + def delete_user_with_http_info(self, name, body, **kwargs): """ - get available resources + delete an User This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.get_api_resources_with_http_info(callback=callback_function) + >>> thread = api.delete_user_with_http_info(name, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) - :return: UnversionedAPIResourceList + :param str name: name of the User (required) + :param V1DeleteOptions body: (required) + :param str pretty: If 'true', then the output is pretty printed. + :param int grace_period_seconds: 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. + :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. + :param str propagation_policy: Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. + :return: V1Status If the method is called asynchronously, returns the request thread. """ - all_params = [] + all_params = ['name', 'body', 'pretty', 'grace_period_seconds', 'orphan_dependents', 'propagation_policy'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -16107,17 +14262,34 @@ def get_api_resources_with_http_info(self, **kwargs): if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method get_api_resources" % key + " to method delete_user" % key ) params[key] = val del params['kwargs'] + # verify the required parameter 'name' is set + if ('name' not in params) or (params['name'] is None): + raise ValueError("Missing the required parameter `name` when calling `delete_user`") + # verify the required parameter 'body' is set + if ('body' not in params) or (params['body'] is None): + raise ValueError("Missing the required parameter `body` when calling `delete_user`") + collection_formats = {} - resource_path = '/oapi/v1/'.replace('{format}', 'json') + resource_path = '/oapi/v1/users/{name}'.replace('{format}', 'json') path_params = {} + if 'name' in params: + path_params['name'] = params['name'] query_params = {} + if 'pretty' in params: + query_params['pretty'] = params['pretty'] + if 'grace_period_seconds' in params: + query_params['gracePeriodSeconds'] = params['grace_period_seconds'] + if 'orphan_dependents' in params: + query_params['orphanDependents'] = params['orphan_dependents'] + if 'propagation_policy' in params: + query_params['propagationPolicy'] = params['propagation_policy'] header_params = {} @@ -16125,25 +14297,27 @@ def get_api_resources_with_http_info(self, **kwargs): local_var_files = {} body_params = None + if 'body' in params: + body_params = params['body'] # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ - select_header_content_type(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) + select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] - return self.api_client.call_api(resource_path, 'GET', + return self.api_client.call_api(resource_path, 'DELETE', path_params, query_params, header_params, body=body_params, post_params=form_params, files=local_var_files, - response_type='UnversionedAPIResourceList', + response_type='V1Status', auth_settings=auth_settings, callback=params.get('callback'), _return_http_data_only=params.get('_return_http_data_only'), @@ -16151,49 +14325,53 @@ def get_api_resources_with_http_info(self, **kwargs): _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def get_oapi_version(self, **kwargs): + def delete_user_identity_mapping(self, name, **kwargs): """ - list supported server API versions + delete an UserIdentityMapping This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.get_oapi_version(callback=callback_function) + >>> thread = api.delete_user_identity_mapping(name, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) - :return: None + :param str name: name of the UserIdentityMapping (required) + :param str pretty: If 'true', then the output is pretty printed. + :return: V1Status If the method is called asynchronously, returns the request thread. """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.get_oapi_version_with_http_info(**kwargs) + return self.delete_user_identity_mapping_with_http_info(name, **kwargs) else: - (data) = self.get_oapi_version_with_http_info(**kwargs) + (data) = self.delete_user_identity_mapping_with_http_info(name, **kwargs) return data - def get_oapi_version_with_http_info(self, **kwargs): + def delete_user_identity_mapping_with_http_info(self, name, **kwargs): """ - list supported server API versions + delete an UserIdentityMapping This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.get_oapi_version_with_http_info(callback=callback_function) + >>> thread = api.delete_user_identity_mapping_with_http_info(name, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) - :return: None + :param str name: name of the UserIdentityMapping (required) + :param str pretty: If 'true', then the output is pretty printed. + :return: V1Status If the method is called asynchronously, returns the request thread. """ - all_params = [] + all_params = ['name', 'pretty'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -16204,17 +14382,25 @@ def get_oapi_version_with_http_info(self, **kwargs): if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method get_oapi_version" % key + " to method delete_user_identity_mapping" % key ) params[key] = val del params['kwargs'] + # verify the required parameter 'name' is set + if ('name' not in params) or (params['name'] is None): + raise ValueError("Missing the required parameter `name` when calling `delete_user_identity_mapping`") + collection_formats = {} - resource_path = '/oapi/'.replace('{format}', 'json') + resource_path = '/oapi/v1/useridentitymappings/{name}'.replace('{format}', 'json') path_params = {} + if 'name' in params: + path_params['name'] = params['name'] query_params = {} + if 'pretty' in params: + query_params['pretty'] = params['pretty'] header_params = {} @@ -16224,23 +14410,23 @@ def get_oapi_version_with_http_info(self, **kwargs): body_params = None # HTTP header `Accept` header_params['Accept'] = self.api_client.\ - select_header_accept(['application/json']) + select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ - select_header_content_type(['application/json']) + select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] - return self.api_client.call_api(resource_path, 'GET', + return self.api_client.call_api(resource_path, 'DELETE', path_params, query_params, header_params, body=body_params, post_params=form_params, files=local_var_files, - response_type=None, + response_type='V1Status', auth_settings=auth_settings, callback=params.get('callback'), _return_http_data_only=params.get('_return_http_data_only'), @@ -16248,61 +14434,49 @@ def get_oapi_version_with_http_info(self, **kwargs): _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def list_applied_cluster_resource_quota_for_all_namespaces(self, **kwargs): + def get_api_resources(self, **kwargs): """ - list objects of kind AppliedClusterResourceQuota + get available resources This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.list_applied_cluster_resource_quota_for_all_namespaces(callback=callback_function) + >>> thread = api.get_api_resources(callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) - :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. - :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. - :param str pretty: If 'true', then the output is pretty printed. - :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. - :param int timeout_seconds: Timeout for the list/watch call. - :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - :return: V1AppliedClusterResourceQuotaList + :return: V1APIResourceList If the method is called asynchronously, returns the request thread. """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.list_applied_cluster_resource_quota_for_all_namespaces_with_http_info(**kwargs) + return self.get_api_resources_with_http_info(**kwargs) else: - (data) = self.list_applied_cluster_resource_quota_for_all_namespaces_with_http_info(**kwargs) + (data) = self.get_api_resources_with_http_info(**kwargs) return data - def list_applied_cluster_resource_quota_for_all_namespaces_with_http_info(self, **kwargs): + def get_api_resources_with_http_info(self, **kwargs): """ - list objects of kind AppliedClusterResourceQuota + get available resources This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.list_applied_cluster_resource_quota_for_all_namespaces_with_http_info(callback=callback_function) + >>> thread = api.get_api_resources_with_http_info(callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) - :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. - :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. - :param str pretty: If 'true', then the output is pretty printed. - :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. - :param int timeout_seconds: Timeout for the list/watch call. - :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - :return: V1AppliedClusterResourceQuotaList + :return: V1APIResourceList If the method is called asynchronously, returns the request thread. """ - all_params = ['field_selector', 'label_selector', 'pretty', 'resource_version', 'timeout_seconds', 'watch'] + all_params = [] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -16313,30 +14487,17 @@ def list_applied_cluster_resource_quota_for_all_namespaces_with_http_info(self, if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method list_applied_cluster_resource_quota_for_all_namespaces" % key + " to method get_api_resources" % key ) params[key] = val del params['kwargs'] - collection_formats = {} - resource_path = '/oapi/v1/appliedclusterresourcequotas'.replace('{format}', 'json') + resource_path = '/oapi/v1/'.replace('{format}', 'json') path_params = {} query_params = {} - if 'field_selector' in params: - query_params['fieldSelector'] = params['field_selector'] - if 'label_selector' in params: - query_params['labelSelector'] = params['label_selector'] - if 'pretty' in params: - query_params['pretty'] = params['pretty'] - if 'resource_version' in params: - query_params['resourceVersion'] = params['resource_version'] - if 'timeout_seconds' in params: - query_params['timeoutSeconds'] = params['timeout_seconds'] - if 'watch' in params: - query_params['watch'] = params['watch'] header_params = {} @@ -16346,14 +14507,14 @@ def list_applied_cluster_resource_quota_for_all_namespaces_with_http_info(self, body_params = None # HTTP header `Accept` header_params['Accept'] = self.api_client.\ - select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/json;stream=watch', 'application/vnd.kubernetes.protobuf;stream=watch']) + select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ - select_header_content_type(['*/*']) + select_header_content_type(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -16362,7 +14523,7 @@ def list_applied_cluster_resource_quota_for_all_namespaces_with_http_info(self, body=body_params, post_params=form_params, files=local_var_files, - response_type='V1AppliedClusterResourceQuotaList', + response_type='V1APIResourceList', auth_settings=auth_settings, callback=params.get('callback'), _return_http_data_only=params.get('_return_http_data_only'), @@ -16370,61 +14531,49 @@ def list_applied_cluster_resource_quota_for_all_namespaces_with_http_info(self, _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def list_build_config_for_all_namespaces(self, **kwargs): + def get_legacy_api_versions(self, **kwargs): """ - list or watch objects of kind BuildConfig + get available API versions This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.list_build_config_for_all_namespaces(callback=callback_function) + >>> thread = api.get_legacy_api_versions(callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) - :param str pretty: If 'true', then the output is pretty printed. - :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. - :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. - :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. - :param int timeout_seconds: Timeout for the list/watch call. - :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - :return: V1BuildConfigList + :return: V1APIVersions If the method is called asynchronously, returns the request thread. """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.list_build_config_for_all_namespaces_with_http_info(**kwargs) + return self.get_legacy_api_versions_with_http_info(**kwargs) else: - (data) = self.list_build_config_for_all_namespaces_with_http_info(**kwargs) + (data) = self.get_legacy_api_versions_with_http_info(**kwargs) return data - def list_build_config_for_all_namespaces_with_http_info(self, **kwargs): + def get_legacy_api_versions_with_http_info(self, **kwargs): """ - list or watch objects of kind BuildConfig + get available API versions This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.list_build_config_for_all_namespaces_with_http_info(callback=callback_function) + >>> thread = api.get_legacy_api_versions_with_http_info(callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) - :param str pretty: If 'true', then the output is pretty printed. - :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. - :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. - :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. - :param int timeout_seconds: Timeout for the list/watch call. - :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - :return: V1BuildConfigList + :return: V1APIVersions If the method is called asynchronously, returns the request thread. """ - all_params = ['pretty', 'field_selector', 'label_selector', 'resource_version', 'timeout_seconds', 'watch'] + all_params = [] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -16435,30 +14584,17 @@ def list_build_config_for_all_namespaces_with_http_info(self, **kwargs): if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method list_build_config_for_all_namespaces" % key + " to method get_legacy_api_versions" % key ) params[key] = val del params['kwargs'] - collection_formats = {} - resource_path = '/oapi/v1/buildconfigs'.replace('{format}', 'json') + resource_path = '/oapi/'.replace('{format}', 'json') path_params = {} query_params = {} - if 'pretty' in params: - query_params['pretty'] = params['pretty'] - if 'field_selector' in params: - query_params['fieldSelector'] = params['field_selector'] - if 'label_selector' in params: - query_params['labelSelector'] = params['label_selector'] - if 'resource_version' in params: - query_params['resourceVersion'] = params['resource_version'] - if 'timeout_seconds' in params: - query_params['timeoutSeconds'] = params['timeout_seconds'] - if 'watch' in params: - query_params['watch'] = params['watch'] header_params = {} @@ -16468,14 +14604,14 @@ def list_build_config_for_all_namespaces_with_http_info(self, **kwargs): body_params = None # HTTP header `Accept` header_params['Accept'] = self.api_client.\ - select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/json;stream=watch', 'application/vnd.kubernetes.protobuf;stream=watch']) + select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ - select_header_content_type(['*/*']) + select_header_content_type(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -16484,7 +14620,7 @@ def list_build_config_for_all_namespaces_with_http_info(self, **kwargs): body=body_params, post_params=form_params, files=local_var_files, - response_type='V1BuildConfigList', + response_type='V1APIVersions', auth_settings=auth_settings, callback=params.get('callback'), _return_http_data_only=params.get('_return_http_data_only'), @@ -16492,61 +14628,63 @@ def list_build_config_for_all_namespaces_with_http_info(self, **kwargs): _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def list_build_for_all_namespaces(self, **kwargs): + def list_applied_cluster_resource_quota_for_all_namespaces(self, **kwargs): """ - list or watch objects of kind Build + list objects of kind AppliedClusterResourceQuota This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.list_build_for_all_namespaces(callback=callback_function) + >>> thread = api.list_applied_cluster_resource_quota_for_all_namespaces(callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) - :param str pretty: If 'true', then the output is pretty printed. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param bool include_uninitialized: If true, partially initialized resources are included in the response. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. - :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. + :param str pretty: If 'true', then the output is pretty printed. + :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. :param int timeout_seconds: Timeout for the list/watch call. :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - :return: V1BuildList + :return: V1AppliedClusterResourceQuotaList If the method is called asynchronously, returns the request thread. """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.list_build_for_all_namespaces_with_http_info(**kwargs) + return self.list_applied_cluster_resource_quota_for_all_namespaces_with_http_info(**kwargs) else: - (data) = self.list_build_for_all_namespaces_with_http_info(**kwargs) + (data) = self.list_applied_cluster_resource_quota_for_all_namespaces_with_http_info(**kwargs) return data - def list_build_for_all_namespaces_with_http_info(self, **kwargs): + def list_applied_cluster_resource_quota_for_all_namespaces_with_http_info(self, **kwargs): """ - list or watch objects of kind Build + list objects of kind AppliedClusterResourceQuota This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.list_build_for_all_namespaces_with_http_info(callback=callback_function) + >>> thread = api.list_applied_cluster_resource_quota_for_all_namespaces_with_http_info(callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) - :param str pretty: If 'true', then the output is pretty printed. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param bool include_uninitialized: If true, partially initialized resources are included in the response. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. - :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. + :param str pretty: If 'true', then the output is pretty printed. + :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. :param int timeout_seconds: Timeout for the list/watch call. :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - :return: V1BuildList + :return: V1AppliedClusterResourceQuotaList If the method is called asynchronously, returns the request thread. """ - all_params = ['pretty', 'field_selector', 'label_selector', 'resource_version', 'timeout_seconds', 'watch'] + all_params = ['field_selector', 'include_uninitialized', 'label_selector', 'pretty', 'resource_version', 'timeout_seconds', 'watch'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -16557,7 +14695,7 @@ def list_build_for_all_namespaces_with_http_info(self, **kwargs): if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method list_build_for_all_namespaces" % key + " to method list_applied_cluster_resource_quota_for_all_namespaces" % key ) params[key] = val del params['kwargs'] @@ -16565,16 +14703,18 @@ def list_build_for_all_namespaces_with_http_info(self, **kwargs): collection_formats = {} - resource_path = '/oapi/v1/builds'.replace('{format}', 'json') + resource_path = '/oapi/v1/appliedclusterresourcequotas'.replace('{format}', 'json') path_params = {} query_params = {} - if 'pretty' in params: - query_params['pretty'] = params['pretty'] if 'field_selector' in params: query_params['fieldSelector'] = params['field_selector'] + if 'include_uninitialized' in params: + query_params['includeUninitialized'] = params['include_uninitialized'] if 'label_selector' in params: query_params['labelSelector'] = params['label_selector'] + if 'pretty' in params: + query_params['pretty'] = params['pretty'] if 'resource_version' in params: query_params['resourceVersion'] = params['resource_version'] if 'timeout_seconds' in params: @@ -16597,7 +14737,7 @@ def list_build_for_all_namespaces_with_http_info(self, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -16606,7 +14746,7 @@ def list_build_for_all_namespaces_with_http_info(self, **kwargs): body=body_params, post_params=form_params, files=local_var_files, - response_type='V1BuildList', + response_type='V1AppliedClusterResourceQuotaList', auth_settings=auth_settings, callback=params.get('callback'), _return_http_data_only=params.get('_return_http_data_only'), @@ -16614,61 +14754,63 @@ def list_build_for_all_namespaces_with_http_info(self, **kwargs): _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def list_cluster_network(self, **kwargs): + def list_build_config_for_all_namespaces(self, **kwargs): """ - list or watch objects of kind ClusterNetwork + list or watch objects of kind BuildConfig This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.list_cluster_network(callback=callback_function) + >>> thread = api.list_build_config_for_all_namespaces(callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param str pretty: If 'true', then the output is pretty printed. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param bool include_uninitialized: If true, partially initialized resources are included in the response. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. - :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. + :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. :param int timeout_seconds: Timeout for the list/watch call. :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - :return: V1ClusterNetworkList + :return: V1BuildConfigList If the method is called asynchronously, returns the request thread. """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.list_cluster_network_with_http_info(**kwargs) + return self.list_build_config_for_all_namespaces_with_http_info(**kwargs) else: - (data) = self.list_cluster_network_with_http_info(**kwargs) + (data) = self.list_build_config_for_all_namespaces_with_http_info(**kwargs) return data - def list_cluster_network_with_http_info(self, **kwargs): + def list_build_config_for_all_namespaces_with_http_info(self, **kwargs): """ - list or watch objects of kind ClusterNetwork + list or watch objects of kind BuildConfig This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.list_cluster_network_with_http_info(callback=callback_function) + >>> thread = api.list_build_config_for_all_namespaces_with_http_info(callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param str pretty: If 'true', then the output is pretty printed. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param bool include_uninitialized: If true, partially initialized resources are included in the response. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. - :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. + :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. :param int timeout_seconds: Timeout for the list/watch call. :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - :return: V1ClusterNetworkList + :return: V1BuildConfigList If the method is called asynchronously, returns the request thread. """ - all_params = ['pretty', 'field_selector', 'label_selector', 'resource_version', 'timeout_seconds', 'watch'] + all_params = ['pretty', 'field_selector', 'include_uninitialized', 'label_selector', 'resource_version', 'timeout_seconds', 'watch'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -16679,7 +14821,7 @@ def list_cluster_network_with_http_info(self, **kwargs): if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method list_cluster_network" % key + " to method list_build_config_for_all_namespaces" % key ) params[key] = val del params['kwargs'] @@ -16687,7 +14829,7 @@ def list_cluster_network_with_http_info(self, **kwargs): collection_formats = {} - resource_path = '/oapi/v1/clusternetworks'.replace('{format}', 'json') + resource_path = '/oapi/v1/buildconfigs'.replace('{format}', 'json') path_params = {} query_params = {} @@ -16695,6 +14837,8 @@ def list_cluster_network_with_http_info(self, **kwargs): query_params['pretty'] = params['pretty'] if 'field_selector' in params: query_params['fieldSelector'] = params['field_selector'] + if 'include_uninitialized' in params: + query_params['includeUninitialized'] = params['include_uninitialized'] if 'label_selector' in params: query_params['labelSelector'] = params['label_selector'] if 'resource_version' in params: @@ -16719,7 +14863,7 @@ def list_cluster_network_with_http_info(self, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -16728,7 +14872,7 @@ def list_cluster_network_with_http_info(self, **kwargs): body=body_params, post_params=form_params, files=local_var_files, - response_type='V1ClusterNetworkList', + response_type='V1BuildConfigList', auth_settings=auth_settings, callback=params.get('callback'), _return_http_data_only=params.get('_return_http_data_only'), @@ -16736,61 +14880,63 @@ def list_cluster_network_with_http_info(self, **kwargs): _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def list_cluster_policy(self, **kwargs): + def list_build_for_all_namespaces(self, **kwargs): """ - list or watch objects of kind ClusterPolicy + list or watch objects of kind Build This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.list_cluster_policy(callback=callback_function) + >>> thread = api.list_build_for_all_namespaces(callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param str pretty: If 'true', then the output is pretty printed. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param bool include_uninitialized: If true, partially initialized resources are included in the response. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. - :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. + :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. :param int timeout_seconds: Timeout for the list/watch call. :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - :return: V1ClusterPolicyList + :return: V1BuildList If the method is called asynchronously, returns the request thread. """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.list_cluster_policy_with_http_info(**kwargs) + return self.list_build_for_all_namespaces_with_http_info(**kwargs) else: - (data) = self.list_cluster_policy_with_http_info(**kwargs) + (data) = self.list_build_for_all_namespaces_with_http_info(**kwargs) return data - def list_cluster_policy_with_http_info(self, **kwargs): + def list_build_for_all_namespaces_with_http_info(self, **kwargs): """ - list or watch objects of kind ClusterPolicy + list or watch objects of kind Build This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.list_cluster_policy_with_http_info(callback=callback_function) + >>> thread = api.list_build_for_all_namespaces_with_http_info(callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param str pretty: If 'true', then the output is pretty printed. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param bool include_uninitialized: If true, partially initialized resources are included in the response. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. - :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. + :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. :param int timeout_seconds: Timeout for the list/watch call. :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - :return: V1ClusterPolicyList + :return: V1BuildList If the method is called asynchronously, returns the request thread. """ - all_params = ['pretty', 'field_selector', 'label_selector', 'resource_version', 'timeout_seconds', 'watch'] + all_params = ['pretty', 'field_selector', 'include_uninitialized', 'label_selector', 'resource_version', 'timeout_seconds', 'watch'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -16801,7 +14947,7 @@ def list_cluster_policy_with_http_info(self, **kwargs): if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method list_cluster_policy" % key + " to method list_build_for_all_namespaces" % key ) params[key] = val del params['kwargs'] @@ -16809,7 +14955,7 @@ def list_cluster_policy_with_http_info(self, **kwargs): collection_formats = {} - resource_path = '/oapi/v1/clusterpolicies'.replace('{format}', 'json') + resource_path = '/oapi/v1/builds'.replace('{format}', 'json') path_params = {} query_params = {} @@ -16817,6 +14963,8 @@ def list_cluster_policy_with_http_info(self, **kwargs): query_params['pretty'] = params['pretty'] if 'field_selector' in params: query_params['fieldSelector'] = params['field_selector'] + if 'include_uninitialized' in params: + query_params['includeUninitialized'] = params['include_uninitialized'] if 'label_selector' in params: query_params['labelSelector'] = params['label_selector'] if 'resource_version' in params: @@ -16841,7 +14989,7 @@ def list_cluster_policy_with_http_info(self, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -16850,7 +14998,7 @@ def list_cluster_policy_with_http_info(self, **kwargs): body=body_params, post_params=form_params, files=local_var_files, - response_type='V1ClusterPolicyList', + response_type='V1BuildList', auth_settings=auth_settings, callback=params.get('callback'), _return_http_data_only=params.get('_return_http_data_only'), @@ -16858,61 +15006,63 @@ def list_cluster_policy_with_http_info(self, **kwargs): _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def list_cluster_policy_binding(self, **kwargs): + def list_cluster_network(self, **kwargs): """ - list or watch objects of kind ClusterPolicyBinding + list or watch objects of kind ClusterNetwork This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.list_cluster_policy_binding(callback=callback_function) + >>> thread = api.list_cluster_network(callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param str pretty: If 'true', then the output is pretty printed. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param bool include_uninitialized: If true, partially initialized resources are included in the response. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. - :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. + :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. :param int timeout_seconds: Timeout for the list/watch call. :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - :return: V1ClusterPolicyBindingList + :return: V1ClusterNetworkList If the method is called asynchronously, returns the request thread. """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.list_cluster_policy_binding_with_http_info(**kwargs) + return self.list_cluster_network_with_http_info(**kwargs) else: - (data) = self.list_cluster_policy_binding_with_http_info(**kwargs) + (data) = self.list_cluster_network_with_http_info(**kwargs) return data - def list_cluster_policy_binding_with_http_info(self, **kwargs): + def list_cluster_network_with_http_info(self, **kwargs): """ - list or watch objects of kind ClusterPolicyBinding + list or watch objects of kind ClusterNetwork This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.list_cluster_policy_binding_with_http_info(callback=callback_function) + >>> thread = api.list_cluster_network_with_http_info(callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param str pretty: If 'true', then the output is pretty printed. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param bool include_uninitialized: If true, partially initialized resources are included in the response. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. - :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. + :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. :param int timeout_seconds: Timeout for the list/watch call. :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - :return: V1ClusterPolicyBindingList + :return: V1ClusterNetworkList If the method is called asynchronously, returns the request thread. """ - all_params = ['pretty', 'field_selector', 'label_selector', 'resource_version', 'timeout_seconds', 'watch'] + all_params = ['pretty', 'field_selector', 'include_uninitialized', 'label_selector', 'resource_version', 'timeout_seconds', 'watch'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -16923,7 +15073,7 @@ def list_cluster_policy_binding_with_http_info(self, **kwargs): if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method list_cluster_policy_binding" % key + " to method list_cluster_network" % key ) params[key] = val del params['kwargs'] @@ -16931,7 +15081,7 @@ def list_cluster_policy_binding_with_http_info(self, **kwargs): collection_formats = {} - resource_path = '/oapi/v1/clusterpolicybindings'.replace('{format}', 'json') + resource_path = '/oapi/v1/clusternetworks'.replace('{format}', 'json') path_params = {} query_params = {} @@ -16939,6 +15089,8 @@ def list_cluster_policy_binding_with_http_info(self, **kwargs): query_params['pretty'] = params['pretty'] if 'field_selector' in params: query_params['fieldSelector'] = params['field_selector'] + if 'include_uninitialized' in params: + query_params['includeUninitialized'] = params['include_uninitialized'] if 'label_selector' in params: query_params['labelSelector'] = params['label_selector'] if 'resource_version' in params: @@ -16963,7 +15115,7 @@ def list_cluster_policy_binding_with_http_info(self, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -16972,7 +15124,7 @@ def list_cluster_policy_binding_with_http_info(self, **kwargs): body=body_params, post_params=form_params, files=local_var_files, - response_type='V1ClusterPolicyBindingList', + response_type='V1ClusterNetworkList', auth_settings=auth_settings, callback=params.get('callback'), _return_http_data_only=params.get('_return_http_data_only'), @@ -16995,8 +15147,9 @@ def list_cluster_resource_quota(self, **kwargs): for asynchronous request. (optional) :param str pretty: If 'true', then the output is pretty printed. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param bool include_uninitialized: If true, partially initialized resources are included in the response. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. - :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. + :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. :param int timeout_seconds: Timeout for the list/watch call. :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. :return: V1ClusterResourceQuotaList @@ -17025,8 +15178,9 @@ def list_cluster_resource_quota_with_http_info(self, **kwargs): for asynchronous request. (optional) :param str pretty: If 'true', then the output is pretty printed. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param bool include_uninitialized: If true, partially initialized resources are included in the response. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. - :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. + :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. :param int timeout_seconds: Timeout for the list/watch call. :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. :return: V1ClusterResourceQuotaList @@ -17034,7 +15188,7 @@ def list_cluster_resource_quota_with_http_info(self, **kwargs): returns the request thread. """ - all_params = ['pretty', 'field_selector', 'label_selector', 'resource_version', 'timeout_seconds', 'watch'] + all_params = ['pretty', 'field_selector', 'include_uninitialized', 'label_selector', 'resource_version', 'timeout_seconds', 'watch'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -17061,6 +15215,8 @@ def list_cluster_resource_quota_with_http_info(self, **kwargs): query_params['pretty'] = params['pretty'] if 'field_selector' in params: query_params['fieldSelector'] = params['field_selector'] + if 'include_uninitialized' in params: + query_params['includeUninitialized'] = params['include_uninitialized'] if 'label_selector' in params: query_params['labelSelector'] = params['label_selector'] if 'resource_version' in params: @@ -17085,7 +15241,7 @@ def list_cluster_resource_quota_with_http_info(self, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -17117,8 +15273,9 @@ def list_cluster_role(self, **kwargs): for asynchronous request. (optional) :param str pretty: If 'true', then the output is pretty printed. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param bool include_uninitialized: If true, partially initialized resources are included in the response. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. - :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. + :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. :param int timeout_seconds: Timeout for the list/watch call. :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. :return: V1ClusterRoleList @@ -17147,8 +15304,9 @@ def list_cluster_role_with_http_info(self, **kwargs): for asynchronous request. (optional) :param str pretty: If 'true', then the output is pretty printed. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param bool include_uninitialized: If true, partially initialized resources are included in the response. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. - :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. + :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. :param int timeout_seconds: Timeout for the list/watch call. :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. :return: V1ClusterRoleList @@ -17156,7 +15314,7 @@ def list_cluster_role_with_http_info(self, **kwargs): returns the request thread. """ - all_params = ['pretty', 'field_selector', 'label_selector', 'resource_version', 'timeout_seconds', 'watch'] + all_params = ['pretty', 'field_selector', 'include_uninitialized', 'label_selector', 'resource_version', 'timeout_seconds', 'watch'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -17183,6 +15341,8 @@ def list_cluster_role_with_http_info(self, **kwargs): query_params['pretty'] = params['pretty'] if 'field_selector' in params: query_params['fieldSelector'] = params['field_selector'] + if 'include_uninitialized' in params: + query_params['includeUninitialized'] = params['include_uninitialized'] if 'label_selector' in params: query_params['labelSelector'] = params['label_selector'] if 'resource_version' in params: @@ -17207,7 +15367,7 @@ def list_cluster_role_with_http_info(self, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -17239,8 +15399,9 @@ def list_cluster_role_binding(self, **kwargs): for asynchronous request. (optional) :param str pretty: If 'true', then the output is pretty printed. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param bool include_uninitialized: If true, partially initialized resources are included in the response. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. - :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. + :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. :param int timeout_seconds: Timeout for the list/watch call. :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. :return: V1ClusterRoleBindingList @@ -17269,8 +15430,9 @@ def list_cluster_role_binding_with_http_info(self, **kwargs): for asynchronous request. (optional) :param str pretty: If 'true', then the output is pretty printed. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param bool include_uninitialized: If true, partially initialized resources are included in the response. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. - :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. + :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. :param int timeout_seconds: Timeout for the list/watch call. :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. :return: V1ClusterRoleBindingList @@ -17278,7 +15440,7 @@ def list_cluster_role_binding_with_http_info(self, **kwargs): returns the request thread. """ - all_params = ['pretty', 'field_selector', 'label_selector', 'resource_version', 'timeout_seconds', 'watch'] + all_params = ['pretty', 'field_selector', 'include_uninitialized', 'label_selector', 'resource_version', 'timeout_seconds', 'watch'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -17305,6 +15467,8 @@ def list_cluster_role_binding_with_http_info(self, **kwargs): query_params['pretty'] = params['pretty'] if 'field_selector' in params: query_params['fieldSelector'] = params['field_selector'] + if 'include_uninitialized' in params: + query_params['includeUninitialized'] = params['include_uninitialized'] if 'label_selector' in params: query_params['labelSelector'] = params['label_selector'] if 'resource_version' in params: @@ -17329,7 +15493,7 @@ def list_cluster_role_binding_with_http_info(self, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -17361,8 +15525,9 @@ def list_deployment_config_for_all_namespaces(self, **kwargs): for asynchronous request. (optional) :param str pretty: If 'true', then the output is pretty printed. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param bool include_uninitialized: If true, partially initialized resources are included in the response. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. - :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. + :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. :param int timeout_seconds: Timeout for the list/watch call. :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. :return: V1DeploymentConfigList @@ -17391,8 +15556,9 @@ def list_deployment_config_for_all_namespaces_with_http_info(self, **kwargs): for asynchronous request. (optional) :param str pretty: If 'true', then the output is pretty printed. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param bool include_uninitialized: If true, partially initialized resources are included in the response. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. - :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. + :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. :param int timeout_seconds: Timeout for the list/watch call. :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. :return: V1DeploymentConfigList @@ -17400,7 +15566,7 @@ def list_deployment_config_for_all_namespaces_with_http_info(self, **kwargs): returns the request thread. """ - all_params = ['pretty', 'field_selector', 'label_selector', 'resource_version', 'timeout_seconds', 'watch'] + all_params = ['pretty', 'field_selector', 'include_uninitialized', 'label_selector', 'resource_version', 'timeout_seconds', 'watch'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -17427,6 +15593,8 @@ def list_deployment_config_for_all_namespaces_with_http_info(self, **kwargs): query_params['pretty'] = params['pretty'] if 'field_selector' in params: query_params['fieldSelector'] = params['field_selector'] + if 'include_uninitialized' in params: + query_params['includeUninitialized'] = params['include_uninitialized'] if 'label_selector' in params: query_params['labelSelector'] = params['label_selector'] if 'resource_version' in params: @@ -17451,7 +15619,7 @@ def list_deployment_config_for_all_namespaces_with_http_info(self, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -17483,8 +15651,9 @@ def list_egress_network_policy_for_all_namespaces(self, **kwargs): for asynchronous request. (optional) :param str pretty: If 'true', then the output is pretty printed. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param bool include_uninitialized: If true, partially initialized resources are included in the response. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. - :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. + :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. :param int timeout_seconds: Timeout for the list/watch call. :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. :return: V1EgressNetworkPolicyList @@ -17513,8 +15682,9 @@ def list_egress_network_policy_for_all_namespaces_with_http_info(self, **kwargs) for asynchronous request. (optional) :param str pretty: If 'true', then the output is pretty printed. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param bool include_uninitialized: If true, partially initialized resources are included in the response. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. - :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. + :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. :param int timeout_seconds: Timeout for the list/watch call. :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. :return: V1EgressNetworkPolicyList @@ -17522,7 +15692,7 @@ def list_egress_network_policy_for_all_namespaces_with_http_info(self, **kwargs) returns the request thread. """ - all_params = ['pretty', 'field_selector', 'label_selector', 'resource_version', 'timeout_seconds', 'watch'] + all_params = ['pretty', 'field_selector', 'include_uninitialized', 'label_selector', 'resource_version', 'timeout_seconds', 'watch'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -17549,6 +15719,8 @@ def list_egress_network_policy_for_all_namespaces_with_http_info(self, **kwargs) query_params['pretty'] = params['pretty'] if 'field_selector' in params: query_params['fieldSelector'] = params['field_selector'] + if 'include_uninitialized' in params: + query_params['includeUninitialized'] = params['include_uninitialized'] if 'label_selector' in params: query_params['labelSelector'] = params['label_selector'] if 'resource_version' in params: @@ -17573,7 +15745,7 @@ def list_egress_network_policy_for_all_namespaces_with_http_info(self, **kwargs) select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -17605,8 +15777,9 @@ def list_group(self, **kwargs): for asynchronous request. (optional) :param str pretty: If 'true', then the output is pretty printed. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param bool include_uninitialized: If true, partially initialized resources are included in the response. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. - :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. + :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. :param int timeout_seconds: Timeout for the list/watch call. :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. :return: V1GroupList @@ -17635,8 +15808,9 @@ def list_group_with_http_info(self, **kwargs): for asynchronous request. (optional) :param str pretty: If 'true', then the output is pretty printed. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param bool include_uninitialized: If true, partially initialized resources are included in the response. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. - :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. + :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. :param int timeout_seconds: Timeout for the list/watch call. :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. :return: V1GroupList @@ -17644,7 +15818,7 @@ def list_group_with_http_info(self, **kwargs): returns the request thread. """ - all_params = ['pretty', 'field_selector', 'label_selector', 'resource_version', 'timeout_seconds', 'watch'] + all_params = ['pretty', 'field_selector', 'include_uninitialized', 'label_selector', 'resource_version', 'timeout_seconds', 'watch'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -17671,6 +15845,8 @@ def list_group_with_http_info(self, **kwargs): query_params['pretty'] = params['pretty'] if 'field_selector' in params: query_params['fieldSelector'] = params['field_selector'] + if 'include_uninitialized' in params: + query_params['includeUninitialized'] = params['include_uninitialized'] if 'label_selector' in params: query_params['labelSelector'] = params['label_selector'] if 'resource_version' in params: @@ -17695,7 +15871,7 @@ def list_group_with_http_info(self, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -17727,8 +15903,9 @@ def list_host_subnet(self, **kwargs): for asynchronous request. (optional) :param str pretty: If 'true', then the output is pretty printed. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param bool include_uninitialized: If true, partially initialized resources are included in the response. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. - :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. + :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. :param int timeout_seconds: Timeout for the list/watch call. :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. :return: V1HostSubnetList @@ -17757,8 +15934,9 @@ def list_host_subnet_with_http_info(self, **kwargs): for asynchronous request. (optional) :param str pretty: If 'true', then the output is pretty printed. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param bool include_uninitialized: If true, partially initialized resources are included in the response. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. - :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. + :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. :param int timeout_seconds: Timeout for the list/watch call. :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. :return: V1HostSubnetList @@ -17766,7 +15944,7 @@ def list_host_subnet_with_http_info(self, **kwargs): returns the request thread. """ - all_params = ['pretty', 'field_selector', 'label_selector', 'resource_version', 'timeout_seconds', 'watch'] + all_params = ['pretty', 'field_selector', 'include_uninitialized', 'label_selector', 'resource_version', 'timeout_seconds', 'watch'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -17793,6 +15971,8 @@ def list_host_subnet_with_http_info(self, **kwargs): query_params['pretty'] = params['pretty'] if 'field_selector' in params: query_params['fieldSelector'] = params['field_selector'] + if 'include_uninitialized' in params: + query_params['includeUninitialized'] = params['include_uninitialized'] if 'label_selector' in params: query_params['labelSelector'] = params['label_selector'] if 'resource_version' in params: @@ -17817,7 +15997,7 @@ def list_host_subnet_with_http_info(self, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -17849,8 +16029,9 @@ def list_identity(self, **kwargs): for asynchronous request. (optional) :param str pretty: If 'true', then the output is pretty printed. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param bool include_uninitialized: If true, partially initialized resources are included in the response. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. - :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. + :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. :param int timeout_seconds: Timeout for the list/watch call. :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. :return: V1IdentityList @@ -17879,8 +16060,9 @@ def list_identity_with_http_info(self, **kwargs): for asynchronous request. (optional) :param str pretty: If 'true', then the output is pretty printed. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param bool include_uninitialized: If true, partially initialized resources are included in the response. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. - :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. + :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. :param int timeout_seconds: Timeout for the list/watch call. :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. :return: V1IdentityList @@ -17888,7 +16070,7 @@ def list_identity_with_http_info(self, **kwargs): returns the request thread. """ - all_params = ['pretty', 'field_selector', 'label_selector', 'resource_version', 'timeout_seconds', 'watch'] + all_params = ['pretty', 'field_selector', 'include_uninitialized', 'label_selector', 'resource_version', 'timeout_seconds', 'watch'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -17915,6 +16097,8 @@ def list_identity_with_http_info(self, **kwargs): query_params['pretty'] = params['pretty'] if 'field_selector' in params: query_params['fieldSelector'] = params['field_selector'] + if 'include_uninitialized' in params: + query_params['includeUninitialized'] = params['include_uninitialized'] if 'label_selector' in params: query_params['labelSelector'] = params['label_selector'] if 'resource_version' in params: @@ -17939,7 +16123,7 @@ def list_identity_with_http_info(self, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -17971,8 +16155,9 @@ def list_image(self, **kwargs): for asynchronous request. (optional) :param str pretty: If 'true', then the output is pretty printed. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param bool include_uninitialized: If true, partially initialized resources are included in the response. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. - :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. + :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. :param int timeout_seconds: Timeout for the list/watch call. :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. :return: V1ImageList @@ -18001,8 +16186,9 @@ def list_image_with_http_info(self, **kwargs): for asynchronous request. (optional) :param str pretty: If 'true', then the output is pretty printed. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param bool include_uninitialized: If true, partially initialized resources are included in the response. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. - :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. + :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. :param int timeout_seconds: Timeout for the list/watch call. :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. :return: V1ImageList @@ -18010,7 +16196,7 @@ def list_image_with_http_info(self, **kwargs): returns the request thread. """ - all_params = ['pretty', 'field_selector', 'label_selector', 'resource_version', 'timeout_seconds', 'watch'] + all_params = ['pretty', 'field_selector', 'include_uninitialized', 'label_selector', 'resource_version', 'timeout_seconds', 'watch'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -18037,6 +16223,8 @@ def list_image_with_http_info(self, **kwargs): query_params['pretty'] = params['pretty'] if 'field_selector' in params: query_params['fieldSelector'] = params['field_selector'] + if 'include_uninitialized' in params: + query_params['includeUninitialized'] = params['include_uninitialized'] if 'label_selector' in params: query_params['labelSelector'] = params['label_selector'] if 'resource_version' in params: @@ -18061,7 +16249,7 @@ def list_image_with_http_info(self, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -18093,8 +16281,9 @@ def list_image_stream_for_all_namespaces(self, **kwargs): for asynchronous request. (optional) :param str pretty: If 'true', then the output is pretty printed. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param bool include_uninitialized: If true, partially initialized resources are included in the response. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. - :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. + :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. :param int timeout_seconds: Timeout for the list/watch call. :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. :return: V1ImageStreamList @@ -18123,8 +16312,9 @@ def list_image_stream_for_all_namespaces_with_http_info(self, **kwargs): for asynchronous request. (optional) :param str pretty: If 'true', then the output is pretty printed. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param bool include_uninitialized: If true, partially initialized resources are included in the response. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. - :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. + :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. :param int timeout_seconds: Timeout for the list/watch call. :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. :return: V1ImageStreamList @@ -18132,7 +16322,7 @@ def list_image_stream_for_all_namespaces_with_http_info(self, **kwargs): returns the request thread. """ - all_params = ['pretty', 'field_selector', 'label_selector', 'resource_version', 'timeout_seconds', 'watch'] + all_params = ['pretty', 'field_selector', 'include_uninitialized', 'label_selector', 'resource_version', 'timeout_seconds', 'watch'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -18159,6 +16349,8 @@ def list_image_stream_for_all_namespaces_with_http_info(self, **kwargs): query_params['pretty'] = params['pretty'] if 'field_selector' in params: query_params['fieldSelector'] = params['field_selector'] + if 'include_uninitialized' in params: + query_params['includeUninitialized'] = params['include_uninitialized'] if 'label_selector' in params: query_params['labelSelector'] = params['label_selector'] if 'resource_version' in params: @@ -18183,7 +16375,7 @@ def list_image_stream_for_all_namespaces_with_http_info(self, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -18215,8 +16407,9 @@ def list_image_stream_tag_for_all_namespaces(self, **kwargs): for asynchronous request. (optional) :param str pretty: If 'true', then the output is pretty printed. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param bool include_uninitialized: If true, partially initialized resources are included in the response. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. - :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. + :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. :param int timeout_seconds: Timeout for the list/watch call. :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. :return: V1ImageStreamTagList @@ -18245,8 +16438,9 @@ def list_image_stream_tag_for_all_namespaces_with_http_info(self, **kwargs): for asynchronous request. (optional) :param str pretty: If 'true', then the output is pretty printed. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param bool include_uninitialized: If true, partially initialized resources are included in the response. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. - :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. + :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. :param int timeout_seconds: Timeout for the list/watch call. :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. :return: V1ImageStreamTagList @@ -18254,7 +16448,7 @@ def list_image_stream_tag_for_all_namespaces_with_http_info(self, **kwargs): returns the request thread. """ - all_params = ['pretty', 'field_selector', 'label_selector', 'resource_version', 'timeout_seconds', 'watch'] + all_params = ['pretty', 'field_selector', 'include_uninitialized', 'label_selector', 'resource_version', 'timeout_seconds', 'watch'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -18281,6 +16475,8 @@ def list_image_stream_tag_for_all_namespaces_with_http_info(self, **kwargs): query_params['pretty'] = params['pretty'] if 'field_selector' in params: query_params['fieldSelector'] = params['field_selector'] + if 'include_uninitialized' in params: + query_params['includeUninitialized'] = params['include_uninitialized'] if 'label_selector' in params: query_params['labelSelector'] = params['label_selector'] if 'resource_version' in params: @@ -18305,7 +16501,7 @@ def list_image_stream_tag_for_all_namespaces_with_http_info(self, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -18337,9 +16533,10 @@ def list_namespaced_applied_cluster_resource_quota(self, namespace, **kwargs): for asynchronous request. (optional) :param str namespace: object name and auth scope, such as for teams and projects (required) :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param bool include_uninitialized: If true, partially initialized resources are included in the response. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. :param str pretty: If 'true', then the output is pretty printed. - :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. + :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. :param int timeout_seconds: Timeout for the list/watch call. :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. :return: V1AppliedClusterResourceQuotaList @@ -18368,9 +16565,10 @@ def list_namespaced_applied_cluster_resource_quota_with_http_info(self, namespac for asynchronous request. (optional) :param str namespace: object name and auth scope, such as for teams and projects (required) :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param bool include_uninitialized: If true, partially initialized resources are included in the response. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. :param str pretty: If 'true', then the output is pretty printed. - :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. + :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. :param int timeout_seconds: Timeout for the list/watch call. :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. :return: V1AppliedClusterResourceQuotaList @@ -18378,7 +16576,7 @@ def list_namespaced_applied_cluster_resource_quota_with_http_info(self, namespac returns the request thread. """ - all_params = ['namespace', 'field_selector', 'label_selector', 'pretty', 'resource_version', 'timeout_seconds', 'watch'] + all_params = ['namespace', 'field_selector', 'include_uninitialized', 'label_selector', 'pretty', 'resource_version', 'timeout_seconds', 'watch'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -18408,6 +16606,8 @@ def list_namespaced_applied_cluster_resource_quota_with_http_info(self, namespac query_params = {} if 'field_selector' in params: query_params['fieldSelector'] = params['field_selector'] + if 'include_uninitialized' in params: + query_params['includeUninitialized'] = params['include_uninitialized'] if 'label_selector' in params: query_params['labelSelector'] = params['label_selector'] if 'pretty' in params: @@ -18434,7 +16634,7 @@ def list_namespaced_applied_cluster_resource_quota_with_http_info(self, namespac select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -18467,8 +16667,9 @@ def list_namespaced_build(self, namespace, **kwargs): :param str namespace: object name and auth scope, such as for teams and projects (required) :param str pretty: If 'true', then the output is pretty printed. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param bool include_uninitialized: If true, partially initialized resources are included in the response. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. - :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. + :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. :param int timeout_seconds: Timeout for the list/watch call. :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. :return: V1BuildList @@ -18498,8 +16699,9 @@ def list_namespaced_build_with_http_info(self, namespace, **kwargs): :param str namespace: object name and auth scope, such as for teams and projects (required) :param str pretty: If 'true', then the output is pretty printed. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param bool include_uninitialized: If true, partially initialized resources are included in the response. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. - :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. + :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. :param int timeout_seconds: Timeout for the list/watch call. :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. :return: V1BuildList @@ -18507,7 +16709,7 @@ def list_namespaced_build_with_http_info(self, namespace, **kwargs): returns the request thread. """ - all_params = ['namespace', 'pretty', 'field_selector', 'label_selector', 'resource_version', 'timeout_seconds', 'watch'] + all_params = ['namespace', 'pretty', 'field_selector', 'include_uninitialized', 'label_selector', 'resource_version', 'timeout_seconds', 'watch'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -18539,6 +16741,8 @@ def list_namespaced_build_with_http_info(self, namespace, **kwargs): query_params['pretty'] = params['pretty'] if 'field_selector' in params: query_params['fieldSelector'] = params['field_selector'] + if 'include_uninitialized' in params: + query_params['includeUninitialized'] = params['include_uninitialized'] if 'label_selector' in params: query_params['labelSelector'] = params['label_selector'] if 'resource_version' in params: @@ -18563,7 +16767,7 @@ def list_namespaced_build_with_http_info(self, namespace, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -18596,8 +16800,9 @@ def list_namespaced_build_config(self, namespace, **kwargs): :param str namespace: object name and auth scope, such as for teams and projects (required) :param str pretty: If 'true', then the output is pretty printed. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param bool include_uninitialized: If true, partially initialized resources are included in the response. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. - :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. + :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. :param int timeout_seconds: Timeout for the list/watch call. :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. :return: V1BuildConfigList @@ -18627,8 +16832,9 @@ def list_namespaced_build_config_with_http_info(self, namespace, **kwargs): :param str namespace: object name and auth scope, such as for teams and projects (required) :param str pretty: If 'true', then the output is pretty printed. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param bool include_uninitialized: If true, partially initialized resources are included in the response. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. - :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. + :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. :param int timeout_seconds: Timeout for the list/watch call. :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. :return: V1BuildConfigList @@ -18636,7 +16842,7 @@ def list_namespaced_build_config_with_http_info(self, namespace, **kwargs): returns the request thread. """ - all_params = ['namespace', 'pretty', 'field_selector', 'label_selector', 'resource_version', 'timeout_seconds', 'watch'] + all_params = ['namespace', 'pretty', 'field_selector', 'include_uninitialized', 'label_selector', 'resource_version', 'timeout_seconds', 'watch'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -18668,6 +16874,8 @@ def list_namespaced_build_config_with_http_info(self, namespace, **kwargs): query_params['pretty'] = params['pretty'] if 'field_selector' in params: query_params['fieldSelector'] = params['field_selector'] + if 'include_uninitialized' in params: + query_params['includeUninitialized'] = params['include_uninitialized'] if 'label_selector' in params: query_params['labelSelector'] = params['label_selector'] if 'resource_version' in params: @@ -18692,7 +16900,7 @@ def list_namespaced_build_config_with_http_info(self, namespace, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -18725,8 +16933,9 @@ def list_namespaced_deployment_config(self, namespace, **kwargs): :param str namespace: object name and auth scope, such as for teams and projects (required) :param str pretty: If 'true', then the output is pretty printed. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param bool include_uninitialized: If true, partially initialized resources are included in the response. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. - :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. + :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. :param int timeout_seconds: Timeout for the list/watch call. :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. :return: V1DeploymentConfigList @@ -18756,8 +16965,9 @@ def list_namespaced_deployment_config_with_http_info(self, namespace, **kwargs): :param str namespace: object name and auth scope, such as for teams and projects (required) :param str pretty: If 'true', then the output is pretty printed. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param bool include_uninitialized: If true, partially initialized resources are included in the response. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. - :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. + :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. :param int timeout_seconds: Timeout for the list/watch call. :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. :return: V1DeploymentConfigList @@ -18765,7 +16975,7 @@ def list_namespaced_deployment_config_with_http_info(self, namespace, **kwargs): returns the request thread. """ - all_params = ['namespace', 'pretty', 'field_selector', 'label_selector', 'resource_version', 'timeout_seconds', 'watch'] + all_params = ['namespace', 'pretty', 'field_selector', 'include_uninitialized', 'label_selector', 'resource_version', 'timeout_seconds', 'watch'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -18797,6 +17007,8 @@ def list_namespaced_deployment_config_with_http_info(self, namespace, **kwargs): query_params['pretty'] = params['pretty'] if 'field_selector' in params: query_params['fieldSelector'] = params['field_selector'] + if 'include_uninitialized' in params: + query_params['includeUninitialized'] = params['include_uninitialized'] if 'label_selector' in params: query_params['labelSelector'] = params['label_selector'] if 'resource_version' in params: @@ -18821,7 +17033,7 @@ def list_namespaced_deployment_config_with_http_info(self, namespace, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -18854,8 +17066,9 @@ def list_namespaced_egress_network_policy(self, namespace, **kwargs): :param str namespace: object name and auth scope, such as for teams and projects (required) :param str pretty: If 'true', then the output is pretty printed. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param bool include_uninitialized: If true, partially initialized resources are included in the response. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. - :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. + :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. :param int timeout_seconds: Timeout for the list/watch call. :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. :return: V1EgressNetworkPolicyList @@ -18885,8 +17098,9 @@ def list_namespaced_egress_network_policy_with_http_info(self, namespace, **kwar :param str namespace: object name and auth scope, such as for teams and projects (required) :param str pretty: If 'true', then the output is pretty printed. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param bool include_uninitialized: If true, partially initialized resources are included in the response. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. - :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. + :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. :param int timeout_seconds: Timeout for the list/watch call. :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. :return: V1EgressNetworkPolicyList @@ -18894,7 +17108,7 @@ def list_namespaced_egress_network_policy_with_http_info(self, namespace, **kwar returns the request thread. """ - all_params = ['namespace', 'pretty', 'field_selector', 'label_selector', 'resource_version', 'timeout_seconds', 'watch'] + all_params = ['namespace', 'pretty', 'field_selector', 'include_uninitialized', 'label_selector', 'resource_version', 'timeout_seconds', 'watch'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -18926,6 +17140,8 @@ def list_namespaced_egress_network_policy_with_http_info(self, namespace, **kwar query_params['pretty'] = params['pretty'] if 'field_selector' in params: query_params['fieldSelector'] = params['field_selector'] + if 'include_uninitialized' in params: + query_params['includeUninitialized'] = params['include_uninitialized'] if 'label_selector' in params: query_params['labelSelector'] = params['label_selector'] if 'resource_version' in params: @@ -18950,7 +17166,7 @@ def list_namespaced_egress_network_policy_with_http_info(self, namespace, **kwar select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -18983,8 +17199,9 @@ def list_namespaced_image_stream(self, namespace, **kwargs): :param str namespace: object name and auth scope, such as for teams and projects (required) :param str pretty: If 'true', then the output is pretty printed. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param bool include_uninitialized: If true, partially initialized resources are included in the response. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. - :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. + :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. :param int timeout_seconds: Timeout for the list/watch call. :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. :return: V1ImageStreamList @@ -19014,274 +17231,17 @@ def list_namespaced_image_stream_with_http_info(self, namespace, **kwargs): :param str namespace: object name and auth scope, such as for teams and projects (required) :param str pretty: If 'true', then the output is pretty printed. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param bool include_uninitialized: If true, partially initialized resources are included in the response. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. - :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. - :param int timeout_seconds: Timeout for the list/watch call. - :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - :return: V1ImageStreamList - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['namespace', 'pretty', 'field_selector', 'label_selector', 'resource_version', 'timeout_seconds', 'watch'] - all_params.append('callback') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method list_namespaced_image_stream" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'namespace' is set - if ('namespace' not in params) or (params['namespace'] is None): - raise ValueError("Missing the required parameter `namespace` when calling `list_namespaced_image_stream`") - - - collection_formats = {} - - resource_path = '/oapi/v1/namespaces/{namespace}/imagestreams'.replace('{format}', 'json') - path_params = {} - if 'namespace' in params: - path_params['namespace'] = params['namespace'] - - query_params = {} - if 'pretty' in params: - query_params['pretty'] = params['pretty'] - if 'field_selector' in params: - query_params['fieldSelector'] = params['field_selector'] - if 'label_selector' in params: - query_params['labelSelector'] = params['label_selector'] - if 'resource_version' in params: - query_params['resourceVersion'] = params['resource_version'] - if 'timeout_seconds' in params: - query_params['timeoutSeconds'] = params['timeout_seconds'] - if 'watch' in params: - query_params['watch'] = params['watch'] - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - # HTTP header `Accept` - header_params['Accept'] = self.api_client.\ - select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/json;stream=watch', 'application/vnd.kubernetes.protobuf;stream=watch']) - - # HTTP header `Content-Type` - header_params['Content-Type'] = self.api_client.\ - select_header_content_type(['*/*']) - - # Authentication setting - auth_settings = ['BearerToken'] - - return self.api_client.call_api(resource_path, 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1ImageStreamList', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def list_namespaced_image_stream_tag(self, namespace, **kwargs): - """ - list objects of kind ImageStreamTag - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please define a `callback` function - to be invoked when receiving the response. - >>> def callback_function(response): - >>> pprint(response) - >>> - >>> thread = api.list_namespaced_image_stream_tag(namespace, callback=callback_function) - - :param callback function: The callback function - for asynchronous request. (optional) - :param str namespace: object name and auth scope, such as for teams and projects (required) - :param str pretty: If 'true', then the output is pretty printed. - :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. - :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. - :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. - :param int timeout_seconds: Timeout for the list/watch call. - :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - :return: V1ImageStreamTagList - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('callback'): - return self.list_namespaced_image_stream_tag_with_http_info(namespace, **kwargs) - else: - (data) = self.list_namespaced_image_stream_tag_with_http_info(namespace, **kwargs) - return data - - def list_namespaced_image_stream_tag_with_http_info(self, namespace, **kwargs): - """ - list objects of kind ImageStreamTag - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please define a `callback` function - to be invoked when receiving the response. - >>> def callback_function(response): - >>> pprint(response) - >>> - >>> thread = api.list_namespaced_image_stream_tag_with_http_info(namespace, callback=callback_function) - - :param callback function: The callback function - for asynchronous request. (optional) - :param str namespace: object name and auth scope, such as for teams and projects (required) - :param str pretty: If 'true', then the output is pretty printed. - :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. - :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. - :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. - :param int timeout_seconds: Timeout for the list/watch call. - :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - :return: V1ImageStreamTagList - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['namespace', 'pretty', 'field_selector', 'label_selector', 'resource_version', 'timeout_seconds', 'watch'] - all_params.append('callback') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method list_namespaced_image_stream_tag" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'namespace' is set - if ('namespace' not in params) or (params['namespace'] is None): - raise ValueError("Missing the required parameter `namespace` when calling `list_namespaced_image_stream_tag`") - - - collection_formats = {} - - resource_path = '/oapi/v1/namespaces/{namespace}/imagestreamtags'.replace('{format}', 'json') - path_params = {} - if 'namespace' in params: - path_params['namespace'] = params['namespace'] - - query_params = {} - if 'pretty' in params: - query_params['pretty'] = params['pretty'] - if 'field_selector' in params: - query_params['fieldSelector'] = params['field_selector'] - if 'label_selector' in params: - query_params['labelSelector'] = params['label_selector'] - if 'resource_version' in params: - query_params['resourceVersion'] = params['resource_version'] - if 'timeout_seconds' in params: - query_params['timeoutSeconds'] = params['timeout_seconds'] - if 'watch' in params: - query_params['watch'] = params['watch'] - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - # HTTP header `Accept` - header_params['Accept'] = self.api_client.\ - select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/json;stream=watch', 'application/vnd.kubernetes.protobuf;stream=watch']) - - # HTTP header `Content-Type` - header_params['Content-Type'] = self.api_client.\ - select_header_content_type(['*/*']) - - # Authentication setting - auth_settings = ['BearerToken'] - - return self.api_client.call_api(resource_path, 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1ImageStreamTagList', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def list_namespaced_policy(self, namespace, **kwargs): - """ - list or watch objects of kind Policy - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please define a `callback` function - to be invoked when receiving the response. - >>> def callback_function(response): - >>> pprint(response) - >>> - >>> thread = api.list_namespaced_policy(namespace, callback=callback_function) - - :param callback function: The callback function - for asynchronous request. (optional) - :param str namespace: object name and auth scope, such as for teams and projects (required) - :param str pretty: If 'true', then the output is pretty printed. - :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. - :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. - :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. - :param int timeout_seconds: Timeout for the list/watch call. - :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - :return: V1PolicyList - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('callback'): - return self.list_namespaced_policy_with_http_info(namespace, **kwargs) - else: - (data) = self.list_namespaced_policy_with_http_info(namespace, **kwargs) - return data - - def list_namespaced_policy_with_http_info(self, namespace, **kwargs): - """ - list or watch objects of kind Policy - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please define a `callback` function - to be invoked when receiving the response. - >>> def callback_function(response): - >>> pprint(response) - >>> - >>> thread = api.list_namespaced_policy_with_http_info(namespace, callback=callback_function) - - :param callback function: The callback function - for asynchronous request. (optional) - :param str namespace: object name and auth scope, such as for teams and projects (required) - :param str pretty: If 'true', then the output is pretty printed. - :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. - :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. - :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. + :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. :param int timeout_seconds: Timeout for the list/watch call. :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - :return: V1PolicyList + :return: V1ImageStreamList If the method is called asynchronously, returns the request thread. """ - all_params = ['namespace', 'pretty', 'field_selector', 'label_selector', 'resource_version', 'timeout_seconds', 'watch'] + all_params = ['namespace', 'pretty', 'field_selector', 'include_uninitialized', 'label_selector', 'resource_version', 'timeout_seconds', 'watch'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -19292,18 +17252,18 @@ def list_namespaced_policy_with_http_info(self, namespace, **kwargs): if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method list_namespaced_policy" % key + " to method list_namespaced_image_stream" % key ) params[key] = val del params['kwargs'] # verify the required parameter 'namespace' is set if ('namespace' not in params) or (params['namespace'] is None): - raise ValueError("Missing the required parameter `namespace` when calling `list_namespaced_policy`") + raise ValueError("Missing the required parameter `namespace` when calling `list_namespaced_image_stream`") collection_formats = {} - resource_path = '/oapi/v1/namespaces/{namespace}/policies'.replace('{format}', 'json') + resource_path = '/oapi/v1/namespaces/{namespace}/imagestreams'.replace('{format}', 'json') path_params = {} if 'namespace' in params: path_params['namespace'] = params['namespace'] @@ -19313,6 +17273,8 @@ def list_namespaced_policy_with_http_info(self, namespace, **kwargs): query_params['pretty'] = params['pretty'] if 'field_selector' in params: query_params['fieldSelector'] = params['field_selector'] + if 'include_uninitialized' in params: + query_params['includeUninitialized'] = params['include_uninitialized'] if 'label_selector' in params: query_params['labelSelector'] = params['label_selector'] if 'resource_version' in params: @@ -19337,7 +17299,7 @@ def list_namespaced_policy_with_http_info(self, namespace, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -19346,7 +17308,7 @@ def list_namespaced_policy_with_http_info(self, namespace, **kwargs): body=body_params, post_params=form_params, files=local_var_files, - response_type='V1PolicyList', + response_type='V1ImageStreamList', auth_settings=auth_settings, callback=params.get('callback'), _return_http_data_only=params.get('_return_http_data_only'), @@ -19354,63 +17316,65 @@ def list_namespaced_policy_with_http_info(self, namespace, **kwargs): _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def list_namespaced_policy_binding(self, namespace, **kwargs): + def list_namespaced_image_stream_tag(self, namespace, **kwargs): """ - list or watch objects of kind PolicyBinding + list objects of kind ImageStreamTag This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.list_namespaced_policy_binding(namespace, callback=callback_function) + >>> thread = api.list_namespaced_image_stream_tag(namespace, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param str namespace: object name and auth scope, such as for teams and projects (required) :param str pretty: If 'true', then the output is pretty printed. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param bool include_uninitialized: If true, partially initialized resources are included in the response. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. - :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. + :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. :param int timeout_seconds: Timeout for the list/watch call. :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - :return: V1PolicyBindingList + :return: V1ImageStreamTagList If the method is called asynchronously, returns the request thread. """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.list_namespaced_policy_binding_with_http_info(namespace, **kwargs) + return self.list_namespaced_image_stream_tag_with_http_info(namespace, **kwargs) else: - (data) = self.list_namespaced_policy_binding_with_http_info(namespace, **kwargs) + (data) = self.list_namespaced_image_stream_tag_with_http_info(namespace, **kwargs) return data - def list_namespaced_policy_binding_with_http_info(self, namespace, **kwargs): + def list_namespaced_image_stream_tag_with_http_info(self, namespace, **kwargs): """ - list or watch objects of kind PolicyBinding + list objects of kind ImageStreamTag This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.list_namespaced_policy_binding_with_http_info(namespace, callback=callback_function) + >>> thread = api.list_namespaced_image_stream_tag_with_http_info(namespace, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param str namespace: object name and auth scope, such as for teams and projects (required) :param str pretty: If 'true', then the output is pretty printed. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param bool include_uninitialized: If true, partially initialized resources are included in the response. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. - :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. + :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. :param int timeout_seconds: Timeout for the list/watch call. :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - :return: V1PolicyBindingList + :return: V1ImageStreamTagList If the method is called asynchronously, returns the request thread. """ - all_params = ['namespace', 'pretty', 'field_selector', 'label_selector', 'resource_version', 'timeout_seconds', 'watch'] + all_params = ['namespace', 'pretty', 'field_selector', 'include_uninitialized', 'label_selector', 'resource_version', 'timeout_seconds', 'watch'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -19421,18 +17385,18 @@ def list_namespaced_policy_binding_with_http_info(self, namespace, **kwargs): if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method list_namespaced_policy_binding" % key + " to method list_namespaced_image_stream_tag" % key ) params[key] = val del params['kwargs'] # verify the required parameter 'namespace' is set if ('namespace' not in params) or (params['namespace'] is None): - raise ValueError("Missing the required parameter `namespace` when calling `list_namespaced_policy_binding`") + raise ValueError("Missing the required parameter `namespace` when calling `list_namespaced_image_stream_tag`") collection_formats = {} - resource_path = '/oapi/v1/namespaces/{namespace}/policybindings'.replace('{format}', 'json') + resource_path = '/oapi/v1/namespaces/{namespace}/imagestreamtags'.replace('{format}', 'json') path_params = {} if 'namespace' in params: path_params['namespace'] = params['namespace'] @@ -19442,6 +17406,8 @@ def list_namespaced_policy_binding_with_http_info(self, namespace, **kwargs): query_params['pretty'] = params['pretty'] if 'field_selector' in params: query_params['fieldSelector'] = params['field_selector'] + if 'include_uninitialized' in params: + query_params['includeUninitialized'] = params['include_uninitialized'] if 'label_selector' in params: query_params['labelSelector'] = params['label_selector'] if 'resource_version' in params: @@ -19466,7 +17432,7 @@ def list_namespaced_policy_binding_with_http_info(self, namespace, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -19475,7 +17441,7 @@ def list_namespaced_policy_binding_with_http_info(self, namespace, **kwargs): body=body_params, post_params=form_params, files=local_var_files, - response_type='V1PolicyBindingList', + response_type='V1ImageStreamTagList', auth_settings=auth_settings, callback=params.get('callback'), _return_http_data_only=params.get('_return_http_data_only'), @@ -19499,8 +17465,9 @@ def list_namespaced_role(self, namespace, **kwargs): :param str namespace: object name and auth scope, such as for teams and projects (required) :param str pretty: If 'true', then the output is pretty printed. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param bool include_uninitialized: If true, partially initialized resources are included in the response. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. - :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. + :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. :param int timeout_seconds: Timeout for the list/watch call. :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. :return: V1RoleList @@ -19530,8 +17497,9 @@ def list_namespaced_role_with_http_info(self, namespace, **kwargs): :param str namespace: object name and auth scope, such as for teams and projects (required) :param str pretty: If 'true', then the output is pretty printed. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param bool include_uninitialized: If true, partially initialized resources are included in the response. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. - :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. + :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. :param int timeout_seconds: Timeout for the list/watch call. :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. :return: V1RoleList @@ -19539,7 +17507,7 @@ def list_namespaced_role_with_http_info(self, namespace, **kwargs): returns the request thread. """ - all_params = ['namespace', 'pretty', 'field_selector', 'label_selector', 'resource_version', 'timeout_seconds', 'watch'] + all_params = ['namespace', 'pretty', 'field_selector', 'include_uninitialized', 'label_selector', 'resource_version', 'timeout_seconds', 'watch'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -19571,6 +17539,8 @@ def list_namespaced_role_with_http_info(self, namespace, **kwargs): query_params['pretty'] = params['pretty'] if 'field_selector' in params: query_params['fieldSelector'] = params['field_selector'] + if 'include_uninitialized' in params: + query_params['includeUninitialized'] = params['include_uninitialized'] if 'label_selector' in params: query_params['labelSelector'] = params['label_selector'] if 'resource_version' in params: @@ -19595,7 +17565,7 @@ def list_namespaced_role_with_http_info(self, namespace, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -19628,8 +17598,9 @@ def list_namespaced_role_binding(self, namespace, **kwargs): :param str namespace: object name and auth scope, such as for teams and projects (required) :param str pretty: If 'true', then the output is pretty printed. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param bool include_uninitialized: If true, partially initialized resources are included in the response. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. - :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. + :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. :param int timeout_seconds: Timeout for the list/watch call. :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. :return: V1RoleBindingList @@ -19659,8 +17630,9 @@ def list_namespaced_role_binding_with_http_info(self, namespace, **kwargs): :param str namespace: object name and auth scope, such as for teams and projects (required) :param str pretty: If 'true', then the output is pretty printed. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param bool include_uninitialized: If true, partially initialized resources are included in the response. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. - :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. + :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. :param int timeout_seconds: Timeout for the list/watch call. :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. :return: V1RoleBindingList @@ -19668,7 +17640,7 @@ def list_namespaced_role_binding_with_http_info(self, namespace, **kwargs): returns the request thread. """ - all_params = ['namespace', 'pretty', 'field_selector', 'label_selector', 'resource_version', 'timeout_seconds', 'watch'] + all_params = ['namespace', 'pretty', 'field_selector', 'include_uninitialized', 'label_selector', 'resource_version', 'timeout_seconds', 'watch'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -19700,6 +17672,8 @@ def list_namespaced_role_binding_with_http_info(self, namespace, **kwargs): query_params['pretty'] = params['pretty'] if 'field_selector' in params: query_params['fieldSelector'] = params['field_selector'] + if 'include_uninitialized' in params: + query_params['includeUninitialized'] = params['include_uninitialized'] if 'label_selector' in params: query_params['labelSelector'] = params['label_selector'] if 'resource_version' in params: @@ -19724,7 +17698,7 @@ def list_namespaced_role_binding_with_http_info(self, namespace, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -19757,8 +17731,9 @@ def list_namespaced_role_binding_restriction(self, namespace, **kwargs): :param str namespace: object name and auth scope, such as for teams and projects (required) :param str pretty: If 'true', then the output is pretty printed. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param bool include_uninitialized: If true, partially initialized resources are included in the response. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. - :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. + :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. :param int timeout_seconds: Timeout for the list/watch call. :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. :return: V1RoleBindingRestrictionList @@ -19788,8 +17763,9 @@ def list_namespaced_role_binding_restriction_with_http_info(self, namespace, **k :param str namespace: object name and auth scope, such as for teams and projects (required) :param str pretty: If 'true', then the output is pretty printed. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param bool include_uninitialized: If true, partially initialized resources are included in the response. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. - :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. + :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. :param int timeout_seconds: Timeout for the list/watch call. :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. :return: V1RoleBindingRestrictionList @@ -19797,7 +17773,7 @@ def list_namespaced_role_binding_restriction_with_http_info(self, namespace, **k returns the request thread. """ - all_params = ['namespace', 'pretty', 'field_selector', 'label_selector', 'resource_version', 'timeout_seconds', 'watch'] + all_params = ['namespace', 'pretty', 'field_selector', 'include_uninitialized', 'label_selector', 'resource_version', 'timeout_seconds', 'watch'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -19829,6 +17805,8 @@ def list_namespaced_role_binding_restriction_with_http_info(self, namespace, **k query_params['pretty'] = params['pretty'] if 'field_selector' in params: query_params['fieldSelector'] = params['field_selector'] + if 'include_uninitialized' in params: + query_params['includeUninitialized'] = params['include_uninitialized'] if 'label_selector' in params: query_params['labelSelector'] = params['label_selector'] if 'resource_version' in params: @@ -19853,7 +17831,7 @@ def list_namespaced_role_binding_restriction_with_http_info(self, namespace, **k select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -19886,8 +17864,9 @@ def list_namespaced_route(self, namespace, **kwargs): :param str namespace: object name and auth scope, such as for teams and projects (required) :param str pretty: If 'true', then the output is pretty printed. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param bool include_uninitialized: If true, partially initialized resources are included in the response. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. - :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. + :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. :param int timeout_seconds: Timeout for the list/watch call. :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. :return: V1RouteList @@ -19917,8 +17896,9 @@ def list_namespaced_route_with_http_info(self, namespace, **kwargs): :param str namespace: object name and auth scope, such as for teams and projects (required) :param str pretty: If 'true', then the output is pretty printed. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param bool include_uninitialized: If true, partially initialized resources are included in the response. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. - :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. + :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. :param int timeout_seconds: Timeout for the list/watch call. :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. :return: V1RouteList @@ -19926,7 +17906,7 @@ def list_namespaced_route_with_http_info(self, namespace, **kwargs): returns the request thread. """ - all_params = ['namespace', 'pretty', 'field_selector', 'label_selector', 'resource_version', 'timeout_seconds', 'watch'] + all_params = ['namespace', 'pretty', 'field_selector', 'include_uninitialized', 'label_selector', 'resource_version', 'timeout_seconds', 'watch'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -19958,6 +17938,8 @@ def list_namespaced_route_with_http_info(self, namespace, **kwargs): query_params['pretty'] = params['pretty'] if 'field_selector' in params: query_params['fieldSelector'] = params['field_selector'] + if 'include_uninitialized' in params: + query_params['includeUninitialized'] = params['include_uninitialized'] if 'label_selector' in params: query_params['labelSelector'] = params['label_selector'] if 'resource_version' in params: @@ -19982,7 +17964,7 @@ def list_namespaced_route_with_http_info(self, namespace, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -20015,8 +17997,9 @@ def list_namespaced_template(self, namespace, **kwargs): :param str namespace: object name and auth scope, such as for teams and projects (required) :param str pretty: If 'true', then the output is pretty printed. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param bool include_uninitialized: If true, partially initialized resources are included in the response. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. - :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. + :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. :param int timeout_seconds: Timeout for the list/watch call. :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. :return: V1TemplateList @@ -20046,8 +18029,9 @@ def list_namespaced_template_with_http_info(self, namespace, **kwargs): :param str namespace: object name and auth scope, such as for teams and projects (required) :param str pretty: If 'true', then the output is pretty printed. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param bool include_uninitialized: If true, partially initialized resources are included in the response. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. - :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. + :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. :param int timeout_seconds: Timeout for the list/watch call. :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. :return: V1TemplateList @@ -20055,7 +18039,7 @@ def list_namespaced_template_with_http_info(self, namespace, **kwargs): returns the request thread. """ - all_params = ['namespace', 'pretty', 'field_selector', 'label_selector', 'resource_version', 'timeout_seconds', 'watch'] + all_params = ['namespace', 'pretty', 'field_selector', 'include_uninitialized', 'label_selector', 'resource_version', 'timeout_seconds', 'watch'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -20087,6 +18071,8 @@ def list_namespaced_template_with_http_info(self, namespace, **kwargs): query_params['pretty'] = params['pretty'] if 'field_selector' in params: query_params['fieldSelector'] = params['field_selector'] + if 'include_uninitialized' in params: + query_params['includeUninitialized'] = params['include_uninitialized'] if 'label_selector' in params: query_params['labelSelector'] = params['label_selector'] if 'resource_version' in params: @@ -20111,7 +18097,7 @@ def list_namespaced_template_with_http_info(self, namespace, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -20143,8 +18129,9 @@ def list_net_namespace(self, **kwargs): for asynchronous request. (optional) :param str pretty: If 'true', then the output is pretty printed. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param bool include_uninitialized: If true, partially initialized resources are included in the response. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. - :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. + :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. :param int timeout_seconds: Timeout for the list/watch call. :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. :return: V1NetNamespaceList @@ -20173,8 +18160,9 @@ def list_net_namespace_with_http_info(self, **kwargs): for asynchronous request. (optional) :param str pretty: If 'true', then the output is pretty printed. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param bool include_uninitialized: If true, partially initialized resources are included in the response. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. - :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. + :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. :param int timeout_seconds: Timeout for the list/watch call. :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. :return: V1NetNamespaceList @@ -20182,7 +18170,7 @@ def list_net_namespace_with_http_info(self, **kwargs): returns the request thread. """ - all_params = ['pretty', 'field_selector', 'label_selector', 'resource_version', 'timeout_seconds', 'watch'] + all_params = ['pretty', 'field_selector', 'include_uninitialized', 'label_selector', 'resource_version', 'timeout_seconds', 'watch'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -20209,6 +18197,8 @@ def list_net_namespace_with_http_info(self, **kwargs): query_params['pretty'] = params['pretty'] if 'field_selector' in params: query_params['fieldSelector'] = params['field_selector'] + if 'include_uninitialized' in params: + query_params['includeUninitialized'] = params['include_uninitialized'] if 'label_selector' in params: query_params['labelSelector'] = params['label_selector'] if 'resource_version' in params: @@ -20233,7 +18223,7 @@ def list_net_namespace_with_http_info(self, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -20265,8 +18255,9 @@ def list_o_auth_access_token(self, **kwargs): for asynchronous request. (optional) :param str pretty: If 'true', then the output is pretty printed. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param bool include_uninitialized: If true, partially initialized resources are included in the response. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. - :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. + :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. :param int timeout_seconds: Timeout for the list/watch call. :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. :return: V1OAuthAccessTokenList @@ -20295,8 +18286,9 @@ def list_o_auth_access_token_with_http_info(self, **kwargs): for asynchronous request. (optional) :param str pretty: If 'true', then the output is pretty printed. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param bool include_uninitialized: If true, partially initialized resources are included in the response. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. - :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. + :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. :param int timeout_seconds: Timeout for the list/watch call. :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. :return: V1OAuthAccessTokenList @@ -20304,7 +18296,7 @@ def list_o_auth_access_token_with_http_info(self, **kwargs): returns the request thread. """ - all_params = ['pretty', 'field_selector', 'label_selector', 'resource_version', 'timeout_seconds', 'watch'] + all_params = ['pretty', 'field_selector', 'include_uninitialized', 'label_selector', 'resource_version', 'timeout_seconds', 'watch'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -20331,6 +18323,8 @@ def list_o_auth_access_token_with_http_info(self, **kwargs): query_params['pretty'] = params['pretty'] if 'field_selector' in params: query_params['fieldSelector'] = params['field_selector'] + if 'include_uninitialized' in params: + query_params['includeUninitialized'] = params['include_uninitialized'] if 'label_selector' in params: query_params['labelSelector'] = params['label_selector'] if 'resource_version' in params: @@ -20355,7 +18349,7 @@ def list_o_auth_access_token_with_http_info(self, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -20374,303 +18368,61 @@ def list_o_auth_access_token_with_http_info(self, **kwargs): def list_o_auth_authorize_token(self, **kwargs): """ - list or watch objects of kind OAuthAuthorizeToken - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please define a `callback` function - to be invoked when receiving the response. - >>> def callback_function(response): - >>> pprint(response) - >>> - >>> thread = api.list_o_auth_authorize_token(callback=callback_function) - - :param callback function: The callback function - for asynchronous request. (optional) - :param str pretty: If 'true', then the output is pretty printed. - :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. - :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. - :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. - :param int timeout_seconds: Timeout for the list/watch call. - :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - :return: V1OAuthAuthorizeTokenList - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('callback'): - return self.list_o_auth_authorize_token_with_http_info(**kwargs) - else: - (data) = self.list_o_auth_authorize_token_with_http_info(**kwargs) - return data - - def list_o_auth_authorize_token_with_http_info(self, **kwargs): - """ - list or watch objects of kind OAuthAuthorizeToken - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please define a `callback` function - to be invoked when receiving the response. - >>> def callback_function(response): - >>> pprint(response) - >>> - >>> thread = api.list_o_auth_authorize_token_with_http_info(callback=callback_function) - - :param callback function: The callback function - for asynchronous request. (optional) - :param str pretty: If 'true', then the output is pretty printed. - :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. - :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. - :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. - :param int timeout_seconds: Timeout for the list/watch call. - :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - :return: V1OAuthAuthorizeTokenList - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['pretty', 'field_selector', 'label_selector', 'resource_version', 'timeout_seconds', 'watch'] - all_params.append('callback') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method list_o_auth_authorize_token" % key - ) - params[key] = val - del params['kwargs'] - - - collection_formats = {} - - resource_path = '/oapi/v1/oauthauthorizetokens'.replace('{format}', 'json') - path_params = {} - - query_params = {} - if 'pretty' in params: - query_params['pretty'] = params['pretty'] - if 'field_selector' in params: - query_params['fieldSelector'] = params['field_selector'] - if 'label_selector' in params: - query_params['labelSelector'] = params['label_selector'] - if 'resource_version' in params: - query_params['resourceVersion'] = params['resource_version'] - if 'timeout_seconds' in params: - query_params['timeoutSeconds'] = params['timeout_seconds'] - if 'watch' in params: - query_params['watch'] = params['watch'] - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - # HTTP header `Accept` - header_params['Accept'] = self.api_client.\ - select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/json;stream=watch', 'application/vnd.kubernetes.protobuf;stream=watch']) - - # HTTP header `Content-Type` - header_params['Content-Type'] = self.api_client.\ - select_header_content_type(['*/*']) - - # Authentication setting - auth_settings = ['BearerToken'] - - return self.api_client.call_api(resource_path, 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1OAuthAuthorizeTokenList', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def list_o_auth_client(self, **kwargs): - """ - list or watch objects of kind OAuthClient - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please define a `callback` function - to be invoked when receiving the response. - >>> def callback_function(response): - >>> pprint(response) - >>> - >>> thread = api.list_o_auth_client(callback=callback_function) - - :param callback function: The callback function - for asynchronous request. (optional) - :param str pretty: If 'true', then the output is pretty printed. - :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. - :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. - :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. - :param int timeout_seconds: Timeout for the list/watch call. - :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - :return: V1OAuthClientList - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('callback'): - return self.list_o_auth_client_with_http_info(**kwargs) - else: - (data) = self.list_o_auth_client_with_http_info(**kwargs) - return data - - def list_o_auth_client_with_http_info(self, **kwargs): - """ - list or watch objects of kind OAuthClient - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please define a `callback` function - to be invoked when receiving the response. - >>> def callback_function(response): - >>> pprint(response) - >>> - >>> thread = api.list_o_auth_client_with_http_info(callback=callback_function) - - :param callback function: The callback function - for asynchronous request. (optional) - :param str pretty: If 'true', then the output is pretty printed. - :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. - :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. - :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. - :param int timeout_seconds: Timeout for the list/watch call. - :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - :return: V1OAuthClientList - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['pretty', 'field_selector', 'label_selector', 'resource_version', 'timeout_seconds', 'watch'] - all_params.append('callback') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method list_o_auth_client" % key - ) - params[key] = val - del params['kwargs'] - - - collection_formats = {} - - resource_path = '/oapi/v1/oauthclients'.replace('{format}', 'json') - path_params = {} - - query_params = {} - if 'pretty' in params: - query_params['pretty'] = params['pretty'] - if 'field_selector' in params: - query_params['fieldSelector'] = params['field_selector'] - if 'label_selector' in params: - query_params['labelSelector'] = params['label_selector'] - if 'resource_version' in params: - query_params['resourceVersion'] = params['resource_version'] - if 'timeout_seconds' in params: - query_params['timeoutSeconds'] = params['timeout_seconds'] - if 'watch' in params: - query_params['watch'] = params['watch'] - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - # HTTP header `Accept` - header_params['Accept'] = self.api_client.\ - select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/json;stream=watch', 'application/vnd.kubernetes.protobuf;stream=watch']) - - # HTTP header `Content-Type` - header_params['Content-Type'] = self.api_client.\ - select_header_content_type(['*/*']) - - # Authentication setting - auth_settings = ['BearerToken'] - - return self.api_client.call_api(resource_path, 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1OAuthClientList', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def list_o_auth_client_authorization(self, **kwargs): - """ - list or watch objects of kind OAuthClientAuthorization + list or watch objects of kind OAuthAuthorizeToken This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.list_o_auth_client_authorization(callback=callback_function) + >>> thread = api.list_o_auth_authorize_token(callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param str pretty: If 'true', then the output is pretty printed. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param bool include_uninitialized: If true, partially initialized resources are included in the response. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. - :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. + :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. :param int timeout_seconds: Timeout for the list/watch call. :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - :return: V1OAuthClientAuthorizationList + :return: V1OAuthAuthorizeTokenList If the method is called asynchronously, returns the request thread. """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.list_o_auth_client_authorization_with_http_info(**kwargs) + return self.list_o_auth_authorize_token_with_http_info(**kwargs) else: - (data) = self.list_o_auth_client_authorization_with_http_info(**kwargs) + (data) = self.list_o_auth_authorize_token_with_http_info(**kwargs) return data - def list_o_auth_client_authorization_with_http_info(self, **kwargs): + def list_o_auth_authorize_token_with_http_info(self, **kwargs): """ - list or watch objects of kind OAuthClientAuthorization + list or watch objects of kind OAuthAuthorizeToken This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.list_o_auth_client_authorization_with_http_info(callback=callback_function) + >>> thread = api.list_o_auth_authorize_token_with_http_info(callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param str pretty: If 'true', then the output is pretty printed. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param bool include_uninitialized: If true, partially initialized resources are included in the response. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. - :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. + :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. :param int timeout_seconds: Timeout for the list/watch call. :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - :return: V1OAuthClientAuthorizationList + :return: V1OAuthAuthorizeTokenList If the method is called asynchronously, returns the request thread. """ - all_params = ['pretty', 'field_selector', 'label_selector', 'resource_version', 'timeout_seconds', 'watch'] + all_params = ['pretty', 'field_selector', 'include_uninitialized', 'label_selector', 'resource_version', 'timeout_seconds', 'watch'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -20681,7 +18433,7 @@ def list_o_auth_client_authorization_with_http_info(self, **kwargs): if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method list_o_auth_client_authorization" % key + " to method list_o_auth_authorize_token" % key ) params[key] = val del params['kwargs'] @@ -20689,7 +18441,7 @@ def list_o_auth_client_authorization_with_http_info(self, **kwargs): collection_formats = {} - resource_path = '/oapi/v1/oauthclientauthorizations'.replace('{format}', 'json') + resource_path = '/oapi/v1/oauthauthorizetokens'.replace('{format}', 'json') path_params = {} query_params = {} @@ -20697,6 +18449,8 @@ def list_o_auth_client_authorization_with_http_info(self, **kwargs): query_params['pretty'] = params['pretty'] if 'field_selector' in params: query_params['fieldSelector'] = params['field_selector'] + if 'include_uninitialized' in params: + query_params['includeUninitialized'] = params['include_uninitialized'] if 'label_selector' in params: query_params['labelSelector'] = params['label_selector'] if 'resource_version' in params: @@ -20721,7 +18475,7 @@ def list_o_auth_client_authorization_with_http_info(self, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -20730,7 +18484,7 @@ def list_o_auth_client_authorization_with_http_info(self, **kwargs): body=body_params, post_params=form_params, files=local_var_files, - response_type='V1OAuthClientAuthorizationList', + response_type='V1OAuthAuthorizeTokenList', auth_settings=auth_settings, callback=params.get('callback'), _return_http_data_only=params.get('_return_http_data_only'), @@ -20738,61 +18492,63 @@ def list_o_auth_client_authorization_with_http_info(self, **kwargs): _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def list_policy_binding_for_all_namespaces(self, **kwargs): + def list_o_auth_client(self, **kwargs): """ - list or watch objects of kind PolicyBinding + list or watch objects of kind OAuthClient This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.list_policy_binding_for_all_namespaces(callback=callback_function) + >>> thread = api.list_o_auth_client(callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param str pretty: If 'true', then the output is pretty printed. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param bool include_uninitialized: If true, partially initialized resources are included in the response. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. - :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. + :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. :param int timeout_seconds: Timeout for the list/watch call. :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - :return: V1PolicyBindingList + :return: V1OAuthClientList If the method is called asynchronously, returns the request thread. """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.list_policy_binding_for_all_namespaces_with_http_info(**kwargs) + return self.list_o_auth_client_with_http_info(**kwargs) else: - (data) = self.list_policy_binding_for_all_namespaces_with_http_info(**kwargs) + (data) = self.list_o_auth_client_with_http_info(**kwargs) return data - def list_policy_binding_for_all_namespaces_with_http_info(self, **kwargs): + def list_o_auth_client_with_http_info(self, **kwargs): """ - list or watch objects of kind PolicyBinding + list or watch objects of kind OAuthClient This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.list_policy_binding_for_all_namespaces_with_http_info(callback=callback_function) + >>> thread = api.list_o_auth_client_with_http_info(callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param str pretty: If 'true', then the output is pretty printed. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param bool include_uninitialized: If true, partially initialized resources are included in the response. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. - :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. + :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. :param int timeout_seconds: Timeout for the list/watch call. :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - :return: V1PolicyBindingList + :return: V1OAuthClientList If the method is called asynchronously, returns the request thread. """ - all_params = ['pretty', 'field_selector', 'label_selector', 'resource_version', 'timeout_seconds', 'watch'] + all_params = ['pretty', 'field_selector', 'include_uninitialized', 'label_selector', 'resource_version', 'timeout_seconds', 'watch'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -20803,7 +18559,7 @@ def list_policy_binding_for_all_namespaces_with_http_info(self, **kwargs): if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method list_policy_binding_for_all_namespaces" % key + " to method list_o_auth_client" % key ) params[key] = val del params['kwargs'] @@ -20811,7 +18567,7 @@ def list_policy_binding_for_all_namespaces_with_http_info(self, **kwargs): collection_formats = {} - resource_path = '/oapi/v1/policybindings'.replace('{format}', 'json') + resource_path = '/oapi/v1/oauthclients'.replace('{format}', 'json') path_params = {} query_params = {} @@ -20819,6 +18575,8 @@ def list_policy_binding_for_all_namespaces_with_http_info(self, **kwargs): query_params['pretty'] = params['pretty'] if 'field_selector' in params: query_params['fieldSelector'] = params['field_selector'] + if 'include_uninitialized' in params: + query_params['includeUninitialized'] = params['include_uninitialized'] if 'label_selector' in params: query_params['labelSelector'] = params['label_selector'] if 'resource_version' in params: @@ -20843,7 +18601,7 @@ def list_policy_binding_for_all_namespaces_with_http_info(self, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -20852,7 +18610,7 @@ def list_policy_binding_for_all_namespaces_with_http_info(self, **kwargs): body=body_params, post_params=form_params, files=local_var_files, - response_type='V1PolicyBindingList', + response_type='V1OAuthClientList', auth_settings=auth_settings, callback=params.get('callback'), _return_http_data_only=params.get('_return_http_data_only'), @@ -20860,61 +18618,63 @@ def list_policy_binding_for_all_namespaces_with_http_info(self, **kwargs): _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def list_policy_for_all_namespaces(self, **kwargs): + def list_o_auth_client_authorization(self, **kwargs): """ - list or watch objects of kind Policy + list or watch objects of kind OAuthClientAuthorization This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.list_policy_for_all_namespaces(callback=callback_function) + >>> thread = api.list_o_auth_client_authorization(callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param str pretty: If 'true', then the output is pretty printed. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param bool include_uninitialized: If true, partially initialized resources are included in the response. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. - :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. + :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. :param int timeout_seconds: Timeout for the list/watch call. :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - :return: V1PolicyList + :return: V1OAuthClientAuthorizationList If the method is called asynchronously, returns the request thread. """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.list_policy_for_all_namespaces_with_http_info(**kwargs) + return self.list_o_auth_client_authorization_with_http_info(**kwargs) else: - (data) = self.list_policy_for_all_namespaces_with_http_info(**kwargs) + (data) = self.list_o_auth_client_authorization_with_http_info(**kwargs) return data - def list_policy_for_all_namespaces_with_http_info(self, **kwargs): + def list_o_auth_client_authorization_with_http_info(self, **kwargs): """ - list or watch objects of kind Policy + list or watch objects of kind OAuthClientAuthorization This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.list_policy_for_all_namespaces_with_http_info(callback=callback_function) + >>> thread = api.list_o_auth_client_authorization_with_http_info(callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param str pretty: If 'true', then the output is pretty printed. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param bool include_uninitialized: If true, partially initialized resources are included in the response. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. - :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. + :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. :param int timeout_seconds: Timeout for the list/watch call. :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - :return: V1PolicyList + :return: V1OAuthClientAuthorizationList If the method is called asynchronously, returns the request thread. """ - all_params = ['pretty', 'field_selector', 'label_selector', 'resource_version', 'timeout_seconds', 'watch'] + all_params = ['pretty', 'field_selector', 'include_uninitialized', 'label_selector', 'resource_version', 'timeout_seconds', 'watch'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -20925,7 +18685,7 @@ def list_policy_for_all_namespaces_with_http_info(self, **kwargs): if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method list_policy_for_all_namespaces" % key + " to method list_o_auth_client_authorization" % key ) params[key] = val del params['kwargs'] @@ -20933,7 +18693,7 @@ def list_policy_for_all_namespaces_with_http_info(self, **kwargs): collection_formats = {} - resource_path = '/oapi/v1/policies'.replace('{format}', 'json') + resource_path = '/oapi/v1/oauthclientauthorizations'.replace('{format}', 'json') path_params = {} query_params = {} @@ -20941,6 +18701,8 @@ def list_policy_for_all_namespaces_with_http_info(self, **kwargs): query_params['pretty'] = params['pretty'] if 'field_selector' in params: query_params['fieldSelector'] = params['field_selector'] + if 'include_uninitialized' in params: + query_params['includeUninitialized'] = params['include_uninitialized'] if 'label_selector' in params: query_params['labelSelector'] = params['label_selector'] if 'resource_version' in params: @@ -20965,7 +18727,7 @@ def list_policy_for_all_namespaces_with_http_info(self, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -20974,7 +18736,7 @@ def list_policy_for_all_namespaces_with_http_info(self, **kwargs): body=body_params, post_params=form_params, files=local_var_files, - response_type='V1PolicyList', + response_type='V1OAuthClientAuthorizationList', auth_settings=auth_settings, callback=params.get('callback'), _return_http_data_only=params.get('_return_http_data_only'), @@ -20997,8 +18759,9 @@ def list_project(self, **kwargs): for asynchronous request. (optional) :param str pretty: If 'true', then the output is pretty printed. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param bool include_uninitialized: If true, partially initialized resources are included in the response. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. - :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. + :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. :param int timeout_seconds: Timeout for the list/watch call. :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. :return: V1ProjectList @@ -21027,8 +18790,9 @@ def list_project_with_http_info(self, **kwargs): for asynchronous request. (optional) :param str pretty: If 'true', then the output is pretty printed. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param bool include_uninitialized: If true, partially initialized resources are included in the response. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. - :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. + :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. :param int timeout_seconds: Timeout for the list/watch call. :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. :return: V1ProjectList @@ -21036,7 +18800,7 @@ def list_project_with_http_info(self, **kwargs): returns the request thread. """ - all_params = ['pretty', 'field_selector', 'label_selector', 'resource_version', 'timeout_seconds', 'watch'] + all_params = ['pretty', 'field_selector', 'include_uninitialized', 'label_selector', 'resource_version', 'timeout_seconds', 'watch'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -21063,6 +18827,8 @@ def list_project_with_http_info(self, **kwargs): query_params['pretty'] = params['pretty'] if 'field_selector' in params: query_params['fieldSelector'] = params['field_selector'] + if 'include_uninitialized' in params: + query_params['includeUninitialized'] = params['include_uninitialized'] if 'label_selector' in params: query_params['labelSelector'] = params['label_selector'] if 'resource_version' in params: @@ -21087,7 +18853,7 @@ def list_project_with_http_info(self, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -21119,11 +18885,12 @@ def list_project_request(self, **kwargs): for asynchronous request. (optional) :param str pretty: If 'true', then the output is pretty printed. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param bool include_uninitialized: If true, partially initialized resources are included in the response. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. - :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. + :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. :param int timeout_seconds: Timeout for the list/watch call. :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - :return: UnversionedStatus + :return: V1Status If the method is called asynchronously, returns the request thread. """ @@ -21149,16 +18916,17 @@ def list_project_request_with_http_info(self, **kwargs): for asynchronous request. (optional) :param str pretty: If 'true', then the output is pretty printed. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param bool include_uninitialized: If true, partially initialized resources are included in the response. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. - :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. + :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. :param int timeout_seconds: Timeout for the list/watch call. :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - :return: UnversionedStatus + :return: V1Status If the method is called asynchronously, returns the request thread. """ - all_params = ['pretty', 'field_selector', 'label_selector', 'resource_version', 'timeout_seconds', 'watch'] + all_params = ['pretty', 'field_selector', 'include_uninitialized', 'label_selector', 'resource_version', 'timeout_seconds', 'watch'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -21185,6 +18953,8 @@ def list_project_request_with_http_info(self, **kwargs): query_params['pretty'] = params['pretty'] if 'field_selector' in params: query_params['fieldSelector'] = params['field_selector'] + if 'include_uninitialized' in params: + query_params['includeUninitialized'] = params['include_uninitialized'] if 'label_selector' in params: query_params['labelSelector'] = params['label_selector'] if 'resource_version' in params: @@ -21209,7 +18979,7 @@ def list_project_request_with_http_info(self, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -21218,7 +18988,7 @@ def list_project_request_with_http_info(self, **kwargs): body=body_params, post_params=form_params, files=local_var_files, - response_type='UnversionedStatus', + response_type='V1Status', auth_settings=auth_settings, callback=params.get('callback'), _return_http_data_only=params.get('_return_http_data_only'), @@ -21241,8 +19011,9 @@ def list_role_binding_for_all_namespaces(self, **kwargs): for asynchronous request. (optional) :param str pretty: If 'true', then the output is pretty printed. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param bool include_uninitialized: If true, partially initialized resources are included in the response. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. - :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. + :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. :param int timeout_seconds: Timeout for the list/watch call. :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. :return: V1RoleBindingList @@ -21271,8 +19042,9 @@ def list_role_binding_for_all_namespaces_with_http_info(self, **kwargs): for asynchronous request. (optional) :param str pretty: If 'true', then the output is pretty printed. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param bool include_uninitialized: If true, partially initialized resources are included in the response. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. - :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. + :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. :param int timeout_seconds: Timeout for the list/watch call. :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. :return: V1RoleBindingList @@ -21280,7 +19052,7 @@ def list_role_binding_for_all_namespaces_with_http_info(self, **kwargs): returns the request thread. """ - all_params = ['pretty', 'field_selector', 'label_selector', 'resource_version', 'timeout_seconds', 'watch'] + all_params = ['pretty', 'field_selector', 'include_uninitialized', 'label_selector', 'resource_version', 'timeout_seconds', 'watch'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -21307,6 +19079,8 @@ def list_role_binding_for_all_namespaces_with_http_info(self, **kwargs): query_params['pretty'] = params['pretty'] if 'field_selector' in params: query_params['fieldSelector'] = params['field_selector'] + if 'include_uninitialized' in params: + query_params['includeUninitialized'] = params['include_uninitialized'] if 'label_selector' in params: query_params['labelSelector'] = params['label_selector'] if 'resource_version' in params: @@ -21331,7 +19105,7 @@ def list_role_binding_for_all_namespaces_with_http_info(self, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -21363,8 +19137,9 @@ def list_role_binding_restriction_for_all_namespaces(self, **kwargs): for asynchronous request. (optional) :param str pretty: If 'true', then the output is pretty printed. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param bool include_uninitialized: If true, partially initialized resources are included in the response. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. - :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. + :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. :param int timeout_seconds: Timeout for the list/watch call. :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. :return: V1RoleBindingRestrictionList @@ -21393,8 +19168,9 @@ def list_role_binding_restriction_for_all_namespaces_with_http_info(self, **kwar for asynchronous request. (optional) :param str pretty: If 'true', then the output is pretty printed. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param bool include_uninitialized: If true, partially initialized resources are included in the response. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. - :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. + :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. :param int timeout_seconds: Timeout for the list/watch call. :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. :return: V1RoleBindingRestrictionList @@ -21402,7 +19178,7 @@ def list_role_binding_restriction_for_all_namespaces_with_http_info(self, **kwar returns the request thread. """ - all_params = ['pretty', 'field_selector', 'label_selector', 'resource_version', 'timeout_seconds', 'watch'] + all_params = ['pretty', 'field_selector', 'include_uninitialized', 'label_selector', 'resource_version', 'timeout_seconds', 'watch'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -21429,6 +19205,8 @@ def list_role_binding_restriction_for_all_namespaces_with_http_info(self, **kwar query_params['pretty'] = params['pretty'] if 'field_selector' in params: query_params['fieldSelector'] = params['field_selector'] + if 'include_uninitialized' in params: + query_params['includeUninitialized'] = params['include_uninitialized'] if 'label_selector' in params: query_params['labelSelector'] = params['label_selector'] if 'resource_version' in params: @@ -21453,7 +19231,7 @@ def list_role_binding_restriction_for_all_namespaces_with_http_info(self, **kwar select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -21485,8 +19263,9 @@ def list_role_for_all_namespaces(self, **kwargs): for asynchronous request. (optional) :param str pretty: If 'true', then the output is pretty printed. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param bool include_uninitialized: If true, partially initialized resources are included in the response. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. - :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. + :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. :param int timeout_seconds: Timeout for the list/watch call. :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. :return: V1RoleList @@ -21515,8 +19294,9 @@ def list_role_for_all_namespaces_with_http_info(self, **kwargs): for asynchronous request. (optional) :param str pretty: If 'true', then the output is pretty printed. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param bool include_uninitialized: If true, partially initialized resources are included in the response. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. - :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. + :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. :param int timeout_seconds: Timeout for the list/watch call. :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. :return: V1RoleList @@ -21524,7 +19304,7 @@ def list_role_for_all_namespaces_with_http_info(self, **kwargs): returns the request thread. """ - all_params = ['pretty', 'field_selector', 'label_selector', 'resource_version', 'timeout_seconds', 'watch'] + all_params = ['pretty', 'field_selector', 'include_uninitialized', 'label_selector', 'resource_version', 'timeout_seconds', 'watch'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -21551,6 +19331,8 @@ def list_role_for_all_namespaces_with_http_info(self, **kwargs): query_params['pretty'] = params['pretty'] if 'field_selector' in params: query_params['fieldSelector'] = params['field_selector'] + if 'include_uninitialized' in params: + query_params['includeUninitialized'] = params['include_uninitialized'] if 'label_selector' in params: query_params['labelSelector'] = params['label_selector'] if 'resource_version' in params: @@ -21575,7 +19357,7 @@ def list_role_for_all_namespaces_with_http_info(self, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -21607,8 +19389,9 @@ def list_route_for_all_namespaces(self, **kwargs): for asynchronous request. (optional) :param str pretty: If 'true', then the output is pretty printed. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param bool include_uninitialized: If true, partially initialized resources are included in the response. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. - :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. + :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. :param int timeout_seconds: Timeout for the list/watch call. :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. :return: V1RouteList @@ -21637,8 +19420,9 @@ def list_route_for_all_namespaces_with_http_info(self, **kwargs): for asynchronous request. (optional) :param str pretty: If 'true', then the output is pretty printed. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param bool include_uninitialized: If true, partially initialized resources are included in the response. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. - :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. + :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. :param int timeout_seconds: Timeout for the list/watch call. :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. :return: V1RouteList @@ -21646,7 +19430,7 @@ def list_route_for_all_namespaces_with_http_info(self, **kwargs): returns the request thread. """ - all_params = ['pretty', 'field_selector', 'label_selector', 'resource_version', 'timeout_seconds', 'watch'] + all_params = ['pretty', 'field_selector', 'include_uninitialized', 'label_selector', 'resource_version', 'timeout_seconds', 'watch'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -21673,6 +19457,8 @@ def list_route_for_all_namespaces_with_http_info(self, **kwargs): query_params['pretty'] = params['pretty'] if 'field_selector' in params: query_params['fieldSelector'] = params['field_selector'] + if 'include_uninitialized' in params: + query_params['includeUninitialized'] = params['include_uninitialized'] if 'label_selector' in params: query_params['labelSelector'] = params['label_selector'] if 'resource_version' in params: @@ -21697,7 +19483,7 @@ def list_route_for_all_namespaces_with_http_info(self, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -21729,8 +19515,9 @@ def list_template_for_all_namespaces(self, **kwargs): for asynchronous request. (optional) :param str pretty: If 'true', then the output is pretty printed. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param bool include_uninitialized: If true, partially initialized resources are included in the response. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. - :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. + :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. :param int timeout_seconds: Timeout for the list/watch call. :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. :return: V1TemplateList @@ -21759,8 +19546,9 @@ def list_template_for_all_namespaces_with_http_info(self, **kwargs): for asynchronous request. (optional) :param str pretty: If 'true', then the output is pretty printed. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param bool include_uninitialized: If true, partially initialized resources are included in the response. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. - :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. + :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. :param int timeout_seconds: Timeout for the list/watch call. :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. :return: V1TemplateList @@ -21768,7 +19556,7 @@ def list_template_for_all_namespaces_with_http_info(self, **kwargs): returns the request thread. """ - all_params = ['pretty', 'field_selector', 'label_selector', 'resource_version', 'timeout_seconds', 'watch'] + all_params = ['pretty', 'field_selector', 'include_uninitialized', 'label_selector', 'resource_version', 'timeout_seconds', 'watch'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -21795,6 +19583,8 @@ def list_template_for_all_namespaces_with_http_info(self, **kwargs): query_params['pretty'] = params['pretty'] if 'field_selector' in params: query_params['fieldSelector'] = params['field_selector'] + if 'include_uninitialized' in params: + query_params['includeUninitialized'] = params['include_uninitialized'] if 'label_selector' in params: query_params['labelSelector'] = params['label_selector'] if 'resource_version' in params: @@ -21819,7 +19609,7 @@ def list_template_for_all_namespaces_with_http_info(self, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -21851,8 +19641,9 @@ def list_user(self, **kwargs): for asynchronous request. (optional) :param str pretty: If 'true', then the output is pretty printed. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param bool include_uninitialized: If true, partially initialized resources are included in the response. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. - :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. + :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. :param int timeout_seconds: Timeout for the list/watch call. :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. :return: V1UserList @@ -21881,8 +19672,9 @@ def list_user_with_http_info(self, **kwargs): for asynchronous request. (optional) :param str pretty: If 'true', then the output is pretty printed. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param bool include_uninitialized: If true, partially initialized resources are included in the response. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. - :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. + :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. :param int timeout_seconds: Timeout for the list/watch call. :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. :return: V1UserList @@ -21890,7 +19682,7 @@ def list_user_with_http_info(self, **kwargs): returns the request thread. """ - all_params = ['pretty', 'field_selector', 'label_selector', 'resource_version', 'timeout_seconds', 'watch'] + all_params = ['pretty', 'field_selector', 'include_uninitialized', 'label_selector', 'resource_version', 'timeout_seconds', 'watch'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -21917,6 +19709,8 @@ def list_user_with_http_info(self, **kwargs): query_params['pretty'] = params['pretty'] if 'field_selector' in params: query_params['fieldSelector'] = params['field_selector'] + if 'include_uninitialized' in params: + query_params['includeUninitialized'] = params['include_uninitialized'] if 'label_selector' in params: query_params['labelSelector'] = params['label_selector'] if 'resource_version' in params: @@ -21941,7 +19735,7 @@ def list_user_with_http_info(self, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -21967,273 +19761,41 @@ def patch_cluster_network(self, name, body, **kwargs): >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.patch_cluster_network(name, body, callback=callback_function) - - :param callback function: The callback function - for asynchronous request. (optional) - :param str name: name of the ClusterNetwork (required) - :param UnversionedPatch body: (required) - :param str pretty: If 'true', then the output is pretty printed. - :return: V1ClusterNetwork - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('callback'): - return self.patch_cluster_network_with_http_info(name, body, **kwargs) - else: - (data) = self.patch_cluster_network_with_http_info(name, body, **kwargs) - return data - - def patch_cluster_network_with_http_info(self, name, body, **kwargs): - """ - partially update the specified ClusterNetwork - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please define a `callback` function - to be invoked when receiving the response. - >>> def callback_function(response): - >>> pprint(response) - >>> - >>> thread = api.patch_cluster_network_with_http_info(name, body, callback=callback_function) - - :param callback function: The callback function - for asynchronous request. (optional) - :param str name: name of the ClusterNetwork (required) - :param UnversionedPatch body: (required) - :param str pretty: If 'true', then the output is pretty printed. - :return: V1ClusterNetwork - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['name', 'body', 'pretty'] - all_params.append('callback') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method patch_cluster_network" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'name' is set - if ('name' not in params) or (params['name'] is None): - raise ValueError("Missing the required parameter `name` when calling `patch_cluster_network`") - # verify the required parameter 'body' is set - if ('body' not in params) or (params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `patch_cluster_network`") - - - collection_formats = {} - - resource_path = '/oapi/v1/clusternetworks/{name}'.replace('{format}', 'json') - path_params = {} - if 'name' in params: - path_params['name'] = params['name'] - - query_params = {} - if 'pretty' in params: - query_params['pretty'] = params['pretty'] - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - if 'body' in params: - body_params = params['body'] - # HTTP header `Accept` - header_params['Accept'] = self.api_client.\ - select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - - # HTTP header `Content-Type` - header_params['Content-Type'] = self.api_client.\ - select_header_content_type(['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json']) - - # Authentication setting - auth_settings = ['BearerToken'] - - return self.api_client.call_api(resource_path, 'PATCH', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1ClusterNetwork', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def patch_cluster_policy(self, name, body, **kwargs): - """ - partially update the specified ClusterPolicy - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please define a `callback` function - to be invoked when receiving the response. - >>> def callback_function(response): - >>> pprint(response) - >>> - >>> thread = api.patch_cluster_policy(name, body, callback=callback_function) - - :param callback function: The callback function - for asynchronous request. (optional) - :param str name: name of the ClusterPolicy (required) - :param UnversionedPatch body: (required) - :param str pretty: If 'true', then the output is pretty printed. - :return: V1ClusterPolicy - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('callback'): - return self.patch_cluster_policy_with_http_info(name, body, **kwargs) - else: - (data) = self.patch_cluster_policy_with_http_info(name, body, **kwargs) - return data - - def patch_cluster_policy_with_http_info(self, name, body, **kwargs): - """ - partially update the specified ClusterPolicy - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please define a `callback` function - to be invoked when receiving the response. - >>> def callback_function(response): - >>> pprint(response) - >>> - >>> thread = api.patch_cluster_policy_with_http_info(name, body, callback=callback_function) - - :param callback function: The callback function - for asynchronous request. (optional) - :param str name: name of the ClusterPolicy (required) - :param UnversionedPatch body: (required) - :param str pretty: If 'true', then the output is pretty printed. - :return: V1ClusterPolicy - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['name', 'body', 'pretty'] - all_params.append('callback') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method patch_cluster_policy" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'name' is set - if ('name' not in params) or (params['name'] is None): - raise ValueError("Missing the required parameter `name` when calling `patch_cluster_policy`") - # verify the required parameter 'body' is set - if ('body' not in params) or (params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `patch_cluster_policy`") - - - collection_formats = {} - - resource_path = '/oapi/v1/clusterpolicies/{name}'.replace('{format}', 'json') - path_params = {} - if 'name' in params: - path_params['name'] = params['name'] - - query_params = {} - if 'pretty' in params: - query_params['pretty'] = params['pretty'] - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - if 'body' in params: - body_params = params['body'] - # HTTP header `Accept` - header_params['Accept'] = self.api_client.\ - select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - - # HTTP header `Content-Type` - header_params['Content-Type'] = self.api_client.\ - select_header_content_type(['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json']) - - # Authentication setting - auth_settings = ['BearerToken'] - - return self.api_client.call_api(resource_path, 'PATCH', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1ClusterPolicy', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def patch_cluster_policy_binding(self, name, body, **kwargs): - """ - partially update the specified ClusterPolicyBinding - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please define a `callback` function - to be invoked when receiving the response. - >>> def callback_function(response): - >>> pprint(response) - >>> - >>> thread = api.patch_cluster_policy_binding(name, body, callback=callback_function) + >>> thread = api.patch_cluster_network(name, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) - :param str name: name of the ClusterPolicyBinding (required) - :param UnversionedPatch body: (required) + :param str name: name of the ClusterNetwork (required) + :param object body: (required) :param str pretty: If 'true', then the output is pretty printed. - :return: V1ClusterPolicyBinding + :return: V1ClusterNetwork If the method is called asynchronously, returns the request thread. """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.patch_cluster_policy_binding_with_http_info(name, body, **kwargs) + return self.patch_cluster_network_with_http_info(name, body, **kwargs) else: - (data) = self.patch_cluster_policy_binding_with_http_info(name, body, **kwargs) + (data) = self.patch_cluster_network_with_http_info(name, body, **kwargs) return data - def patch_cluster_policy_binding_with_http_info(self, name, body, **kwargs): + def patch_cluster_network_with_http_info(self, name, body, **kwargs): """ - partially update the specified ClusterPolicyBinding + partially update the specified ClusterNetwork This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.patch_cluster_policy_binding_with_http_info(name, body, callback=callback_function) + >>> thread = api.patch_cluster_network_with_http_info(name, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) - :param str name: name of the ClusterPolicyBinding (required) - :param UnversionedPatch body: (required) + :param str name: name of the ClusterNetwork (required) + :param object body: (required) :param str pretty: If 'true', then the output is pretty printed. - :return: V1ClusterPolicyBinding + :return: V1ClusterNetwork If the method is called asynchronously, returns the request thread. """ @@ -22249,21 +19811,21 @@ def patch_cluster_policy_binding_with_http_info(self, name, body, **kwargs): if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method patch_cluster_policy_binding" % key + " to method patch_cluster_network" % key ) params[key] = val del params['kwargs'] # verify the required parameter 'name' is set if ('name' not in params) or (params['name'] is None): - raise ValueError("Missing the required parameter `name` when calling `patch_cluster_policy_binding`") + raise ValueError("Missing the required parameter `name` when calling `patch_cluster_network`") # verify the required parameter 'body' is set if ('body' not in params) or (params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `patch_cluster_policy_binding`") + raise ValueError("Missing the required parameter `body` when calling `patch_cluster_network`") collection_formats = {} - resource_path = '/oapi/v1/clusterpolicybindings/{name}'.replace('{format}', 'json') + resource_path = '/oapi/v1/clusternetworks/{name}'.replace('{format}', 'json') path_params = {} if 'name' in params: path_params['name'] = params['name'] @@ -22289,7 +19851,7 @@ def patch_cluster_policy_binding_with_http_info(self, name, body, **kwargs): select_header_content_type(['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'PATCH', path_params, @@ -22298,7 +19860,7 @@ def patch_cluster_policy_binding_with_http_info(self, name, body, **kwargs): body=body_params, post_params=form_params, files=local_var_files, - response_type='V1ClusterPolicyBinding', + response_type='V1ClusterNetwork', auth_settings=auth_settings, callback=params.get('callback'), _return_http_data_only=params.get('_return_http_data_only'), @@ -22320,7 +19882,7 @@ def patch_cluster_resource_quota(self, name, body, **kwargs): :param callback function: The callback function for asynchronous request. (optional) :param str name: name of the ClusterResourceQuota (required) - :param UnversionedPatch body: (required) + :param object body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1ClusterResourceQuota If the method is called asynchronously, @@ -22347,7 +19909,7 @@ def patch_cluster_resource_quota_with_http_info(self, name, body, **kwargs): :param callback function: The callback function for asynchronous request. (optional) :param str name: name of the ClusterResourceQuota (required) - :param UnversionedPatch body: (required) + :param object body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1ClusterResourceQuota If the method is called asynchronously, @@ -22405,7 +19967,7 @@ def patch_cluster_resource_quota_with_http_info(self, name, body, **kwargs): select_header_content_type(['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'PATCH', path_params, @@ -22436,7 +19998,7 @@ def patch_cluster_resource_quota_status(self, name, body, **kwargs): :param callback function: The callback function for asynchronous request. (optional) :param str name: name of the ClusterResourceQuota (required) - :param UnversionedPatch body: (required) + :param object body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1ClusterResourceQuota If the method is called asynchronously, @@ -22463,7 +20025,7 @@ def patch_cluster_resource_quota_status_with_http_info(self, name, body, **kwarg :param callback function: The callback function for asynchronous request. (optional) :param str name: name of the ClusterResourceQuota (required) - :param UnversionedPatch body: (required) + :param object body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1ClusterResourceQuota If the method is called asynchronously, @@ -22521,7 +20083,7 @@ def patch_cluster_resource_quota_status_with_http_info(self, name, body, **kwarg select_header_content_type(['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'PATCH', path_params, @@ -22552,7 +20114,7 @@ def patch_cluster_role(self, name, body, **kwargs): :param callback function: The callback function for asynchronous request. (optional) :param str name: name of the ClusterRole (required) - :param UnversionedPatch body: (required) + :param object body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1ClusterRole If the method is called asynchronously, @@ -22579,7 +20141,7 @@ def patch_cluster_role_with_http_info(self, name, body, **kwargs): :param callback function: The callback function for asynchronous request. (optional) :param str name: name of the ClusterRole (required) - :param UnversionedPatch body: (required) + :param object body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1ClusterRole If the method is called asynchronously, @@ -22637,7 +20199,7 @@ def patch_cluster_role_with_http_info(self, name, body, **kwargs): select_header_content_type(['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'PATCH', path_params, @@ -22668,7 +20230,7 @@ def patch_cluster_role_binding(self, name, body, **kwargs): :param callback function: The callback function for asynchronous request. (optional) :param str name: name of the ClusterRoleBinding (required) - :param UnversionedPatch body: (required) + :param object body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1ClusterRoleBinding If the method is called asynchronously, @@ -22695,7 +20257,7 @@ def patch_cluster_role_binding_with_http_info(self, name, body, **kwargs): :param callback function: The callback function for asynchronous request. (optional) :param str name: name of the ClusterRoleBinding (required) - :param UnversionedPatch body: (required) + :param object body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1ClusterRoleBinding If the method is called asynchronously, @@ -22753,7 +20315,7 @@ def patch_cluster_role_binding_with_http_info(self, name, body, **kwargs): select_header_content_type(['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'PATCH', path_params, @@ -22784,7 +20346,7 @@ def patch_group(self, name, body, **kwargs): :param callback function: The callback function for asynchronous request. (optional) :param str name: name of the Group (required) - :param UnversionedPatch body: (required) + :param object body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1Group If the method is called asynchronously, @@ -22811,7 +20373,7 @@ def patch_group_with_http_info(self, name, body, **kwargs): :param callback function: The callback function for asynchronous request. (optional) :param str name: name of the Group (required) - :param UnversionedPatch body: (required) + :param object body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1Group If the method is called asynchronously, @@ -22869,7 +20431,7 @@ def patch_group_with_http_info(self, name, body, **kwargs): select_header_content_type(['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'PATCH', path_params, @@ -22900,7 +20462,7 @@ def patch_host_subnet(self, name, body, **kwargs): :param callback function: The callback function for asynchronous request. (optional) :param str name: name of the HostSubnet (required) - :param UnversionedPatch body: (required) + :param object body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1HostSubnet If the method is called asynchronously, @@ -22927,7 +20489,7 @@ def patch_host_subnet_with_http_info(self, name, body, **kwargs): :param callback function: The callback function for asynchronous request. (optional) :param str name: name of the HostSubnet (required) - :param UnversionedPatch body: (required) + :param object body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1HostSubnet If the method is called asynchronously, @@ -22985,7 +20547,7 @@ def patch_host_subnet_with_http_info(self, name, body, **kwargs): select_header_content_type(['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'PATCH', path_params, @@ -23016,7 +20578,7 @@ def patch_identity(self, name, body, **kwargs): :param callback function: The callback function for asynchronous request. (optional) :param str name: name of the Identity (required) - :param UnversionedPatch body: (required) + :param object body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1Identity If the method is called asynchronously, @@ -23043,7 +20605,7 @@ def patch_identity_with_http_info(self, name, body, **kwargs): :param callback function: The callback function for asynchronous request. (optional) :param str name: name of the Identity (required) - :param UnversionedPatch body: (required) + :param object body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1Identity If the method is called asynchronously, @@ -23101,7 +20663,7 @@ def patch_identity_with_http_info(self, name, body, **kwargs): select_header_content_type(['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'PATCH', path_params, @@ -23132,7 +20694,7 @@ def patch_image(self, name, body, **kwargs): :param callback function: The callback function for asynchronous request. (optional) :param str name: name of the Image (required) - :param UnversionedPatch body: (required) + :param object body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1Image If the method is called asynchronously, @@ -23159,7 +20721,7 @@ def patch_image_with_http_info(self, name, body, **kwargs): :param callback function: The callback function for asynchronous request. (optional) :param str name: name of the Image (required) - :param UnversionedPatch body: (required) + :param object body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1Image If the method is called asynchronously, @@ -23217,7 +20779,7 @@ def patch_image_with_http_info(self, name, body, **kwargs): select_header_content_type(['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'PATCH', path_params, @@ -23249,7 +20811,7 @@ def patch_namespaced_build(self, name, namespace, body, **kwargs): for asynchronous request. (optional) :param str name: name of the Build (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param UnversionedPatch body: (required) + :param object body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1Build If the method is called asynchronously, @@ -23277,7 +20839,7 @@ def patch_namespaced_build_with_http_info(self, name, namespace, body, **kwargs) for asynchronous request. (optional) :param str name: name of the Build (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param UnversionedPatch body: (required) + :param object body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1Build If the method is called asynchronously, @@ -23340,7 +20902,7 @@ def patch_namespaced_build_with_http_info(self, name, namespace, body, **kwargs) select_header_content_type(['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'PATCH', path_params, @@ -23372,7 +20934,7 @@ def patch_namespaced_build_config(self, name, namespace, body, **kwargs): for asynchronous request. (optional) :param str name: name of the BuildConfig (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param UnversionedPatch body: (required) + :param object body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1BuildConfig If the method is called asynchronously, @@ -23400,7 +20962,7 @@ def patch_namespaced_build_config_with_http_info(self, name, namespace, body, ** for asynchronous request. (optional) :param str name: name of the BuildConfig (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param UnversionedPatch body: (required) + :param object body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1BuildConfig If the method is called asynchronously, @@ -23463,7 +21025,7 @@ def patch_namespaced_build_config_with_http_info(self, name, namespace, body, ** select_header_content_type(['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'PATCH', path_params, @@ -23495,7 +21057,7 @@ def patch_namespaced_deployment_config(self, name, namespace, body, **kwargs): for asynchronous request. (optional) :param str name: name of the DeploymentConfig (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param UnversionedPatch body: (required) + :param object body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1DeploymentConfig If the method is called asynchronously, @@ -23523,7 +21085,7 @@ def patch_namespaced_deployment_config_with_http_info(self, name, namespace, bod for asynchronous request. (optional) :param str name: name of the DeploymentConfig (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param UnversionedPatch body: (required) + :param object body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1DeploymentConfig If the method is called asynchronously, @@ -23586,7 +21148,7 @@ def patch_namespaced_deployment_config_with_http_info(self, name, namespace, bod select_header_content_type(['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'PATCH', path_params, @@ -23618,7 +21180,7 @@ def patch_namespaced_deployment_config_status(self, name, namespace, body, **kwa for asynchronous request. (optional) :param str name: name of the DeploymentConfig (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param UnversionedPatch body: (required) + :param object body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1DeploymentConfig If the method is called asynchronously, @@ -23646,7 +21208,7 @@ def patch_namespaced_deployment_config_status_with_http_info(self, name, namespa for asynchronous request. (optional) :param str name: name of the DeploymentConfig (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param UnversionedPatch body: (required) + :param object body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1DeploymentConfig If the method is called asynchronously, @@ -23709,7 +21271,7 @@ def patch_namespaced_deployment_config_status_with_http_info(self, name, namespa select_header_content_type(['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'PATCH', path_params, @@ -23741,7 +21303,7 @@ def patch_namespaced_egress_network_policy(self, name, namespace, body, **kwargs for asynchronous request. (optional) :param str name: name of the EgressNetworkPolicy (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param UnversionedPatch body: (required) + :param object body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1EgressNetworkPolicy If the method is called asynchronously, @@ -23769,7 +21331,7 @@ def patch_namespaced_egress_network_policy_with_http_info(self, name, namespace, for asynchronous request. (optional) :param str name: name of the EgressNetworkPolicy (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param UnversionedPatch body: (required) + :param object body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1EgressNetworkPolicy If the method is called asynchronously, @@ -23832,7 +21394,7 @@ def patch_namespaced_egress_network_policy_with_http_info(self, name, namespace, select_header_content_type(['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'PATCH', path_params, @@ -23864,7 +21426,7 @@ def patch_namespaced_image_stream(self, name, namespace, body, **kwargs): for asynchronous request. (optional) :param str name: name of the ImageStream (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param UnversionedPatch body: (required) + :param object body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1ImageStream If the method is called asynchronously, @@ -23892,7 +21454,7 @@ def patch_namespaced_image_stream_with_http_info(self, name, namespace, body, ** for asynchronous request. (optional) :param str name: name of the ImageStream (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param UnversionedPatch body: (required) + :param object body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1ImageStream If the method is called asynchronously, @@ -23927,253 +21489,7 @@ def patch_namespaced_image_stream_with_http_info(self, name, namespace, body, ** collection_formats = {} - resource_path = '/oapi/v1/namespaces/{namespace}/imagestreams/{name}'.replace('{format}', 'json') - path_params = {} - if 'name' in params: - path_params['name'] = params['name'] - if 'namespace' in params: - path_params['namespace'] = params['namespace'] - - query_params = {} - if 'pretty' in params: - query_params['pretty'] = params['pretty'] - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - if 'body' in params: - body_params = params['body'] - # HTTP header `Accept` - header_params['Accept'] = self.api_client.\ - select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - - # HTTP header `Content-Type` - header_params['Content-Type'] = self.api_client.\ - select_header_content_type(['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json']) - - # Authentication setting - auth_settings = ['BearerToken'] - - return self.api_client.call_api(resource_path, 'PATCH', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1ImageStream', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def patch_namespaced_image_stream_status(self, name, namespace, body, **kwargs): - """ - partially update status of the specified ImageStream - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please define a `callback` function - to be invoked when receiving the response. - >>> def callback_function(response): - >>> pprint(response) - >>> - >>> thread = api.patch_namespaced_image_stream_status(name, namespace, body, callback=callback_function) - - :param callback function: The callback function - for asynchronous request. (optional) - :param str name: name of the ImageStream (required) - :param str namespace: object name and auth scope, such as for teams and projects (required) - :param UnversionedPatch body: (required) - :param str pretty: If 'true', then the output is pretty printed. - :return: V1ImageStream - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('callback'): - return self.patch_namespaced_image_stream_status_with_http_info(name, namespace, body, **kwargs) - else: - (data) = self.patch_namespaced_image_stream_status_with_http_info(name, namespace, body, **kwargs) - return data - - def patch_namespaced_image_stream_status_with_http_info(self, name, namespace, body, **kwargs): - """ - partially update status of the specified ImageStream - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please define a `callback` function - to be invoked when receiving the response. - >>> def callback_function(response): - >>> pprint(response) - >>> - >>> thread = api.patch_namespaced_image_stream_status_with_http_info(name, namespace, body, callback=callback_function) - - :param callback function: The callback function - for asynchronous request. (optional) - :param str name: name of the ImageStream (required) - :param str namespace: object name and auth scope, such as for teams and projects (required) - :param UnversionedPatch body: (required) - :param str pretty: If 'true', then the output is pretty printed. - :return: V1ImageStream - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['name', 'namespace', 'body', 'pretty'] - all_params.append('callback') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method patch_namespaced_image_stream_status" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'name' is set - if ('name' not in params) or (params['name'] is None): - raise ValueError("Missing the required parameter `name` when calling `patch_namespaced_image_stream_status`") - # verify the required parameter 'namespace' is set - if ('namespace' not in params) or (params['namespace'] is None): - raise ValueError("Missing the required parameter `namespace` when calling `patch_namespaced_image_stream_status`") - # verify the required parameter 'body' is set - if ('body' not in params) or (params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `patch_namespaced_image_stream_status`") - - - collection_formats = {} - - resource_path = '/oapi/v1/namespaces/{namespace}/imagestreams/{name}/status'.replace('{format}', 'json') - path_params = {} - if 'name' in params: - path_params['name'] = params['name'] - if 'namespace' in params: - path_params['namespace'] = params['namespace'] - - query_params = {} - if 'pretty' in params: - query_params['pretty'] = params['pretty'] - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - if 'body' in params: - body_params = params['body'] - # HTTP header `Accept` - header_params['Accept'] = self.api_client.\ - select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - - # HTTP header `Content-Type` - header_params['Content-Type'] = self.api_client.\ - select_header_content_type(['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json']) - - # Authentication setting - auth_settings = ['BearerToken'] - - return self.api_client.call_api(resource_path, 'PATCH', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1ImageStream', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def patch_namespaced_image_stream_tag(self, name, namespace, body, **kwargs): - """ - partially update the specified ImageStreamTag - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please define a `callback` function - to be invoked when receiving the response. - >>> def callback_function(response): - >>> pprint(response) - >>> - >>> thread = api.patch_namespaced_image_stream_tag(name, namespace, body, callback=callback_function) - - :param callback function: The callback function - for asynchronous request. (optional) - :param str name: name of the ImageStreamTag (required) - :param str namespace: object name and auth scope, such as for teams and projects (required) - :param UnversionedPatch body: (required) - :param str pretty: If 'true', then the output is pretty printed. - :return: V1ImageStreamTag - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('callback'): - return self.patch_namespaced_image_stream_tag_with_http_info(name, namespace, body, **kwargs) - else: - (data) = self.patch_namespaced_image_stream_tag_with_http_info(name, namespace, body, **kwargs) - return data - - def patch_namespaced_image_stream_tag_with_http_info(self, name, namespace, body, **kwargs): - """ - partially update the specified ImageStreamTag - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please define a `callback` function - to be invoked when receiving the response. - >>> def callback_function(response): - >>> pprint(response) - >>> - >>> thread = api.patch_namespaced_image_stream_tag_with_http_info(name, namespace, body, callback=callback_function) - - :param callback function: The callback function - for asynchronous request. (optional) - :param str name: name of the ImageStreamTag (required) - :param str namespace: object name and auth scope, such as for teams and projects (required) - :param UnversionedPatch body: (required) - :param str pretty: If 'true', then the output is pretty printed. - :return: V1ImageStreamTag - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['name', 'namespace', 'body', 'pretty'] - all_params.append('callback') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method patch_namespaced_image_stream_tag" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'name' is set - if ('name' not in params) or (params['name'] is None): - raise ValueError("Missing the required parameter `name` when calling `patch_namespaced_image_stream_tag`") - # verify the required parameter 'namespace' is set - if ('namespace' not in params) or (params['namespace'] is None): - raise ValueError("Missing the required parameter `namespace` when calling `patch_namespaced_image_stream_tag`") - # verify the required parameter 'body' is set - if ('body' not in params) or (params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `patch_namespaced_image_stream_tag`") - - - collection_formats = {} - - resource_path = '/oapi/v1/namespaces/{namespace}/imagestreamtags/{name}'.replace('{format}', 'json') + resource_path = '/oapi/v1/namespaces/{namespace}/imagestreams/{name}'.replace('{format}', 'json') path_params = {} if 'name' in params: path_params['name'] = params['name'] @@ -24201,7 +21517,7 @@ def patch_namespaced_image_stream_tag_with_http_info(self, name, namespace, body select_header_content_type(['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'PATCH', path_params, @@ -24210,7 +21526,7 @@ def patch_namespaced_image_stream_tag_with_http_info(self, name, namespace, body body=body_params, post_params=form_params, files=local_var_files, - response_type='V1ImageStreamTag', + response_type='V1ImageStream', auth_settings=auth_settings, callback=params.get('callback'), _return_http_data_only=params.get('_return_http_data_only'), @@ -24218,52 +21534,52 @@ def patch_namespaced_image_stream_tag_with_http_info(self, name, namespace, body _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def patch_namespaced_policy(self, name, namespace, body, **kwargs): + def patch_namespaced_image_stream_status(self, name, namespace, body, **kwargs): """ - partially update the specified Policy + partially update status of the specified ImageStream This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.patch_namespaced_policy(name, namespace, body, callback=callback_function) + >>> thread = api.patch_namespaced_image_stream_status(name, namespace, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) - :param str name: name of the Policy (required) + :param str name: name of the ImageStream (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param UnversionedPatch body: (required) + :param object body: (required) :param str pretty: If 'true', then the output is pretty printed. - :return: V1Policy + :return: V1ImageStream If the method is called asynchronously, returns the request thread. """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.patch_namespaced_policy_with_http_info(name, namespace, body, **kwargs) + return self.patch_namespaced_image_stream_status_with_http_info(name, namespace, body, **kwargs) else: - (data) = self.patch_namespaced_policy_with_http_info(name, namespace, body, **kwargs) + (data) = self.patch_namespaced_image_stream_status_with_http_info(name, namespace, body, **kwargs) return data - def patch_namespaced_policy_with_http_info(self, name, namespace, body, **kwargs): + def patch_namespaced_image_stream_status_with_http_info(self, name, namespace, body, **kwargs): """ - partially update the specified Policy + partially update status of the specified ImageStream This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.patch_namespaced_policy_with_http_info(name, namespace, body, callback=callback_function) + >>> thread = api.patch_namespaced_image_stream_status_with_http_info(name, namespace, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) - :param str name: name of the Policy (required) + :param str name: name of the ImageStream (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param UnversionedPatch body: (required) + :param object body: (required) :param str pretty: If 'true', then the output is pretty printed. - :return: V1Policy + :return: V1ImageStream If the method is called asynchronously, returns the request thread. """ @@ -24279,24 +21595,24 @@ def patch_namespaced_policy_with_http_info(self, name, namespace, body, **kwargs if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method patch_namespaced_policy" % key + " to method patch_namespaced_image_stream_status" % key ) params[key] = val del params['kwargs'] # verify the required parameter 'name' is set if ('name' not in params) or (params['name'] is None): - raise ValueError("Missing the required parameter `name` when calling `patch_namespaced_policy`") + raise ValueError("Missing the required parameter `name` when calling `patch_namespaced_image_stream_status`") # verify the required parameter 'namespace' is set if ('namespace' not in params) or (params['namespace'] is None): - raise ValueError("Missing the required parameter `namespace` when calling `patch_namespaced_policy`") + raise ValueError("Missing the required parameter `namespace` when calling `patch_namespaced_image_stream_status`") # verify the required parameter 'body' is set if ('body' not in params) or (params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `patch_namespaced_policy`") + raise ValueError("Missing the required parameter `body` when calling `patch_namespaced_image_stream_status`") collection_formats = {} - resource_path = '/oapi/v1/namespaces/{namespace}/policies/{name}'.replace('{format}', 'json') + resource_path = '/oapi/v1/namespaces/{namespace}/imagestreams/{name}/status'.replace('{format}', 'json') path_params = {} if 'name' in params: path_params['name'] = params['name'] @@ -24324,7 +21640,7 @@ def patch_namespaced_policy_with_http_info(self, name, namespace, body, **kwargs select_header_content_type(['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'PATCH', path_params, @@ -24333,7 +21649,7 @@ def patch_namespaced_policy_with_http_info(self, name, namespace, body, **kwargs body=body_params, post_params=form_params, files=local_var_files, - response_type='V1Policy', + response_type='V1ImageStream', auth_settings=auth_settings, callback=params.get('callback'), _return_http_data_only=params.get('_return_http_data_only'), @@ -24341,52 +21657,52 @@ def patch_namespaced_policy_with_http_info(self, name, namespace, body, **kwargs _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def patch_namespaced_policy_binding(self, name, namespace, body, **kwargs): + def patch_namespaced_image_stream_tag(self, name, namespace, body, **kwargs): """ - partially update the specified PolicyBinding + partially update the specified ImageStreamTag This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.patch_namespaced_policy_binding(name, namespace, body, callback=callback_function) + >>> thread = api.patch_namespaced_image_stream_tag(name, namespace, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) - :param str name: name of the PolicyBinding (required) + :param str name: name of the ImageStreamTag (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param UnversionedPatch body: (required) + :param object body: (required) :param str pretty: If 'true', then the output is pretty printed. - :return: V1PolicyBinding + :return: V1ImageStreamTag If the method is called asynchronously, returns the request thread. """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.patch_namespaced_policy_binding_with_http_info(name, namespace, body, **kwargs) + return self.patch_namespaced_image_stream_tag_with_http_info(name, namespace, body, **kwargs) else: - (data) = self.patch_namespaced_policy_binding_with_http_info(name, namespace, body, **kwargs) + (data) = self.patch_namespaced_image_stream_tag_with_http_info(name, namespace, body, **kwargs) return data - def patch_namespaced_policy_binding_with_http_info(self, name, namespace, body, **kwargs): + def patch_namespaced_image_stream_tag_with_http_info(self, name, namespace, body, **kwargs): """ - partially update the specified PolicyBinding + partially update the specified ImageStreamTag This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.patch_namespaced_policy_binding_with_http_info(name, namespace, body, callback=callback_function) + >>> thread = api.patch_namespaced_image_stream_tag_with_http_info(name, namespace, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) - :param str name: name of the PolicyBinding (required) + :param str name: name of the ImageStreamTag (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param UnversionedPatch body: (required) + :param object body: (required) :param str pretty: If 'true', then the output is pretty printed. - :return: V1PolicyBinding + :return: V1ImageStreamTag If the method is called asynchronously, returns the request thread. """ @@ -24402,24 +21718,24 @@ def patch_namespaced_policy_binding_with_http_info(self, name, namespace, body, if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method patch_namespaced_policy_binding" % key + " to method patch_namespaced_image_stream_tag" % key ) params[key] = val del params['kwargs'] # verify the required parameter 'name' is set if ('name' not in params) or (params['name'] is None): - raise ValueError("Missing the required parameter `name` when calling `patch_namespaced_policy_binding`") + raise ValueError("Missing the required parameter `name` when calling `patch_namespaced_image_stream_tag`") # verify the required parameter 'namespace' is set if ('namespace' not in params) or (params['namespace'] is None): - raise ValueError("Missing the required parameter `namespace` when calling `patch_namespaced_policy_binding`") + raise ValueError("Missing the required parameter `namespace` when calling `patch_namespaced_image_stream_tag`") # verify the required parameter 'body' is set if ('body' not in params) or (params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `patch_namespaced_policy_binding`") + raise ValueError("Missing the required parameter `body` when calling `patch_namespaced_image_stream_tag`") collection_formats = {} - resource_path = '/oapi/v1/namespaces/{namespace}/policybindings/{name}'.replace('{format}', 'json') + resource_path = '/oapi/v1/namespaces/{namespace}/imagestreamtags/{name}'.replace('{format}', 'json') path_params = {} if 'name' in params: path_params['name'] = params['name'] @@ -24447,7 +21763,7 @@ def patch_namespaced_policy_binding_with_http_info(self, name, namespace, body, select_header_content_type(['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'PATCH', path_params, @@ -24456,7 +21772,7 @@ def patch_namespaced_policy_binding_with_http_info(self, name, namespace, body, body=body_params, post_params=form_params, files=local_var_files, - response_type='V1PolicyBinding', + response_type='V1ImageStreamTag', auth_settings=auth_settings, callback=params.get('callback'), _return_http_data_only=params.get('_return_http_data_only'), @@ -24479,7 +21795,7 @@ def patch_namespaced_role(self, name, namespace, body, **kwargs): for asynchronous request. (optional) :param str name: name of the Role (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param UnversionedPatch body: (required) + :param object body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1Role If the method is called asynchronously, @@ -24507,7 +21823,7 @@ def patch_namespaced_role_with_http_info(self, name, namespace, body, **kwargs): for asynchronous request. (optional) :param str name: name of the Role (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param UnversionedPatch body: (required) + :param object body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1Role If the method is called asynchronously, @@ -24570,7 +21886,7 @@ def patch_namespaced_role_with_http_info(self, name, namespace, body, **kwargs): select_header_content_type(['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'PATCH', path_params, @@ -24602,7 +21918,7 @@ def patch_namespaced_role_binding(self, name, namespace, body, **kwargs): for asynchronous request. (optional) :param str name: name of the RoleBinding (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param UnversionedPatch body: (required) + :param object body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1RoleBinding If the method is called asynchronously, @@ -24630,7 +21946,7 @@ def patch_namespaced_role_binding_with_http_info(self, name, namespace, body, ** for asynchronous request. (optional) :param str name: name of the RoleBinding (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param UnversionedPatch body: (required) + :param object body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1RoleBinding If the method is called asynchronously, @@ -24693,7 +22009,7 @@ def patch_namespaced_role_binding_with_http_info(self, name, namespace, body, ** select_header_content_type(['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'PATCH', path_params, @@ -24725,7 +22041,7 @@ def patch_namespaced_role_binding_restriction(self, name, namespace, body, **kwa for asynchronous request. (optional) :param str name: name of the RoleBindingRestriction (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param UnversionedPatch body: (required) + :param object body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1RoleBindingRestriction If the method is called asynchronously, @@ -24753,7 +22069,7 @@ def patch_namespaced_role_binding_restriction_with_http_info(self, name, namespa for asynchronous request. (optional) :param str name: name of the RoleBindingRestriction (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param UnversionedPatch body: (required) + :param object body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1RoleBindingRestriction If the method is called asynchronously, @@ -24816,7 +22132,7 @@ def patch_namespaced_role_binding_restriction_with_http_info(self, name, namespa select_header_content_type(['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'PATCH', path_params, @@ -24848,7 +22164,7 @@ def patch_namespaced_route(self, name, namespace, body, **kwargs): for asynchronous request. (optional) :param str name: name of the Route (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param UnversionedPatch body: (required) + :param object body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1Route If the method is called asynchronously, @@ -24876,7 +22192,7 @@ def patch_namespaced_route_with_http_info(self, name, namespace, body, **kwargs) for asynchronous request. (optional) :param str name: name of the Route (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param UnversionedPatch body: (required) + :param object body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1Route If the method is called asynchronously, @@ -24939,7 +22255,7 @@ def patch_namespaced_route_with_http_info(self, name, namespace, body, **kwargs) select_header_content_type(['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'PATCH', path_params, @@ -24971,7 +22287,7 @@ def patch_namespaced_route_status(self, name, namespace, body, **kwargs): for asynchronous request. (optional) :param str name: name of the Route (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param UnversionedPatch body: (required) + :param object body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1Route If the method is called asynchronously, @@ -24999,7 +22315,7 @@ def patch_namespaced_route_status_with_http_info(self, name, namespace, body, ** for asynchronous request. (optional) :param str name: name of the Route (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param UnversionedPatch body: (required) + :param object body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1Route If the method is called asynchronously, @@ -25062,7 +22378,7 @@ def patch_namespaced_route_status_with_http_info(self, name, namespace, body, ** select_header_content_type(['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'PATCH', path_params, @@ -25094,9 +22410,9 @@ def patch_namespaced_scale_scale(self, name, namespace, body, **kwargs): for asynchronous request. (optional) :param str name: name of the Scale (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param UnversionedPatch body: (required) + :param object body: (required) :param str pretty: If 'true', then the output is pretty printed. - :return: V1beta1Scale + :return: ExtensionsV1beta1Scale If the method is called asynchronously, returns the request thread. """ @@ -25122,9 +22438,9 @@ def patch_namespaced_scale_scale_with_http_info(self, name, namespace, body, **k for asynchronous request. (optional) :param str name: name of the Scale (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param UnversionedPatch body: (required) + :param object body: (required) :param str pretty: If 'true', then the output is pretty printed. - :return: V1beta1Scale + :return: ExtensionsV1beta1Scale If the method is called asynchronously, returns the request thread. """ @@ -25185,7 +22501,7 @@ def patch_namespaced_scale_scale_with_http_info(self, name, namespace, body, **k select_header_content_type(['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'PATCH', path_params, @@ -25194,7 +22510,7 @@ def patch_namespaced_scale_scale_with_http_info(self, name, namespace, body, **k body=body_params, post_params=form_params, files=local_var_files, - response_type='V1beta1Scale', + response_type='ExtensionsV1beta1Scale', auth_settings=auth_settings, callback=params.get('callback'), _return_http_data_only=params.get('_return_http_data_only'), @@ -25217,7 +22533,7 @@ def patch_namespaced_template(self, name, namespace, body, **kwargs): for asynchronous request. (optional) :param str name: name of the Template (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param UnversionedPatch body: (required) + :param object body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1Template If the method is called asynchronously, @@ -25245,7 +22561,7 @@ def patch_namespaced_template_with_http_info(self, name, namespace, body, **kwar for asynchronous request. (optional) :param str name: name of the Template (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param UnversionedPatch body: (required) + :param object body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1Template If the method is called asynchronously, @@ -25308,7 +22624,7 @@ def patch_namespaced_template_with_http_info(self, name, namespace, body, **kwar select_header_content_type(['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'PATCH', path_params, @@ -25339,7 +22655,7 @@ def patch_net_namespace(self, name, body, **kwargs): :param callback function: The callback function for asynchronous request. (optional) :param str name: name of the NetNamespace (required) - :param UnversionedPatch body: (required) + :param object body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1NetNamespace If the method is called asynchronously, @@ -25366,7 +22682,7 @@ def patch_net_namespace_with_http_info(self, name, body, **kwargs): :param callback function: The callback function for asynchronous request. (optional) :param str name: name of the NetNamespace (required) - :param UnversionedPatch body: (required) + :param object body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1NetNamespace If the method is called asynchronously, @@ -25424,7 +22740,7 @@ def patch_net_namespace_with_http_info(self, name, body, **kwargs): select_header_content_type(['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'PATCH', path_params, @@ -25455,7 +22771,7 @@ def patch_o_auth_access_token(self, name, body, **kwargs): :param callback function: The callback function for asynchronous request. (optional) :param str name: name of the OAuthAccessToken (required) - :param UnversionedPatch body: (required) + :param object body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1OAuthAccessToken If the method is called asynchronously, @@ -25482,7 +22798,7 @@ def patch_o_auth_access_token_with_http_info(self, name, body, **kwargs): :param callback function: The callback function for asynchronous request. (optional) :param str name: name of the OAuthAccessToken (required) - :param UnversionedPatch body: (required) + :param object body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1OAuthAccessToken If the method is called asynchronously, @@ -25540,7 +22856,7 @@ def patch_o_auth_access_token_with_http_info(self, name, body, **kwargs): select_header_content_type(['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'PATCH', path_params, @@ -25571,7 +22887,7 @@ def patch_o_auth_authorize_token(self, name, body, **kwargs): :param callback function: The callback function for asynchronous request. (optional) :param str name: name of the OAuthAuthorizeToken (required) - :param UnversionedPatch body: (required) + :param object body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1OAuthAuthorizeToken If the method is called asynchronously, @@ -25598,7 +22914,7 @@ def patch_o_auth_authorize_token_with_http_info(self, name, body, **kwargs): :param callback function: The callback function for asynchronous request. (optional) :param str name: name of the OAuthAuthorizeToken (required) - :param UnversionedPatch body: (required) + :param object body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1OAuthAuthorizeToken If the method is called asynchronously, @@ -25656,7 +22972,7 @@ def patch_o_auth_authorize_token_with_http_info(self, name, body, **kwargs): select_header_content_type(['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'PATCH', path_params, @@ -25687,7 +23003,7 @@ def patch_o_auth_client(self, name, body, **kwargs): :param callback function: The callback function for asynchronous request. (optional) :param str name: name of the OAuthClient (required) - :param UnversionedPatch body: (required) + :param object body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1OAuthClient If the method is called asynchronously, @@ -25714,7 +23030,7 @@ def patch_o_auth_client_with_http_info(self, name, body, **kwargs): :param callback function: The callback function for asynchronous request. (optional) :param str name: name of the OAuthClient (required) - :param UnversionedPatch body: (required) + :param object body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1OAuthClient If the method is called asynchronously, @@ -25772,7 +23088,7 @@ def patch_o_auth_client_with_http_info(self, name, body, **kwargs): select_header_content_type(['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'PATCH', path_params, @@ -25803,7 +23119,7 @@ def patch_o_auth_client_authorization(self, name, body, **kwargs): :param callback function: The callback function for asynchronous request. (optional) :param str name: name of the OAuthClientAuthorization (required) - :param UnversionedPatch body: (required) + :param object body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1OAuthClientAuthorization If the method is called asynchronously, @@ -25830,7 +23146,7 @@ def patch_o_auth_client_authorization_with_http_info(self, name, body, **kwargs) :param callback function: The callback function for asynchronous request. (optional) :param str name: name of the OAuthClientAuthorization (required) - :param UnversionedPatch body: (required) + :param object body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1OAuthClientAuthorization If the method is called asynchronously, @@ -25888,7 +23204,7 @@ def patch_o_auth_client_authorization_with_http_info(self, name, body, **kwargs) select_header_content_type(['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'PATCH', path_params, @@ -25919,7 +23235,7 @@ def patch_project(self, name, body, **kwargs): :param callback function: The callback function for asynchronous request. (optional) :param str name: name of the Project (required) - :param UnversionedPatch body: (required) + :param object body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1Project If the method is called asynchronously, @@ -25946,7 +23262,7 @@ def patch_project_with_http_info(self, name, body, **kwargs): :param callback function: The callback function for asynchronous request. (optional) :param str name: name of the Project (required) - :param UnversionedPatch body: (required) + :param object body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1Project If the method is called asynchronously, @@ -26004,7 +23320,7 @@ def patch_project_with_http_info(self, name, body, **kwargs): select_header_content_type(['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'PATCH', path_params, @@ -26035,7 +23351,7 @@ def patch_user(self, name, body, **kwargs): :param callback function: The callback function for asynchronous request. (optional) :param str name: name of the User (required) - :param UnversionedPatch body: (required) + :param object body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1User If the method is called asynchronously, @@ -26062,7 +23378,7 @@ def patch_user_with_http_info(self, name, body, **kwargs): :param callback function: The callback function for asynchronous request. (optional) :param str name: name of the User (required) - :param UnversionedPatch body: (required) + :param object body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1User If the method is called asynchronously, @@ -26120,7 +23436,7 @@ def patch_user_with_http_info(self, name, body, **kwargs): select_header_content_type(['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'PATCH', path_params, @@ -26151,7 +23467,7 @@ def patch_user_identity_mapping(self, name, body, **kwargs): :param callback function: The callback function for asynchronous request. (optional) :param str name: name of the UserIdentityMapping (required) - :param UnversionedPatch body: (required) + :param object body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1UserIdentityMapping If the method is called asynchronously, @@ -26178,249 +23494,14 @@ def patch_user_identity_mapping_with_http_info(self, name, body, **kwargs): :param callback function: The callback function for asynchronous request. (optional) :param str name: name of the UserIdentityMapping (required) - :param UnversionedPatch body: (required) + :param object body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1UserIdentityMapping If the method is called asynchronously, returns the request thread. """ - all_params = ['name', 'body', 'pretty'] - all_params.append('callback') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method patch_user_identity_mapping" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'name' is set - if ('name' not in params) or (params['name'] is None): - raise ValueError("Missing the required parameter `name` when calling `patch_user_identity_mapping`") - # verify the required parameter 'body' is set - if ('body' not in params) or (params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `patch_user_identity_mapping`") - - - collection_formats = {} - - resource_path = '/oapi/v1/useridentitymappings/{name}'.replace('{format}', 'json') - path_params = {} - if 'name' in params: - path_params['name'] = params['name'] - - query_params = {} - if 'pretty' in params: - query_params['pretty'] = params['pretty'] - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - if 'body' in params: - body_params = params['body'] - # HTTP header `Accept` - header_params['Accept'] = self.api_client.\ - select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - - # HTTP header `Content-Type` - header_params['Content-Type'] = self.api_client.\ - select_header_content_type(['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json']) - - # Authentication setting - auth_settings = ['BearerToken'] - - return self.api_client.call_api(resource_path, 'PATCH', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1UserIdentityMapping', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def read_cluster_network(self, name, **kwargs): - """ - read the specified ClusterNetwork - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please define a `callback` function - to be invoked when receiving the response. - >>> def callback_function(response): - >>> pprint(response) - >>> - >>> thread = api.read_cluster_network(name, callback=callback_function) - - :param callback function: The callback function - for asynchronous request. (optional) - :param str name: name of the ClusterNetwork (required) - :param str pretty: If 'true', then the output is pretty printed. - :param bool exact: Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace' - :param bool export: Should this value be exported. Export strips fields that a user can not specify. - :return: V1ClusterNetwork - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('callback'): - return self.read_cluster_network_with_http_info(name, **kwargs) - else: - (data) = self.read_cluster_network_with_http_info(name, **kwargs) - return data - - def read_cluster_network_with_http_info(self, name, **kwargs): - """ - read the specified ClusterNetwork - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please define a `callback` function - to be invoked when receiving the response. - >>> def callback_function(response): - >>> pprint(response) - >>> - >>> thread = api.read_cluster_network_with_http_info(name, callback=callback_function) - - :param callback function: The callback function - for asynchronous request. (optional) - :param str name: name of the ClusterNetwork (required) - :param str pretty: If 'true', then the output is pretty printed. - :param bool exact: Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace' - :param bool export: Should this value be exported. Export strips fields that a user can not specify. - :return: V1ClusterNetwork - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['name', 'pretty', 'exact', 'export'] - all_params.append('callback') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method read_cluster_network" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'name' is set - if ('name' not in params) or (params['name'] is None): - raise ValueError("Missing the required parameter `name` when calling `read_cluster_network`") - - - collection_formats = {} - - resource_path = '/oapi/v1/clusternetworks/{name}'.replace('{format}', 'json') - path_params = {} - if 'name' in params: - path_params['name'] = params['name'] - - query_params = {} - if 'pretty' in params: - query_params['pretty'] = params['pretty'] - if 'exact' in params: - query_params['exact'] = params['exact'] - if 'export' in params: - query_params['export'] = params['export'] - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - # HTTP header `Accept` - header_params['Accept'] = self.api_client.\ - select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - - # HTTP header `Content-Type` - header_params['Content-Type'] = self.api_client.\ - select_header_content_type(['*/*']) - - # Authentication setting - auth_settings = ['BearerToken'] - - return self.api_client.call_api(resource_path, 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1ClusterNetwork', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def read_cluster_policy(self, name, **kwargs): - """ - read the specified ClusterPolicy - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please define a `callback` function - to be invoked when receiving the response. - >>> def callback_function(response): - >>> pprint(response) - >>> - >>> thread = api.read_cluster_policy(name, callback=callback_function) - - :param callback function: The callback function - for asynchronous request. (optional) - :param str name: name of the ClusterPolicy (required) - :param str pretty: If 'true', then the output is pretty printed. - :param bool exact: Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace' - :param bool export: Should this value be exported. Export strips fields that a user can not specify. - :return: V1ClusterPolicy - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('callback'): - return self.read_cluster_policy_with_http_info(name, **kwargs) - else: - (data) = self.read_cluster_policy_with_http_info(name, **kwargs) - return data - - def read_cluster_policy_with_http_info(self, name, **kwargs): - """ - read the specified ClusterPolicy - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please define a `callback` function - to be invoked when receiving the response. - >>> def callback_function(response): - >>> pprint(response) - >>> - >>> thread = api.read_cluster_policy_with_http_info(name, callback=callback_function) - - :param callback function: The callback function - for asynchronous request. (optional) - :param str name: name of the ClusterPolicy (required) - :param str pretty: If 'true', then the output is pretty printed. - :param bool exact: Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace' - :param bool export: Should this value be exported. Export strips fields that a user can not specify. - :return: V1ClusterPolicy - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['name', 'pretty', 'exact', 'export'] + all_params = ['name', 'body', 'pretty'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -26431,18 +23512,21 @@ def read_cluster_policy_with_http_info(self, name, **kwargs): if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method read_cluster_policy" % key + " to method patch_user_identity_mapping" % key ) params[key] = val del params['kwargs'] # verify the required parameter 'name' is set if ('name' not in params) or (params['name'] is None): - raise ValueError("Missing the required parameter `name` when calling `read_cluster_policy`") + raise ValueError("Missing the required parameter `name` when calling `patch_user_identity_mapping`") + # verify the required parameter 'body' is set + if ('body' not in params) or (params['body'] is None): + raise ValueError("Missing the required parameter `body` when calling `patch_user_identity_mapping`") collection_formats = {} - resource_path = '/oapi/v1/clusterpolicies/{name}'.replace('{format}', 'json') + resource_path = '/oapi/v1/useridentitymappings/{name}'.replace('{format}', 'json') path_params = {} if 'name' in params: path_params['name'] = params['name'] @@ -26450,10 +23534,6 @@ def read_cluster_policy_with_http_info(self, name, **kwargs): query_params = {} if 'pretty' in params: query_params['pretty'] = params['pretty'] - if 'exact' in params: - query_params['exact'] = params['exact'] - if 'export' in params: - query_params['export'] = params['export'] header_params = {} @@ -26461,25 +23541,27 @@ def read_cluster_policy_with_http_info(self, name, **kwargs): local_var_files = {} body_params = None + if 'body' in params: + body_params = params['body'] # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ - select_header_content_type(['*/*']) + select_header_content_type(['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] - return self.api_client.call_api(resource_path, 'GET', + return self.api_client.call_api(resource_path, 'PATCH', path_params, query_params, header_params, body=body_params, post_params=form_params, files=local_var_files, - response_type='V1ClusterPolicy', + response_type='V1UserIdentityMapping', auth_settings=auth_settings, callback=params.get('callback'), _return_http_data_only=params.get('_return_http_data_only'), @@ -26487,52 +23569,52 @@ def read_cluster_policy_with_http_info(self, name, **kwargs): _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def read_cluster_policy_binding(self, name, **kwargs): + def read_cluster_network(self, name, **kwargs): """ - read the specified ClusterPolicyBinding + read the specified ClusterNetwork This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.read_cluster_policy_binding(name, callback=callback_function) + >>> thread = api.read_cluster_network(name, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) - :param str name: name of the ClusterPolicyBinding (required) + :param str name: name of the ClusterNetwork (required) :param str pretty: If 'true', then the output is pretty printed. - :param bool exact: Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace' + :param bool exact: Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. :param bool export: Should this value be exported. Export strips fields that a user can not specify. - :return: V1ClusterPolicyBinding + :return: V1ClusterNetwork If the method is called asynchronously, returns the request thread. """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.read_cluster_policy_binding_with_http_info(name, **kwargs) + return self.read_cluster_network_with_http_info(name, **kwargs) else: - (data) = self.read_cluster_policy_binding_with_http_info(name, **kwargs) + (data) = self.read_cluster_network_with_http_info(name, **kwargs) return data - def read_cluster_policy_binding_with_http_info(self, name, **kwargs): + def read_cluster_network_with_http_info(self, name, **kwargs): """ - read the specified ClusterPolicyBinding + read the specified ClusterNetwork This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.read_cluster_policy_binding_with_http_info(name, callback=callback_function) + >>> thread = api.read_cluster_network_with_http_info(name, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) - :param str name: name of the ClusterPolicyBinding (required) + :param str name: name of the ClusterNetwork (required) :param str pretty: If 'true', then the output is pretty printed. - :param bool exact: Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace' + :param bool exact: Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. :param bool export: Should this value be exported. Export strips fields that a user can not specify. - :return: V1ClusterPolicyBinding + :return: V1ClusterNetwork If the method is called asynchronously, returns the request thread. """ @@ -26548,18 +23630,18 @@ def read_cluster_policy_binding_with_http_info(self, name, **kwargs): if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method read_cluster_policy_binding" % key + " to method read_cluster_network" % key ) params[key] = val del params['kwargs'] # verify the required parameter 'name' is set if ('name' not in params) or (params['name'] is None): - raise ValueError("Missing the required parameter `name` when calling `read_cluster_policy_binding`") + raise ValueError("Missing the required parameter `name` when calling `read_cluster_network`") collection_formats = {} - resource_path = '/oapi/v1/clusterpolicybindings/{name}'.replace('{format}', 'json') + resource_path = '/oapi/v1/clusternetworks/{name}'.replace('{format}', 'json') path_params = {} if 'name' in params: path_params['name'] = params['name'] @@ -26587,7 +23669,7 @@ def read_cluster_policy_binding_with_http_info(self, name, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -26596,7 +23678,7 @@ def read_cluster_policy_binding_with_http_info(self, name, **kwargs): body=body_params, post_params=form_params, files=local_var_files, - response_type='V1ClusterPolicyBinding', + response_type='V1ClusterNetwork', auth_settings=auth_settings, callback=params.get('callback'), _return_http_data_only=params.get('_return_http_data_only'), @@ -26619,7 +23701,7 @@ def read_cluster_resource_quota(self, name, **kwargs): for asynchronous request. (optional) :param str name: name of the ClusterResourceQuota (required) :param str pretty: If 'true', then the output is pretty printed. - :param bool exact: Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace' + :param bool exact: Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. :param bool export: Should this value be exported. Export strips fields that a user can not specify. :return: V1ClusterResourceQuota If the method is called asynchronously, @@ -26647,7 +23729,7 @@ def read_cluster_resource_quota_with_http_info(self, name, **kwargs): for asynchronous request. (optional) :param str name: name of the ClusterResourceQuota (required) :param str pretty: If 'true', then the output is pretty printed. - :param bool exact: Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace' + :param bool exact: Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. :param bool export: Should this value be exported. Export strips fields that a user can not specify. :return: V1ClusterResourceQuota If the method is called asynchronously, @@ -26704,7 +23786,7 @@ def read_cluster_resource_quota_with_http_info(self, name, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -26813,7 +23895,7 @@ def read_cluster_resource_quota_status_with_http_info(self, name, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -26922,7 +24004,7 @@ def read_cluster_role_with_http_info(self, name, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -27031,7 +24113,7 @@ def read_cluster_role_binding_with_http_info(self, name, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -27063,7 +24145,7 @@ def read_group(self, name, **kwargs): for asynchronous request. (optional) :param str name: name of the Group (required) :param str pretty: If 'true', then the output is pretty printed. - :param bool exact: Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace' + :param bool exact: Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. :param bool export: Should this value be exported. Export strips fields that a user can not specify. :return: V1Group If the method is called asynchronously, @@ -27091,7 +24173,7 @@ def read_group_with_http_info(self, name, **kwargs): for asynchronous request. (optional) :param str name: name of the Group (required) :param str pretty: If 'true', then the output is pretty printed. - :param bool exact: Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace' + :param bool exact: Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. :param bool export: Should this value be exported. Export strips fields that a user can not specify. :return: V1Group If the method is called asynchronously, @@ -27148,7 +24230,7 @@ def read_group_with_http_info(self, name, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -27180,7 +24262,7 @@ def read_host_subnet(self, name, **kwargs): for asynchronous request. (optional) :param str name: name of the HostSubnet (required) :param str pretty: If 'true', then the output is pretty printed. - :param bool exact: Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace' + :param bool exact: Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. :param bool export: Should this value be exported. Export strips fields that a user can not specify. :return: V1HostSubnet If the method is called asynchronously, @@ -27208,7 +24290,7 @@ def read_host_subnet_with_http_info(self, name, **kwargs): for asynchronous request. (optional) :param str name: name of the HostSubnet (required) :param str pretty: If 'true', then the output is pretty printed. - :param bool exact: Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace' + :param bool exact: Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. :param bool export: Should this value be exported. Export strips fields that a user can not specify. :return: V1HostSubnet If the method is called asynchronously, @@ -27265,7 +24347,7 @@ def read_host_subnet_with_http_info(self, name, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -27297,7 +24379,7 @@ def read_identity(self, name, **kwargs): for asynchronous request. (optional) :param str name: name of the Identity (required) :param str pretty: If 'true', then the output is pretty printed. - :param bool exact: Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace' + :param bool exact: Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. :param bool export: Should this value be exported. Export strips fields that a user can not specify. :return: V1Identity If the method is called asynchronously, @@ -27325,7 +24407,7 @@ def read_identity_with_http_info(self, name, **kwargs): for asynchronous request. (optional) :param str name: name of the Identity (required) :param str pretty: If 'true', then the output is pretty printed. - :param bool exact: Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace' + :param bool exact: Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. :param bool export: Should this value be exported. Export strips fields that a user can not specify. :return: V1Identity If the method is called asynchronously, @@ -27382,7 +24464,7 @@ def read_identity_with_http_info(self, name, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -27414,7 +24496,7 @@ def read_image(self, name, **kwargs): for asynchronous request. (optional) :param str name: name of the Image (required) :param str pretty: If 'true', then the output is pretty printed. - :param bool exact: Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace' + :param bool exact: Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. :param bool export: Should this value be exported. Export strips fields that a user can not specify. :return: V1Image If the method is called asynchronously, @@ -27442,7 +24524,7 @@ def read_image_with_http_info(self, name, **kwargs): for asynchronous request. (optional) :param str name: name of the Image (required) :param str pretty: If 'true', then the output is pretty printed. - :param bool exact: Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace' + :param bool exact: Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. :param bool export: Should this value be exported. Export strips fields that a user can not specify. :return: V1Image If the method is called asynchronously, @@ -27499,7 +24581,7 @@ def read_image_with_http_info(self, name, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -27615,7 +24697,7 @@ def read_namespaced_applied_cluster_resource_quota_with_http_info(self, name, na select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -27648,7 +24730,7 @@ def read_namespaced_build(self, name, namespace, **kwargs): :param str name: name of the Build (required) :param str namespace: object name and auth scope, such as for teams and projects (required) :param str pretty: If 'true', then the output is pretty printed. - :param bool exact: Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace' + :param bool exact: Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. :param bool export: Should this value be exported. Export strips fields that a user can not specify. :return: V1Build If the method is called asynchronously, @@ -27677,7 +24759,7 @@ def read_namespaced_build_with_http_info(self, name, namespace, **kwargs): :param str name: name of the Build (required) :param str namespace: object name and auth scope, such as for teams and projects (required) :param str pretty: If 'true', then the output is pretty printed. - :param bool exact: Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace' + :param bool exact: Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. :param bool export: Should this value be exported. Export strips fields that a user can not specify. :return: V1Build If the method is called asynchronously, @@ -27739,7 +24821,7 @@ def read_namespaced_build_with_http_info(self, name, namespace, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -27772,7 +24854,7 @@ def read_namespaced_build_config(self, name, namespace, **kwargs): :param str name: name of the BuildConfig (required) :param str namespace: object name and auth scope, such as for teams and projects (required) :param str pretty: If 'true', then the output is pretty printed. - :param bool exact: Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace' + :param bool exact: Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. :param bool export: Should this value be exported. Export strips fields that a user can not specify. :return: V1BuildConfig If the method is called asynchronously, @@ -27801,7 +24883,7 @@ def read_namespaced_build_config_with_http_info(self, name, namespace, **kwargs) :param str name: name of the BuildConfig (required) :param str namespace: object name and auth scope, such as for teams and projects (required) :param str pretty: If 'true', then the output is pretty printed. - :param bool exact: Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace' + :param bool exact: Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. :param bool export: Should this value be exported. Export strips fields that a user can not specify. :return: V1BuildConfig If the method is called asynchronously, @@ -27863,7 +24945,7 @@ def read_namespaced_build_config_with_http_info(self, name, namespace, **kwargs) select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -27902,7 +24984,6 @@ def read_namespaced_build_log_log(self, name, namespace, **kwargs): :param str pretty: If 'true', then the output is pretty printed. :param bool previous: previous returns previous build logs. Defaults to false. :param int since_seconds: sinceSeconds is a relative time in seconds before the current time from which to show logs. If this value precedes the time a pod was started, only logs since the pod start will be returned. If this value is in the future, no logs will be returned. Only one of sinceSeconds or sinceTime may be specified. - :param str since_time: sinceTime is an RFC3339 timestamp from which to show logs. If this value precedes the time a pod was started, only logs since the pod start will be returned. If this value is in the future, no logs will be returned. Only one of sinceSeconds or sinceTime may be specified. :param int tail_lines: tailLines, If set, is the number of lines from the end of the logs to show. If not specified, logs are shown from the creation of the container or sinceSeconds or sinceTime :param bool timestamps: timestamps, If true, add an RFC3339 or RFC3339Nano timestamp at the beginning of every line of log output. Defaults to false. :param int version: version of the build for which to view logs. @@ -27939,7 +25020,6 @@ def read_namespaced_build_log_log_with_http_info(self, name, namespace, **kwargs :param str pretty: If 'true', then the output is pretty printed. :param bool previous: previous returns previous build logs. Defaults to false. :param int since_seconds: sinceSeconds is a relative time in seconds before the current time from which to show logs. If this value precedes the time a pod was started, only logs since the pod start will be returned. If this value is in the future, no logs will be returned. Only one of sinceSeconds or sinceTime may be specified. - :param str since_time: sinceTime is an RFC3339 timestamp from which to show logs. If this value precedes the time a pod was started, only logs since the pod start will be returned. If this value is in the future, no logs will be returned. Only one of sinceSeconds or sinceTime may be specified. :param int tail_lines: tailLines, If set, is the number of lines from the end of the logs to show. If not specified, logs are shown from the creation of the container or sinceSeconds or sinceTime :param bool timestamps: timestamps, If true, add an RFC3339 or RFC3339Nano timestamp at the beginning of every line of log output. Defaults to false. :param int version: version of the build for which to view logs. @@ -27948,7 +25028,7 @@ def read_namespaced_build_log_log_with_http_info(self, name, namespace, **kwargs returns the request thread. """ - all_params = ['name', 'namespace', 'container', 'follow', 'limit_bytes', 'nowait', 'pretty', 'previous', 'since_seconds', 'since_time', 'tail_lines', 'timestamps', 'version'] + all_params = ['name', 'namespace', 'container', 'follow', 'limit_bytes', 'nowait', 'pretty', 'previous', 'since_seconds', 'tail_lines', 'timestamps', 'version'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -27995,8 +25075,6 @@ def read_namespaced_build_log_log_with_http_info(self, name, namespace, **kwargs query_params['previous'] = params['previous'] if 'since_seconds' in params: query_params['sinceSeconds'] = params['since_seconds'] - if 'since_time' in params: - query_params['sinceTime'] = params['since_time'] if 'tail_lines' in params: query_params['tailLines'] = params['tail_lines'] if 'timestamps' in params: @@ -28019,7 +25097,7 @@ def read_namespaced_build_log_log_with_http_info(self, name, namespace, **kwargs select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -28052,7 +25130,7 @@ def read_namespaced_deployment_config(self, name, namespace, **kwargs): :param str name: name of the DeploymentConfig (required) :param str namespace: object name and auth scope, such as for teams and projects (required) :param str pretty: If 'true', then the output is pretty printed. - :param bool exact: Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace' + :param bool exact: Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. :param bool export: Should this value be exported. Export strips fields that a user can not specify. :return: V1DeploymentConfig If the method is called asynchronously, @@ -28081,7 +25159,7 @@ def read_namespaced_deployment_config_with_http_info(self, name, namespace, **kw :param str name: name of the DeploymentConfig (required) :param str namespace: object name and auth scope, such as for teams and projects (required) :param str pretty: If 'true', then the output is pretty printed. - :param bool exact: Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace' + :param bool exact: Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. :param bool export: Should this value be exported. Export strips fields that a user can not specify. :return: V1DeploymentConfig If the method is called asynchronously, @@ -28143,7 +25221,7 @@ def read_namespaced_deployment_config_with_http_info(self, name, namespace, **kw select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -28259,7 +25337,7 @@ def read_namespaced_deployment_config_status_with_http_info(self, name, namespac select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -28298,7 +25376,6 @@ def read_namespaced_deployment_log_log(self, name, namespace, **kwargs): :param str pretty: If 'true', then the output is pretty printed. :param bool previous: Return previous deployment logs. Defaults to false. :param int since_seconds: A relative time in seconds before the current time from which to show logs. If this value precedes the time a pod was started, only logs since the pod start will be returned. If this value is in the future, no logs will be returned. Only one of sinceSeconds or sinceTime may be specified. - :param str since_time: An RFC3339 timestamp from which to show logs. If this value precedes the time a pod was started, only logs since the pod start will be returned. If this value is in the future, no logs will be returned. Only one of sinceSeconds or sinceTime may be specified. :param int tail_lines: If set, the number of lines from the end of the logs to show. If not specified, logs are shown from the creation of the container or sinceSeconds or sinceTime :param bool timestamps: If true, add an RFC3339 or RFC3339Nano timestamp at the beginning of every line of log output. Defaults to false. :param int version: Version of the deployment for which to view logs. @@ -28335,7 +25412,6 @@ def read_namespaced_deployment_log_log_with_http_info(self, name, namespace, **k :param str pretty: If 'true', then the output is pretty printed. :param bool previous: Return previous deployment logs. Defaults to false. :param int since_seconds: A relative time in seconds before the current time from which to show logs. If this value precedes the time a pod was started, only logs since the pod start will be returned. If this value is in the future, no logs will be returned. Only one of sinceSeconds or sinceTime may be specified. - :param str since_time: An RFC3339 timestamp from which to show logs. If this value precedes the time a pod was started, only logs since the pod start will be returned. If this value is in the future, no logs will be returned. Only one of sinceSeconds or sinceTime may be specified. :param int tail_lines: If set, the number of lines from the end of the logs to show. If not specified, logs are shown from the creation of the container or sinceSeconds or sinceTime :param bool timestamps: If true, add an RFC3339 or RFC3339Nano timestamp at the beginning of every line of log output. Defaults to false. :param int version: Version of the deployment for which to view logs. @@ -28344,7 +25420,7 @@ def read_namespaced_deployment_log_log_with_http_info(self, name, namespace, **k returns the request thread. """ - all_params = ['name', 'namespace', 'container', 'follow', 'limit_bytes', 'nowait', 'pretty', 'previous', 'since_seconds', 'since_time', 'tail_lines', 'timestamps', 'version'] + all_params = ['name', 'namespace', 'container', 'follow', 'limit_bytes', 'nowait', 'pretty', 'previous', 'since_seconds', 'tail_lines', 'timestamps', 'version'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -28391,8 +25467,6 @@ def read_namespaced_deployment_log_log_with_http_info(self, name, namespace, **k query_params['previous'] = params['previous'] if 'since_seconds' in params: query_params['sinceSeconds'] = params['since_seconds'] - if 'since_time' in params: - query_params['sinceTime'] = params['since_time'] if 'tail_lines' in params: query_params['tailLines'] = params['tail_lines'] if 'timestamps' in params: @@ -28415,7 +25489,7 @@ def read_namespaced_deployment_log_log_with_http_info(self, name, namespace, **k select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -28448,7 +25522,7 @@ def read_namespaced_egress_network_policy(self, name, namespace, **kwargs): :param str name: name of the EgressNetworkPolicy (required) :param str namespace: object name and auth scope, such as for teams and projects (required) :param str pretty: If 'true', then the output is pretty printed. - :param bool exact: Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace' + :param bool exact: Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. :param bool export: Should this value be exported. Export strips fields that a user can not specify. :return: V1EgressNetworkPolicy If the method is called asynchronously, @@ -28477,7 +25551,7 @@ def read_namespaced_egress_network_policy_with_http_info(self, name, namespace, :param str name: name of the EgressNetworkPolicy (required) :param str namespace: object name and auth scope, such as for teams and projects (required) :param str pretty: If 'true', then the output is pretty printed. - :param bool exact: Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace' + :param bool exact: Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. :param bool export: Should this value be exported. Export strips fields that a user can not specify. :return: V1EgressNetworkPolicy If the method is called asynchronously, @@ -28539,7 +25613,7 @@ def read_namespaced_egress_network_policy_with_http_info(self, name, namespace, select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -28572,7 +25646,7 @@ def read_namespaced_image_stream(self, name, namespace, **kwargs): :param str name: name of the ImageStream (required) :param str namespace: object name and auth scope, such as for teams and projects (required) :param str pretty: If 'true', then the output is pretty printed. - :param bool exact: Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace' + :param bool exact: Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. :param bool export: Should this value be exported. Export strips fields that a user can not specify. :return: V1ImageStream If the method is called asynchronously, @@ -28601,7 +25675,7 @@ def read_namespaced_image_stream_with_http_info(self, name, namespace, **kwargs) :param str name: name of the ImageStream (required) :param str namespace: object name and auth scope, such as for teams and projects (required) :param str pretty: If 'true', then the output is pretty printed. - :param bool exact: Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace' + :param bool exact: Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. :param bool export: Should this value be exported. Export strips fields that a user can not specify. :return: V1ImageStream If the method is called asynchronously, @@ -28663,7 +25737,7 @@ def read_namespaced_image_stream_with_http_info(self, name, namespace, **kwargs) select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -28779,7 +25853,7 @@ def read_namespaced_image_stream_image_with_http_info(self, name, namespace, **k select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -28844,243 +25918,7 @@ def read_namespaced_image_stream_status_with_http_info(self, name, namespace, ** returns the request thread. """ - all_params = ['name', 'namespace', 'pretty'] - all_params.append('callback') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method read_namespaced_image_stream_status" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'name' is set - if ('name' not in params) or (params['name'] is None): - raise ValueError("Missing the required parameter `name` when calling `read_namespaced_image_stream_status`") - # verify the required parameter 'namespace' is set - if ('namespace' not in params) or (params['namespace'] is None): - raise ValueError("Missing the required parameter `namespace` when calling `read_namespaced_image_stream_status`") - - - collection_formats = {} - - resource_path = '/oapi/v1/namespaces/{namespace}/imagestreams/{name}/status'.replace('{format}', 'json') - path_params = {} - if 'name' in params: - path_params['name'] = params['name'] - if 'namespace' in params: - path_params['namespace'] = params['namespace'] - - query_params = {} - if 'pretty' in params: - query_params['pretty'] = params['pretty'] - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - # HTTP header `Accept` - header_params['Accept'] = self.api_client.\ - select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - - # HTTP header `Content-Type` - header_params['Content-Type'] = self.api_client.\ - select_header_content_type(['*/*']) - - # Authentication setting - auth_settings = ['BearerToken'] - - return self.api_client.call_api(resource_path, 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1ImageStream', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def read_namespaced_image_stream_tag(self, name, namespace, **kwargs): - """ - read the specified ImageStreamTag - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please define a `callback` function - to be invoked when receiving the response. - >>> def callback_function(response): - >>> pprint(response) - >>> - >>> thread = api.read_namespaced_image_stream_tag(name, namespace, callback=callback_function) - - :param callback function: The callback function - for asynchronous request. (optional) - :param str name: name of the ImageStreamTag (required) - :param str namespace: object name and auth scope, such as for teams and projects (required) - :param str pretty: If 'true', then the output is pretty printed. - :return: V1ImageStreamTag - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('callback'): - return self.read_namespaced_image_stream_tag_with_http_info(name, namespace, **kwargs) - else: - (data) = self.read_namespaced_image_stream_tag_with_http_info(name, namespace, **kwargs) - return data - - def read_namespaced_image_stream_tag_with_http_info(self, name, namespace, **kwargs): - """ - read the specified ImageStreamTag - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please define a `callback` function - to be invoked when receiving the response. - >>> def callback_function(response): - >>> pprint(response) - >>> - >>> thread = api.read_namespaced_image_stream_tag_with_http_info(name, namespace, callback=callback_function) - - :param callback function: The callback function - for asynchronous request. (optional) - :param str name: name of the ImageStreamTag (required) - :param str namespace: object name and auth scope, such as for teams and projects (required) - :param str pretty: If 'true', then the output is pretty printed. - :return: V1ImageStreamTag - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['name', 'namespace', 'pretty'] - all_params.append('callback') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method read_namespaced_image_stream_tag" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'name' is set - if ('name' not in params) or (params['name'] is None): - raise ValueError("Missing the required parameter `name` when calling `read_namespaced_image_stream_tag`") - # verify the required parameter 'namespace' is set - if ('namespace' not in params) or (params['namespace'] is None): - raise ValueError("Missing the required parameter `namespace` when calling `read_namespaced_image_stream_tag`") - - - collection_formats = {} - - resource_path = '/oapi/v1/namespaces/{namespace}/imagestreamtags/{name}'.replace('{format}', 'json') - path_params = {} - if 'name' in params: - path_params['name'] = params['name'] - if 'namespace' in params: - path_params['namespace'] = params['namespace'] - - query_params = {} - if 'pretty' in params: - query_params['pretty'] = params['pretty'] - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - # HTTP header `Accept` - header_params['Accept'] = self.api_client.\ - select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - - # HTTP header `Content-Type` - header_params['Content-Type'] = self.api_client.\ - select_header_content_type(['*/*']) - - # Authentication setting - auth_settings = ['BearerToken'] - - return self.api_client.call_api(resource_path, 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1ImageStreamTag', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def read_namespaced_policy(self, name, namespace, **kwargs): - """ - read the specified Policy - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please define a `callback` function - to be invoked when receiving the response. - >>> def callback_function(response): - >>> pprint(response) - >>> - >>> thread = api.read_namespaced_policy(name, namespace, callback=callback_function) - - :param callback function: The callback function - for asynchronous request. (optional) - :param str name: name of the Policy (required) - :param str namespace: object name and auth scope, such as for teams and projects (required) - :param str pretty: If 'true', then the output is pretty printed. - :param bool exact: Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace' - :param bool export: Should this value be exported. Export strips fields that a user can not specify. - :return: V1Policy - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('callback'): - return self.read_namespaced_policy_with_http_info(name, namespace, **kwargs) - else: - (data) = self.read_namespaced_policy_with_http_info(name, namespace, **kwargs) - return data - - def read_namespaced_policy_with_http_info(self, name, namespace, **kwargs): - """ - read the specified Policy - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please define a `callback` function - to be invoked when receiving the response. - >>> def callback_function(response): - >>> pprint(response) - >>> - >>> thread = api.read_namespaced_policy_with_http_info(name, namespace, callback=callback_function) - - :param callback function: The callback function - for asynchronous request. (optional) - :param str name: name of the Policy (required) - :param str namespace: object name and auth scope, such as for teams and projects (required) - :param str pretty: If 'true', then the output is pretty printed. - :param bool exact: Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace' - :param bool export: Should this value be exported. Export strips fields that a user can not specify. - :return: V1Policy - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['name', 'namespace', 'pretty', 'exact', 'export'] + all_params = ['name', 'namespace', 'pretty'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -29091,21 +25929,21 @@ def read_namespaced_policy_with_http_info(self, name, namespace, **kwargs): if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method read_namespaced_policy" % key + " to method read_namespaced_image_stream_status" % key ) params[key] = val del params['kwargs'] # verify the required parameter 'name' is set if ('name' not in params) or (params['name'] is None): - raise ValueError("Missing the required parameter `name` when calling `read_namespaced_policy`") + raise ValueError("Missing the required parameter `name` when calling `read_namespaced_image_stream_status`") # verify the required parameter 'namespace' is set if ('namespace' not in params) or (params['namespace'] is None): - raise ValueError("Missing the required parameter `namespace` when calling `read_namespaced_policy`") + raise ValueError("Missing the required parameter `namespace` when calling `read_namespaced_image_stream_status`") collection_formats = {} - resource_path = '/oapi/v1/namespaces/{namespace}/policies/{name}'.replace('{format}', 'json') + resource_path = '/oapi/v1/namespaces/{namespace}/imagestreams/{name}/status'.replace('{format}', 'json') path_params = {} if 'name' in params: path_params['name'] = params['name'] @@ -29115,10 +25953,6 @@ def read_namespaced_policy_with_http_info(self, name, namespace, **kwargs): query_params = {} if 'pretty' in params: query_params['pretty'] = params['pretty'] - if 'exact' in params: - query_params['exact'] = params['exact'] - if 'export' in params: - query_params['export'] = params['export'] header_params = {} @@ -29135,7 +25969,7 @@ def read_namespaced_policy_with_http_info(self, name, namespace, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -29144,7 +25978,7 @@ def read_namespaced_policy_with_http_info(self, name, namespace, **kwargs): body=body_params, post_params=form_params, files=local_var_files, - response_type='V1Policy', + response_type='V1ImageStream', auth_settings=auth_settings, callback=params.get('callback'), _return_http_data_only=params.get('_return_http_data_only'), @@ -29152,59 +25986,55 @@ def read_namespaced_policy_with_http_info(self, name, namespace, **kwargs): _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def read_namespaced_policy_binding(self, name, namespace, **kwargs): + def read_namespaced_image_stream_tag(self, name, namespace, **kwargs): """ - read the specified PolicyBinding + read the specified ImageStreamTag This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.read_namespaced_policy_binding(name, namespace, callback=callback_function) + >>> thread = api.read_namespaced_image_stream_tag(name, namespace, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) - :param str name: name of the PolicyBinding (required) + :param str name: name of the ImageStreamTag (required) :param str namespace: object name and auth scope, such as for teams and projects (required) :param str pretty: If 'true', then the output is pretty printed. - :param bool exact: Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace' - :param bool export: Should this value be exported. Export strips fields that a user can not specify. - :return: V1PolicyBinding + :return: V1ImageStreamTag If the method is called asynchronously, returns the request thread. """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.read_namespaced_policy_binding_with_http_info(name, namespace, **kwargs) + return self.read_namespaced_image_stream_tag_with_http_info(name, namespace, **kwargs) else: - (data) = self.read_namespaced_policy_binding_with_http_info(name, namespace, **kwargs) + (data) = self.read_namespaced_image_stream_tag_with_http_info(name, namespace, **kwargs) return data - def read_namespaced_policy_binding_with_http_info(self, name, namespace, **kwargs): + def read_namespaced_image_stream_tag_with_http_info(self, name, namespace, **kwargs): """ - read the specified PolicyBinding + read the specified ImageStreamTag This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.read_namespaced_policy_binding_with_http_info(name, namespace, callback=callback_function) + >>> thread = api.read_namespaced_image_stream_tag_with_http_info(name, namespace, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) - :param str name: name of the PolicyBinding (required) + :param str name: name of the ImageStreamTag (required) :param str namespace: object name and auth scope, such as for teams and projects (required) :param str pretty: If 'true', then the output is pretty printed. - :param bool exact: Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace' - :param bool export: Should this value be exported. Export strips fields that a user can not specify. - :return: V1PolicyBinding + :return: V1ImageStreamTag If the method is called asynchronously, returns the request thread. """ - all_params = ['name', 'namespace', 'pretty', 'exact', 'export'] + all_params = ['name', 'namespace', 'pretty'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -29215,21 +26045,21 @@ def read_namespaced_policy_binding_with_http_info(self, name, namespace, **kwarg if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method read_namespaced_policy_binding" % key + " to method read_namespaced_image_stream_tag" % key ) params[key] = val del params['kwargs'] # verify the required parameter 'name' is set if ('name' not in params) or (params['name'] is None): - raise ValueError("Missing the required parameter `name` when calling `read_namespaced_policy_binding`") + raise ValueError("Missing the required parameter `name` when calling `read_namespaced_image_stream_tag`") # verify the required parameter 'namespace' is set if ('namespace' not in params) or (params['namespace'] is None): - raise ValueError("Missing the required parameter `namespace` when calling `read_namespaced_policy_binding`") + raise ValueError("Missing the required parameter `namespace` when calling `read_namespaced_image_stream_tag`") collection_formats = {} - resource_path = '/oapi/v1/namespaces/{namespace}/policybindings/{name}'.replace('{format}', 'json') + resource_path = '/oapi/v1/namespaces/{namespace}/imagestreamtags/{name}'.replace('{format}', 'json') path_params = {} if 'name' in params: path_params['name'] = params['name'] @@ -29239,10 +26069,6 @@ def read_namespaced_policy_binding_with_http_info(self, name, namespace, **kwarg query_params = {} if 'pretty' in params: query_params['pretty'] = params['pretty'] - if 'exact' in params: - query_params['exact'] = params['exact'] - if 'export' in params: - query_params['export'] = params['export'] header_params = {} @@ -29259,7 +26085,7 @@ def read_namespaced_policy_binding_with_http_info(self, name, namespace, **kwarg select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -29268,7 +26094,7 @@ def read_namespaced_policy_binding_with_http_info(self, name, namespace, **kwarg body=body_params, post_params=form_params, files=local_var_files, - response_type='V1PolicyBinding', + response_type='V1ImageStreamTag', auth_settings=auth_settings, callback=params.get('callback'), _return_http_data_only=params.get('_return_http_data_only'), @@ -29375,7 +26201,7 @@ def read_namespaced_role_with_http_info(self, name, namespace, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -29491,7 +26317,7 @@ def read_namespaced_role_binding_with_http_info(self, name, namespace, **kwargs) select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -29524,7 +26350,7 @@ def read_namespaced_role_binding_restriction(self, name, namespace, **kwargs): :param str name: name of the RoleBindingRestriction (required) :param str namespace: object name and auth scope, such as for teams and projects (required) :param str pretty: If 'true', then the output is pretty printed. - :param bool exact: Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace' + :param bool exact: Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. :param bool export: Should this value be exported. Export strips fields that a user can not specify. :return: V1RoleBindingRestriction If the method is called asynchronously, @@ -29553,7 +26379,7 @@ def read_namespaced_role_binding_restriction_with_http_info(self, name, namespac :param str name: name of the RoleBindingRestriction (required) :param str namespace: object name and auth scope, such as for teams and projects (required) :param str pretty: If 'true', then the output is pretty printed. - :param bool exact: Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace' + :param bool exact: Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. :param bool export: Should this value be exported. Export strips fields that a user can not specify. :return: V1RoleBindingRestriction If the method is called asynchronously, @@ -29615,7 +26441,7 @@ def read_namespaced_role_binding_restriction_with_http_info(self, name, namespac select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -29648,7 +26474,7 @@ def read_namespaced_route(self, name, namespace, **kwargs): :param str name: name of the Route (required) :param str namespace: object name and auth scope, such as for teams and projects (required) :param str pretty: If 'true', then the output is pretty printed. - :param bool exact: Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace' + :param bool exact: Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. :param bool export: Should this value be exported. Export strips fields that a user can not specify. :return: V1Route If the method is called asynchronously, @@ -29677,7 +26503,7 @@ def read_namespaced_route_with_http_info(self, name, namespace, **kwargs): :param str name: name of the Route (required) :param str namespace: object name and auth scope, such as for teams and projects (required) :param str pretty: If 'true', then the output is pretty printed. - :param bool exact: Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace' + :param bool exact: Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. :param bool export: Should this value be exported. Export strips fields that a user can not specify. :return: V1Route If the method is called asynchronously, @@ -29739,7 +26565,7 @@ def read_namespaced_route_with_http_info(self, name, namespace, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -29855,7 +26681,7 @@ def read_namespaced_route_status_with_http_info(self, name, namespace, **kwargs) select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -29888,7 +26714,7 @@ def read_namespaced_scale_scale(self, name, namespace, **kwargs): :param str name: name of the Scale (required) :param str namespace: object name and auth scope, such as for teams and projects (required) :param str pretty: If 'true', then the output is pretty printed. - :return: V1beta1Scale + :return: ExtensionsV1beta1Scale If the method is called asynchronously, returns the request thread. """ @@ -29915,7 +26741,7 @@ def read_namespaced_scale_scale_with_http_info(self, name, namespace, **kwargs): :param str name: name of the Scale (required) :param str namespace: object name and auth scope, such as for teams and projects (required) :param str pretty: If 'true', then the output is pretty printed. - :return: V1beta1Scale + :return: ExtensionsV1beta1Scale If the method is called asynchronously, returns the request thread. """ @@ -29971,7 +26797,7 @@ def read_namespaced_scale_scale_with_http_info(self, name, namespace, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -29980,7 +26806,7 @@ def read_namespaced_scale_scale_with_http_info(self, name, namespace, **kwargs): body=body_params, post_params=form_params, files=local_var_files, - response_type='V1beta1Scale', + response_type='ExtensionsV1beta1Scale', auth_settings=auth_settings, callback=params.get('callback'), _return_http_data_only=params.get('_return_http_data_only'), @@ -30004,9 +26830,10 @@ def read_namespaced_secret_list_secrets(self, name, namespace, **kwargs): :param str name: name of the SecretList (required) :param str namespace: object name and auth scope, such as for teams and projects (required) :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param bool include_uninitialized: If true, partially initialized resources are included in the response. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. :param str pretty: If 'true', then the output is pretty printed. - :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. + :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. :param int timeout_seconds: Timeout for the list/watch call. :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. :return: V1SecretList @@ -30036,9 +26863,10 @@ def read_namespaced_secret_list_secrets_with_http_info(self, name, namespace, ** :param str name: name of the SecretList (required) :param str namespace: object name and auth scope, such as for teams and projects (required) :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param bool include_uninitialized: If true, partially initialized resources are included in the response. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. :param str pretty: If 'true', then the output is pretty printed. - :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. + :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. :param int timeout_seconds: Timeout for the list/watch call. :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. :return: V1SecretList @@ -30046,7 +26874,7 @@ def read_namespaced_secret_list_secrets_with_http_info(self, name, namespace, ** returns the request thread. """ - all_params = ['name', 'namespace', 'field_selector', 'label_selector', 'pretty', 'resource_version', 'timeout_seconds', 'watch'] + all_params = ['name', 'namespace', 'field_selector', 'include_uninitialized', 'label_selector', 'pretty', 'resource_version', 'timeout_seconds', 'watch'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -30081,6 +26909,8 @@ def read_namespaced_secret_list_secrets_with_http_info(self, name, namespace, ** query_params = {} if 'field_selector' in params: query_params['fieldSelector'] = params['field_selector'] + if 'include_uninitialized' in params: + query_params['includeUninitialized'] = params['include_uninitialized'] if 'label_selector' in params: query_params['labelSelector'] = params['label_selector'] if 'pretty' in params: @@ -30107,7 +26937,7 @@ def read_namespaced_secret_list_secrets_with_http_info(self, name, namespace, ** select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -30140,7 +26970,7 @@ def read_namespaced_template(self, name, namespace, **kwargs): :param str name: name of the Template (required) :param str namespace: object name and auth scope, such as for teams and projects (required) :param str pretty: If 'true', then the output is pretty printed. - :param bool exact: Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace' + :param bool exact: Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. :param bool export: Should this value be exported. Export strips fields that a user can not specify. :return: V1Template If the method is called asynchronously, @@ -30169,7 +26999,7 @@ def read_namespaced_template_with_http_info(self, name, namespace, **kwargs): :param str name: name of the Template (required) :param str namespace: object name and auth scope, such as for teams and projects (required) :param str pretty: If 'true', then the output is pretty printed. - :param bool exact: Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace' + :param bool exact: Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. :param bool export: Should this value be exported. Export strips fields that a user can not specify. :return: V1Template If the method is called asynchronously, @@ -30231,7 +27061,7 @@ def read_namespaced_template_with_http_info(self, name, namespace, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -30263,7 +27093,7 @@ def read_net_namespace(self, name, **kwargs): for asynchronous request. (optional) :param str name: name of the NetNamespace (required) :param str pretty: If 'true', then the output is pretty printed. - :param bool exact: Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace' + :param bool exact: Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. :param bool export: Should this value be exported. Export strips fields that a user can not specify. :return: V1NetNamespace If the method is called asynchronously, @@ -30291,7 +27121,7 @@ def read_net_namespace_with_http_info(self, name, **kwargs): for asynchronous request. (optional) :param str name: name of the NetNamespace (required) :param str pretty: If 'true', then the output is pretty printed. - :param bool exact: Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace' + :param bool exact: Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. :param bool export: Should this value be exported. Export strips fields that a user can not specify. :return: V1NetNamespace If the method is called asynchronously, @@ -30348,7 +27178,7 @@ def read_net_namespace_with_http_info(self, name, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -30380,7 +27210,7 @@ def read_o_auth_access_token(self, name, **kwargs): for asynchronous request. (optional) :param str name: name of the OAuthAccessToken (required) :param str pretty: If 'true', then the output is pretty printed. - :param bool exact: Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace' + :param bool exact: Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. :param bool export: Should this value be exported. Export strips fields that a user can not specify. :return: V1OAuthAccessToken If the method is called asynchronously, @@ -30408,7 +27238,7 @@ def read_o_auth_access_token_with_http_info(self, name, **kwargs): for asynchronous request. (optional) :param str name: name of the OAuthAccessToken (required) :param str pretty: If 'true', then the output is pretty printed. - :param bool exact: Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace' + :param bool exact: Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. :param bool export: Should this value be exported. Export strips fields that a user can not specify. :return: V1OAuthAccessToken If the method is called asynchronously, @@ -30465,7 +27295,7 @@ def read_o_auth_access_token_with_http_info(self, name, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -30497,7 +27327,7 @@ def read_o_auth_authorize_token(self, name, **kwargs): for asynchronous request. (optional) :param str name: name of the OAuthAuthorizeToken (required) :param str pretty: If 'true', then the output is pretty printed. - :param bool exact: Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace' + :param bool exact: Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. :param bool export: Should this value be exported. Export strips fields that a user can not specify. :return: V1OAuthAuthorizeToken If the method is called asynchronously, @@ -30525,7 +27355,7 @@ def read_o_auth_authorize_token_with_http_info(self, name, **kwargs): for asynchronous request. (optional) :param str name: name of the OAuthAuthorizeToken (required) :param str pretty: If 'true', then the output is pretty printed. - :param bool exact: Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace' + :param bool exact: Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. :param bool export: Should this value be exported. Export strips fields that a user can not specify. :return: V1OAuthAuthorizeToken If the method is called asynchronously, @@ -30582,7 +27412,7 @@ def read_o_auth_authorize_token_with_http_info(self, name, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -30614,7 +27444,7 @@ def read_o_auth_client(self, name, **kwargs): for asynchronous request. (optional) :param str name: name of the OAuthClient (required) :param str pretty: If 'true', then the output is pretty printed. - :param bool exact: Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace' + :param bool exact: Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. :param bool export: Should this value be exported. Export strips fields that a user can not specify. :return: V1OAuthClient If the method is called asynchronously, @@ -30642,7 +27472,7 @@ def read_o_auth_client_with_http_info(self, name, **kwargs): for asynchronous request. (optional) :param str name: name of the OAuthClient (required) :param str pretty: If 'true', then the output is pretty printed. - :param bool exact: Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace' + :param bool exact: Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. :param bool export: Should this value be exported. Export strips fields that a user can not specify. :return: V1OAuthClient If the method is called asynchronously, @@ -30699,7 +27529,7 @@ def read_o_auth_client_with_http_info(self, name, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -30731,7 +27561,7 @@ def read_o_auth_client_authorization(self, name, **kwargs): for asynchronous request. (optional) :param str name: name of the OAuthClientAuthorization (required) :param str pretty: If 'true', then the output is pretty printed. - :param bool exact: Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace' + :param bool exact: Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. :param bool export: Should this value be exported. Export strips fields that a user can not specify. :return: V1OAuthClientAuthorization If the method is called asynchronously, @@ -30759,7 +27589,7 @@ def read_o_auth_client_authorization_with_http_info(self, name, **kwargs): for asynchronous request. (optional) :param str name: name of the OAuthClientAuthorization (required) :param str pretty: If 'true', then the output is pretty printed. - :param bool exact: Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace' + :param bool exact: Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. :param bool export: Should this value be exported. Export strips fields that a user can not specify. :return: V1OAuthClientAuthorization If the method is called asynchronously, @@ -30816,7 +27646,7 @@ def read_o_auth_client_authorization_with_http_info(self, name, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -30925,7 +27755,7 @@ def read_project_with_http_info(self, name, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -30957,7 +27787,7 @@ def read_user(self, name, **kwargs): for asynchronous request. (optional) :param str name: name of the User (required) :param str pretty: If 'true', then the output is pretty printed. - :param bool exact: Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace' + :param bool exact: Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. :param bool export: Should this value be exported. Export strips fields that a user can not specify. :return: V1User If the method is called asynchronously, @@ -30985,7 +27815,7 @@ def read_user_with_http_info(self, name, **kwargs): for asynchronous request. (optional) :param str name: name of the User (required) :param str pretty: If 'true', then the output is pretty printed. - :param bool exact: Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace' + :param bool exact: Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. :param bool export: Should this value be exported. Export strips fields that a user can not specify. :return: V1User If the method is called asynchronously, @@ -31042,7 +27872,7 @@ def read_user_with_http_info(self, name, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -31068,271 +27898,44 @@ def read_user_identity_mapping(self, name, **kwargs): >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.read_user_identity_mapping(name, callback=callback_function) - - :param callback function: The callback function - for asynchronous request. (optional) - :param str name: name of the UserIdentityMapping (required) - :param str pretty: If 'true', then the output is pretty printed. - :return: V1UserIdentityMapping - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('callback'): - return self.read_user_identity_mapping_with_http_info(name, **kwargs) - else: - (data) = self.read_user_identity_mapping_with_http_info(name, **kwargs) - return data - - def read_user_identity_mapping_with_http_info(self, name, **kwargs): - """ - read the specified UserIdentityMapping - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please define a `callback` function - to be invoked when receiving the response. - >>> def callback_function(response): - >>> pprint(response) - >>> - >>> thread = api.read_user_identity_mapping_with_http_info(name, callback=callback_function) - - :param callback function: The callback function - for asynchronous request. (optional) - :param str name: name of the UserIdentityMapping (required) - :param str pretty: If 'true', then the output is pretty printed. - :return: V1UserIdentityMapping - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['name', 'pretty'] - all_params.append('callback') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method read_user_identity_mapping" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'name' is set - if ('name' not in params) or (params['name'] is None): - raise ValueError("Missing the required parameter `name` when calling `read_user_identity_mapping`") - - - collection_formats = {} - - resource_path = '/oapi/v1/useridentitymappings/{name}'.replace('{format}', 'json') - path_params = {} - if 'name' in params: - path_params['name'] = params['name'] - - query_params = {} - if 'pretty' in params: - query_params['pretty'] = params['pretty'] - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - # HTTP header `Accept` - header_params['Accept'] = self.api_client.\ - select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - - # HTTP header `Content-Type` - header_params['Content-Type'] = self.api_client.\ - select_header_content_type(['*/*']) - - # Authentication setting - auth_settings = ['BearerToken'] - - return self.api_client.call_api(resource_path, 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1UserIdentityMapping', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def replace_cluster_network(self, name, body, **kwargs): - """ - replace the specified ClusterNetwork - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please define a `callback` function - to be invoked when receiving the response. - >>> def callback_function(response): - >>> pprint(response) - >>> - >>> thread = api.replace_cluster_network(name, body, callback=callback_function) - - :param callback function: The callback function - for asynchronous request. (optional) - :param str name: name of the ClusterNetwork (required) - :param V1ClusterNetwork body: (required) - :param str pretty: If 'true', then the output is pretty printed. - :return: V1ClusterNetwork - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('callback'): - return self.replace_cluster_network_with_http_info(name, body, **kwargs) - else: - (data) = self.replace_cluster_network_with_http_info(name, body, **kwargs) - return data - - def replace_cluster_network_with_http_info(self, name, body, **kwargs): - """ - replace the specified ClusterNetwork - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please define a `callback` function - to be invoked when receiving the response. - >>> def callback_function(response): - >>> pprint(response) - >>> - >>> thread = api.replace_cluster_network_with_http_info(name, body, callback=callback_function) - - :param callback function: The callback function - for asynchronous request. (optional) - :param str name: name of the ClusterNetwork (required) - :param V1ClusterNetwork body: (required) - :param str pretty: If 'true', then the output is pretty printed. - :return: V1ClusterNetwork - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['name', 'body', 'pretty'] - all_params.append('callback') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method replace_cluster_network" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'name' is set - if ('name' not in params) or (params['name'] is None): - raise ValueError("Missing the required parameter `name` when calling `replace_cluster_network`") - # verify the required parameter 'body' is set - if ('body' not in params) or (params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `replace_cluster_network`") - - - collection_formats = {} - - resource_path = '/oapi/v1/clusternetworks/{name}'.replace('{format}', 'json') - path_params = {} - if 'name' in params: - path_params['name'] = params['name'] - - query_params = {} - if 'pretty' in params: - query_params['pretty'] = params['pretty'] - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - if 'body' in params: - body_params = params['body'] - # HTTP header `Accept` - header_params['Accept'] = self.api_client.\ - select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - - # HTTP header `Content-Type` - header_params['Content-Type'] = self.api_client.\ - select_header_content_type(['*/*']) - - # Authentication setting - auth_settings = ['BearerToken'] - - return self.api_client.call_api(resource_path, 'PUT', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1ClusterNetwork', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def replace_cluster_policy(self, name, body, **kwargs): - """ - replace the specified ClusterPolicy - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please define a `callback` function - to be invoked when receiving the response. - >>> def callback_function(response): - >>> pprint(response) - >>> - >>> thread = api.replace_cluster_policy(name, body, callback=callback_function) + >>> thread = api.read_user_identity_mapping(name, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) - :param str name: name of the ClusterPolicy (required) - :param V1ClusterPolicy body: (required) + :param str name: name of the UserIdentityMapping (required) :param str pretty: If 'true', then the output is pretty printed. - :return: V1ClusterPolicy + :return: V1UserIdentityMapping If the method is called asynchronously, returns the request thread. """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.replace_cluster_policy_with_http_info(name, body, **kwargs) + return self.read_user_identity_mapping_with_http_info(name, **kwargs) else: - (data) = self.replace_cluster_policy_with_http_info(name, body, **kwargs) + (data) = self.read_user_identity_mapping_with_http_info(name, **kwargs) return data - def replace_cluster_policy_with_http_info(self, name, body, **kwargs): + def read_user_identity_mapping_with_http_info(self, name, **kwargs): """ - replace the specified ClusterPolicy + read the specified UserIdentityMapping This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.replace_cluster_policy_with_http_info(name, body, callback=callback_function) + >>> thread = api.read_user_identity_mapping_with_http_info(name, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) - :param str name: name of the ClusterPolicy (required) - :param V1ClusterPolicy body: (required) + :param str name: name of the UserIdentityMapping (required) :param str pretty: If 'true', then the output is pretty printed. - :return: V1ClusterPolicy + :return: V1UserIdentityMapping If the method is called asynchronously, returns the request thread. """ - all_params = ['name', 'body', 'pretty'] + all_params = ['name', 'pretty'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -31343,21 +27946,18 @@ def replace_cluster_policy_with_http_info(self, name, body, **kwargs): if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method replace_cluster_policy" % key + " to method read_user_identity_mapping" % key ) params[key] = val del params['kwargs'] # verify the required parameter 'name' is set if ('name' not in params) or (params['name'] is None): - raise ValueError("Missing the required parameter `name` when calling `replace_cluster_policy`") - # verify the required parameter 'body' is set - if ('body' not in params) or (params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `replace_cluster_policy`") + raise ValueError("Missing the required parameter `name` when calling `read_user_identity_mapping`") collection_formats = {} - resource_path = '/oapi/v1/clusterpolicies/{name}'.replace('{format}', 'json') + resource_path = '/oapi/v1/useridentitymappings/{name}'.replace('{format}', 'json') path_params = {} if 'name' in params: path_params['name'] = params['name'] @@ -31372,8 +27972,6 @@ def replace_cluster_policy_with_http_info(self, name, body, **kwargs): local_var_files = {} body_params = None - if 'body' in params: - body_params = params['body'] # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) @@ -31383,16 +27981,16 @@ def replace_cluster_policy_with_http_info(self, name, body, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] - return self.api_client.call_api(resource_path, 'PUT', + return self.api_client.call_api(resource_path, 'GET', path_params, query_params, header_params, body=body_params, post_params=form_params, files=local_var_files, - response_type='V1ClusterPolicy', + response_type='V1UserIdentityMapping', auth_settings=auth_settings, callback=params.get('callback'), _return_http_data_only=params.get('_return_http_data_only'), @@ -31400,50 +27998,50 @@ def replace_cluster_policy_with_http_info(self, name, body, **kwargs): _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def replace_cluster_policy_binding(self, name, body, **kwargs): + def replace_cluster_network(self, name, body, **kwargs): """ - replace the specified ClusterPolicyBinding + replace the specified ClusterNetwork This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.replace_cluster_policy_binding(name, body, callback=callback_function) + >>> thread = api.replace_cluster_network(name, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) - :param str name: name of the ClusterPolicyBinding (required) - :param V1ClusterPolicyBinding body: (required) + :param str name: name of the ClusterNetwork (required) + :param V1ClusterNetwork body: (required) :param str pretty: If 'true', then the output is pretty printed. - :return: V1ClusterPolicyBinding + :return: V1ClusterNetwork If the method is called asynchronously, returns the request thread. """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.replace_cluster_policy_binding_with_http_info(name, body, **kwargs) + return self.replace_cluster_network_with_http_info(name, body, **kwargs) else: - (data) = self.replace_cluster_policy_binding_with_http_info(name, body, **kwargs) + (data) = self.replace_cluster_network_with_http_info(name, body, **kwargs) return data - def replace_cluster_policy_binding_with_http_info(self, name, body, **kwargs): + def replace_cluster_network_with_http_info(self, name, body, **kwargs): """ - replace the specified ClusterPolicyBinding + replace the specified ClusterNetwork This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.replace_cluster_policy_binding_with_http_info(name, body, callback=callback_function) + >>> thread = api.replace_cluster_network_with_http_info(name, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) - :param str name: name of the ClusterPolicyBinding (required) - :param V1ClusterPolicyBinding body: (required) + :param str name: name of the ClusterNetwork (required) + :param V1ClusterNetwork body: (required) :param str pretty: If 'true', then the output is pretty printed. - :return: V1ClusterPolicyBinding + :return: V1ClusterNetwork If the method is called asynchronously, returns the request thread. """ @@ -31459,21 +28057,21 @@ def replace_cluster_policy_binding_with_http_info(self, name, body, **kwargs): if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method replace_cluster_policy_binding" % key + " to method replace_cluster_network" % key ) params[key] = val del params['kwargs'] # verify the required parameter 'name' is set if ('name' not in params) or (params['name'] is None): - raise ValueError("Missing the required parameter `name` when calling `replace_cluster_policy_binding`") + raise ValueError("Missing the required parameter `name` when calling `replace_cluster_network`") # verify the required parameter 'body' is set if ('body' not in params) or (params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `replace_cluster_policy_binding`") + raise ValueError("Missing the required parameter `body` when calling `replace_cluster_network`") collection_formats = {} - resource_path = '/oapi/v1/clusterpolicybindings/{name}'.replace('{format}', 'json') + resource_path = '/oapi/v1/clusternetworks/{name}'.replace('{format}', 'json') path_params = {} if 'name' in params: path_params['name'] = params['name'] @@ -31499,7 +28097,7 @@ def replace_cluster_policy_binding_with_http_info(self, name, body, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'PUT', path_params, @@ -31508,7 +28106,7 @@ def replace_cluster_policy_binding_with_http_info(self, name, body, **kwargs): body=body_params, post_params=form_params, files=local_var_files, - response_type='V1ClusterPolicyBinding', + response_type='V1ClusterNetwork', auth_settings=auth_settings, callback=params.get('callback'), _return_http_data_only=params.get('_return_http_data_only'), @@ -31615,7 +28213,7 @@ def replace_cluster_resource_quota_with_http_info(self, name, body, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'PUT', path_params, @@ -31731,7 +28329,7 @@ def replace_cluster_resource_quota_status_with_http_info(self, name, body, **kwa select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'PUT', path_params, @@ -31847,7 +28445,7 @@ def replace_cluster_role_with_http_info(self, name, body, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'PUT', path_params, @@ -31963,7 +28561,7 @@ def replace_cluster_role_binding_with_http_info(self, name, body, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'PUT', path_params, @@ -32079,7 +28677,7 @@ def replace_group_with_http_info(self, name, body, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'PUT', path_params, @@ -32195,7 +28793,7 @@ def replace_host_subnet_with_http_info(self, name, body, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'PUT', path_params, @@ -32311,7 +28909,7 @@ def replace_identity_with_http_info(self, name, body, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'PUT', path_params, @@ -32427,7 +29025,7 @@ def replace_image_with_http_info(self, name, body, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'PUT', path_params, @@ -32550,7 +29148,7 @@ def replace_namespaced_build_with_http_info(self, name, namespace, body, **kwarg select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'PUT', path_params, @@ -32673,7 +29271,7 @@ def replace_namespaced_build_config_with_http_info(self, name, namespace, body, select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'PUT', path_params, @@ -32690,7 +29288,7 @@ def replace_namespaced_build_config_with_http_info(self, name, namespace, body, _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def replace_namespaced_build_details(self, body, name, namespace, **kwargs): + def replace_namespaced_build_details(self, name, namespace, body, **kwargs): """ replace details of the specified Build This method makes a synchronous HTTP request by default. To make an @@ -32699,13 +29297,13 @@ def replace_namespaced_build_details(self, body, name, namespace, **kwargs): >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.replace_namespaced_build_details(body, name, namespace, callback=callback_function) + >>> thread = api.replace_namespaced_build_details(name, namespace, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) - :param V1Build body: (required) :param str name: name of the Build (required) :param str namespace: object name and auth scope, such as for teams and projects (required) + :param V1Build body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1Build If the method is called asynchronously, @@ -32713,12 +29311,12 @@ def replace_namespaced_build_details(self, body, name, namespace, **kwargs): """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.replace_namespaced_build_details_with_http_info(body, name, namespace, **kwargs) + return self.replace_namespaced_build_details_with_http_info(name, namespace, body, **kwargs) else: - (data) = self.replace_namespaced_build_details_with_http_info(body, name, namespace, **kwargs) + (data) = self.replace_namespaced_build_details_with_http_info(name, namespace, body, **kwargs) return data - def replace_namespaced_build_details_with_http_info(self, body, name, namespace, **kwargs): + def replace_namespaced_build_details_with_http_info(self, name, namespace, body, **kwargs): """ replace details of the specified Build This method makes a synchronous HTTP request by default. To make an @@ -32727,20 +29325,20 @@ def replace_namespaced_build_details_with_http_info(self, body, name, namespace, >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.replace_namespaced_build_details_with_http_info(body, name, namespace, callback=callback_function) + >>> thread = api.replace_namespaced_build_details_with_http_info(name, namespace, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) - :param V1Build body: (required) :param str name: name of the Build (required) :param str namespace: object name and auth scope, such as for teams and projects (required) + :param V1Build body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1Build If the method is called asynchronously, returns the request thread. """ - all_params = ['body', 'name', 'namespace', 'pretty'] + all_params = ['name', 'namespace', 'body', 'pretty'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -32755,15 +29353,15 @@ def replace_namespaced_build_details_with_http_info(self, body, name, namespace, ) params[key] = val del params['kwargs'] - # verify the required parameter 'body' is set - if ('body' not in params) or (params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `replace_namespaced_build_details`") # verify the required parameter 'name' is set if ('name' not in params) or (params['name'] is None): raise ValueError("Missing the required parameter `name` when calling `replace_namespaced_build_details`") # verify the required parameter 'namespace' is set if ('namespace' not in params) or (params['namespace'] is None): raise ValueError("Missing the required parameter `namespace` when calling `replace_namespaced_build_details`") + # verify the required parameter 'body' is set + if ('body' not in params) or (params['body'] is None): + raise ValueError("Missing the required parameter `body` when calling `replace_namespaced_build_details`") collection_formats = {} @@ -32796,7 +29394,7 @@ def replace_namespaced_build_details_with_http_info(self, body, name, namespace, select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'PUT', path_params, @@ -32919,7 +29517,7 @@ def replace_namespaced_deployment_config_with_http_info(self, name, namespace, b select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'PUT', path_params, @@ -33042,7 +29640,7 @@ def replace_namespaced_deployment_config_status_with_http_info(self, name, names select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'PUT', path_params, @@ -33165,7 +29763,7 @@ def replace_namespaced_egress_network_policy_with_http_info(self, name, namespac select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'PUT', path_params, @@ -33288,7 +29886,7 @@ def replace_namespaced_image_stream_with_http_info(self, name, namespace, body, select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'PUT', path_params, @@ -33411,7 +30009,7 @@ def replace_namespaced_image_stream_status_with_http_info(self, name, namespace, select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'PUT', path_params, @@ -33534,7 +30132,7 @@ def replace_namespaced_image_stream_tag_with_http_info(self, name, namespace, bo select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'PUT', path_params, @@ -33551,252 +30149,6 @@ def replace_namespaced_image_stream_tag_with_http_info(self, name, namespace, bo _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def replace_namespaced_policy(self, name, namespace, body, **kwargs): - """ - replace the specified Policy - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please define a `callback` function - to be invoked when receiving the response. - >>> def callback_function(response): - >>> pprint(response) - >>> - >>> thread = api.replace_namespaced_policy(name, namespace, body, callback=callback_function) - - :param callback function: The callback function - for asynchronous request. (optional) - :param str name: name of the Policy (required) - :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1Policy body: (required) - :param str pretty: If 'true', then the output is pretty printed. - :return: V1Policy - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('callback'): - return self.replace_namespaced_policy_with_http_info(name, namespace, body, **kwargs) - else: - (data) = self.replace_namespaced_policy_with_http_info(name, namespace, body, **kwargs) - return data - - def replace_namespaced_policy_with_http_info(self, name, namespace, body, **kwargs): - """ - replace the specified Policy - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please define a `callback` function - to be invoked when receiving the response. - >>> def callback_function(response): - >>> pprint(response) - >>> - >>> thread = api.replace_namespaced_policy_with_http_info(name, namespace, body, callback=callback_function) - - :param callback function: The callback function - for asynchronous request. (optional) - :param str name: name of the Policy (required) - :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1Policy body: (required) - :param str pretty: If 'true', then the output is pretty printed. - :return: V1Policy - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['name', 'namespace', 'body', 'pretty'] - all_params.append('callback') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method replace_namespaced_policy" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'name' is set - if ('name' not in params) or (params['name'] is None): - raise ValueError("Missing the required parameter `name` when calling `replace_namespaced_policy`") - # verify the required parameter 'namespace' is set - if ('namespace' not in params) or (params['namespace'] is None): - raise ValueError("Missing the required parameter `namespace` when calling `replace_namespaced_policy`") - # verify the required parameter 'body' is set - if ('body' not in params) or (params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `replace_namespaced_policy`") - - - collection_formats = {} - - resource_path = '/oapi/v1/namespaces/{namespace}/policies/{name}'.replace('{format}', 'json') - path_params = {} - if 'name' in params: - path_params['name'] = params['name'] - if 'namespace' in params: - path_params['namespace'] = params['namespace'] - - query_params = {} - if 'pretty' in params: - query_params['pretty'] = params['pretty'] - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - if 'body' in params: - body_params = params['body'] - # HTTP header `Accept` - header_params['Accept'] = self.api_client.\ - select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - - # HTTP header `Content-Type` - header_params['Content-Type'] = self.api_client.\ - select_header_content_type(['*/*']) - - # Authentication setting - auth_settings = ['BearerToken'] - - return self.api_client.call_api(resource_path, 'PUT', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1Policy', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def replace_namespaced_policy_binding(self, name, namespace, body, **kwargs): - """ - replace the specified PolicyBinding - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please define a `callback` function - to be invoked when receiving the response. - >>> def callback_function(response): - >>> pprint(response) - >>> - >>> thread = api.replace_namespaced_policy_binding(name, namespace, body, callback=callback_function) - - :param callback function: The callback function - for asynchronous request. (optional) - :param str name: name of the PolicyBinding (required) - :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1PolicyBinding body: (required) - :param str pretty: If 'true', then the output is pretty printed. - :return: V1PolicyBinding - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('callback'): - return self.replace_namespaced_policy_binding_with_http_info(name, namespace, body, **kwargs) - else: - (data) = self.replace_namespaced_policy_binding_with_http_info(name, namespace, body, **kwargs) - return data - - def replace_namespaced_policy_binding_with_http_info(self, name, namespace, body, **kwargs): - """ - replace the specified PolicyBinding - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please define a `callback` function - to be invoked when receiving the response. - >>> def callback_function(response): - >>> pprint(response) - >>> - >>> thread = api.replace_namespaced_policy_binding_with_http_info(name, namespace, body, callback=callback_function) - - :param callback function: The callback function - for asynchronous request. (optional) - :param str name: name of the PolicyBinding (required) - :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1PolicyBinding body: (required) - :param str pretty: If 'true', then the output is pretty printed. - :return: V1PolicyBinding - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['name', 'namespace', 'body', 'pretty'] - all_params.append('callback') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method replace_namespaced_policy_binding" % key - ) - params[key] = val - del params['kwargs'] - # verify the required parameter 'name' is set - if ('name' not in params) or (params['name'] is None): - raise ValueError("Missing the required parameter `name` when calling `replace_namespaced_policy_binding`") - # verify the required parameter 'namespace' is set - if ('namespace' not in params) or (params['namespace'] is None): - raise ValueError("Missing the required parameter `namespace` when calling `replace_namespaced_policy_binding`") - # verify the required parameter 'body' is set - if ('body' not in params) or (params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `replace_namespaced_policy_binding`") - - - collection_formats = {} - - resource_path = '/oapi/v1/namespaces/{namespace}/policybindings/{name}'.replace('{format}', 'json') - path_params = {} - if 'name' in params: - path_params['name'] = params['name'] - if 'namespace' in params: - path_params['namespace'] = params['namespace'] - - query_params = {} - if 'pretty' in params: - query_params['pretty'] = params['pretty'] - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - if 'body' in params: - body_params = params['body'] - # HTTP header `Accept` - header_params['Accept'] = self.api_client.\ - select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - - # HTTP header `Content-Type` - header_params['Content-Type'] = self.api_client.\ - select_header_content_type(['*/*']) - - # Authentication setting - auth_settings = ['BearerToken'] - - return self.api_client.call_api(resource_path, 'PUT', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1PolicyBinding', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - def replace_namespaced_role(self, name, namespace, body, **kwargs): """ replace the specified Role @@ -33903,7 +30255,7 @@ def replace_namespaced_role_with_http_info(self, name, namespace, body, **kwargs select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'PUT', path_params, @@ -34026,7 +30378,7 @@ def replace_namespaced_role_binding_with_http_info(self, name, namespace, body, select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'PUT', path_params, @@ -34149,7 +30501,7 @@ def replace_namespaced_role_binding_restriction_with_http_info(self, name, names select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'PUT', path_params, @@ -34272,7 +30624,7 @@ def replace_namespaced_route_with_http_info(self, name, namespace, body, **kwarg select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'PUT', path_params, @@ -34395,7 +30747,7 @@ def replace_namespaced_route_status_with_http_info(self, name, namespace, body, select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'PUT', path_params, @@ -34427,9 +30779,9 @@ def replace_namespaced_scale_scale(self, name, namespace, body, **kwargs): for asynchronous request. (optional) :param str name: name of the Scale (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1beta1Scale body: (required) + :param ExtensionsV1beta1Scale body: (required) :param str pretty: If 'true', then the output is pretty printed. - :return: V1beta1Scale + :return: ExtensionsV1beta1Scale If the method is called asynchronously, returns the request thread. """ @@ -34455,9 +30807,9 @@ def replace_namespaced_scale_scale_with_http_info(self, name, namespace, body, * for asynchronous request. (optional) :param str name: name of the Scale (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1beta1Scale body: (required) + :param ExtensionsV1beta1Scale body: (required) :param str pretty: If 'true', then the output is pretty printed. - :return: V1beta1Scale + :return: ExtensionsV1beta1Scale If the method is called asynchronously, returns the request thread. """ @@ -34518,7 +30870,7 @@ def replace_namespaced_scale_scale_with_http_info(self, name, namespace, body, * select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'PUT', path_params, @@ -34527,7 +30879,7 @@ def replace_namespaced_scale_scale_with_http_info(self, name, namespace, body, * body=body_params, post_params=form_params, files=local_var_files, - response_type='V1beta1Scale', + response_type='ExtensionsV1beta1Scale', auth_settings=auth_settings, callback=params.get('callback'), _return_http_data_only=params.get('_return_http_data_only'), @@ -34641,7 +30993,7 @@ def replace_namespaced_template_with_http_info(self, name, namespace, body, **kw select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'PUT', path_params, @@ -34757,7 +31109,7 @@ def replace_net_namespace_with_http_info(self, name, body, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'PUT', path_params, @@ -34873,7 +31225,7 @@ def replace_o_auth_access_token_with_http_info(self, name, body, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'PUT', path_params, @@ -34989,7 +31341,7 @@ def replace_o_auth_authorize_token_with_http_info(self, name, body, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'PUT', path_params, @@ -35105,7 +31457,7 @@ def replace_o_auth_client_with_http_info(self, name, body, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'PUT', path_params, @@ -35221,7 +31573,7 @@ def replace_o_auth_client_authorization_with_http_info(self, name, body, **kwarg select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'PUT', path_params, @@ -35337,7 +31689,7 @@ def replace_project_with_http_info(self, name, body, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'PUT', path_params, @@ -35453,7 +31805,7 @@ def replace_user_with_http_info(self, name, body, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'PUT', path_params, @@ -35569,7 +31921,7 @@ def replace_user_identity_mapping_with_http_info(self, name, body, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'PUT', path_params, diff --git a/openshift/client/apis/oauth_openshift_io_api.py b/openshift/client/apis/oauth_openshift_io_api.py index b5c7b15f..041b5d64 100644 --- a/openshift/client/apis/oauth_openshift_io_api.py +++ b/openshift/client/apis/oauth_openshift_io_api.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -40,7 +40,7 @@ def __init__(self, api_client=None): config.api_client = ApiClient() self.api_client = config.api_client - def get_oauth_openshift_io_api_group(self, **kwargs): + def get_api_group(self, **kwargs): """ get information of a group This method makes a synchronous HTTP request by default. To make an @@ -49,22 +49,22 @@ def get_oauth_openshift_io_api_group(self, **kwargs): >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.get_oauth_openshift_io_api_group(callback=callback_function) + >>> thread = api.get_api_group(callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) - :return: UnversionedAPIGroup + :return: V1APIGroup If the method is called asynchronously, returns the request thread. """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.get_oauth_openshift_io_api_group_with_http_info(**kwargs) + return self.get_api_group_with_http_info(**kwargs) else: - (data) = self.get_oauth_openshift_io_api_group_with_http_info(**kwargs) + (data) = self.get_api_group_with_http_info(**kwargs) return data - def get_oauth_openshift_io_api_group_with_http_info(self, **kwargs): + def get_api_group_with_http_info(self, **kwargs): """ get information of a group This method makes a synchronous HTTP request by default. To make an @@ -73,11 +73,11 @@ def get_oauth_openshift_io_api_group_with_http_info(self, **kwargs): >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.get_oauth_openshift_io_api_group_with_http_info(callback=callback_function) + >>> thread = api.get_api_group_with_http_info(callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) - :return: UnversionedAPIGroup + :return: V1APIGroup If the method is called asynchronously, returns the request thread. """ @@ -93,7 +93,7 @@ def get_oauth_openshift_io_api_group_with_http_info(self, **kwargs): if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method get_oauth_openshift_io_api_group" % key + " to method get_api_group" % key ) params[key] = val del params['kwargs'] @@ -120,7 +120,7 @@ def get_oauth_openshift_io_api_group_with_http_info(self, **kwargs): select_header_content_type(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -129,7 +129,7 @@ def get_oauth_openshift_io_api_group_with_http_info(self, **kwargs): body=body_params, post_params=form_params, files=local_var_files, - response_type='UnversionedAPIGroup', + response_type='V1APIGroup', auth_settings=auth_settings, callback=params.get('callback'), _return_http_data_only=params.get('_return_http_data_only'), diff --git a/openshift/client/apis/oauth_openshift_io_v1_api.py b/openshift/client/apis/oauth_openshift_io_v1_api.py index 886d94e9..822c761e 100644 --- a/openshift/client/apis/oauth_openshift_io_v1_api.py +++ b/openshift/client/apis/oauth_openshift_io_v1_api.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -40,7 +40,7 @@ def __init__(self, api_client=None): config.api_client = ApiClient() self.api_client = config.api_client - def create_oauth_openshift_io_v1_o_auth_access_token(self, body, **kwargs): + def create_o_auth_access_token(self, body, **kwargs): """ create an OAuthAccessToken This method makes a synchronous HTTP request by default. To make an @@ -49,7 +49,7 @@ def create_oauth_openshift_io_v1_o_auth_access_token(self, body, **kwargs): >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.create_oauth_openshift_io_v1_o_auth_access_token(body, callback=callback_function) + >>> thread = api.create_o_auth_access_token(body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) @@ -61,12 +61,12 @@ def create_oauth_openshift_io_v1_o_auth_access_token(self, body, **kwargs): """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.create_oauth_openshift_io_v1_o_auth_access_token_with_http_info(body, **kwargs) + return self.create_o_auth_access_token_with_http_info(body, **kwargs) else: - (data) = self.create_oauth_openshift_io_v1_o_auth_access_token_with_http_info(body, **kwargs) + (data) = self.create_o_auth_access_token_with_http_info(body, **kwargs) return data - def create_oauth_openshift_io_v1_o_auth_access_token_with_http_info(self, body, **kwargs): + def create_o_auth_access_token_with_http_info(self, body, **kwargs): """ create an OAuthAccessToken This method makes a synchronous HTTP request by default. To make an @@ -75,7 +75,7 @@ def create_oauth_openshift_io_v1_o_auth_access_token_with_http_info(self, body, >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.create_oauth_openshift_io_v1_o_auth_access_token_with_http_info(body, callback=callback_function) + >>> thread = api.create_o_auth_access_token_with_http_info(body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) @@ -97,13 +97,13 @@ def create_oauth_openshift_io_v1_o_auth_access_token_with_http_info(self, body, if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method create_oauth_openshift_io_v1_o_auth_access_token" % key + " to method create_o_auth_access_token" % key ) params[key] = val del params['kwargs'] # verify the required parameter 'body' is set if ('body' not in params) or (params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `create_oauth_openshift_io_v1_o_auth_access_token`") + raise ValueError("Missing the required parameter `body` when calling `create_o_auth_access_token`") collection_formats = {} @@ -132,7 +132,7 @@ def create_oauth_openshift_io_v1_o_auth_access_token_with_http_info(self, body, select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'POST', path_params, @@ -149,7 +149,7 @@ def create_oauth_openshift_io_v1_o_auth_access_token_with_http_info(self, body, _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def create_oauth_openshift_io_v1_o_auth_authorize_token(self, body, **kwargs): + def create_o_auth_authorize_token(self, body, **kwargs): """ create an OAuthAuthorizeToken This method makes a synchronous HTTP request by default. To make an @@ -158,7 +158,7 @@ def create_oauth_openshift_io_v1_o_auth_authorize_token(self, body, **kwargs): >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.create_oauth_openshift_io_v1_o_auth_authorize_token(body, callback=callback_function) + >>> thread = api.create_o_auth_authorize_token(body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) @@ -170,12 +170,12 @@ def create_oauth_openshift_io_v1_o_auth_authorize_token(self, body, **kwargs): """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.create_oauth_openshift_io_v1_o_auth_authorize_token_with_http_info(body, **kwargs) + return self.create_o_auth_authorize_token_with_http_info(body, **kwargs) else: - (data) = self.create_oauth_openshift_io_v1_o_auth_authorize_token_with_http_info(body, **kwargs) + (data) = self.create_o_auth_authorize_token_with_http_info(body, **kwargs) return data - def create_oauth_openshift_io_v1_o_auth_authorize_token_with_http_info(self, body, **kwargs): + def create_o_auth_authorize_token_with_http_info(self, body, **kwargs): """ create an OAuthAuthorizeToken This method makes a synchronous HTTP request by default. To make an @@ -184,7 +184,7 @@ def create_oauth_openshift_io_v1_o_auth_authorize_token_with_http_info(self, bod >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.create_oauth_openshift_io_v1_o_auth_authorize_token_with_http_info(body, callback=callback_function) + >>> thread = api.create_o_auth_authorize_token_with_http_info(body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) @@ -206,13 +206,13 @@ def create_oauth_openshift_io_v1_o_auth_authorize_token_with_http_info(self, bod if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method create_oauth_openshift_io_v1_o_auth_authorize_token" % key + " to method create_o_auth_authorize_token" % key ) params[key] = val del params['kwargs'] # verify the required parameter 'body' is set if ('body' not in params) or (params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `create_oauth_openshift_io_v1_o_auth_authorize_token`") + raise ValueError("Missing the required parameter `body` when calling `create_o_auth_authorize_token`") collection_formats = {} @@ -241,7 +241,7 @@ def create_oauth_openshift_io_v1_o_auth_authorize_token_with_http_info(self, bod select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'POST', path_params, @@ -258,7 +258,7 @@ def create_oauth_openshift_io_v1_o_auth_authorize_token_with_http_info(self, bod _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def create_oauth_openshift_io_v1_o_auth_client(self, body, **kwargs): + def create_o_auth_client(self, body, **kwargs): """ create an OAuthClient This method makes a synchronous HTTP request by default. To make an @@ -267,7 +267,7 @@ def create_oauth_openshift_io_v1_o_auth_client(self, body, **kwargs): >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.create_oauth_openshift_io_v1_o_auth_client(body, callback=callback_function) + >>> thread = api.create_o_auth_client(body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) @@ -279,12 +279,12 @@ def create_oauth_openshift_io_v1_o_auth_client(self, body, **kwargs): """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.create_oauth_openshift_io_v1_o_auth_client_with_http_info(body, **kwargs) + return self.create_o_auth_client_with_http_info(body, **kwargs) else: - (data) = self.create_oauth_openshift_io_v1_o_auth_client_with_http_info(body, **kwargs) + (data) = self.create_o_auth_client_with_http_info(body, **kwargs) return data - def create_oauth_openshift_io_v1_o_auth_client_with_http_info(self, body, **kwargs): + def create_o_auth_client_with_http_info(self, body, **kwargs): """ create an OAuthClient This method makes a synchronous HTTP request by default. To make an @@ -293,7 +293,7 @@ def create_oauth_openshift_io_v1_o_auth_client_with_http_info(self, body, **kwar >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.create_oauth_openshift_io_v1_o_auth_client_with_http_info(body, callback=callback_function) + >>> thread = api.create_o_auth_client_with_http_info(body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) @@ -315,13 +315,13 @@ def create_oauth_openshift_io_v1_o_auth_client_with_http_info(self, body, **kwar if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method create_oauth_openshift_io_v1_o_auth_client" % key + " to method create_o_auth_client" % key ) params[key] = val del params['kwargs'] # verify the required parameter 'body' is set if ('body' not in params) or (params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `create_oauth_openshift_io_v1_o_auth_client`") + raise ValueError("Missing the required parameter `body` when calling `create_o_auth_client`") collection_formats = {} @@ -350,7 +350,7 @@ def create_oauth_openshift_io_v1_o_auth_client_with_http_info(self, body, **kwar select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'POST', path_params, @@ -367,7 +367,7 @@ def create_oauth_openshift_io_v1_o_auth_client_with_http_info(self, body, **kwar _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def create_oauth_openshift_io_v1_o_auth_client_authorization(self, body, **kwargs): + def create_o_auth_client_authorization(self, body, **kwargs): """ create an OAuthClientAuthorization This method makes a synchronous HTTP request by default. To make an @@ -376,7 +376,7 @@ def create_oauth_openshift_io_v1_o_auth_client_authorization(self, body, **kwarg >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.create_oauth_openshift_io_v1_o_auth_client_authorization(body, callback=callback_function) + >>> thread = api.create_o_auth_client_authorization(body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) @@ -388,12 +388,12 @@ def create_oauth_openshift_io_v1_o_auth_client_authorization(self, body, **kwarg """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.create_oauth_openshift_io_v1_o_auth_client_authorization_with_http_info(body, **kwargs) + return self.create_o_auth_client_authorization_with_http_info(body, **kwargs) else: - (data) = self.create_oauth_openshift_io_v1_o_auth_client_authorization_with_http_info(body, **kwargs) + (data) = self.create_o_auth_client_authorization_with_http_info(body, **kwargs) return data - def create_oauth_openshift_io_v1_o_auth_client_authorization_with_http_info(self, body, **kwargs): + def create_o_auth_client_authorization_with_http_info(self, body, **kwargs): """ create an OAuthClientAuthorization This method makes a synchronous HTTP request by default. To make an @@ -402,7 +402,7 @@ def create_oauth_openshift_io_v1_o_auth_client_authorization_with_http_info(self >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.create_oauth_openshift_io_v1_o_auth_client_authorization_with_http_info(body, callback=callback_function) + >>> thread = api.create_o_auth_client_authorization_with_http_info(body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) @@ -424,13 +424,13 @@ def create_oauth_openshift_io_v1_o_auth_client_authorization_with_http_info(self if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method create_oauth_openshift_io_v1_o_auth_client_authorization" % key + " to method create_o_auth_client_authorization" % key ) params[key] = val del params['kwargs'] # verify the required parameter 'body' is set if ('body' not in params) or (params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `create_oauth_openshift_io_v1_o_auth_client_authorization`") + raise ValueError("Missing the required parameter `body` when calling `create_o_auth_client_authorization`") collection_formats = {} @@ -459,7 +459,7 @@ def create_oauth_openshift_io_v1_o_auth_client_authorization_with_http_info(self select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'POST', path_params, @@ -476,7 +476,7 @@ def create_oauth_openshift_io_v1_o_auth_client_authorization_with_http_info(self _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def delete_oauth_openshift_io_v1_collection_o_auth_access_token(self, **kwargs): + def delete_collection_o_auth_access_token(self, **kwargs): """ delete collection of OAuthAccessToken This method makes a synchronous HTTP request by default. To make an @@ -485,28 +485,29 @@ def delete_oauth_openshift_io_v1_collection_o_auth_access_token(self, **kwargs): >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.delete_oauth_openshift_io_v1_collection_o_auth_access_token(callback=callback_function) + >>> thread = api.delete_collection_o_auth_access_token(callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param str pretty: If 'true', then the output is pretty printed. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param bool include_uninitialized: If true, partially initialized resources are included in the response. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. - :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. + :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. :param int timeout_seconds: Timeout for the list/watch call. :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - :return: UnversionedStatus + :return: V1Status If the method is called asynchronously, returns the request thread. """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.delete_oauth_openshift_io_v1_collection_o_auth_access_token_with_http_info(**kwargs) + return self.delete_collection_o_auth_access_token_with_http_info(**kwargs) else: - (data) = self.delete_oauth_openshift_io_v1_collection_o_auth_access_token_with_http_info(**kwargs) + (data) = self.delete_collection_o_auth_access_token_with_http_info(**kwargs) return data - def delete_oauth_openshift_io_v1_collection_o_auth_access_token_with_http_info(self, **kwargs): + def delete_collection_o_auth_access_token_with_http_info(self, **kwargs): """ delete collection of OAuthAccessToken This method makes a synchronous HTTP request by default. To make an @@ -515,22 +516,23 @@ def delete_oauth_openshift_io_v1_collection_o_auth_access_token_with_http_info(s >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.delete_oauth_openshift_io_v1_collection_o_auth_access_token_with_http_info(callback=callback_function) + >>> thread = api.delete_collection_o_auth_access_token_with_http_info(callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param str pretty: If 'true', then the output is pretty printed. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param bool include_uninitialized: If true, partially initialized resources are included in the response. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. - :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. + :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. :param int timeout_seconds: Timeout for the list/watch call. :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - :return: UnversionedStatus + :return: V1Status If the method is called asynchronously, returns the request thread. """ - all_params = ['pretty', 'field_selector', 'label_selector', 'resource_version', 'timeout_seconds', 'watch'] + all_params = ['pretty', 'field_selector', 'include_uninitialized', 'label_selector', 'resource_version', 'timeout_seconds', 'watch'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -541,7 +543,7 @@ def delete_oauth_openshift_io_v1_collection_o_auth_access_token_with_http_info(s if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method delete_oauth_openshift_io_v1_collection_o_auth_access_token" % key + " to method delete_collection_o_auth_access_token" % key ) params[key] = val del params['kwargs'] @@ -557,6 +559,8 @@ def delete_oauth_openshift_io_v1_collection_o_auth_access_token_with_http_info(s query_params['pretty'] = params['pretty'] if 'field_selector' in params: query_params['fieldSelector'] = params['field_selector'] + if 'include_uninitialized' in params: + query_params['includeUninitialized'] = params['include_uninitialized'] if 'label_selector' in params: query_params['labelSelector'] = params['label_selector'] if 'resource_version' in params: @@ -581,7 +585,7 @@ def delete_oauth_openshift_io_v1_collection_o_auth_access_token_with_http_info(s select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'DELETE', path_params, @@ -590,7 +594,7 @@ def delete_oauth_openshift_io_v1_collection_o_auth_access_token_with_http_info(s body=body_params, post_params=form_params, files=local_var_files, - response_type='UnversionedStatus', + response_type='V1Status', auth_settings=auth_settings, callback=params.get('callback'), _return_http_data_only=params.get('_return_http_data_only'), @@ -598,7 +602,7 @@ def delete_oauth_openshift_io_v1_collection_o_auth_access_token_with_http_info(s _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def delete_oauth_openshift_io_v1_collection_o_auth_authorize_token(self, **kwargs): + def delete_collection_o_auth_authorize_token(self, **kwargs): """ delete collection of OAuthAuthorizeToken This method makes a synchronous HTTP request by default. To make an @@ -607,28 +611,29 @@ def delete_oauth_openshift_io_v1_collection_o_auth_authorize_token(self, **kwarg >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.delete_oauth_openshift_io_v1_collection_o_auth_authorize_token(callback=callback_function) + >>> thread = api.delete_collection_o_auth_authorize_token(callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param str pretty: If 'true', then the output is pretty printed. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param bool include_uninitialized: If true, partially initialized resources are included in the response. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. - :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. + :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. :param int timeout_seconds: Timeout for the list/watch call. :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - :return: UnversionedStatus + :return: V1Status If the method is called asynchronously, returns the request thread. """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.delete_oauth_openshift_io_v1_collection_o_auth_authorize_token_with_http_info(**kwargs) + return self.delete_collection_o_auth_authorize_token_with_http_info(**kwargs) else: - (data) = self.delete_oauth_openshift_io_v1_collection_o_auth_authorize_token_with_http_info(**kwargs) + (data) = self.delete_collection_o_auth_authorize_token_with_http_info(**kwargs) return data - def delete_oauth_openshift_io_v1_collection_o_auth_authorize_token_with_http_info(self, **kwargs): + def delete_collection_o_auth_authorize_token_with_http_info(self, **kwargs): """ delete collection of OAuthAuthorizeToken This method makes a synchronous HTTP request by default. To make an @@ -637,22 +642,23 @@ def delete_oauth_openshift_io_v1_collection_o_auth_authorize_token_with_http_inf >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.delete_oauth_openshift_io_v1_collection_o_auth_authorize_token_with_http_info(callback=callback_function) + >>> thread = api.delete_collection_o_auth_authorize_token_with_http_info(callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param str pretty: If 'true', then the output is pretty printed. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param bool include_uninitialized: If true, partially initialized resources are included in the response. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. - :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. + :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. :param int timeout_seconds: Timeout for the list/watch call. :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - :return: UnversionedStatus + :return: V1Status If the method is called asynchronously, returns the request thread. """ - all_params = ['pretty', 'field_selector', 'label_selector', 'resource_version', 'timeout_seconds', 'watch'] + all_params = ['pretty', 'field_selector', 'include_uninitialized', 'label_selector', 'resource_version', 'timeout_seconds', 'watch'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -663,7 +669,7 @@ def delete_oauth_openshift_io_v1_collection_o_auth_authorize_token_with_http_inf if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method delete_oauth_openshift_io_v1_collection_o_auth_authorize_token" % key + " to method delete_collection_o_auth_authorize_token" % key ) params[key] = val del params['kwargs'] @@ -679,6 +685,8 @@ def delete_oauth_openshift_io_v1_collection_o_auth_authorize_token_with_http_inf query_params['pretty'] = params['pretty'] if 'field_selector' in params: query_params['fieldSelector'] = params['field_selector'] + if 'include_uninitialized' in params: + query_params['includeUninitialized'] = params['include_uninitialized'] if 'label_selector' in params: query_params['labelSelector'] = params['label_selector'] if 'resource_version' in params: @@ -703,7 +711,7 @@ def delete_oauth_openshift_io_v1_collection_o_auth_authorize_token_with_http_inf select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'DELETE', path_params, @@ -712,7 +720,7 @@ def delete_oauth_openshift_io_v1_collection_o_auth_authorize_token_with_http_inf body=body_params, post_params=form_params, files=local_var_files, - response_type='UnversionedStatus', + response_type='V1Status', auth_settings=auth_settings, callback=params.get('callback'), _return_http_data_only=params.get('_return_http_data_only'), @@ -720,7 +728,7 @@ def delete_oauth_openshift_io_v1_collection_o_auth_authorize_token_with_http_inf _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def delete_oauth_openshift_io_v1_collection_o_auth_client(self, **kwargs): + def delete_collection_o_auth_client(self, **kwargs): """ delete collection of OAuthClient This method makes a synchronous HTTP request by default. To make an @@ -729,28 +737,29 @@ def delete_oauth_openshift_io_v1_collection_o_auth_client(self, **kwargs): >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.delete_oauth_openshift_io_v1_collection_o_auth_client(callback=callback_function) + >>> thread = api.delete_collection_o_auth_client(callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param str pretty: If 'true', then the output is pretty printed. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param bool include_uninitialized: If true, partially initialized resources are included in the response. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. - :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. + :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. :param int timeout_seconds: Timeout for the list/watch call. :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - :return: UnversionedStatus + :return: V1Status If the method is called asynchronously, returns the request thread. """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.delete_oauth_openshift_io_v1_collection_o_auth_client_with_http_info(**kwargs) + return self.delete_collection_o_auth_client_with_http_info(**kwargs) else: - (data) = self.delete_oauth_openshift_io_v1_collection_o_auth_client_with_http_info(**kwargs) + (data) = self.delete_collection_o_auth_client_with_http_info(**kwargs) return data - def delete_oauth_openshift_io_v1_collection_o_auth_client_with_http_info(self, **kwargs): + def delete_collection_o_auth_client_with_http_info(self, **kwargs): """ delete collection of OAuthClient This method makes a synchronous HTTP request by default. To make an @@ -759,22 +768,23 @@ def delete_oauth_openshift_io_v1_collection_o_auth_client_with_http_info(self, * >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.delete_oauth_openshift_io_v1_collection_o_auth_client_with_http_info(callback=callback_function) + >>> thread = api.delete_collection_o_auth_client_with_http_info(callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param str pretty: If 'true', then the output is pretty printed. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param bool include_uninitialized: If true, partially initialized resources are included in the response. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. - :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. + :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. :param int timeout_seconds: Timeout for the list/watch call. :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - :return: UnversionedStatus + :return: V1Status If the method is called asynchronously, returns the request thread. """ - all_params = ['pretty', 'field_selector', 'label_selector', 'resource_version', 'timeout_seconds', 'watch'] + all_params = ['pretty', 'field_selector', 'include_uninitialized', 'label_selector', 'resource_version', 'timeout_seconds', 'watch'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -785,7 +795,7 @@ def delete_oauth_openshift_io_v1_collection_o_auth_client_with_http_info(self, * if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method delete_oauth_openshift_io_v1_collection_o_auth_client" % key + " to method delete_collection_o_auth_client" % key ) params[key] = val del params['kwargs'] @@ -801,6 +811,8 @@ def delete_oauth_openshift_io_v1_collection_o_auth_client_with_http_info(self, * query_params['pretty'] = params['pretty'] if 'field_selector' in params: query_params['fieldSelector'] = params['field_selector'] + if 'include_uninitialized' in params: + query_params['includeUninitialized'] = params['include_uninitialized'] if 'label_selector' in params: query_params['labelSelector'] = params['label_selector'] if 'resource_version' in params: @@ -825,7 +837,7 @@ def delete_oauth_openshift_io_v1_collection_o_auth_client_with_http_info(self, * select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'DELETE', path_params, @@ -834,7 +846,7 @@ def delete_oauth_openshift_io_v1_collection_o_auth_client_with_http_info(self, * body=body_params, post_params=form_params, files=local_var_files, - response_type='UnversionedStatus', + response_type='V1Status', auth_settings=auth_settings, callback=params.get('callback'), _return_http_data_only=params.get('_return_http_data_only'), @@ -842,7 +854,7 @@ def delete_oauth_openshift_io_v1_collection_o_auth_client_with_http_info(self, * _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def delete_oauth_openshift_io_v1_collection_o_auth_client_authorization(self, **kwargs): + def delete_collection_o_auth_client_authorization(self, **kwargs): """ delete collection of OAuthClientAuthorization This method makes a synchronous HTTP request by default. To make an @@ -851,28 +863,29 @@ def delete_oauth_openshift_io_v1_collection_o_auth_client_authorization(self, ** >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.delete_oauth_openshift_io_v1_collection_o_auth_client_authorization(callback=callback_function) + >>> thread = api.delete_collection_o_auth_client_authorization(callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param str pretty: If 'true', then the output is pretty printed. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param bool include_uninitialized: If true, partially initialized resources are included in the response. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. - :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. + :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. :param int timeout_seconds: Timeout for the list/watch call. :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - :return: UnversionedStatus + :return: V1Status If the method is called asynchronously, returns the request thread. """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.delete_oauth_openshift_io_v1_collection_o_auth_client_authorization_with_http_info(**kwargs) + return self.delete_collection_o_auth_client_authorization_with_http_info(**kwargs) else: - (data) = self.delete_oauth_openshift_io_v1_collection_o_auth_client_authorization_with_http_info(**kwargs) + (data) = self.delete_collection_o_auth_client_authorization_with_http_info(**kwargs) return data - def delete_oauth_openshift_io_v1_collection_o_auth_client_authorization_with_http_info(self, **kwargs): + def delete_collection_o_auth_client_authorization_with_http_info(self, **kwargs): """ delete collection of OAuthClientAuthorization This method makes a synchronous HTTP request by default. To make an @@ -881,22 +894,23 @@ def delete_oauth_openshift_io_v1_collection_o_auth_client_authorization_with_htt >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.delete_oauth_openshift_io_v1_collection_o_auth_client_authorization_with_http_info(callback=callback_function) + >>> thread = api.delete_collection_o_auth_client_authorization_with_http_info(callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param str pretty: If 'true', then the output is pretty printed. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param bool include_uninitialized: If true, partially initialized resources are included in the response. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. - :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. + :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. :param int timeout_seconds: Timeout for the list/watch call. :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - :return: UnversionedStatus + :return: V1Status If the method is called asynchronously, returns the request thread. """ - all_params = ['pretty', 'field_selector', 'label_selector', 'resource_version', 'timeout_seconds', 'watch'] + all_params = ['pretty', 'field_selector', 'include_uninitialized', 'label_selector', 'resource_version', 'timeout_seconds', 'watch'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -907,7 +921,7 @@ def delete_oauth_openshift_io_v1_collection_o_auth_client_authorization_with_htt if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method delete_oauth_openshift_io_v1_collection_o_auth_client_authorization" % key + " to method delete_collection_o_auth_client_authorization" % key ) params[key] = val del params['kwargs'] @@ -923,6 +937,8 @@ def delete_oauth_openshift_io_v1_collection_o_auth_client_authorization_with_htt query_params['pretty'] = params['pretty'] if 'field_selector' in params: query_params['fieldSelector'] = params['field_selector'] + if 'include_uninitialized' in params: + query_params['includeUninitialized'] = params['include_uninitialized'] if 'label_selector' in params: query_params['labelSelector'] = params['label_selector'] if 'resource_version' in params: @@ -947,7 +963,7 @@ def delete_oauth_openshift_io_v1_collection_o_auth_client_authorization_with_htt select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'DELETE', path_params, @@ -956,7 +972,7 @@ def delete_oauth_openshift_io_v1_collection_o_auth_client_authorization_with_htt body=body_params, post_params=form_params, files=local_var_files, - response_type='UnversionedStatus', + response_type='V1Status', auth_settings=auth_settings, callback=params.get('callback'), _return_http_data_only=params.get('_return_http_data_only'), @@ -964,7 +980,7 @@ def delete_oauth_openshift_io_v1_collection_o_auth_client_authorization_with_htt _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def delete_oauth_openshift_io_v1_o_auth_access_token(self, name, body, **kwargs): + def delete_o_auth_access_token(self, name, body, **kwargs): """ delete an OAuthAccessToken This method makes a synchronous HTTP request by default. To make an @@ -973,7 +989,7 @@ def delete_oauth_openshift_io_v1_o_auth_access_token(self, name, body, **kwargs) >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.delete_oauth_openshift_io_v1_o_auth_access_token(name, body, callback=callback_function) + >>> thread = api.delete_o_auth_access_token(name, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) @@ -981,19 +997,20 @@ def delete_oauth_openshift_io_v1_o_auth_access_token(self, name, body, **kwargs) :param V1DeleteOptions body: (required) :param str pretty: If 'true', then the output is pretty printed. :param int grace_period_seconds: 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. - :param bool orphan_dependents: Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. - :return: UnversionedStatus + :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. + :param str propagation_policy: Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. + :return: V1Status If the method is called asynchronously, returns the request thread. """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.delete_oauth_openshift_io_v1_o_auth_access_token_with_http_info(name, body, **kwargs) + return self.delete_o_auth_access_token_with_http_info(name, body, **kwargs) else: - (data) = self.delete_oauth_openshift_io_v1_o_auth_access_token_with_http_info(name, body, **kwargs) + (data) = self.delete_o_auth_access_token_with_http_info(name, body, **kwargs) return data - def delete_oauth_openshift_io_v1_o_auth_access_token_with_http_info(self, name, body, **kwargs): + def delete_o_auth_access_token_with_http_info(self, name, body, **kwargs): """ delete an OAuthAccessToken This method makes a synchronous HTTP request by default. To make an @@ -1002,7 +1019,7 @@ def delete_oauth_openshift_io_v1_o_auth_access_token_with_http_info(self, name, >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.delete_oauth_openshift_io_v1_o_auth_access_token_with_http_info(name, body, callback=callback_function) + >>> thread = api.delete_o_auth_access_token_with_http_info(name, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) @@ -1010,13 +1027,14 @@ def delete_oauth_openshift_io_v1_o_auth_access_token_with_http_info(self, name, :param V1DeleteOptions body: (required) :param str pretty: If 'true', then the output is pretty printed. :param int grace_period_seconds: 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. - :param bool orphan_dependents: Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. - :return: UnversionedStatus + :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. + :param str propagation_policy: Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. + :return: V1Status If the method is called asynchronously, returns the request thread. """ - all_params = ['name', 'body', 'pretty', 'grace_period_seconds', 'orphan_dependents'] + all_params = ['name', 'body', 'pretty', 'grace_period_seconds', 'orphan_dependents', 'propagation_policy'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -1027,16 +1045,16 @@ def delete_oauth_openshift_io_v1_o_auth_access_token_with_http_info(self, name, if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method delete_oauth_openshift_io_v1_o_auth_access_token" % key + " to method delete_o_auth_access_token" % key ) params[key] = val del params['kwargs'] # verify the required parameter 'name' is set if ('name' not in params) or (params['name'] is None): - raise ValueError("Missing the required parameter `name` when calling `delete_oauth_openshift_io_v1_o_auth_access_token`") + raise ValueError("Missing the required parameter `name` when calling `delete_o_auth_access_token`") # verify the required parameter 'body' is set if ('body' not in params) or (params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `delete_oauth_openshift_io_v1_o_auth_access_token`") + raise ValueError("Missing the required parameter `body` when calling `delete_o_auth_access_token`") collection_formats = {} @@ -1053,6 +1071,8 @@ def delete_oauth_openshift_io_v1_o_auth_access_token_with_http_info(self, name, query_params['gracePeriodSeconds'] = params['grace_period_seconds'] if 'orphan_dependents' in params: query_params['orphanDependents'] = params['orphan_dependents'] + if 'propagation_policy' in params: + query_params['propagationPolicy'] = params['propagation_policy'] header_params = {} @@ -1071,7 +1091,7 @@ def delete_oauth_openshift_io_v1_o_auth_access_token_with_http_info(self, name, select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'DELETE', path_params, @@ -1080,7 +1100,7 @@ def delete_oauth_openshift_io_v1_o_auth_access_token_with_http_info(self, name, body=body_params, post_params=form_params, files=local_var_files, - response_type='UnversionedStatus', + response_type='V1Status', auth_settings=auth_settings, callback=params.get('callback'), _return_http_data_only=params.get('_return_http_data_only'), @@ -1088,7 +1108,7 @@ def delete_oauth_openshift_io_v1_o_auth_access_token_with_http_info(self, name, _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def delete_oauth_openshift_io_v1_o_auth_authorize_token(self, name, body, **kwargs): + def delete_o_auth_authorize_token(self, name, body, **kwargs): """ delete an OAuthAuthorizeToken This method makes a synchronous HTTP request by default. To make an @@ -1097,7 +1117,7 @@ def delete_oauth_openshift_io_v1_o_auth_authorize_token(self, name, body, **kwar >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.delete_oauth_openshift_io_v1_o_auth_authorize_token(name, body, callback=callback_function) + >>> thread = api.delete_o_auth_authorize_token(name, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) @@ -1105,19 +1125,20 @@ def delete_oauth_openshift_io_v1_o_auth_authorize_token(self, name, body, **kwar :param V1DeleteOptions body: (required) :param str pretty: If 'true', then the output is pretty printed. :param int grace_period_seconds: 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. - :param bool orphan_dependents: Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. - :return: UnversionedStatus + :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. + :param str propagation_policy: Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. + :return: V1Status If the method is called asynchronously, returns the request thread. """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.delete_oauth_openshift_io_v1_o_auth_authorize_token_with_http_info(name, body, **kwargs) + return self.delete_o_auth_authorize_token_with_http_info(name, body, **kwargs) else: - (data) = self.delete_oauth_openshift_io_v1_o_auth_authorize_token_with_http_info(name, body, **kwargs) + (data) = self.delete_o_auth_authorize_token_with_http_info(name, body, **kwargs) return data - def delete_oauth_openshift_io_v1_o_auth_authorize_token_with_http_info(self, name, body, **kwargs): + def delete_o_auth_authorize_token_with_http_info(self, name, body, **kwargs): """ delete an OAuthAuthorizeToken This method makes a synchronous HTTP request by default. To make an @@ -1126,7 +1147,7 @@ def delete_oauth_openshift_io_v1_o_auth_authorize_token_with_http_info(self, nam >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.delete_oauth_openshift_io_v1_o_auth_authorize_token_with_http_info(name, body, callback=callback_function) + >>> thread = api.delete_o_auth_authorize_token_with_http_info(name, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) @@ -1134,13 +1155,14 @@ def delete_oauth_openshift_io_v1_o_auth_authorize_token_with_http_info(self, nam :param V1DeleteOptions body: (required) :param str pretty: If 'true', then the output is pretty printed. :param int grace_period_seconds: 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. - :param bool orphan_dependents: Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. - :return: UnversionedStatus + :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. + :param str propagation_policy: Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. + :return: V1Status If the method is called asynchronously, returns the request thread. """ - all_params = ['name', 'body', 'pretty', 'grace_period_seconds', 'orphan_dependents'] + all_params = ['name', 'body', 'pretty', 'grace_period_seconds', 'orphan_dependents', 'propagation_policy'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -1151,16 +1173,16 @@ def delete_oauth_openshift_io_v1_o_auth_authorize_token_with_http_info(self, nam if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method delete_oauth_openshift_io_v1_o_auth_authorize_token" % key + " to method delete_o_auth_authorize_token" % key ) params[key] = val del params['kwargs'] # verify the required parameter 'name' is set if ('name' not in params) or (params['name'] is None): - raise ValueError("Missing the required parameter `name` when calling `delete_oauth_openshift_io_v1_o_auth_authorize_token`") + raise ValueError("Missing the required parameter `name` when calling `delete_o_auth_authorize_token`") # verify the required parameter 'body' is set if ('body' not in params) or (params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `delete_oauth_openshift_io_v1_o_auth_authorize_token`") + raise ValueError("Missing the required parameter `body` when calling `delete_o_auth_authorize_token`") collection_formats = {} @@ -1177,6 +1199,8 @@ def delete_oauth_openshift_io_v1_o_auth_authorize_token_with_http_info(self, nam query_params['gracePeriodSeconds'] = params['grace_period_seconds'] if 'orphan_dependents' in params: query_params['orphanDependents'] = params['orphan_dependents'] + if 'propagation_policy' in params: + query_params['propagationPolicy'] = params['propagation_policy'] header_params = {} @@ -1195,7 +1219,7 @@ def delete_oauth_openshift_io_v1_o_auth_authorize_token_with_http_info(self, nam select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'DELETE', path_params, @@ -1204,7 +1228,7 @@ def delete_oauth_openshift_io_v1_o_auth_authorize_token_with_http_info(self, nam body=body_params, post_params=form_params, files=local_var_files, - response_type='UnversionedStatus', + response_type='V1Status', auth_settings=auth_settings, callback=params.get('callback'), _return_http_data_only=params.get('_return_http_data_only'), @@ -1212,7 +1236,7 @@ def delete_oauth_openshift_io_v1_o_auth_authorize_token_with_http_info(self, nam _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def delete_oauth_openshift_io_v1_o_auth_client(self, name, body, **kwargs): + def delete_o_auth_client(self, name, body, **kwargs): """ delete an OAuthClient This method makes a synchronous HTTP request by default. To make an @@ -1221,7 +1245,7 @@ def delete_oauth_openshift_io_v1_o_auth_client(self, name, body, **kwargs): >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.delete_oauth_openshift_io_v1_o_auth_client(name, body, callback=callback_function) + >>> thread = api.delete_o_auth_client(name, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) @@ -1229,19 +1253,20 @@ def delete_oauth_openshift_io_v1_o_auth_client(self, name, body, **kwargs): :param V1DeleteOptions body: (required) :param str pretty: If 'true', then the output is pretty printed. :param int grace_period_seconds: 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. - :param bool orphan_dependents: Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. - :return: UnversionedStatus + :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. + :param str propagation_policy: Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. + :return: V1Status If the method is called asynchronously, returns the request thread. """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.delete_oauth_openshift_io_v1_o_auth_client_with_http_info(name, body, **kwargs) + return self.delete_o_auth_client_with_http_info(name, body, **kwargs) else: - (data) = self.delete_oauth_openshift_io_v1_o_auth_client_with_http_info(name, body, **kwargs) + (data) = self.delete_o_auth_client_with_http_info(name, body, **kwargs) return data - def delete_oauth_openshift_io_v1_o_auth_client_with_http_info(self, name, body, **kwargs): + def delete_o_auth_client_with_http_info(self, name, body, **kwargs): """ delete an OAuthClient This method makes a synchronous HTTP request by default. To make an @@ -1250,7 +1275,7 @@ def delete_oauth_openshift_io_v1_o_auth_client_with_http_info(self, name, body, >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.delete_oauth_openshift_io_v1_o_auth_client_with_http_info(name, body, callback=callback_function) + >>> thread = api.delete_o_auth_client_with_http_info(name, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) @@ -1258,13 +1283,14 @@ def delete_oauth_openshift_io_v1_o_auth_client_with_http_info(self, name, body, :param V1DeleteOptions body: (required) :param str pretty: If 'true', then the output is pretty printed. :param int grace_period_seconds: 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. - :param bool orphan_dependents: Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. - :return: UnversionedStatus + :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. + :param str propagation_policy: Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. + :return: V1Status If the method is called asynchronously, returns the request thread. """ - all_params = ['name', 'body', 'pretty', 'grace_period_seconds', 'orphan_dependents'] + all_params = ['name', 'body', 'pretty', 'grace_period_seconds', 'orphan_dependents', 'propagation_policy'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -1275,16 +1301,16 @@ def delete_oauth_openshift_io_v1_o_auth_client_with_http_info(self, name, body, if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method delete_oauth_openshift_io_v1_o_auth_client" % key + " to method delete_o_auth_client" % key ) params[key] = val del params['kwargs'] # verify the required parameter 'name' is set if ('name' not in params) or (params['name'] is None): - raise ValueError("Missing the required parameter `name` when calling `delete_oauth_openshift_io_v1_o_auth_client`") + raise ValueError("Missing the required parameter `name` when calling `delete_o_auth_client`") # verify the required parameter 'body' is set if ('body' not in params) or (params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `delete_oauth_openshift_io_v1_o_auth_client`") + raise ValueError("Missing the required parameter `body` when calling `delete_o_auth_client`") collection_formats = {} @@ -1301,6 +1327,8 @@ def delete_oauth_openshift_io_v1_o_auth_client_with_http_info(self, name, body, query_params['gracePeriodSeconds'] = params['grace_period_seconds'] if 'orphan_dependents' in params: query_params['orphanDependents'] = params['orphan_dependents'] + if 'propagation_policy' in params: + query_params['propagationPolicy'] = params['propagation_policy'] header_params = {} @@ -1319,7 +1347,7 @@ def delete_oauth_openshift_io_v1_o_auth_client_with_http_info(self, name, body, select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'DELETE', path_params, @@ -1328,7 +1356,7 @@ def delete_oauth_openshift_io_v1_o_auth_client_with_http_info(self, name, body, body=body_params, post_params=form_params, files=local_var_files, - response_type='UnversionedStatus', + response_type='V1Status', auth_settings=auth_settings, callback=params.get('callback'), _return_http_data_only=params.get('_return_http_data_only'), @@ -1336,7 +1364,7 @@ def delete_oauth_openshift_io_v1_o_auth_client_with_http_info(self, name, body, _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def delete_oauth_openshift_io_v1_o_auth_client_authorization(self, name, body, **kwargs): + def delete_o_auth_client_authorization(self, name, body, **kwargs): """ delete an OAuthClientAuthorization This method makes a synchronous HTTP request by default. To make an @@ -1345,7 +1373,7 @@ def delete_oauth_openshift_io_v1_o_auth_client_authorization(self, name, body, * >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.delete_oauth_openshift_io_v1_o_auth_client_authorization(name, body, callback=callback_function) + >>> thread = api.delete_o_auth_client_authorization(name, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) @@ -1353,19 +1381,20 @@ def delete_oauth_openshift_io_v1_o_auth_client_authorization(self, name, body, * :param V1DeleteOptions body: (required) :param str pretty: If 'true', then the output is pretty printed. :param int grace_period_seconds: 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. - :param bool orphan_dependents: Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. - :return: UnversionedStatus + :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. + :param str propagation_policy: Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. + :return: V1Status If the method is called asynchronously, returns the request thread. """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.delete_oauth_openshift_io_v1_o_auth_client_authorization_with_http_info(name, body, **kwargs) + return self.delete_o_auth_client_authorization_with_http_info(name, body, **kwargs) else: - (data) = self.delete_oauth_openshift_io_v1_o_auth_client_authorization_with_http_info(name, body, **kwargs) + (data) = self.delete_o_auth_client_authorization_with_http_info(name, body, **kwargs) return data - def delete_oauth_openshift_io_v1_o_auth_client_authorization_with_http_info(self, name, body, **kwargs): + def delete_o_auth_client_authorization_with_http_info(self, name, body, **kwargs): """ delete an OAuthClientAuthorization This method makes a synchronous HTTP request by default. To make an @@ -1374,7 +1403,7 @@ def delete_oauth_openshift_io_v1_o_auth_client_authorization_with_http_info(self >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.delete_oauth_openshift_io_v1_o_auth_client_authorization_with_http_info(name, body, callback=callback_function) + >>> thread = api.delete_o_auth_client_authorization_with_http_info(name, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) @@ -1382,13 +1411,14 @@ def delete_oauth_openshift_io_v1_o_auth_client_authorization_with_http_info(self :param V1DeleteOptions body: (required) :param str pretty: If 'true', then the output is pretty printed. :param int grace_period_seconds: 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. - :param bool orphan_dependents: Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. - :return: UnversionedStatus + :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. + :param str propagation_policy: Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. + :return: V1Status If the method is called asynchronously, returns the request thread. """ - all_params = ['name', 'body', 'pretty', 'grace_period_seconds', 'orphan_dependents'] + all_params = ['name', 'body', 'pretty', 'grace_period_seconds', 'orphan_dependents', 'propagation_policy'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -1399,16 +1429,16 @@ def delete_oauth_openshift_io_v1_o_auth_client_authorization_with_http_info(self if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method delete_oauth_openshift_io_v1_o_auth_client_authorization" % key + " to method delete_o_auth_client_authorization" % key ) params[key] = val del params['kwargs'] # verify the required parameter 'name' is set if ('name' not in params) or (params['name'] is None): - raise ValueError("Missing the required parameter `name` when calling `delete_oauth_openshift_io_v1_o_auth_client_authorization`") + raise ValueError("Missing the required parameter `name` when calling `delete_o_auth_client_authorization`") # verify the required parameter 'body' is set if ('body' not in params) or (params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `delete_oauth_openshift_io_v1_o_auth_client_authorization`") + raise ValueError("Missing the required parameter `body` when calling `delete_o_auth_client_authorization`") collection_formats = {} @@ -1425,6 +1455,8 @@ def delete_oauth_openshift_io_v1_o_auth_client_authorization_with_http_info(self query_params['gracePeriodSeconds'] = params['grace_period_seconds'] if 'orphan_dependents' in params: query_params['orphanDependents'] = params['orphan_dependents'] + if 'propagation_policy' in params: + query_params['propagationPolicy'] = params['propagation_policy'] header_params = {} @@ -1443,7 +1475,7 @@ def delete_oauth_openshift_io_v1_o_auth_client_authorization_with_http_info(self select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'DELETE', path_params, @@ -1452,7 +1484,7 @@ def delete_oauth_openshift_io_v1_o_auth_client_authorization_with_http_info(self body=body_params, post_params=form_params, files=local_var_files, - response_type='UnversionedStatus', + response_type='V1Status', auth_settings=auth_settings, callback=params.get('callback'), _return_http_data_only=params.get('_return_http_data_only'), @@ -1460,7 +1492,7 @@ def delete_oauth_openshift_io_v1_o_auth_client_authorization_with_http_info(self _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def get_oauth_openshift_io_v1_api_resources(self, **kwargs): + def get_api_resources(self, **kwargs): """ get available resources This method makes a synchronous HTTP request by default. To make an @@ -1469,22 +1501,22 @@ def get_oauth_openshift_io_v1_api_resources(self, **kwargs): >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.get_oauth_openshift_io_v1_api_resources(callback=callback_function) + >>> thread = api.get_api_resources(callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) - :return: UnversionedAPIResourceList + :return: V1APIResourceList If the method is called asynchronously, returns the request thread. """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.get_oauth_openshift_io_v1_api_resources_with_http_info(**kwargs) + return self.get_api_resources_with_http_info(**kwargs) else: - (data) = self.get_oauth_openshift_io_v1_api_resources_with_http_info(**kwargs) + (data) = self.get_api_resources_with_http_info(**kwargs) return data - def get_oauth_openshift_io_v1_api_resources_with_http_info(self, **kwargs): + def get_api_resources_with_http_info(self, **kwargs): """ get available resources This method makes a synchronous HTTP request by default. To make an @@ -1493,11 +1525,11 @@ def get_oauth_openshift_io_v1_api_resources_with_http_info(self, **kwargs): >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.get_oauth_openshift_io_v1_api_resources_with_http_info(callback=callback_function) + >>> thread = api.get_api_resources_with_http_info(callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) - :return: UnversionedAPIResourceList + :return: V1APIResourceList If the method is called asynchronously, returns the request thread. """ @@ -1513,7 +1545,7 @@ def get_oauth_openshift_io_v1_api_resources_with_http_info(self, **kwargs): if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method get_oauth_openshift_io_v1_api_resources" % key + " to method get_api_resources" % key ) params[key] = val del params['kwargs'] @@ -1540,7 +1572,7 @@ def get_oauth_openshift_io_v1_api_resources_with_http_info(self, **kwargs): select_header_content_type(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -1549,7 +1581,7 @@ def get_oauth_openshift_io_v1_api_resources_with_http_info(self, **kwargs): body=body_params, post_params=form_params, files=local_var_files, - response_type='UnversionedAPIResourceList', + response_type='V1APIResourceList', auth_settings=auth_settings, callback=params.get('callback'), _return_http_data_only=params.get('_return_http_data_only'), @@ -1557,7 +1589,7 @@ def get_oauth_openshift_io_v1_api_resources_with_http_info(self, **kwargs): _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def list_oauth_openshift_io_v1_o_auth_access_token(self, **kwargs): + def list_o_auth_access_token(self, **kwargs): """ list or watch objects of kind OAuthAccessToken This method makes a synchronous HTTP request by default. To make an @@ -1566,14 +1598,15 @@ def list_oauth_openshift_io_v1_o_auth_access_token(self, **kwargs): >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.list_oauth_openshift_io_v1_o_auth_access_token(callback=callback_function) + >>> thread = api.list_o_auth_access_token(callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param str pretty: If 'true', then the output is pretty printed. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param bool include_uninitialized: If true, partially initialized resources are included in the response. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. - :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. + :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. :param int timeout_seconds: Timeout for the list/watch call. :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. :return: V1OAuthAccessTokenList @@ -1582,12 +1615,12 @@ def list_oauth_openshift_io_v1_o_auth_access_token(self, **kwargs): """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.list_oauth_openshift_io_v1_o_auth_access_token_with_http_info(**kwargs) + return self.list_o_auth_access_token_with_http_info(**kwargs) else: - (data) = self.list_oauth_openshift_io_v1_o_auth_access_token_with_http_info(**kwargs) + (data) = self.list_o_auth_access_token_with_http_info(**kwargs) return data - def list_oauth_openshift_io_v1_o_auth_access_token_with_http_info(self, **kwargs): + def list_o_auth_access_token_with_http_info(self, **kwargs): """ list or watch objects of kind OAuthAccessToken This method makes a synchronous HTTP request by default. To make an @@ -1596,14 +1629,15 @@ def list_oauth_openshift_io_v1_o_auth_access_token_with_http_info(self, **kwargs >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.list_oauth_openshift_io_v1_o_auth_access_token_with_http_info(callback=callback_function) + >>> thread = api.list_o_auth_access_token_with_http_info(callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param str pretty: If 'true', then the output is pretty printed. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param bool include_uninitialized: If true, partially initialized resources are included in the response. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. - :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. + :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. :param int timeout_seconds: Timeout for the list/watch call. :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. :return: V1OAuthAccessTokenList @@ -1611,7 +1645,7 @@ def list_oauth_openshift_io_v1_o_auth_access_token_with_http_info(self, **kwargs returns the request thread. """ - all_params = ['pretty', 'field_selector', 'label_selector', 'resource_version', 'timeout_seconds', 'watch'] + all_params = ['pretty', 'field_selector', 'include_uninitialized', 'label_selector', 'resource_version', 'timeout_seconds', 'watch'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -1622,7 +1656,7 @@ def list_oauth_openshift_io_v1_o_auth_access_token_with_http_info(self, **kwargs if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method list_oauth_openshift_io_v1_o_auth_access_token" % key + " to method list_o_auth_access_token" % key ) params[key] = val del params['kwargs'] @@ -1638,6 +1672,8 @@ def list_oauth_openshift_io_v1_o_auth_access_token_with_http_info(self, **kwargs query_params['pretty'] = params['pretty'] if 'field_selector' in params: query_params['fieldSelector'] = params['field_selector'] + if 'include_uninitialized' in params: + query_params['includeUninitialized'] = params['include_uninitialized'] if 'label_selector' in params: query_params['labelSelector'] = params['label_selector'] if 'resource_version' in params: @@ -1662,7 +1698,7 @@ def list_oauth_openshift_io_v1_o_auth_access_token_with_http_info(self, **kwargs select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -1679,7 +1715,7 @@ def list_oauth_openshift_io_v1_o_auth_access_token_with_http_info(self, **kwargs _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def list_oauth_openshift_io_v1_o_auth_authorize_token(self, **kwargs): + def list_o_auth_authorize_token(self, **kwargs): """ list or watch objects of kind OAuthAuthorizeToken This method makes a synchronous HTTP request by default. To make an @@ -1688,14 +1724,15 @@ def list_oauth_openshift_io_v1_o_auth_authorize_token(self, **kwargs): >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.list_oauth_openshift_io_v1_o_auth_authorize_token(callback=callback_function) + >>> thread = api.list_o_auth_authorize_token(callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param str pretty: If 'true', then the output is pretty printed. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param bool include_uninitialized: If true, partially initialized resources are included in the response. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. - :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. + :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. :param int timeout_seconds: Timeout for the list/watch call. :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. :return: V1OAuthAuthorizeTokenList @@ -1704,12 +1741,12 @@ def list_oauth_openshift_io_v1_o_auth_authorize_token(self, **kwargs): """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.list_oauth_openshift_io_v1_o_auth_authorize_token_with_http_info(**kwargs) + return self.list_o_auth_authorize_token_with_http_info(**kwargs) else: - (data) = self.list_oauth_openshift_io_v1_o_auth_authorize_token_with_http_info(**kwargs) + (data) = self.list_o_auth_authorize_token_with_http_info(**kwargs) return data - def list_oauth_openshift_io_v1_o_auth_authorize_token_with_http_info(self, **kwargs): + def list_o_auth_authorize_token_with_http_info(self, **kwargs): """ list or watch objects of kind OAuthAuthorizeToken This method makes a synchronous HTTP request by default. To make an @@ -1718,14 +1755,15 @@ def list_oauth_openshift_io_v1_o_auth_authorize_token_with_http_info(self, **kwa >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.list_oauth_openshift_io_v1_o_auth_authorize_token_with_http_info(callback=callback_function) + >>> thread = api.list_o_auth_authorize_token_with_http_info(callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param str pretty: If 'true', then the output is pretty printed. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param bool include_uninitialized: If true, partially initialized resources are included in the response. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. - :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. + :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. :param int timeout_seconds: Timeout for the list/watch call. :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. :return: V1OAuthAuthorizeTokenList @@ -1733,7 +1771,7 @@ def list_oauth_openshift_io_v1_o_auth_authorize_token_with_http_info(self, **kwa returns the request thread. """ - all_params = ['pretty', 'field_selector', 'label_selector', 'resource_version', 'timeout_seconds', 'watch'] + all_params = ['pretty', 'field_selector', 'include_uninitialized', 'label_selector', 'resource_version', 'timeout_seconds', 'watch'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -1744,7 +1782,7 @@ def list_oauth_openshift_io_v1_o_auth_authorize_token_with_http_info(self, **kwa if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method list_oauth_openshift_io_v1_o_auth_authorize_token" % key + " to method list_o_auth_authorize_token" % key ) params[key] = val del params['kwargs'] @@ -1760,6 +1798,8 @@ def list_oauth_openshift_io_v1_o_auth_authorize_token_with_http_info(self, **kwa query_params['pretty'] = params['pretty'] if 'field_selector' in params: query_params['fieldSelector'] = params['field_selector'] + if 'include_uninitialized' in params: + query_params['includeUninitialized'] = params['include_uninitialized'] if 'label_selector' in params: query_params['labelSelector'] = params['label_selector'] if 'resource_version' in params: @@ -1784,7 +1824,7 @@ def list_oauth_openshift_io_v1_o_auth_authorize_token_with_http_info(self, **kwa select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -1801,7 +1841,7 @@ def list_oauth_openshift_io_v1_o_auth_authorize_token_with_http_info(self, **kwa _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def list_oauth_openshift_io_v1_o_auth_client(self, **kwargs): + def list_o_auth_client(self, **kwargs): """ list or watch objects of kind OAuthClient This method makes a synchronous HTTP request by default. To make an @@ -1810,14 +1850,15 @@ def list_oauth_openshift_io_v1_o_auth_client(self, **kwargs): >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.list_oauth_openshift_io_v1_o_auth_client(callback=callback_function) + >>> thread = api.list_o_auth_client(callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param str pretty: If 'true', then the output is pretty printed. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param bool include_uninitialized: If true, partially initialized resources are included in the response. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. - :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. + :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. :param int timeout_seconds: Timeout for the list/watch call. :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. :return: V1OAuthClientList @@ -1826,12 +1867,12 @@ def list_oauth_openshift_io_v1_o_auth_client(self, **kwargs): """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.list_oauth_openshift_io_v1_o_auth_client_with_http_info(**kwargs) + return self.list_o_auth_client_with_http_info(**kwargs) else: - (data) = self.list_oauth_openshift_io_v1_o_auth_client_with_http_info(**kwargs) + (data) = self.list_o_auth_client_with_http_info(**kwargs) return data - def list_oauth_openshift_io_v1_o_auth_client_with_http_info(self, **kwargs): + def list_o_auth_client_with_http_info(self, **kwargs): """ list or watch objects of kind OAuthClient This method makes a synchronous HTTP request by default. To make an @@ -1840,14 +1881,15 @@ def list_oauth_openshift_io_v1_o_auth_client_with_http_info(self, **kwargs): >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.list_oauth_openshift_io_v1_o_auth_client_with_http_info(callback=callback_function) + >>> thread = api.list_o_auth_client_with_http_info(callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param str pretty: If 'true', then the output is pretty printed. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param bool include_uninitialized: If true, partially initialized resources are included in the response. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. - :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. + :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. :param int timeout_seconds: Timeout for the list/watch call. :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. :return: V1OAuthClientList @@ -1855,7 +1897,7 @@ def list_oauth_openshift_io_v1_o_auth_client_with_http_info(self, **kwargs): returns the request thread. """ - all_params = ['pretty', 'field_selector', 'label_selector', 'resource_version', 'timeout_seconds', 'watch'] + all_params = ['pretty', 'field_selector', 'include_uninitialized', 'label_selector', 'resource_version', 'timeout_seconds', 'watch'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -1866,7 +1908,7 @@ def list_oauth_openshift_io_v1_o_auth_client_with_http_info(self, **kwargs): if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method list_oauth_openshift_io_v1_o_auth_client" % key + " to method list_o_auth_client" % key ) params[key] = val del params['kwargs'] @@ -1882,6 +1924,8 @@ def list_oauth_openshift_io_v1_o_auth_client_with_http_info(self, **kwargs): query_params['pretty'] = params['pretty'] if 'field_selector' in params: query_params['fieldSelector'] = params['field_selector'] + if 'include_uninitialized' in params: + query_params['includeUninitialized'] = params['include_uninitialized'] if 'label_selector' in params: query_params['labelSelector'] = params['label_selector'] if 'resource_version' in params: @@ -1906,7 +1950,7 @@ def list_oauth_openshift_io_v1_o_auth_client_with_http_info(self, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -1923,7 +1967,7 @@ def list_oauth_openshift_io_v1_o_auth_client_with_http_info(self, **kwargs): _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def list_oauth_openshift_io_v1_o_auth_client_authorization(self, **kwargs): + def list_o_auth_client_authorization(self, **kwargs): """ list or watch objects of kind OAuthClientAuthorization This method makes a synchronous HTTP request by default. To make an @@ -1932,14 +1976,15 @@ def list_oauth_openshift_io_v1_o_auth_client_authorization(self, **kwargs): >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.list_oauth_openshift_io_v1_o_auth_client_authorization(callback=callback_function) + >>> thread = api.list_o_auth_client_authorization(callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param str pretty: If 'true', then the output is pretty printed. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param bool include_uninitialized: If true, partially initialized resources are included in the response. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. - :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. + :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. :param int timeout_seconds: Timeout for the list/watch call. :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. :return: V1OAuthClientAuthorizationList @@ -1948,12 +1993,12 @@ def list_oauth_openshift_io_v1_o_auth_client_authorization(self, **kwargs): """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.list_oauth_openshift_io_v1_o_auth_client_authorization_with_http_info(**kwargs) + return self.list_o_auth_client_authorization_with_http_info(**kwargs) else: - (data) = self.list_oauth_openshift_io_v1_o_auth_client_authorization_with_http_info(**kwargs) + (data) = self.list_o_auth_client_authorization_with_http_info(**kwargs) return data - def list_oauth_openshift_io_v1_o_auth_client_authorization_with_http_info(self, **kwargs): + def list_o_auth_client_authorization_with_http_info(self, **kwargs): """ list or watch objects of kind OAuthClientAuthorization This method makes a synchronous HTTP request by default. To make an @@ -1962,14 +2007,15 @@ def list_oauth_openshift_io_v1_o_auth_client_authorization_with_http_info(self, >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.list_oauth_openshift_io_v1_o_auth_client_authorization_with_http_info(callback=callback_function) + >>> thread = api.list_o_auth_client_authorization_with_http_info(callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param str pretty: If 'true', then the output is pretty printed. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param bool include_uninitialized: If true, partially initialized resources are included in the response. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. - :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. + :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. :param int timeout_seconds: Timeout for the list/watch call. :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. :return: V1OAuthClientAuthorizationList @@ -1977,7 +2023,7 @@ def list_oauth_openshift_io_v1_o_auth_client_authorization_with_http_info(self, returns the request thread. """ - all_params = ['pretty', 'field_selector', 'label_selector', 'resource_version', 'timeout_seconds', 'watch'] + all_params = ['pretty', 'field_selector', 'include_uninitialized', 'label_selector', 'resource_version', 'timeout_seconds', 'watch'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -1988,7 +2034,7 @@ def list_oauth_openshift_io_v1_o_auth_client_authorization_with_http_info(self, if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method list_oauth_openshift_io_v1_o_auth_client_authorization" % key + " to method list_o_auth_client_authorization" % key ) params[key] = val del params['kwargs'] @@ -2004,6 +2050,8 @@ def list_oauth_openshift_io_v1_o_auth_client_authorization_with_http_info(self, query_params['pretty'] = params['pretty'] if 'field_selector' in params: query_params['fieldSelector'] = params['field_selector'] + if 'include_uninitialized' in params: + query_params['includeUninitialized'] = params['include_uninitialized'] if 'label_selector' in params: query_params['labelSelector'] = params['label_selector'] if 'resource_version' in params: @@ -2028,7 +2076,7 @@ def list_oauth_openshift_io_v1_o_auth_client_authorization_with_http_info(self, select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -2045,7 +2093,7 @@ def list_oauth_openshift_io_v1_o_auth_client_authorization_with_http_info(self, _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def patch_oauth_openshift_io_v1_o_auth_access_token(self, name, body, **kwargs): + def patch_o_auth_access_token(self, name, body, **kwargs): """ partially update the specified OAuthAccessToken This method makes a synchronous HTTP request by default. To make an @@ -2054,12 +2102,12 @@ def patch_oauth_openshift_io_v1_o_auth_access_token(self, name, body, **kwargs): >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.patch_oauth_openshift_io_v1_o_auth_access_token(name, body, callback=callback_function) + >>> thread = api.patch_o_auth_access_token(name, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param str name: name of the OAuthAccessToken (required) - :param UnversionedPatch body: (required) + :param object body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1OAuthAccessToken If the method is called asynchronously, @@ -2067,12 +2115,12 @@ def patch_oauth_openshift_io_v1_o_auth_access_token(self, name, body, **kwargs): """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.patch_oauth_openshift_io_v1_o_auth_access_token_with_http_info(name, body, **kwargs) + return self.patch_o_auth_access_token_with_http_info(name, body, **kwargs) else: - (data) = self.patch_oauth_openshift_io_v1_o_auth_access_token_with_http_info(name, body, **kwargs) + (data) = self.patch_o_auth_access_token_with_http_info(name, body, **kwargs) return data - def patch_oauth_openshift_io_v1_o_auth_access_token_with_http_info(self, name, body, **kwargs): + def patch_o_auth_access_token_with_http_info(self, name, body, **kwargs): """ partially update the specified OAuthAccessToken This method makes a synchronous HTTP request by default. To make an @@ -2081,12 +2129,12 @@ def patch_oauth_openshift_io_v1_o_auth_access_token_with_http_info(self, name, b >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.patch_oauth_openshift_io_v1_o_auth_access_token_with_http_info(name, body, callback=callback_function) + >>> thread = api.patch_o_auth_access_token_with_http_info(name, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param str name: name of the OAuthAccessToken (required) - :param UnversionedPatch body: (required) + :param object body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1OAuthAccessToken If the method is called asynchronously, @@ -2104,16 +2152,16 @@ def patch_oauth_openshift_io_v1_o_auth_access_token_with_http_info(self, name, b if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method patch_oauth_openshift_io_v1_o_auth_access_token" % key + " to method patch_o_auth_access_token" % key ) params[key] = val del params['kwargs'] # verify the required parameter 'name' is set if ('name' not in params) or (params['name'] is None): - raise ValueError("Missing the required parameter `name` when calling `patch_oauth_openshift_io_v1_o_auth_access_token`") + raise ValueError("Missing the required parameter `name` when calling `patch_o_auth_access_token`") # verify the required parameter 'body' is set if ('body' not in params) or (params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `patch_oauth_openshift_io_v1_o_auth_access_token`") + raise ValueError("Missing the required parameter `body` when calling `patch_o_auth_access_token`") collection_formats = {} @@ -2144,7 +2192,7 @@ def patch_oauth_openshift_io_v1_o_auth_access_token_with_http_info(self, name, b select_header_content_type(['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'PATCH', path_params, @@ -2161,7 +2209,7 @@ def patch_oauth_openshift_io_v1_o_auth_access_token_with_http_info(self, name, b _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def patch_oauth_openshift_io_v1_o_auth_authorize_token(self, name, body, **kwargs): + def patch_o_auth_authorize_token(self, name, body, **kwargs): """ partially update the specified OAuthAuthorizeToken This method makes a synchronous HTTP request by default. To make an @@ -2170,12 +2218,12 @@ def patch_oauth_openshift_io_v1_o_auth_authorize_token(self, name, body, **kwarg >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.patch_oauth_openshift_io_v1_o_auth_authorize_token(name, body, callback=callback_function) + >>> thread = api.patch_o_auth_authorize_token(name, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param str name: name of the OAuthAuthorizeToken (required) - :param UnversionedPatch body: (required) + :param object body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1OAuthAuthorizeToken If the method is called asynchronously, @@ -2183,12 +2231,12 @@ def patch_oauth_openshift_io_v1_o_auth_authorize_token(self, name, body, **kwarg """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.patch_oauth_openshift_io_v1_o_auth_authorize_token_with_http_info(name, body, **kwargs) + return self.patch_o_auth_authorize_token_with_http_info(name, body, **kwargs) else: - (data) = self.patch_oauth_openshift_io_v1_o_auth_authorize_token_with_http_info(name, body, **kwargs) + (data) = self.patch_o_auth_authorize_token_with_http_info(name, body, **kwargs) return data - def patch_oauth_openshift_io_v1_o_auth_authorize_token_with_http_info(self, name, body, **kwargs): + def patch_o_auth_authorize_token_with_http_info(self, name, body, **kwargs): """ partially update the specified OAuthAuthorizeToken This method makes a synchronous HTTP request by default. To make an @@ -2197,12 +2245,12 @@ def patch_oauth_openshift_io_v1_o_auth_authorize_token_with_http_info(self, name >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.patch_oauth_openshift_io_v1_o_auth_authorize_token_with_http_info(name, body, callback=callback_function) + >>> thread = api.patch_o_auth_authorize_token_with_http_info(name, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param str name: name of the OAuthAuthorizeToken (required) - :param UnversionedPatch body: (required) + :param object body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1OAuthAuthorizeToken If the method is called asynchronously, @@ -2220,16 +2268,16 @@ def patch_oauth_openshift_io_v1_o_auth_authorize_token_with_http_info(self, name if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method patch_oauth_openshift_io_v1_o_auth_authorize_token" % key + " to method patch_o_auth_authorize_token" % key ) params[key] = val del params['kwargs'] # verify the required parameter 'name' is set if ('name' not in params) or (params['name'] is None): - raise ValueError("Missing the required parameter `name` when calling `patch_oauth_openshift_io_v1_o_auth_authorize_token`") + raise ValueError("Missing the required parameter `name` when calling `patch_o_auth_authorize_token`") # verify the required parameter 'body' is set if ('body' not in params) or (params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `patch_oauth_openshift_io_v1_o_auth_authorize_token`") + raise ValueError("Missing the required parameter `body` when calling `patch_o_auth_authorize_token`") collection_formats = {} @@ -2260,7 +2308,7 @@ def patch_oauth_openshift_io_v1_o_auth_authorize_token_with_http_info(self, name select_header_content_type(['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'PATCH', path_params, @@ -2277,7 +2325,7 @@ def patch_oauth_openshift_io_v1_o_auth_authorize_token_with_http_info(self, name _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def patch_oauth_openshift_io_v1_o_auth_client(self, name, body, **kwargs): + def patch_o_auth_client(self, name, body, **kwargs): """ partially update the specified OAuthClient This method makes a synchronous HTTP request by default. To make an @@ -2286,12 +2334,12 @@ def patch_oauth_openshift_io_v1_o_auth_client(self, name, body, **kwargs): >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.patch_oauth_openshift_io_v1_o_auth_client(name, body, callback=callback_function) + >>> thread = api.patch_o_auth_client(name, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param str name: name of the OAuthClient (required) - :param UnversionedPatch body: (required) + :param object body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1OAuthClient If the method is called asynchronously, @@ -2299,12 +2347,12 @@ def patch_oauth_openshift_io_v1_o_auth_client(self, name, body, **kwargs): """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.patch_oauth_openshift_io_v1_o_auth_client_with_http_info(name, body, **kwargs) + return self.patch_o_auth_client_with_http_info(name, body, **kwargs) else: - (data) = self.patch_oauth_openshift_io_v1_o_auth_client_with_http_info(name, body, **kwargs) + (data) = self.patch_o_auth_client_with_http_info(name, body, **kwargs) return data - def patch_oauth_openshift_io_v1_o_auth_client_with_http_info(self, name, body, **kwargs): + def patch_o_auth_client_with_http_info(self, name, body, **kwargs): """ partially update the specified OAuthClient This method makes a synchronous HTTP request by default. To make an @@ -2313,12 +2361,12 @@ def patch_oauth_openshift_io_v1_o_auth_client_with_http_info(self, name, body, * >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.patch_oauth_openshift_io_v1_o_auth_client_with_http_info(name, body, callback=callback_function) + >>> thread = api.patch_o_auth_client_with_http_info(name, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param str name: name of the OAuthClient (required) - :param UnversionedPatch body: (required) + :param object body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1OAuthClient If the method is called asynchronously, @@ -2336,16 +2384,16 @@ def patch_oauth_openshift_io_v1_o_auth_client_with_http_info(self, name, body, * if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method patch_oauth_openshift_io_v1_o_auth_client" % key + " to method patch_o_auth_client" % key ) params[key] = val del params['kwargs'] # verify the required parameter 'name' is set if ('name' not in params) or (params['name'] is None): - raise ValueError("Missing the required parameter `name` when calling `patch_oauth_openshift_io_v1_o_auth_client`") + raise ValueError("Missing the required parameter `name` when calling `patch_o_auth_client`") # verify the required parameter 'body' is set if ('body' not in params) or (params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `patch_oauth_openshift_io_v1_o_auth_client`") + raise ValueError("Missing the required parameter `body` when calling `patch_o_auth_client`") collection_formats = {} @@ -2376,7 +2424,7 @@ def patch_oauth_openshift_io_v1_o_auth_client_with_http_info(self, name, body, * select_header_content_type(['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'PATCH', path_params, @@ -2393,7 +2441,7 @@ def patch_oauth_openshift_io_v1_o_auth_client_with_http_info(self, name, body, * _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def patch_oauth_openshift_io_v1_o_auth_client_authorization(self, name, body, **kwargs): + def patch_o_auth_client_authorization(self, name, body, **kwargs): """ partially update the specified OAuthClientAuthorization This method makes a synchronous HTTP request by default. To make an @@ -2402,12 +2450,12 @@ def patch_oauth_openshift_io_v1_o_auth_client_authorization(self, name, body, ** >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.patch_oauth_openshift_io_v1_o_auth_client_authorization(name, body, callback=callback_function) + >>> thread = api.patch_o_auth_client_authorization(name, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param str name: name of the OAuthClientAuthorization (required) - :param UnversionedPatch body: (required) + :param object body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1OAuthClientAuthorization If the method is called asynchronously, @@ -2415,12 +2463,12 @@ def patch_oauth_openshift_io_v1_o_auth_client_authorization(self, name, body, ** """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.patch_oauth_openshift_io_v1_o_auth_client_authorization_with_http_info(name, body, **kwargs) + return self.patch_o_auth_client_authorization_with_http_info(name, body, **kwargs) else: - (data) = self.patch_oauth_openshift_io_v1_o_auth_client_authorization_with_http_info(name, body, **kwargs) + (data) = self.patch_o_auth_client_authorization_with_http_info(name, body, **kwargs) return data - def patch_oauth_openshift_io_v1_o_auth_client_authorization_with_http_info(self, name, body, **kwargs): + def patch_o_auth_client_authorization_with_http_info(self, name, body, **kwargs): """ partially update the specified OAuthClientAuthorization This method makes a synchronous HTTP request by default. To make an @@ -2429,12 +2477,12 @@ def patch_oauth_openshift_io_v1_o_auth_client_authorization_with_http_info(self, >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.patch_oauth_openshift_io_v1_o_auth_client_authorization_with_http_info(name, body, callback=callback_function) + >>> thread = api.patch_o_auth_client_authorization_with_http_info(name, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param str name: name of the OAuthClientAuthorization (required) - :param UnversionedPatch body: (required) + :param object body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1OAuthClientAuthorization If the method is called asynchronously, @@ -2452,16 +2500,16 @@ def patch_oauth_openshift_io_v1_o_auth_client_authorization_with_http_info(self, if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method patch_oauth_openshift_io_v1_o_auth_client_authorization" % key + " to method patch_o_auth_client_authorization" % key ) params[key] = val del params['kwargs'] # verify the required parameter 'name' is set if ('name' not in params) or (params['name'] is None): - raise ValueError("Missing the required parameter `name` when calling `patch_oauth_openshift_io_v1_o_auth_client_authorization`") + raise ValueError("Missing the required parameter `name` when calling `patch_o_auth_client_authorization`") # verify the required parameter 'body' is set if ('body' not in params) or (params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `patch_oauth_openshift_io_v1_o_auth_client_authorization`") + raise ValueError("Missing the required parameter `body` when calling `patch_o_auth_client_authorization`") collection_formats = {} @@ -2492,7 +2540,7 @@ def patch_oauth_openshift_io_v1_o_auth_client_authorization_with_http_info(self, select_header_content_type(['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'PATCH', path_params, @@ -2509,7 +2557,7 @@ def patch_oauth_openshift_io_v1_o_auth_client_authorization_with_http_info(self, _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def read_oauth_openshift_io_v1_o_auth_access_token(self, name, **kwargs): + def read_o_auth_access_token(self, name, **kwargs): """ read the specified OAuthAccessToken This method makes a synchronous HTTP request by default. To make an @@ -2518,13 +2566,13 @@ def read_oauth_openshift_io_v1_o_auth_access_token(self, name, **kwargs): >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.read_oauth_openshift_io_v1_o_auth_access_token(name, callback=callback_function) + >>> thread = api.read_o_auth_access_token(name, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param str name: name of the OAuthAccessToken (required) :param str pretty: If 'true', then the output is pretty printed. - :param bool exact: Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace' + :param bool exact: Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. :param bool export: Should this value be exported. Export strips fields that a user can not specify. :return: V1OAuthAccessToken If the method is called asynchronously, @@ -2532,12 +2580,12 @@ def read_oauth_openshift_io_v1_o_auth_access_token(self, name, **kwargs): """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.read_oauth_openshift_io_v1_o_auth_access_token_with_http_info(name, **kwargs) + return self.read_o_auth_access_token_with_http_info(name, **kwargs) else: - (data) = self.read_oauth_openshift_io_v1_o_auth_access_token_with_http_info(name, **kwargs) + (data) = self.read_o_auth_access_token_with_http_info(name, **kwargs) return data - def read_oauth_openshift_io_v1_o_auth_access_token_with_http_info(self, name, **kwargs): + def read_o_auth_access_token_with_http_info(self, name, **kwargs): """ read the specified OAuthAccessToken This method makes a synchronous HTTP request by default. To make an @@ -2546,13 +2594,13 @@ def read_oauth_openshift_io_v1_o_auth_access_token_with_http_info(self, name, ** >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.read_oauth_openshift_io_v1_o_auth_access_token_with_http_info(name, callback=callback_function) + >>> thread = api.read_o_auth_access_token_with_http_info(name, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param str name: name of the OAuthAccessToken (required) :param str pretty: If 'true', then the output is pretty printed. - :param bool exact: Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace' + :param bool exact: Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. :param bool export: Should this value be exported. Export strips fields that a user can not specify. :return: V1OAuthAccessToken If the method is called asynchronously, @@ -2570,13 +2618,13 @@ def read_oauth_openshift_io_v1_o_auth_access_token_with_http_info(self, name, ** if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method read_oauth_openshift_io_v1_o_auth_access_token" % key + " to method read_o_auth_access_token" % key ) params[key] = val del params['kwargs'] # verify the required parameter 'name' is set if ('name' not in params) or (params['name'] is None): - raise ValueError("Missing the required parameter `name` when calling `read_oauth_openshift_io_v1_o_auth_access_token`") + raise ValueError("Missing the required parameter `name` when calling `read_o_auth_access_token`") collection_formats = {} @@ -2609,7 +2657,7 @@ def read_oauth_openshift_io_v1_o_auth_access_token_with_http_info(self, name, ** select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -2626,7 +2674,7 @@ def read_oauth_openshift_io_v1_o_auth_access_token_with_http_info(self, name, ** _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def read_oauth_openshift_io_v1_o_auth_authorize_token(self, name, **kwargs): + def read_o_auth_authorize_token(self, name, **kwargs): """ read the specified OAuthAuthorizeToken This method makes a synchronous HTTP request by default. To make an @@ -2635,13 +2683,13 @@ def read_oauth_openshift_io_v1_o_auth_authorize_token(self, name, **kwargs): >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.read_oauth_openshift_io_v1_o_auth_authorize_token(name, callback=callback_function) + >>> thread = api.read_o_auth_authorize_token(name, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param str name: name of the OAuthAuthorizeToken (required) :param str pretty: If 'true', then the output is pretty printed. - :param bool exact: Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace' + :param bool exact: Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. :param bool export: Should this value be exported. Export strips fields that a user can not specify. :return: V1OAuthAuthorizeToken If the method is called asynchronously, @@ -2649,12 +2697,12 @@ def read_oauth_openshift_io_v1_o_auth_authorize_token(self, name, **kwargs): """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.read_oauth_openshift_io_v1_o_auth_authorize_token_with_http_info(name, **kwargs) + return self.read_o_auth_authorize_token_with_http_info(name, **kwargs) else: - (data) = self.read_oauth_openshift_io_v1_o_auth_authorize_token_with_http_info(name, **kwargs) + (data) = self.read_o_auth_authorize_token_with_http_info(name, **kwargs) return data - def read_oauth_openshift_io_v1_o_auth_authorize_token_with_http_info(self, name, **kwargs): + def read_o_auth_authorize_token_with_http_info(self, name, **kwargs): """ read the specified OAuthAuthorizeToken This method makes a synchronous HTTP request by default. To make an @@ -2663,13 +2711,13 @@ def read_oauth_openshift_io_v1_o_auth_authorize_token_with_http_info(self, name, >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.read_oauth_openshift_io_v1_o_auth_authorize_token_with_http_info(name, callback=callback_function) + >>> thread = api.read_o_auth_authorize_token_with_http_info(name, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param str name: name of the OAuthAuthorizeToken (required) :param str pretty: If 'true', then the output is pretty printed. - :param bool exact: Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace' + :param bool exact: Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. :param bool export: Should this value be exported. Export strips fields that a user can not specify. :return: V1OAuthAuthorizeToken If the method is called asynchronously, @@ -2687,13 +2735,13 @@ def read_oauth_openshift_io_v1_o_auth_authorize_token_with_http_info(self, name, if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method read_oauth_openshift_io_v1_o_auth_authorize_token" % key + " to method read_o_auth_authorize_token" % key ) params[key] = val del params['kwargs'] # verify the required parameter 'name' is set if ('name' not in params) or (params['name'] is None): - raise ValueError("Missing the required parameter `name` when calling `read_oauth_openshift_io_v1_o_auth_authorize_token`") + raise ValueError("Missing the required parameter `name` when calling `read_o_auth_authorize_token`") collection_formats = {} @@ -2726,7 +2774,7 @@ def read_oauth_openshift_io_v1_o_auth_authorize_token_with_http_info(self, name, select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -2743,7 +2791,7 @@ def read_oauth_openshift_io_v1_o_auth_authorize_token_with_http_info(self, name, _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def read_oauth_openshift_io_v1_o_auth_client(self, name, **kwargs): + def read_o_auth_client(self, name, **kwargs): """ read the specified OAuthClient This method makes a synchronous HTTP request by default. To make an @@ -2752,13 +2800,13 @@ def read_oauth_openshift_io_v1_o_auth_client(self, name, **kwargs): >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.read_oauth_openshift_io_v1_o_auth_client(name, callback=callback_function) + >>> thread = api.read_o_auth_client(name, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param str name: name of the OAuthClient (required) :param str pretty: If 'true', then the output is pretty printed. - :param bool exact: Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace' + :param bool exact: Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. :param bool export: Should this value be exported. Export strips fields that a user can not specify. :return: V1OAuthClient If the method is called asynchronously, @@ -2766,12 +2814,12 @@ def read_oauth_openshift_io_v1_o_auth_client(self, name, **kwargs): """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.read_oauth_openshift_io_v1_o_auth_client_with_http_info(name, **kwargs) + return self.read_o_auth_client_with_http_info(name, **kwargs) else: - (data) = self.read_oauth_openshift_io_v1_o_auth_client_with_http_info(name, **kwargs) + (data) = self.read_o_auth_client_with_http_info(name, **kwargs) return data - def read_oauth_openshift_io_v1_o_auth_client_with_http_info(self, name, **kwargs): + def read_o_auth_client_with_http_info(self, name, **kwargs): """ read the specified OAuthClient This method makes a synchronous HTTP request by default. To make an @@ -2780,13 +2828,13 @@ def read_oauth_openshift_io_v1_o_auth_client_with_http_info(self, name, **kwargs >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.read_oauth_openshift_io_v1_o_auth_client_with_http_info(name, callback=callback_function) + >>> thread = api.read_o_auth_client_with_http_info(name, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param str name: name of the OAuthClient (required) :param str pretty: If 'true', then the output is pretty printed. - :param bool exact: Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace' + :param bool exact: Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. :param bool export: Should this value be exported. Export strips fields that a user can not specify. :return: V1OAuthClient If the method is called asynchronously, @@ -2804,13 +2852,13 @@ def read_oauth_openshift_io_v1_o_auth_client_with_http_info(self, name, **kwargs if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method read_oauth_openshift_io_v1_o_auth_client" % key + " to method read_o_auth_client" % key ) params[key] = val del params['kwargs'] # verify the required parameter 'name' is set if ('name' not in params) or (params['name'] is None): - raise ValueError("Missing the required parameter `name` when calling `read_oauth_openshift_io_v1_o_auth_client`") + raise ValueError("Missing the required parameter `name` when calling `read_o_auth_client`") collection_formats = {} @@ -2843,7 +2891,7 @@ def read_oauth_openshift_io_v1_o_auth_client_with_http_info(self, name, **kwargs select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -2860,7 +2908,7 @@ def read_oauth_openshift_io_v1_o_auth_client_with_http_info(self, name, **kwargs _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def read_oauth_openshift_io_v1_o_auth_client_authorization(self, name, **kwargs): + def read_o_auth_client_authorization(self, name, **kwargs): """ read the specified OAuthClientAuthorization This method makes a synchronous HTTP request by default. To make an @@ -2869,13 +2917,13 @@ def read_oauth_openshift_io_v1_o_auth_client_authorization(self, name, **kwargs) >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.read_oauth_openshift_io_v1_o_auth_client_authorization(name, callback=callback_function) + >>> thread = api.read_o_auth_client_authorization(name, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param str name: name of the OAuthClientAuthorization (required) :param str pretty: If 'true', then the output is pretty printed. - :param bool exact: Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace' + :param bool exact: Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. :param bool export: Should this value be exported. Export strips fields that a user can not specify. :return: V1OAuthClientAuthorization If the method is called asynchronously, @@ -2883,12 +2931,12 @@ def read_oauth_openshift_io_v1_o_auth_client_authorization(self, name, **kwargs) """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.read_oauth_openshift_io_v1_o_auth_client_authorization_with_http_info(name, **kwargs) + return self.read_o_auth_client_authorization_with_http_info(name, **kwargs) else: - (data) = self.read_oauth_openshift_io_v1_o_auth_client_authorization_with_http_info(name, **kwargs) + (data) = self.read_o_auth_client_authorization_with_http_info(name, **kwargs) return data - def read_oauth_openshift_io_v1_o_auth_client_authorization_with_http_info(self, name, **kwargs): + def read_o_auth_client_authorization_with_http_info(self, name, **kwargs): """ read the specified OAuthClientAuthorization This method makes a synchronous HTTP request by default. To make an @@ -2897,13 +2945,13 @@ def read_oauth_openshift_io_v1_o_auth_client_authorization_with_http_info(self, >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.read_oauth_openshift_io_v1_o_auth_client_authorization_with_http_info(name, callback=callback_function) + >>> thread = api.read_o_auth_client_authorization_with_http_info(name, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param str name: name of the OAuthClientAuthorization (required) :param str pretty: If 'true', then the output is pretty printed. - :param bool exact: Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace' + :param bool exact: Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. :param bool export: Should this value be exported. Export strips fields that a user can not specify. :return: V1OAuthClientAuthorization If the method is called asynchronously, @@ -2921,13 +2969,13 @@ def read_oauth_openshift_io_v1_o_auth_client_authorization_with_http_info(self, if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method read_oauth_openshift_io_v1_o_auth_client_authorization" % key + " to method read_o_auth_client_authorization" % key ) params[key] = val del params['kwargs'] # verify the required parameter 'name' is set if ('name' not in params) or (params['name'] is None): - raise ValueError("Missing the required parameter `name` when calling `read_oauth_openshift_io_v1_o_auth_client_authorization`") + raise ValueError("Missing the required parameter `name` when calling `read_o_auth_client_authorization`") collection_formats = {} @@ -2960,7 +3008,7 @@ def read_oauth_openshift_io_v1_o_auth_client_authorization_with_http_info(self, select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -2977,7 +3025,7 @@ def read_oauth_openshift_io_v1_o_auth_client_authorization_with_http_info(self, _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def replace_oauth_openshift_io_v1_o_auth_access_token(self, name, body, **kwargs): + def replace_o_auth_access_token(self, name, body, **kwargs): """ replace the specified OAuthAccessToken This method makes a synchronous HTTP request by default. To make an @@ -2986,7 +3034,7 @@ def replace_oauth_openshift_io_v1_o_auth_access_token(self, name, body, **kwargs >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.replace_oauth_openshift_io_v1_o_auth_access_token(name, body, callback=callback_function) + >>> thread = api.replace_o_auth_access_token(name, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) @@ -2999,12 +3047,12 @@ def replace_oauth_openshift_io_v1_o_auth_access_token(self, name, body, **kwargs """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.replace_oauth_openshift_io_v1_o_auth_access_token_with_http_info(name, body, **kwargs) + return self.replace_o_auth_access_token_with_http_info(name, body, **kwargs) else: - (data) = self.replace_oauth_openshift_io_v1_o_auth_access_token_with_http_info(name, body, **kwargs) + (data) = self.replace_o_auth_access_token_with_http_info(name, body, **kwargs) return data - def replace_oauth_openshift_io_v1_o_auth_access_token_with_http_info(self, name, body, **kwargs): + def replace_o_auth_access_token_with_http_info(self, name, body, **kwargs): """ replace the specified OAuthAccessToken This method makes a synchronous HTTP request by default. To make an @@ -3013,7 +3061,7 @@ def replace_oauth_openshift_io_v1_o_auth_access_token_with_http_info(self, name, >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.replace_oauth_openshift_io_v1_o_auth_access_token_with_http_info(name, body, callback=callback_function) + >>> thread = api.replace_o_auth_access_token_with_http_info(name, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) @@ -3036,16 +3084,16 @@ def replace_oauth_openshift_io_v1_o_auth_access_token_with_http_info(self, name, if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method replace_oauth_openshift_io_v1_o_auth_access_token" % key + " to method replace_o_auth_access_token" % key ) params[key] = val del params['kwargs'] # verify the required parameter 'name' is set if ('name' not in params) or (params['name'] is None): - raise ValueError("Missing the required parameter `name` when calling `replace_oauth_openshift_io_v1_o_auth_access_token`") + raise ValueError("Missing the required parameter `name` when calling `replace_o_auth_access_token`") # verify the required parameter 'body' is set if ('body' not in params) or (params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `replace_oauth_openshift_io_v1_o_auth_access_token`") + raise ValueError("Missing the required parameter `body` when calling `replace_o_auth_access_token`") collection_formats = {} @@ -3076,7 +3124,7 @@ def replace_oauth_openshift_io_v1_o_auth_access_token_with_http_info(self, name, select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'PUT', path_params, @@ -3093,7 +3141,7 @@ def replace_oauth_openshift_io_v1_o_auth_access_token_with_http_info(self, name, _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def replace_oauth_openshift_io_v1_o_auth_authorize_token(self, name, body, **kwargs): + def replace_o_auth_authorize_token(self, name, body, **kwargs): """ replace the specified OAuthAuthorizeToken This method makes a synchronous HTTP request by default. To make an @@ -3102,7 +3150,7 @@ def replace_oauth_openshift_io_v1_o_auth_authorize_token(self, name, body, **kwa >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.replace_oauth_openshift_io_v1_o_auth_authorize_token(name, body, callback=callback_function) + >>> thread = api.replace_o_auth_authorize_token(name, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) @@ -3115,12 +3163,12 @@ def replace_oauth_openshift_io_v1_o_auth_authorize_token(self, name, body, **kwa """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.replace_oauth_openshift_io_v1_o_auth_authorize_token_with_http_info(name, body, **kwargs) + return self.replace_o_auth_authorize_token_with_http_info(name, body, **kwargs) else: - (data) = self.replace_oauth_openshift_io_v1_o_auth_authorize_token_with_http_info(name, body, **kwargs) + (data) = self.replace_o_auth_authorize_token_with_http_info(name, body, **kwargs) return data - def replace_oauth_openshift_io_v1_o_auth_authorize_token_with_http_info(self, name, body, **kwargs): + def replace_o_auth_authorize_token_with_http_info(self, name, body, **kwargs): """ replace the specified OAuthAuthorizeToken This method makes a synchronous HTTP request by default. To make an @@ -3129,7 +3177,7 @@ def replace_oauth_openshift_io_v1_o_auth_authorize_token_with_http_info(self, na >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.replace_oauth_openshift_io_v1_o_auth_authorize_token_with_http_info(name, body, callback=callback_function) + >>> thread = api.replace_o_auth_authorize_token_with_http_info(name, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) @@ -3152,16 +3200,16 @@ def replace_oauth_openshift_io_v1_o_auth_authorize_token_with_http_info(self, na if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method replace_oauth_openshift_io_v1_o_auth_authorize_token" % key + " to method replace_o_auth_authorize_token" % key ) params[key] = val del params['kwargs'] # verify the required parameter 'name' is set if ('name' not in params) or (params['name'] is None): - raise ValueError("Missing the required parameter `name` when calling `replace_oauth_openshift_io_v1_o_auth_authorize_token`") + raise ValueError("Missing the required parameter `name` when calling `replace_o_auth_authorize_token`") # verify the required parameter 'body' is set if ('body' not in params) or (params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `replace_oauth_openshift_io_v1_o_auth_authorize_token`") + raise ValueError("Missing the required parameter `body` when calling `replace_o_auth_authorize_token`") collection_formats = {} @@ -3192,7 +3240,7 @@ def replace_oauth_openshift_io_v1_o_auth_authorize_token_with_http_info(self, na select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'PUT', path_params, @@ -3209,7 +3257,7 @@ def replace_oauth_openshift_io_v1_o_auth_authorize_token_with_http_info(self, na _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def replace_oauth_openshift_io_v1_o_auth_client(self, name, body, **kwargs): + def replace_o_auth_client(self, name, body, **kwargs): """ replace the specified OAuthClient This method makes a synchronous HTTP request by default. To make an @@ -3218,7 +3266,7 @@ def replace_oauth_openshift_io_v1_o_auth_client(self, name, body, **kwargs): >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.replace_oauth_openshift_io_v1_o_auth_client(name, body, callback=callback_function) + >>> thread = api.replace_o_auth_client(name, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) @@ -3231,12 +3279,12 @@ def replace_oauth_openshift_io_v1_o_auth_client(self, name, body, **kwargs): """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.replace_oauth_openshift_io_v1_o_auth_client_with_http_info(name, body, **kwargs) + return self.replace_o_auth_client_with_http_info(name, body, **kwargs) else: - (data) = self.replace_oauth_openshift_io_v1_o_auth_client_with_http_info(name, body, **kwargs) + (data) = self.replace_o_auth_client_with_http_info(name, body, **kwargs) return data - def replace_oauth_openshift_io_v1_o_auth_client_with_http_info(self, name, body, **kwargs): + def replace_o_auth_client_with_http_info(self, name, body, **kwargs): """ replace the specified OAuthClient This method makes a synchronous HTTP request by default. To make an @@ -3245,7 +3293,7 @@ def replace_oauth_openshift_io_v1_o_auth_client_with_http_info(self, name, body, >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.replace_oauth_openshift_io_v1_o_auth_client_with_http_info(name, body, callback=callback_function) + >>> thread = api.replace_o_auth_client_with_http_info(name, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) @@ -3268,16 +3316,16 @@ def replace_oauth_openshift_io_v1_o_auth_client_with_http_info(self, name, body, if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method replace_oauth_openshift_io_v1_o_auth_client" % key + " to method replace_o_auth_client" % key ) params[key] = val del params['kwargs'] # verify the required parameter 'name' is set if ('name' not in params) or (params['name'] is None): - raise ValueError("Missing the required parameter `name` when calling `replace_oauth_openshift_io_v1_o_auth_client`") + raise ValueError("Missing the required parameter `name` when calling `replace_o_auth_client`") # verify the required parameter 'body' is set if ('body' not in params) or (params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `replace_oauth_openshift_io_v1_o_auth_client`") + raise ValueError("Missing the required parameter `body` when calling `replace_o_auth_client`") collection_formats = {} @@ -3308,7 +3356,7 @@ def replace_oauth_openshift_io_v1_o_auth_client_with_http_info(self, name, body, select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'PUT', path_params, @@ -3325,7 +3373,7 @@ def replace_oauth_openshift_io_v1_o_auth_client_with_http_info(self, name, body, _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def replace_oauth_openshift_io_v1_o_auth_client_authorization(self, name, body, **kwargs): + def replace_o_auth_client_authorization(self, name, body, **kwargs): """ replace the specified OAuthClientAuthorization This method makes a synchronous HTTP request by default. To make an @@ -3334,7 +3382,7 @@ def replace_oauth_openshift_io_v1_o_auth_client_authorization(self, name, body, >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.replace_oauth_openshift_io_v1_o_auth_client_authorization(name, body, callback=callback_function) + >>> thread = api.replace_o_auth_client_authorization(name, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) @@ -3347,12 +3395,12 @@ def replace_oauth_openshift_io_v1_o_auth_client_authorization(self, name, body, """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.replace_oauth_openshift_io_v1_o_auth_client_authorization_with_http_info(name, body, **kwargs) + return self.replace_o_auth_client_authorization_with_http_info(name, body, **kwargs) else: - (data) = self.replace_oauth_openshift_io_v1_o_auth_client_authorization_with_http_info(name, body, **kwargs) + (data) = self.replace_o_auth_client_authorization_with_http_info(name, body, **kwargs) return data - def replace_oauth_openshift_io_v1_o_auth_client_authorization_with_http_info(self, name, body, **kwargs): + def replace_o_auth_client_authorization_with_http_info(self, name, body, **kwargs): """ replace the specified OAuthClientAuthorization This method makes a synchronous HTTP request by default. To make an @@ -3361,7 +3409,7 @@ def replace_oauth_openshift_io_v1_o_auth_client_authorization_with_http_info(sel >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.replace_oauth_openshift_io_v1_o_auth_client_authorization_with_http_info(name, body, callback=callback_function) + >>> thread = api.replace_o_auth_client_authorization_with_http_info(name, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) @@ -3384,16 +3432,16 @@ def replace_oauth_openshift_io_v1_o_auth_client_authorization_with_http_info(sel if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method replace_oauth_openshift_io_v1_o_auth_client_authorization" % key + " to method replace_o_auth_client_authorization" % key ) params[key] = val del params['kwargs'] # verify the required parameter 'name' is set if ('name' not in params) or (params['name'] is None): - raise ValueError("Missing the required parameter `name` when calling `replace_oauth_openshift_io_v1_o_auth_client_authorization`") + raise ValueError("Missing the required parameter `name` when calling `replace_o_auth_client_authorization`") # verify the required parameter 'body' is set if ('body' not in params) or (params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `replace_oauth_openshift_io_v1_o_auth_client_authorization`") + raise ValueError("Missing the required parameter `body` when calling `replace_o_auth_client_authorization`") collection_formats = {} @@ -3424,7 +3472,7 @@ def replace_oauth_openshift_io_v1_o_auth_client_authorization_with_http_info(sel select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'PUT', path_params, diff --git a/openshift/client/apis/osapi_api.py b/openshift/client/apis/osapi_api.py deleted file mode 100644 index b08ff1a4..00000000 --- a/openshift/client/apis/osapi_api.py +++ /dev/null @@ -1,138 +0,0 @@ -# coding: utf-8 - -""" - OpenShift API (with Kubernetes) - - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - - OpenAPI spec version: v3.6.0-alpha.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import sys -import os -import re - -# python 2 and python 3 compatibility library -from six import iteritems - -from kubernetes.client.configuration import Configuration -from ..api_client import ApiClient - - -class OsapiApi(object): - """ - NOTE: This class is auto generated by the swagger code generator program. - Do not edit the class manually. - Ref: https://github.com/swagger-api/swagger-codegen - """ - - def __init__(self, api_client=None): - config = Configuration() - if api_client: - self.api_client = api_client - else: - if not config.api_client: - config.api_client = ApiClient() - self.api_client = config.api_client - - def get_osapi_version(self, **kwargs): - """ - list supported server API versions - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please define a `callback` function - to be invoked when receiving the response. - >>> def callback_function(response): - >>> pprint(response) - >>> - >>> thread = api.get_osapi_version(callback=callback_function) - - :param callback function: The callback function - for asynchronous request. (optional) - :return: None - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('callback'): - return self.get_osapi_version_with_http_info(**kwargs) - else: - (data) = self.get_osapi_version_with_http_info(**kwargs) - return data - - def get_osapi_version_with_http_info(self, **kwargs): - """ - list supported server API versions - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please define a `callback` function - to be invoked when receiving the response. - >>> def callback_function(response): - >>> pprint(response) - >>> - >>> thread = api.get_osapi_version_with_http_info(callback=callback_function) - - :param callback function: The callback function - for asynchronous request. (optional) - :return: None - If the method is called asynchronously, - returns the request thread. - """ - - all_params = [] - all_params.append('callback') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method get_osapi_version" % key - ) - params[key] = val - del params['kwargs'] - - collection_formats = {} - - resource_path = '/osapi/'.replace('{format}', 'json') - path_params = {} - - query_params = {} - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - # HTTP header `Accept` - header_params['Accept'] = self.api_client.\ - select_header_accept(['application/json']) - - # HTTP header `Content-Type` - header_params['Content-Type'] = self.api_client.\ - select_header_content_type(['application/json']) - - # Authentication setting - auth_settings = ['BearerToken'] - - return self.api_client.call_api(resource_path, 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type=None, - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) diff --git a/openshift/client/apis/project_openshift_io_api.py b/openshift/client/apis/project_openshift_io_api.py index 5e6a792d..b81a5b78 100644 --- a/openshift/client/apis/project_openshift_io_api.py +++ b/openshift/client/apis/project_openshift_io_api.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -40,7 +40,7 @@ def __init__(self, api_client=None): config.api_client = ApiClient() self.api_client = config.api_client - def get_project_openshift_io_api_group(self, **kwargs): + def get_api_group(self, **kwargs): """ get information of a group This method makes a synchronous HTTP request by default. To make an @@ -49,22 +49,22 @@ def get_project_openshift_io_api_group(self, **kwargs): >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.get_project_openshift_io_api_group(callback=callback_function) + >>> thread = api.get_api_group(callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) - :return: UnversionedAPIGroup + :return: V1APIGroup If the method is called asynchronously, returns the request thread. """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.get_project_openshift_io_api_group_with_http_info(**kwargs) + return self.get_api_group_with_http_info(**kwargs) else: - (data) = self.get_project_openshift_io_api_group_with_http_info(**kwargs) + (data) = self.get_api_group_with_http_info(**kwargs) return data - def get_project_openshift_io_api_group_with_http_info(self, **kwargs): + def get_api_group_with_http_info(self, **kwargs): """ get information of a group This method makes a synchronous HTTP request by default. To make an @@ -73,11 +73,11 @@ def get_project_openshift_io_api_group_with_http_info(self, **kwargs): >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.get_project_openshift_io_api_group_with_http_info(callback=callback_function) + >>> thread = api.get_api_group_with_http_info(callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) - :return: UnversionedAPIGroup + :return: V1APIGroup If the method is called asynchronously, returns the request thread. """ @@ -93,7 +93,7 @@ def get_project_openshift_io_api_group_with_http_info(self, **kwargs): if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method get_project_openshift_io_api_group" % key + " to method get_api_group" % key ) params[key] = val del params['kwargs'] @@ -120,7 +120,7 @@ def get_project_openshift_io_api_group_with_http_info(self, **kwargs): select_header_content_type(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -129,7 +129,7 @@ def get_project_openshift_io_api_group_with_http_info(self, **kwargs): body=body_params, post_params=form_params, files=local_var_files, - response_type='UnversionedAPIGroup', + response_type='V1APIGroup', auth_settings=auth_settings, callback=params.get('callback'), _return_http_data_only=params.get('_return_http_data_only'), diff --git a/openshift/client/apis/project_openshift_io_v1_api.py b/openshift/client/apis/project_openshift_io_v1_api.py index e77fc5e6..313d9948 100644 --- a/openshift/client/apis/project_openshift_io_v1_api.py +++ b/openshift/client/apis/project_openshift_io_v1_api.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -40,7 +40,7 @@ def __init__(self, api_client=None): config.api_client = ApiClient() self.api_client = config.api_client - def create_project_openshift_io_v1_project(self, body, **kwargs): + def create_project(self, body, **kwargs): """ create a Project This method makes a synchronous HTTP request by default. To make an @@ -49,7 +49,7 @@ def create_project_openshift_io_v1_project(self, body, **kwargs): >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.create_project_openshift_io_v1_project(body, callback=callback_function) + >>> thread = api.create_project(body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) @@ -61,12 +61,12 @@ def create_project_openshift_io_v1_project(self, body, **kwargs): """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.create_project_openshift_io_v1_project_with_http_info(body, **kwargs) + return self.create_project_with_http_info(body, **kwargs) else: - (data) = self.create_project_openshift_io_v1_project_with_http_info(body, **kwargs) + (data) = self.create_project_with_http_info(body, **kwargs) return data - def create_project_openshift_io_v1_project_with_http_info(self, body, **kwargs): + def create_project_with_http_info(self, body, **kwargs): """ create a Project This method makes a synchronous HTTP request by default. To make an @@ -75,7 +75,7 @@ def create_project_openshift_io_v1_project_with_http_info(self, body, **kwargs): >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.create_project_openshift_io_v1_project_with_http_info(body, callback=callback_function) + >>> thread = api.create_project_with_http_info(body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) @@ -97,13 +97,13 @@ def create_project_openshift_io_v1_project_with_http_info(self, body, **kwargs): if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method create_project_openshift_io_v1_project" % key + " to method create_project" % key ) params[key] = val del params['kwargs'] # verify the required parameter 'body' is set if ('body' not in params) or (params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `create_project_openshift_io_v1_project`") + raise ValueError("Missing the required parameter `body` when calling `create_project`") collection_formats = {} @@ -132,7 +132,7 @@ def create_project_openshift_io_v1_project_with_http_info(self, body, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'POST', path_params, @@ -149,7 +149,7 @@ def create_project_openshift_io_v1_project_with_http_info(self, body, **kwargs): _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def create_project_openshift_io_v1_project_request(self, body, **kwargs): + def create_project_request(self, body, **kwargs): """ create a ProjectRequest This method makes a synchronous HTTP request by default. To make an @@ -158,7 +158,7 @@ def create_project_openshift_io_v1_project_request(self, body, **kwargs): >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.create_project_openshift_io_v1_project_request(body, callback=callback_function) + >>> thread = api.create_project_request(body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) @@ -170,12 +170,12 @@ def create_project_openshift_io_v1_project_request(self, body, **kwargs): """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.create_project_openshift_io_v1_project_request_with_http_info(body, **kwargs) + return self.create_project_request_with_http_info(body, **kwargs) else: - (data) = self.create_project_openshift_io_v1_project_request_with_http_info(body, **kwargs) + (data) = self.create_project_request_with_http_info(body, **kwargs) return data - def create_project_openshift_io_v1_project_request_with_http_info(self, body, **kwargs): + def create_project_request_with_http_info(self, body, **kwargs): """ create a ProjectRequest This method makes a synchronous HTTP request by default. To make an @@ -184,7 +184,7 @@ def create_project_openshift_io_v1_project_request_with_http_info(self, body, ** >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.create_project_openshift_io_v1_project_request_with_http_info(body, callback=callback_function) + >>> thread = api.create_project_request_with_http_info(body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) @@ -206,13 +206,13 @@ def create_project_openshift_io_v1_project_request_with_http_info(self, body, ** if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method create_project_openshift_io_v1_project_request" % key + " to method create_project_request" % key ) params[key] = val del params['kwargs'] # verify the required parameter 'body' is set if ('body' not in params) or (params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `create_project_openshift_io_v1_project_request`") + raise ValueError("Missing the required parameter `body` when calling `create_project_request`") collection_formats = {} @@ -241,7 +241,7 @@ def create_project_openshift_io_v1_project_request_with_http_info(self, body, ** select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'POST', path_params, @@ -258,7 +258,7 @@ def create_project_openshift_io_v1_project_request_with_http_info(self, body, ** _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def delete_project_openshift_io_v1_project(self, name, **kwargs): + def delete_project(self, name, **kwargs): """ delete a Project This method makes a synchronous HTTP request by default. To make an @@ -267,24 +267,24 @@ def delete_project_openshift_io_v1_project(self, name, **kwargs): >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.delete_project_openshift_io_v1_project(name, callback=callback_function) + >>> thread = api.delete_project(name, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param str name: name of the Project (required) :param str pretty: If 'true', then the output is pretty printed. - :return: UnversionedStatus + :return: V1Status If the method is called asynchronously, returns the request thread. """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.delete_project_openshift_io_v1_project_with_http_info(name, **kwargs) + return self.delete_project_with_http_info(name, **kwargs) else: - (data) = self.delete_project_openshift_io_v1_project_with_http_info(name, **kwargs) + (data) = self.delete_project_with_http_info(name, **kwargs) return data - def delete_project_openshift_io_v1_project_with_http_info(self, name, **kwargs): + def delete_project_with_http_info(self, name, **kwargs): """ delete a Project This method makes a synchronous HTTP request by default. To make an @@ -293,13 +293,13 @@ def delete_project_openshift_io_v1_project_with_http_info(self, name, **kwargs): >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.delete_project_openshift_io_v1_project_with_http_info(name, callback=callback_function) + >>> thread = api.delete_project_with_http_info(name, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param str name: name of the Project (required) :param str pretty: If 'true', then the output is pretty printed. - :return: UnversionedStatus + :return: V1Status If the method is called asynchronously, returns the request thread. """ @@ -315,13 +315,13 @@ def delete_project_openshift_io_v1_project_with_http_info(self, name, **kwargs): if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method delete_project_openshift_io_v1_project" % key + " to method delete_project" % key ) params[key] = val del params['kwargs'] # verify the required parameter 'name' is set if ('name' not in params) or (params['name'] is None): - raise ValueError("Missing the required parameter `name` when calling `delete_project_openshift_io_v1_project`") + raise ValueError("Missing the required parameter `name` when calling `delete_project`") collection_formats = {} @@ -350,7 +350,7 @@ def delete_project_openshift_io_v1_project_with_http_info(self, name, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'DELETE', path_params, @@ -359,7 +359,7 @@ def delete_project_openshift_io_v1_project_with_http_info(self, name, **kwargs): body=body_params, post_params=form_params, files=local_var_files, - response_type='UnversionedStatus', + response_type='V1Status', auth_settings=auth_settings, callback=params.get('callback'), _return_http_data_only=params.get('_return_http_data_only'), @@ -367,7 +367,7 @@ def delete_project_openshift_io_v1_project_with_http_info(self, name, **kwargs): _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def get_project_openshift_io_v1_api_resources(self, **kwargs): + def get_api_resources(self, **kwargs): """ get available resources This method makes a synchronous HTTP request by default. To make an @@ -376,22 +376,22 @@ def get_project_openshift_io_v1_api_resources(self, **kwargs): >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.get_project_openshift_io_v1_api_resources(callback=callback_function) + >>> thread = api.get_api_resources(callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) - :return: UnversionedAPIResourceList + :return: V1APIResourceList If the method is called asynchronously, returns the request thread. """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.get_project_openshift_io_v1_api_resources_with_http_info(**kwargs) + return self.get_api_resources_with_http_info(**kwargs) else: - (data) = self.get_project_openshift_io_v1_api_resources_with_http_info(**kwargs) + (data) = self.get_api_resources_with_http_info(**kwargs) return data - def get_project_openshift_io_v1_api_resources_with_http_info(self, **kwargs): + def get_api_resources_with_http_info(self, **kwargs): """ get available resources This method makes a synchronous HTTP request by default. To make an @@ -400,11 +400,11 @@ def get_project_openshift_io_v1_api_resources_with_http_info(self, **kwargs): >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.get_project_openshift_io_v1_api_resources_with_http_info(callback=callback_function) + >>> thread = api.get_api_resources_with_http_info(callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) - :return: UnversionedAPIResourceList + :return: V1APIResourceList If the method is called asynchronously, returns the request thread. """ @@ -420,7 +420,7 @@ def get_project_openshift_io_v1_api_resources_with_http_info(self, **kwargs): if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method get_project_openshift_io_v1_api_resources" % key + " to method get_api_resources" % key ) params[key] = val del params['kwargs'] @@ -447,7 +447,7 @@ def get_project_openshift_io_v1_api_resources_with_http_info(self, **kwargs): select_header_content_type(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -456,7 +456,7 @@ def get_project_openshift_io_v1_api_resources_with_http_info(self, **kwargs): body=body_params, post_params=form_params, files=local_var_files, - response_type='UnversionedAPIResourceList', + response_type='V1APIResourceList', auth_settings=auth_settings, callback=params.get('callback'), _return_http_data_only=params.get('_return_http_data_only'), @@ -464,7 +464,7 @@ def get_project_openshift_io_v1_api_resources_with_http_info(self, **kwargs): _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def list_project_openshift_io_v1_project(self, **kwargs): + def list_project(self, **kwargs): """ list or watch objects of kind Project This method makes a synchronous HTTP request by default. To make an @@ -473,14 +473,15 @@ def list_project_openshift_io_v1_project(self, **kwargs): >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.list_project_openshift_io_v1_project(callback=callback_function) + >>> thread = api.list_project(callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param str pretty: If 'true', then the output is pretty printed. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param bool include_uninitialized: If true, partially initialized resources are included in the response. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. - :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. + :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. :param int timeout_seconds: Timeout for the list/watch call. :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. :return: V1ProjectList @@ -489,12 +490,12 @@ def list_project_openshift_io_v1_project(self, **kwargs): """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.list_project_openshift_io_v1_project_with_http_info(**kwargs) + return self.list_project_with_http_info(**kwargs) else: - (data) = self.list_project_openshift_io_v1_project_with_http_info(**kwargs) + (data) = self.list_project_with_http_info(**kwargs) return data - def list_project_openshift_io_v1_project_with_http_info(self, **kwargs): + def list_project_with_http_info(self, **kwargs): """ list or watch objects of kind Project This method makes a synchronous HTTP request by default. To make an @@ -503,14 +504,15 @@ def list_project_openshift_io_v1_project_with_http_info(self, **kwargs): >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.list_project_openshift_io_v1_project_with_http_info(callback=callback_function) + >>> thread = api.list_project_with_http_info(callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param str pretty: If 'true', then the output is pretty printed. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param bool include_uninitialized: If true, partially initialized resources are included in the response. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. - :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. + :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. :param int timeout_seconds: Timeout for the list/watch call. :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. :return: V1ProjectList @@ -518,7 +520,7 @@ def list_project_openshift_io_v1_project_with_http_info(self, **kwargs): returns the request thread. """ - all_params = ['pretty', 'field_selector', 'label_selector', 'resource_version', 'timeout_seconds', 'watch'] + all_params = ['pretty', 'field_selector', 'include_uninitialized', 'label_selector', 'resource_version', 'timeout_seconds', 'watch'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -529,7 +531,7 @@ def list_project_openshift_io_v1_project_with_http_info(self, **kwargs): if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method list_project_openshift_io_v1_project" % key + " to method list_project" % key ) params[key] = val del params['kwargs'] @@ -545,6 +547,8 @@ def list_project_openshift_io_v1_project_with_http_info(self, **kwargs): query_params['pretty'] = params['pretty'] if 'field_selector' in params: query_params['fieldSelector'] = params['field_selector'] + if 'include_uninitialized' in params: + query_params['includeUninitialized'] = params['include_uninitialized'] if 'label_selector' in params: query_params['labelSelector'] = params['label_selector'] if 'resource_version' in params: @@ -569,7 +573,7 @@ def list_project_openshift_io_v1_project_with_http_info(self, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -586,7 +590,7 @@ def list_project_openshift_io_v1_project_with_http_info(self, **kwargs): _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def list_project_openshift_io_v1_project_request(self, **kwargs): + def list_project_request(self, **kwargs): """ list objects of kind ProjectRequest This method makes a synchronous HTTP request by default. To make an @@ -595,28 +599,29 @@ def list_project_openshift_io_v1_project_request(self, **kwargs): >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.list_project_openshift_io_v1_project_request(callback=callback_function) + >>> thread = api.list_project_request(callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param str pretty: If 'true', then the output is pretty printed. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param bool include_uninitialized: If true, partially initialized resources are included in the response. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. - :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. + :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. :param int timeout_seconds: Timeout for the list/watch call. :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - :return: UnversionedStatus + :return: V1Status If the method is called asynchronously, returns the request thread. """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.list_project_openshift_io_v1_project_request_with_http_info(**kwargs) + return self.list_project_request_with_http_info(**kwargs) else: - (data) = self.list_project_openshift_io_v1_project_request_with_http_info(**kwargs) + (data) = self.list_project_request_with_http_info(**kwargs) return data - def list_project_openshift_io_v1_project_request_with_http_info(self, **kwargs): + def list_project_request_with_http_info(self, **kwargs): """ list objects of kind ProjectRequest This method makes a synchronous HTTP request by default. To make an @@ -625,22 +630,23 @@ def list_project_openshift_io_v1_project_request_with_http_info(self, **kwargs): >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.list_project_openshift_io_v1_project_request_with_http_info(callback=callback_function) + >>> thread = api.list_project_request_with_http_info(callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param str pretty: If 'true', then the output is pretty printed. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param bool include_uninitialized: If true, partially initialized resources are included in the response. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. - :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. + :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. :param int timeout_seconds: Timeout for the list/watch call. :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - :return: UnversionedStatus + :return: V1Status If the method is called asynchronously, returns the request thread. """ - all_params = ['pretty', 'field_selector', 'label_selector', 'resource_version', 'timeout_seconds', 'watch'] + all_params = ['pretty', 'field_selector', 'include_uninitialized', 'label_selector', 'resource_version', 'timeout_seconds', 'watch'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -651,7 +657,7 @@ def list_project_openshift_io_v1_project_request_with_http_info(self, **kwargs): if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method list_project_openshift_io_v1_project_request" % key + " to method list_project_request" % key ) params[key] = val del params['kwargs'] @@ -667,6 +673,8 @@ def list_project_openshift_io_v1_project_request_with_http_info(self, **kwargs): query_params['pretty'] = params['pretty'] if 'field_selector' in params: query_params['fieldSelector'] = params['field_selector'] + if 'include_uninitialized' in params: + query_params['includeUninitialized'] = params['include_uninitialized'] if 'label_selector' in params: query_params['labelSelector'] = params['label_selector'] if 'resource_version' in params: @@ -691,7 +699,7 @@ def list_project_openshift_io_v1_project_request_with_http_info(self, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -700,7 +708,7 @@ def list_project_openshift_io_v1_project_request_with_http_info(self, **kwargs): body=body_params, post_params=form_params, files=local_var_files, - response_type='UnversionedStatus', + response_type='V1Status', auth_settings=auth_settings, callback=params.get('callback'), _return_http_data_only=params.get('_return_http_data_only'), @@ -708,7 +716,7 @@ def list_project_openshift_io_v1_project_request_with_http_info(self, **kwargs): _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def patch_project_openshift_io_v1_project(self, name, body, **kwargs): + def patch_project(self, name, body, **kwargs): """ partially update the specified Project This method makes a synchronous HTTP request by default. To make an @@ -717,12 +725,12 @@ def patch_project_openshift_io_v1_project(self, name, body, **kwargs): >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.patch_project_openshift_io_v1_project(name, body, callback=callback_function) + >>> thread = api.patch_project(name, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param str name: name of the Project (required) - :param UnversionedPatch body: (required) + :param object body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1Project If the method is called asynchronously, @@ -730,12 +738,12 @@ def patch_project_openshift_io_v1_project(self, name, body, **kwargs): """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.patch_project_openshift_io_v1_project_with_http_info(name, body, **kwargs) + return self.patch_project_with_http_info(name, body, **kwargs) else: - (data) = self.patch_project_openshift_io_v1_project_with_http_info(name, body, **kwargs) + (data) = self.patch_project_with_http_info(name, body, **kwargs) return data - def patch_project_openshift_io_v1_project_with_http_info(self, name, body, **kwargs): + def patch_project_with_http_info(self, name, body, **kwargs): """ partially update the specified Project This method makes a synchronous HTTP request by default. To make an @@ -744,12 +752,12 @@ def patch_project_openshift_io_v1_project_with_http_info(self, name, body, **kwa >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.patch_project_openshift_io_v1_project_with_http_info(name, body, callback=callback_function) + >>> thread = api.patch_project_with_http_info(name, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param str name: name of the Project (required) - :param UnversionedPatch body: (required) + :param object body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1Project If the method is called asynchronously, @@ -767,16 +775,16 @@ def patch_project_openshift_io_v1_project_with_http_info(self, name, body, **kwa if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method patch_project_openshift_io_v1_project" % key + " to method patch_project" % key ) params[key] = val del params['kwargs'] # verify the required parameter 'name' is set if ('name' not in params) or (params['name'] is None): - raise ValueError("Missing the required parameter `name` when calling `patch_project_openshift_io_v1_project`") + raise ValueError("Missing the required parameter `name` when calling `patch_project`") # verify the required parameter 'body' is set if ('body' not in params) or (params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `patch_project_openshift_io_v1_project`") + raise ValueError("Missing the required parameter `body` when calling `patch_project`") collection_formats = {} @@ -807,7 +815,7 @@ def patch_project_openshift_io_v1_project_with_http_info(self, name, body, **kwa select_header_content_type(['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'PATCH', path_params, @@ -824,7 +832,7 @@ def patch_project_openshift_io_v1_project_with_http_info(self, name, body, **kwa _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def read_project_openshift_io_v1_project(self, name, **kwargs): + def read_project(self, name, **kwargs): """ read the specified Project This method makes a synchronous HTTP request by default. To make an @@ -833,7 +841,7 @@ def read_project_openshift_io_v1_project(self, name, **kwargs): >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.read_project_openshift_io_v1_project(name, callback=callback_function) + >>> thread = api.read_project(name, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) @@ -845,12 +853,12 @@ def read_project_openshift_io_v1_project(self, name, **kwargs): """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.read_project_openshift_io_v1_project_with_http_info(name, **kwargs) + return self.read_project_with_http_info(name, **kwargs) else: - (data) = self.read_project_openshift_io_v1_project_with_http_info(name, **kwargs) + (data) = self.read_project_with_http_info(name, **kwargs) return data - def read_project_openshift_io_v1_project_with_http_info(self, name, **kwargs): + def read_project_with_http_info(self, name, **kwargs): """ read the specified Project This method makes a synchronous HTTP request by default. To make an @@ -859,7 +867,7 @@ def read_project_openshift_io_v1_project_with_http_info(self, name, **kwargs): >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.read_project_openshift_io_v1_project_with_http_info(name, callback=callback_function) + >>> thread = api.read_project_with_http_info(name, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) @@ -881,13 +889,13 @@ def read_project_openshift_io_v1_project_with_http_info(self, name, **kwargs): if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method read_project_openshift_io_v1_project" % key + " to method read_project" % key ) params[key] = val del params['kwargs'] # verify the required parameter 'name' is set if ('name' not in params) or (params['name'] is None): - raise ValueError("Missing the required parameter `name` when calling `read_project_openshift_io_v1_project`") + raise ValueError("Missing the required parameter `name` when calling `read_project`") collection_formats = {} @@ -916,7 +924,7 @@ def read_project_openshift_io_v1_project_with_http_info(self, name, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -933,7 +941,7 @@ def read_project_openshift_io_v1_project_with_http_info(self, name, **kwargs): _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def replace_project_openshift_io_v1_project(self, name, body, **kwargs): + def replace_project(self, name, body, **kwargs): """ replace the specified Project This method makes a synchronous HTTP request by default. To make an @@ -942,7 +950,7 @@ def replace_project_openshift_io_v1_project(self, name, body, **kwargs): >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.replace_project_openshift_io_v1_project(name, body, callback=callback_function) + >>> thread = api.replace_project(name, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) @@ -955,12 +963,12 @@ def replace_project_openshift_io_v1_project(self, name, body, **kwargs): """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.replace_project_openshift_io_v1_project_with_http_info(name, body, **kwargs) + return self.replace_project_with_http_info(name, body, **kwargs) else: - (data) = self.replace_project_openshift_io_v1_project_with_http_info(name, body, **kwargs) + (data) = self.replace_project_with_http_info(name, body, **kwargs) return data - def replace_project_openshift_io_v1_project_with_http_info(self, name, body, **kwargs): + def replace_project_with_http_info(self, name, body, **kwargs): """ replace the specified Project This method makes a synchronous HTTP request by default. To make an @@ -969,7 +977,7 @@ def replace_project_openshift_io_v1_project_with_http_info(self, name, body, **k >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.replace_project_openshift_io_v1_project_with_http_info(name, body, callback=callback_function) + >>> thread = api.replace_project_with_http_info(name, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) @@ -992,16 +1000,16 @@ def replace_project_openshift_io_v1_project_with_http_info(self, name, body, **k if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method replace_project_openshift_io_v1_project" % key + " to method replace_project" % key ) params[key] = val del params['kwargs'] # verify the required parameter 'name' is set if ('name' not in params) or (params['name'] is None): - raise ValueError("Missing the required parameter `name` when calling `replace_project_openshift_io_v1_project`") + raise ValueError("Missing the required parameter `name` when calling `replace_project`") # verify the required parameter 'body' is set if ('body' not in params) or (params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `replace_project_openshift_io_v1_project`") + raise ValueError("Missing the required parameter `body` when calling `replace_project`") collection_formats = {} @@ -1032,7 +1040,7 @@ def replace_project_openshift_io_v1_project_with_http_info(self, name, body, **k select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'PUT', path_params, diff --git a/openshift/client/apis/quota_openshift_io_api.py b/openshift/client/apis/quota_openshift_io_api.py index 6a22471a..ea99a1a9 100644 --- a/openshift/client/apis/quota_openshift_io_api.py +++ b/openshift/client/apis/quota_openshift_io_api.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -40,7 +40,7 @@ def __init__(self, api_client=None): config.api_client = ApiClient() self.api_client = config.api_client - def get_quota_openshift_io_api_group(self, **kwargs): + def get_api_group(self, **kwargs): """ get information of a group This method makes a synchronous HTTP request by default. To make an @@ -49,22 +49,22 @@ def get_quota_openshift_io_api_group(self, **kwargs): >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.get_quota_openshift_io_api_group(callback=callback_function) + >>> thread = api.get_api_group(callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) - :return: UnversionedAPIGroup + :return: V1APIGroup If the method is called asynchronously, returns the request thread. """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.get_quota_openshift_io_api_group_with_http_info(**kwargs) + return self.get_api_group_with_http_info(**kwargs) else: - (data) = self.get_quota_openshift_io_api_group_with_http_info(**kwargs) + (data) = self.get_api_group_with_http_info(**kwargs) return data - def get_quota_openshift_io_api_group_with_http_info(self, **kwargs): + def get_api_group_with_http_info(self, **kwargs): """ get information of a group This method makes a synchronous HTTP request by default. To make an @@ -73,11 +73,11 @@ def get_quota_openshift_io_api_group_with_http_info(self, **kwargs): >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.get_quota_openshift_io_api_group_with_http_info(callback=callback_function) + >>> thread = api.get_api_group_with_http_info(callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) - :return: UnversionedAPIGroup + :return: V1APIGroup If the method is called asynchronously, returns the request thread. """ @@ -93,7 +93,7 @@ def get_quota_openshift_io_api_group_with_http_info(self, **kwargs): if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method get_quota_openshift_io_api_group" % key + " to method get_api_group" % key ) params[key] = val del params['kwargs'] @@ -120,7 +120,7 @@ def get_quota_openshift_io_api_group_with_http_info(self, **kwargs): select_header_content_type(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -129,7 +129,7 @@ def get_quota_openshift_io_api_group_with_http_info(self, **kwargs): body=body_params, post_params=form_params, files=local_var_files, - response_type='UnversionedAPIGroup', + response_type='V1APIGroup', auth_settings=auth_settings, callback=params.get('callback'), _return_http_data_only=params.get('_return_http_data_only'), diff --git a/openshift/client/apis/quota_openshift_io_v1_api.py b/openshift/client/apis/quota_openshift_io_v1_api.py index 3b9bd5d0..94d8d720 100644 --- a/openshift/client/apis/quota_openshift_io_v1_api.py +++ b/openshift/client/apis/quota_openshift_io_v1_api.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -40,7 +40,7 @@ def __init__(self, api_client=None): config.api_client = ApiClient() self.api_client = config.api_client - def create_quota_openshift_io_v1_cluster_resource_quota(self, body, **kwargs): + def create_cluster_resource_quota(self, body, **kwargs): """ create a ClusterResourceQuota This method makes a synchronous HTTP request by default. To make an @@ -49,7 +49,7 @@ def create_quota_openshift_io_v1_cluster_resource_quota(self, body, **kwargs): >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.create_quota_openshift_io_v1_cluster_resource_quota(body, callback=callback_function) + >>> thread = api.create_cluster_resource_quota(body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) @@ -61,12 +61,12 @@ def create_quota_openshift_io_v1_cluster_resource_quota(self, body, **kwargs): """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.create_quota_openshift_io_v1_cluster_resource_quota_with_http_info(body, **kwargs) + return self.create_cluster_resource_quota_with_http_info(body, **kwargs) else: - (data) = self.create_quota_openshift_io_v1_cluster_resource_quota_with_http_info(body, **kwargs) + (data) = self.create_cluster_resource_quota_with_http_info(body, **kwargs) return data - def create_quota_openshift_io_v1_cluster_resource_quota_with_http_info(self, body, **kwargs): + def create_cluster_resource_quota_with_http_info(self, body, **kwargs): """ create a ClusterResourceQuota This method makes a synchronous HTTP request by default. To make an @@ -75,7 +75,7 @@ def create_quota_openshift_io_v1_cluster_resource_quota_with_http_info(self, bod >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.create_quota_openshift_io_v1_cluster_resource_quota_with_http_info(body, callback=callback_function) + >>> thread = api.create_cluster_resource_quota_with_http_info(body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) @@ -97,13 +97,13 @@ def create_quota_openshift_io_v1_cluster_resource_quota_with_http_info(self, bod if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method create_quota_openshift_io_v1_cluster_resource_quota" % key + " to method create_cluster_resource_quota" % key ) params[key] = val del params['kwargs'] # verify the required parameter 'body' is set if ('body' not in params) or (params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `create_quota_openshift_io_v1_cluster_resource_quota`") + raise ValueError("Missing the required parameter `body` when calling `create_cluster_resource_quota`") collection_formats = {} @@ -132,7 +132,7 @@ def create_quota_openshift_io_v1_cluster_resource_quota_with_http_info(self, bod select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'POST', path_params, @@ -149,7 +149,7 @@ def create_quota_openshift_io_v1_cluster_resource_quota_with_http_info(self, bod _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def delete_quota_openshift_io_v1_cluster_resource_quota(self, name, body, **kwargs): + def delete_cluster_resource_quota(self, name, body, **kwargs): """ delete a ClusterResourceQuota This method makes a synchronous HTTP request by default. To make an @@ -158,7 +158,7 @@ def delete_quota_openshift_io_v1_cluster_resource_quota(self, name, body, **kwar >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.delete_quota_openshift_io_v1_cluster_resource_quota(name, body, callback=callback_function) + >>> thread = api.delete_cluster_resource_quota(name, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) @@ -166,19 +166,20 @@ def delete_quota_openshift_io_v1_cluster_resource_quota(self, name, body, **kwar :param V1DeleteOptions body: (required) :param str pretty: If 'true', then the output is pretty printed. :param int grace_period_seconds: 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. - :param bool orphan_dependents: Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. - :return: UnversionedStatus + :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. + :param str propagation_policy: Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. + :return: V1Status If the method is called asynchronously, returns the request thread. """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.delete_quota_openshift_io_v1_cluster_resource_quota_with_http_info(name, body, **kwargs) + return self.delete_cluster_resource_quota_with_http_info(name, body, **kwargs) else: - (data) = self.delete_quota_openshift_io_v1_cluster_resource_quota_with_http_info(name, body, **kwargs) + (data) = self.delete_cluster_resource_quota_with_http_info(name, body, **kwargs) return data - def delete_quota_openshift_io_v1_cluster_resource_quota_with_http_info(self, name, body, **kwargs): + def delete_cluster_resource_quota_with_http_info(self, name, body, **kwargs): """ delete a ClusterResourceQuota This method makes a synchronous HTTP request by default. To make an @@ -187,7 +188,7 @@ def delete_quota_openshift_io_v1_cluster_resource_quota_with_http_info(self, nam >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.delete_quota_openshift_io_v1_cluster_resource_quota_with_http_info(name, body, callback=callback_function) + >>> thread = api.delete_cluster_resource_quota_with_http_info(name, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) @@ -195,13 +196,14 @@ def delete_quota_openshift_io_v1_cluster_resource_quota_with_http_info(self, nam :param V1DeleteOptions body: (required) :param str pretty: If 'true', then the output is pretty printed. :param int grace_period_seconds: 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. - :param bool orphan_dependents: Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. - :return: UnversionedStatus + :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. + :param str propagation_policy: Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. + :return: V1Status If the method is called asynchronously, returns the request thread. """ - all_params = ['name', 'body', 'pretty', 'grace_period_seconds', 'orphan_dependents'] + all_params = ['name', 'body', 'pretty', 'grace_period_seconds', 'orphan_dependents', 'propagation_policy'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -212,16 +214,16 @@ def delete_quota_openshift_io_v1_cluster_resource_quota_with_http_info(self, nam if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method delete_quota_openshift_io_v1_cluster_resource_quota" % key + " to method delete_cluster_resource_quota" % key ) params[key] = val del params['kwargs'] # verify the required parameter 'name' is set if ('name' not in params) or (params['name'] is None): - raise ValueError("Missing the required parameter `name` when calling `delete_quota_openshift_io_v1_cluster_resource_quota`") + raise ValueError("Missing the required parameter `name` when calling `delete_cluster_resource_quota`") # verify the required parameter 'body' is set if ('body' not in params) or (params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `delete_quota_openshift_io_v1_cluster_resource_quota`") + raise ValueError("Missing the required parameter `body` when calling `delete_cluster_resource_quota`") collection_formats = {} @@ -238,6 +240,8 @@ def delete_quota_openshift_io_v1_cluster_resource_quota_with_http_info(self, nam query_params['gracePeriodSeconds'] = params['grace_period_seconds'] if 'orphan_dependents' in params: query_params['orphanDependents'] = params['orphan_dependents'] + if 'propagation_policy' in params: + query_params['propagationPolicy'] = params['propagation_policy'] header_params = {} @@ -256,7 +260,7 @@ def delete_quota_openshift_io_v1_cluster_resource_quota_with_http_info(self, nam select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'DELETE', path_params, @@ -265,7 +269,7 @@ def delete_quota_openshift_io_v1_cluster_resource_quota_with_http_info(self, nam body=body_params, post_params=form_params, files=local_var_files, - response_type='UnversionedStatus', + response_type='V1Status', auth_settings=auth_settings, callback=params.get('callback'), _return_http_data_only=params.get('_return_http_data_only'), @@ -273,7 +277,7 @@ def delete_quota_openshift_io_v1_cluster_resource_quota_with_http_info(self, nam _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def delete_quota_openshift_io_v1_collection_cluster_resource_quota(self, **kwargs): + def delete_collection_cluster_resource_quota(self, **kwargs): """ delete collection of ClusterResourceQuota This method makes a synchronous HTTP request by default. To make an @@ -282,28 +286,29 @@ def delete_quota_openshift_io_v1_collection_cluster_resource_quota(self, **kwarg >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.delete_quota_openshift_io_v1_collection_cluster_resource_quota(callback=callback_function) + >>> thread = api.delete_collection_cluster_resource_quota(callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param str pretty: If 'true', then the output is pretty printed. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param bool include_uninitialized: If true, partially initialized resources are included in the response. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. - :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. + :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. :param int timeout_seconds: Timeout for the list/watch call. :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - :return: UnversionedStatus + :return: V1Status If the method is called asynchronously, returns the request thread. """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.delete_quota_openshift_io_v1_collection_cluster_resource_quota_with_http_info(**kwargs) + return self.delete_collection_cluster_resource_quota_with_http_info(**kwargs) else: - (data) = self.delete_quota_openshift_io_v1_collection_cluster_resource_quota_with_http_info(**kwargs) + (data) = self.delete_collection_cluster_resource_quota_with_http_info(**kwargs) return data - def delete_quota_openshift_io_v1_collection_cluster_resource_quota_with_http_info(self, **kwargs): + def delete_collection_cluster_resource_quota_with_http_info(self, **kwargs): """ delete collection of ClusterResourceQuota This method makes a synchronous HTTP request by default. To make an @@ -312,22 +317,23 @@ def delete_quota_openshift_io_v1_collection_cluster_resource_quota_with_http_inf >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.delete_quota_openshift_io_v1_collection_cluster_resource_quota_with_http_info(callback=callback_function) + >>> thread = api.delete_collection_cluster_resource_quota_with_http_info(callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param str pretty: If 'true', then the output is pretty printed. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param bool include_uninitialized: If true, partially initialized resources are included in the response. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. - :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. + :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. :param int timeout_seconds: Timeout for the list/watch call. :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - :return: UnversionedStatus + :return: V1Status If the method is called asynchronously, returns the request thread. """ - all_params = ['pretty', 'field_selector', 'label_selector', 'resource_version', 'timeout_seconds', 'watch'] + all_params = ['pretty', 'field_selector', 'include_uninitialized', 'label_selector', 'resource_version', 'timeout_seconds', 'watch'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -338,7 +344,7 @@ def delete_quota_openshift_io_v1_collection_cluster_resource_quota_with_http_inf if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method delete_quota_openshift_io_v1_collection_cluster_resource_quota" % key + " to method delete_collection_cluster_resource_quota" % key ) params[key] = val del params['kwargs'] @@ -354,6 +360,8 @@ def delete_quota_openshift_io_v1_collection_cluster_resource_quota_with_http_inf query_params['pretty'] = params['pretty'] if 'field_selector' in params: query_params['fieldSelector'] = params['field_selector'] + if 'include_uninitialized' in params: + query_params['includeUninitialized'] = params['include_uninitialized'] if 'label_selector' in params: query_params['labelSelector'] = params['label_selector'] if 'resource_version' in params: @@ -378,7 +386,7 @@ def delete_quota_openshift_io_v1_collection_cluster_resource_quota_with_http_inf select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'DELETE', path_params, @@ -387,7 +395,7 @@ def delete_quota_openshift_io_v1_collection_cluster_resource_quota_with_http_inf body=body_params, post_params=form_params, files=local_var_files, - response_type='UnversionedStatus', + response_type='V1Status', auth_settings=auth_settings, callback=params.get('callback'), _return_http_data_only=params.get('_return_http_data_only'), @@ -395,7 +403,7 @@ def delete_quota_openshift_io_v1_collection_cluster_resource_quota_with_http_inf _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def get_quota_openshift_io_v1_api_resources(self, **kwargs): + def get_api_resources(self, **kwargs): """ get available resources This method makes a synchronous HTTP request by default. To make an @@ -404,22 +412,22 @@ def get_quota_openshift_io_v1_api_resources(self, **kwargs): >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.get_quota_openshift_io_v1_api_resources(callback=callback_function) + >>> thread = api.get_api_resources(callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) - :return: UnversionedAPIResourceList + :return: V1APIResourceList If the method is called asynchronously, returns the request thread. """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.get_quota_openshift_io_v1_api_resources_with_http_info(**kwargs) + return self.get_api_resources_with_http_info(**kwargs) else: - (data) = self.get_quota_openshift_io_v1_api_resources_with_http_info(**kwargs) + (data) = self.get_api_resources_with_http_info(**kwargs) return data - def get_quota_openshift_io_v1_api_resources_with_http_info(self, **kwargs): + def get_api_resources_with_http_info(self, **kwargs): """ get available resources This method makes a synchronous HTTP request by default. To make an @@ -428,11 +436,11 @@ def get_quota_openshift_io_v1_api_resources_with_http_info(self, **kwargs): >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.get_quota_openshift_io_v1_api_resources_with_http_info(callback=callback_function) + >>> thread = api.get_api_resources_with_http_info(callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) - :return: UnversionedAPIResourceList + :return: V1APIResourceList If the method is called asynchronously, returns the request thread. """ @@ -448,7 +456,7 @@ def get_quota_openshift_io_v1_api_resources_with_http_info(self, **kwargs): if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method get_quota_openshift_io_v1_api_resources" % key + " to method get_api_resources" % key ) params[key] = val del params['kwargs'] @@ -475,7 +483,7 @@ def get_quota_openshift_io_v1_api_resources_with_http_info(self, **kwargs): select_header_content_type(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -484,7 +492,7 @@ def get_quota_openshift_io_v1_api_resources_with_http_info(self, **kwargs): body=body_params, post_params=form_params, files=local_var_files, - response_type='UnversionedAPIResourceList', + response_type='V1APIResourceList', auth_settings=auth_settings, callback=params.get('callback'), _return_http_data_only=params.get('_return_http_data_only'), @@ -492,7 +500,7 @@ def get_quota_openshift_io_v1_api_resources_with_http_info(self, **kwargs): _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def list_quota_openshift_io_v1_applied_cluster_resource_quota_for_all_namespaces(self, **kwargs): + def list_applied_cluster_resource_quota_for_all_namespaces(self, **kwargs): """ list objects of kind AppliedClusterResourceQuota This method makes a synchronous HTTP request by default. To make an @@ -501,14 +509,15 @@ def list_quota_openshift_io_v1_applied_cluster_resource_quota_for_all_namespaces >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.list_quota_openshift_io_v1_applied_cluster_resource_quota_for_all_namespaces(callback=callback_function) + >>> thread = api.list_applied_cluster_resource_quota_for_all_namespaces(callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param bool include_uninitialized: If true, partially initialized resources are included in the response. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. :param str pretty: If 'true', then the output is pretty printed. - :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. + :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. :param int timeout_seconds: Timeout for the list/watch call. :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. :return: V1AppliedClusterResourceQuotaList @@ -517,12 +526,12 @@ def list_quota_openshift_io_v1_applied_cluster_resource_quota_for_all_namespaces """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.list_quota_openshift_io_v1_applied_cluster_resource_quota_for_all_namespaces_with_http_info(**kwargs) + return self.list_applied_cluster_resource_quota_for_all_namespaces_with_http_info(**kwargs) else: - (data) = self.list_quota_openshift_io_v1_applied_cluster_resource_quota_for_all_namespaces_with_http_info(**kwargs) + (data) = self.list_applied_cluster_resource_quota_for_all_namespaces_with_http_info(**kwargs) return data - def list_quota_openshift_io_v1_applied_cluster_resource_quota_for_all_namespaces_with_http_info(self, **kwargs): + def list_applied_cluster_resource_quota_for_all_namespaces_with_http_info(self, **kwargs): """ list objects of kind AppliedClusterResourceQuota This method makes a synchronous HTTP request by default. To make an @@ -531,14 +540,15 @@ def list_quota_openshift_io_v1_applied_cluster_resource_quota_for_all_namespaces >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.list_quota_openshift_io_v1_applied_cluster_resource_quota_for_all_namespaces_with_http_info(callback=callback_function) + >>> thread = api.list_applied_cluster_resource_quota_for_all_namespaces_with_http_info(callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param bool include_uninitialized: If true, partially initialized resources are included in the response. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. :param str pretty: If 'true', then the output is pretty printed. - :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. + :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. :param int timeout_seconds: Timeout for the list/watch call. :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. :return: V1AppliedClusterResourceQuotaList @@ -546,7 +556,7 @@ def list_quota_openshift_io_v1_applied_cluster_resource_quota_for_all_namespaces returns the request thread. """ - all_params = ['field_selector', 'label_selector', 'pretty', 'resource_version', 'timeout_seconds', 'watch'] + all_params = ['field_selector', 'include_uninitialized', 'label_selector', 'pretty', 'resource_version', 'timeout_seconds', 'watch'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -557,7 +567,7 @@ def list_quota_openshift_io_v1_applied_cluster_resource_quota_for_all_namespaces if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method list_quota_openshift_io_v1_applied_cluster_resource_quota_for_all_namespaces" % key + " to method list_applied_cluster_resource_quota_for_all_namespaces" % key ) params[key] = val del params['kwargs'] @@ -571,6 +581,8 @@ def list_quota_openshift_io_v1_applied_cluster_resource_quota_for_all_namespaces query_params = {} if 'field_selector' in params: query_params['fieldSelector'] = params['field_selector'] + if 'include_uninitialized' in params: + query_params['includeUninitialized'] = params['include_uninitialized'] if 'label_selector' in params: query_params['labelSelector'] = params['label_selector'] if 'pretty' in params: @@ -597,7 +609,7 @@ def list_quota_openshift_io_v1_applied_cluster_resource_quota_for_all_namespaces select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -614,7 +626,7 @@ def list_quota_openshift_io_v1_applied_cluster_resource_quota_for_all_namespaces _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def list_quota_openshift_io_v1_cluster_resource_quota(self, **kwargs): + def list_cluster_resource_quota(self, **kwargs): """ list or watch objects of kind ClusterResourceQuota This method makes a synchronous HTTP request by default. To make an @@ -623,14 +635,15 @@ def list_quota_openshift_io_v1_cluster_resource_quota(self, **kwargs): >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.list_quota_openshift_io_v1_cluster_resource_quota(callback=callback_function) + >>> thread = api.list_cluster_resource_quota(callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param str pretty: If 'true', then the output is pretty printed. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param bool include_uninitialized: If true, partially initialized resources are included in the response. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. - :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. + :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. :param int timeout_seconds: Timeout for the list/watch call. :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. :return: V1ClusterResourceQuotaList @@ -639,12 +652,12 @@ def list_quota_openshift_io_v1_cluster_resource_quota(self, **kwargs): """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.list_quota_openshift_io_v1_cluster_resource_quota_with_http_info(**kwargs) + return self.list_cluster_resource_quota_with_http_info(**kwargs) else: - (data) = self.list_quota_openshift_io_v1_cluster_resource_quota_with_http_info(**kwargs) + (data) = self.list_cluster_resource_quota_with_http_info(**kwargs) return data - def list_quota_openshift_io_v1_cluster_resource_quota_with_http_info(self, **kwargs): + def list_cluster_resource_quota_with_http_info(self, **kwargs): """ list or watch objects of kind ClusterResourceQuota This method makes a synchronous HTTP request by default. To make an @@ -653,14 +666,15 @@ def list_quota_openshift_io_v1_cluster_resource_quota_with_http_info(self, **kwa >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.list_quota_openshift_io_v1_cluster_resource_quota_with_http_info(callback=callback_function) + >>> thread = api.list_cluster_resource_quota_with_http_info(callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param str pretty: If 'true', then the output is pretty printed. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param bool include_uninitialized: If true, partially initialized resources are included in the response. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. - :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. + :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. :param int timeout_seconds: Timeout for the list/watch call. :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. :return: V1ClusterResourceQuotaList @@ -668,7 +682,7 @@ def list_quota_openshift_io_v1_cluster_resource_quota_with_http_info(self, **kwa returns the request thread. """ - all_params = ['pretty', 'field_selector', 'label_selector', 'resource_version', 'timeout_seconds', 'watch'] + all_params = ['pretty', 'field_selector', 'include_uninitialized', 'label_selector', 'resource_version', 'timeout_seconds', 'watch'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -679,7 +693,7 @@ def list_quota_openshift_io_v1_cluster_resource_quota_with_http_info(self, **kwa if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method list_quota_openshift_io_v1_cluster_resource_quota" % key + " to method list_cluster_resource_quota" % key ) params[key] = val del params['kwargs'] @@ -695,6 +709,8 @@ def list_quota_openshift_io_v1_cluster_resource_quota_with_http_info(self, **kwa query_params['pretty'] = params['pretty'] if 'field_selector' in params: query_params['fieldSelector'] = params['field_selector'] + if 'include_uninitialized' in params: + query_params['includeUninitialized'] = params['include_uninitialized'] if 'label_selector' in params: query_params['labelSelector'] = params['label_selector'] if 'resource_version' in params: @@ -719,7 +735,7 @@ def list_quota_openshift_io_v1_cluster_resource_quota_with_http_info(self, **kwa select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -736,7 +752,7 @@ def list_quota_openshift_io_v1_cluster_resource_quota_with_http_info(self, **kwa _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def list_quota_openshift_io_v1_namespaced_applied_cluster_resource_quota(self, namespace, **kwargs): + def list_namespaced_applied_cluster_resource_quota(self, namespace, **kwargs): """ list objects of kind AppliedClusterResourceQuota This method makes a synchronous HTTP request by default. To make an @@ -745,15 +761,16 @@ def list_quota_openshift_io_v1_namespaced_applied_cluster_resource_quota(self, n >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.list_quota_openshift_io_v1_namespaced_applied_cluster_resource_quota(namespace, callback=callback_function) + >>> thread = api.list_namespaced_applied_cluster_resource_quota(namespace, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param str namespace: object name and auth scope, such as for teams and projects (required) :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param bool include_uninitialized: If true, partially initialized resources are included in the response. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. :param str pretty: If 'true', then the output is pretty printed. - :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. + :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. :param int timeout_seconds: Timeout for the list/watch call. :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. :return: V1AppliedClusterResourceQuotaList @@ -762,12 +779,12 @@ def list_quota_openshift_io_v1_namespaced_applied_cluster_resource_quota(self, n """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.list_quota_openshift_io_v1_namespaced_applied_cluster_resource_quota_with_http_info(namespace, **kwargs) + return self.list_namespaced_applied_cluster_resource_quota_with_http_info(namespace, **kwargs) else: - (data) = self.list_quota_openshift_io_v1_namespaced_applied_cluster_resource_quota_with_http_info(namespace, **kwargs) + (data) = self.list_namespaced_applied_cluster_resource_quota_with_http_info(namespace, **kwargs) return data - def list_quota_openshift_io_v1_namespaced_applied_cluster_resource_quota_with_http_info(self, namespace, **kwargs): + def list_namespaced_applied_cluster_resource_quota_with_http_info(self, namespace, **kwargs): """ list objects of kind AppliedClusterResourceQuota This method makes a synchronous HTTP request by default. To make an @@ -776,15 +793,16 @@ def list_quota_openshift_io_v1_namespaced_applied_cluster_resource_quota_with_ht >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.list_quota_openshift_io_v1_namespaced_applied_cluster_resource_quota_with_http_info(namespace, callback=callback_function) + >>> thread = api.list_namespaced_applied_cluster_resource_quota_with_http_info(namespace, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param str namespace: object name and auth scope, such as for teams and projects (required) :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param bool include_uninitialized: If true, partially initialized resources are included in the response. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. :param str pretty: If 'true', then the output is pretty printed. - :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. + :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. :param int timeout_seconds: Timeout for the list/watch call. :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. :return: V1AppliedClusterResourceQuotaList @@ -792,7 +810,7 @@ def list_quota_openshift_io_v1_namespaced_applied_cluster_resource_quota_with_ht returns the request thread. """ - all_params = ['namespace', 'field_selector', 'label_selector', 'pretty', 'resource_version', 'timeout_seconds', 'watch'] + all_params = ['namespace', 'field_selector', 'include_uninitialized', 'label_selector', 'pretty', 'resource_version', 'timeout_seconds', 'watch'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -803,13 +821,13 @@ def list_quota_openshift_io_v1_namespaced_applied_cluster_resource_quota_with_ht if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method list_quota_openshift_io_v1_namespaced_applied_cluster_resource_quota" % key + " to method list_namespaced_applied_cluster_resource_quota" % key ) params[key] = val del params['kwargs'] # verify the required parameter 'namespace' is set if ('namespace' not in params) or (params['namespace'] is None): - raise ValueError("Missing the required parameter `namespace` when calling `list_quota_openshift_io_v1_namespaced_applied_cluster_resource_quota`") + raise ValueError("Missing the required parameter `namespace` when calling `list_namespaced_applied_cluster_resource_quota`") collection_formats = {} @@ -822,6 +840,8 @@ def list_quota_openshift_io_v1_namespaced_applied_cluster_resource_quota_with_ht query_params = {} if 'field_selector' in params: query_params['fieldSelector'] = params['field_selector'] + if 'include_uninitialized' in params: + query_params['includeUninitialized'] = params['include_uninitialized'] if 'label_selector' in params: query_params['labelSelector'] = params['label_selector'] if 'pretty' in params: @@ -848,7 +868,7 @@ def list_quota_openshift_io_v1_namespaced_applied_cluster_resource_quota_with_ht select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -865,7 +885,7 @@ def list_quota_openshift_io_v1_namespaced_applied_cluster_resource_quota_with_ht _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def patch_quota_openshift_io_v1_cluster_resource_quota(self, name, body, **kwargs): + def patch_cluster_resource_quota(self, name, body, **kwargs): """ partially update the specified ClusterResourceQuota This method makes a synchronous HTTP request by default. To make an @@ -874,12 +894,12 @@ def patch_quota_openshift_io_v1_cluster_resource_quota(self, name, body, **kwarg >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.patch_quota_openshift_io_v1_cluster_resource_quota(name, body, callback=callback_function) + >>> thread = api.patch_cluster_resource_quota(name, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param str name: name of the ClusterResourceQuota (required) - :param UnversionedPatch body: (required) + :param object body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1ClusterResourceQuota If the method is called asynchronously, @@ -887,12 +907,12 @@ def patch_quota_openshift_io_v1_cluster_resource_quota(self, name, body, **kwarg """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.patch_quota_openshift_io_v1_cluster_resource_quota_with_http_info(name, body, **kwargs) + return self.patch_cluster_resource_quota_with_http_info(name, body, **kwargs) else: - (data) = self.patch_quota_openshift_io_v1_cluster_resource_quota_with_http_info(name, body, **kwargs) + (data) = self.patch_cluster_resource_quota_with_http_info(name, body, **kwargs) return data - def patch_quota_openshift_io_v1_cluster_resource_quota_with_http_info(self, name, body, **kwargs): + def patch_cluster_resource_quota_with_http_info(self, name, body, **kwargs): """ partially update the specified ClusterResourceQuota This method makes a synchronous HTTP request by default. To make an @@ -901,12 +921,12 @@ def patch_quota_openshift_io_v1_cluster_resource_quota_with_http_info(self, name >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.patch_quota_openshift_io_v1_cluster_resource_quota_with_http_info(name, body, callback=callback_function) + >>> thread = api.patch_cluster_resource_quota_with_http_info(name, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param str name: name of the ClusterResourceQuota (required) - :param UnversionedPatch body: (required) + :param object body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1ClusterResourceQuota If the method is called asynchronously, @@ -924,16 +944,16 @@ def patch_quota_openshift_io_v1_cluster_resource_quota_with_http_info(self, name if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method patch_quota_openshift_io_v1_cluster_resource_quota" % key + " to method patch_cluster_resource_quota" % key ) params[key] = val del params['kwargs'] # verify the required parameter 'name' is set if ('name' not in params) or (params['name'] is None): - raise ValueError("Missing the required parameter `name` when calling `patch_quota_openshift_io_v1_cluster_resource_quota`") + raise ValueError("Missing the required parameter `name` when calling `patch_cluster_resource_quota`") # verify the required parameter 'body' is set if ('body' not in params) or (params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `patch_quota_openshift_io_v1_cluster_resource_quota`") + raise ValueError("Missing the required parameter `body` when calling `patch_cluster_resource_quota`") collection_formats = {} @@ -964,7 +984,7 @@ def patch_quota_openshift_io_v1_cluster_resource_quota_with_http_info(self, name select_header_content_type(['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'PATCH', path_params, @@ -981,7 +1001,7 @@ def patch_quota_openshift_io_v1_cluster_resource_quota_with_http_info(self, name _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def patch_quota_openshift_io_v1_cluster_resource_quota_status(self, name, body, **kwargs): + def patch_cluster_resource_quota_status(self, name, body, **kwargs): """ partially update status of the specified ClusterResourceQuota This method makes a synchronous HTTP request by default. To make an @@ -990,12 +1010,12 @@ def patch_quota_openshift_io_v1_cluster_resource_quota_status(self, name, body, >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.patch_quota_openshift_io_v1_cluster_resource_quota_status(name, body, callback=callback_function) + >>> thread = api.patch_cluster_resource_quota_status(name, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param str name: name of the ClusterResourceQuota (required) - :param UnversionedPatch body: (required) + :param object body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1ClusterResourceQuota If the method is called asynchronously, @@ -1003,12 +1023,12 @@ def patch_quota_openshift_io_v1_cluster_resource_quota_status(self, name, body, """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.patch_quota_openshift_io_v1_cluster_resource_quota_status_with_http_info(name, body, **kwargs) + return self.patch_cluster_resource_quota_status_with_http_info(name, body, **kwargs) else: - (data) = self.patch_quota_openshift_io_v1_cluster_resource_quota_status_with_http_info(name, body, **kwargs) + (data) = self.patch_cluster_resource_quota_status_with_http_info(name, body, **kwargs) return data - def patch_quota_openshift_io_v1_cluster_resource_quota_status_with_http_info(self, name, body, **kwargs): + def patch_cluster_resource_quota_status_with_http_info(self, name, body, **kwargs): """ partially update status of the specified ClusterResourceQuota This method makes a synchronous HTTP request by default. To make an @@ -1017,12 +1037,12 @@ def patch_quota_openshift_io_v1_cluster_resource_quota_status_with_http_info(sel >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.patch_quota_openshift_io_v1_cluster_resource_quota_status_with_http_info(name, body, callback=callback_function) + >>> thread = api.patch_cluster_resource_quota_status_with_http_info(name, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param str name: name of the ClusterResourceQuota (required) - :param UnversionedPatch body: (required) + :param object body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1ClusterResourceQuota If the method is called asynchronously, @@ -1040,16 +1060,16 @@ def patch_quota_openshift_io_v1_cluster_resource_quota_status_with_http_info(sel if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method patch_quota_openshift_io_v1_cluster_resource_quota_status" % key + " to method patch_cluster_resource_quota_status" % key ) params[key] = val del params['kwargs'] # verify the required parameter 'name' is set if ('name' not in params) or (params['name'] is None): - raise ValueError("Missing the required parameter `name` when calling `patch_quota_openshift_io_v1_cluster_resource_quota_status`") + raise ValueError("Missing the required parameter `name` when calling `patch_cluster_resource_quota_status`") # verify the required parameter 'body' is set if ('body' not in params) or (params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `patch_quota_openshift_io_v1_cluster_resource_quota_status`") + raise ValueError("Missing the required parameter `body` when calling `patch_cluster_resource_quota_status`") collection_formats = {} @@ -1080,7 +1100,7 @@ def patch_quota_openshift_io_v1_cluster_resource_quota_status_with_http_info(sel select_header_content_type(['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'PATCH', path_params, @@ -1097,7 +1117,7 @@ def patch_quota_openshift_io_v1_cluster_resource_quota_status_with_http_info(sel _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def read_quota_openshift_io_v1_cluster_resource_quota(self, name, **kwargs): + def read_cluster_resource_quota(self, name, **kwargs): """ read the specified ClusterResourceQuota This method makes a synchronous HTTP request by default. To make an @@ -1106,13 +1126,13 @@ def read_quota_openshift_io_v1_cluster_resource_quota(self, name, **kwargs): >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.read_quota_openshift_io_v1_cluster_resource_quota(name, callback=callback_function) + >>> thread = api.read_cluster_resource_quota(name, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param str name: name of the ClusterResourceQuota (required) :param str pretty: If 'true', then the output is pretty printed. - :param bool exact: Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace' + :param bool exact: Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. :param bool export: Should this value be exported. Export strips fields that a user can not specify. :return: V1ClusterResourceQuota If the method is called asynchronously, @@ -1120,12 +1140,12 @@ def read_quota_openshift_io_v1_cluster_resource_quota(self, name, **kwargs): """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.read_quota_openshift_io_v1_cluster_resource_quota_with_http_info(name, **kwargs) + return self.read_cluster_resource_quota_with_http_info(name, **kwargs) else: - (data) = self.read_quota_openshift_io_v1_cluster_resource_quota_with_http_info(name, **kwargs) + (data) = self.read_cluster_resource_quota_with_http_info(name, **kwargs) return data - def read_quota_openshift_io_v1_cluster_resource_quota_with_http_info(self, name, **kwargs): + def read_cluster_resource_quota_with_http_info(self, name, **kwargs): """ read the specified ClusterResourceQuota This method makes a synchronous HTTP request by default. To make an @@ -1134,13 +1154,13 @@ def read_quota_openshift_io_v1_cluster_resource_quota_with_http_info(self, name, >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.read_quota_openshift_io_v1_cluster_resource_quota_with_http_info(name, callback=callback_function) + >>> thread = api.read_cluster_resource_quota_with_http_info(name, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param str name: name of the ClusterResourceQuota (required) :param str pretty: If 'true', then the output is pretty printed. - :param bool exact: Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace' + :param bool exact: Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. :param bool export: Should this value be exported. Export strips fields that a user can not specify. :return: V1ClusterResourceQuota If the method is called asynchronously, @@ -1158,13 +1178,13 @@ def read_quota_openshift_io_v1_cluster_resource_quota_with_http_info(self, name, if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method read_quota_openshift_io_v1_cluster_resource_quota" % key + " to method read_cluster_resource_quota" % key ) params[key] = val del params['kwargs'] # verify the required parameter 'name' is set if ('name' not in params) or (params['name'] is None): - raise ValueError("Missing the required parameter `name` when calling `read_quota_openshift_io_v1_cluster_resource_quota`") + raise ValueError("Missing the required parameter `name` when calling `read_cluster_resource_quota`") collection_formats = {} @@ -1197,7 +1217,7 @@ def read_quota_openshift_io_v1_cluster_resource_quota_with_http_info(self, name, select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -1214,7 +1234,7 @@ def read_quota_openshift_io_v1_cluster_resource_quota_with_http_info(self, name, _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def read_quota_openshift_io_v1_cluster_resource_quota_status(self, name, **kwargs): + def read_cluster_resource_quota_status(self, name, **kwargs): """ read status of the specified ClusterResourceQuota This method makes a synchronous HTTP request by default. To make an @@ -1223,7 +1243,7 @@ def read_quota_openshift_io_v1_cluster_resource_quota_status(self, name, **kwarg >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.read_quota_openshift_io_v1_cluster_resource_quota_status(name, callback=callback_function) + >>> thread = api.read_cluster_resource_quota_status(name, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) @@ -1235,12 +1255,12 @@ def read_quota_openshift_io_v1_cluster_resource_quota_status(self, name, **kwarg """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.read_quota_openshift_io_v1_cluster_resource_quota_status_with_http_info(name, **kwargs) + return self.read_cluster_resource_quota_status_with_http_info(name, **kwargs) else: - (data) = self.read_quota_openshift_io_v1_cluster_resource_quota_status_with_http_info(name, **kwargs) + (data) = self.read_cluster_resource_quota_status_with_http_info(name, **kwargs) return data - def read_quota_openshift_io_v1_cluster_resource_quota_status_with_http_info(self, name, **kwargs): + def read_cluster_resource_quota_status_with_http_info(self, name, **kwargs): """ read status of the specified ClusterResourceQuota This method makes a synchronous HTTP request by default. To make an @@ -1249,7 +1269,7 @@ def read_quota_openshift_io_v1_cluster_resource_quota_status_with_http_info(self >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.read_quota_openshift_io_v1_cluster_resource_quota_status_with_http_info(name, callback=callback_function) + >>> thread = api.read_cluster_resource_quota_status_with_http_info(name, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) @@ -1271,13 +1291,13 @@ def read_quota_openshift_io_v1_cluster_resource_quota_status_with_http_info(self if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method read_quota_openshift_io_v1_cluster_resource_quota_status" % key + " to method read_cluster_resource_quota_status" % key ) params[key] = val del params['kwargs'] # verify the required parameter 'name' is set if ('name' not in params) or (params['name'] is None): - raise ValueError("Missing the required parameter `name` when calling `read_quota_openshift_io_v1_cluster_resource_quota_status`") + raise ValueError("Missing the required parameter `name` when calling `read_cluster_resource_quota_status`") collection_formats = {} @@ -1306,7 +1326,7 @@ def read_quota_openshift_io_v1_cluster_resource_quota_status_with_http_info(self select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -1323,7 +1343,7 @@ def read_quota_openshift_io_v1_cluster_resource_quota_status_with_http_info(self _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def read_quota_openshift_io_v1_namespaced_applied_cluster_resource_quota(self, name, namespace, **kwargs): + def read_namespaced_applied_cluster_resource_quota(self, name, namespace, **kwargs): """ read the specified AppliedClusterResourceQuota This method makes a synchronous HTTP request by default. To make an @@ -1332,7 +1352,7 @@ def read_quota_openshift_io_v1_namespaced_applied_cluster_resource_quota(self, n >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.read_quota_openshift_io_v1_namespaced_applied_cluster_resource_quota(name, namespace, callback=callback_function) + >>> thread = api.read_namespaced_applied_cluster_resource_quota(name, namespace, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) @@ -1345,12 +1365,12 @@ def read_quota_openshift_io_v1_namespaced_applied_cluster_resource_quota(self, n """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.read_quota_openshift_io_v1_namespaced_applied_cluster_resource_quota_with_http_info(name, namespace, **kwargs) + return self.read_namespaced_applied_cluster_resource_quota_with_http_info(name, namespace, **kwargs) else: - (data) = self.read_quota_openshift_io_v1_namespaced_applied_cluster_resource_quota_with_http_info(name, namespace, **kwargs) + (data) = self.read_namespaced_applied_cluster_resource_quota_with_http_info(name, namespace, **kwargs) return data - def read_quota_openshift_io_v1_namespaced_applied_cluster_resource_quota_with_http_info(self, name, namespace, **kwargs): + def read_namespaced_applied_cluster_resource_quota_with_http_info(self, name, namespace, **kwargs): """ read the specified AppliedClusterResourceQuota This method makes a synchronous HTTP request by default. To make an @@ -1359,7 +1379,7 @@ def read_quota_openshift_io_v1_namespaced_applied_cluster_resource_quota_with_ht >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.read_quota_openshift_io_v1_namespaced_applied_cluster_resource_quota_with_http_info(name, namespace, callback=callback_function) + >>> thread = api.read_namespaced_applied_cluster_resource_quota_with_http_info(name, namespace, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) @@ -1382,16 +1402,16 @@ def read_quota_openshift_io_v1_namespaced_applied_cluster_resource_quota_with_ht if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method read_quota_openshift_io_v1_namespaced_applied_cluster_resource_quota" % key + " to method read_namespaced_applied_cluster_resource_quota" % key ) params[key] = val del params['kwargs'] # verify the required parameter 'name' is set if ('name' not in params) or (params['name'] is None): - raise ValueError("Missing the required parameter `name` when calling `read_quota_openshift_io_v1_namespaced_applied_cluster_resource_quota`") + raise ValueError("Missing the required parameter `name` when calling `read_namespaced_applied_cluster_resource_quota`") # verify the required parameter 'namespace' is set if ('namespace' not in params) or (params['namespace'] is None): - raise ValueError("Missing the required parameter `namespace` when calling `read_quota_openshift_io_v1_namespaced_applied_cluster_resource_quota`") + raise ValueError("Missing the required parameter `namespace` when calling `read_namespaced_applied_cluster_resource_quota`") collection_formats = {} @@ -1422,7 +1442,7 @@ def read_quota_openshift_io_v1_namespaced_applied_cluster_resource_quota_with_ht select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -1439,7 +1459,7 @@ def read_quota_openshift_io_v1_namespaced_applied_cluster_resource_quota_with_ht _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def replace_quota_openshift_io_v1_cluster_resource_quota(self, name, body, **kwargs): + def replace_cluster_resource_quota(self, name, body, **kwargs): """ replace the specified ClusterResourceQuota This method makes a synchronous HTTP request by default. To make an @@ -1448,7 +1468,7 @@ def replace_quota_openshift_io_v1_cluster_resource_quota(self, name, body, **kwa >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.replace_quota_openshift_io_v1_cluster_resource_quota(name, body, callback=callback_function) + >>> thread = api.replace_cluster_resource_quota(name, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) @@ -1461,12 +1481,12 @@ def replace_quota_openshift_io_v1_cluster_resource_quota(self, name, body, **kwa """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.replace_quota_openshift_io_v1_cluster_resource_quota_with_http_info(name, body, **kwargs) + return self.replace_cluster_resource_quota_with_http_info(name, body, **kwargs) else: - (data) = self.replace_quota_openshift_io_v1_cluster_resource_quota_with_http_info(name, body, **kwargs) + (data) = self.replace_cluster_resource_quota_with_http_info(name, body, **kwargs) return data - def replace_quota_openshift_io_v1_cluster_resource_quota_with_http_info(self, name, body, **kwargs): + def replace_cluster_resource_quota_with_http_info(self, name, body, **kwargs): """ replace the specified ClusterResourceQuota This method makes a synchronous HTTP request by default. To make an @@ -1475,7 +1495,7 @@ def replace_quota_openshift_io_v1_cluster_resource_quota_with_http_info(self, na >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.replace_quota_openshift_io_v1_cluster_resource_quota_with_http_info(name, body, callback=callback_function) + >>> thread = api.replace_cluster_resource_quota_with_http_info(name, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) @@ -1498,16 +1518,16 @@ def replace_quota_openshift_io_v1_cluster_resource_quota_with_http_info(self, na if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method replace_quota_openshift_io_v1_cluster_resource_quota" % key + " to method replace_cluster_resource_quota" % key ) params[key] = val del params['kwargs'] # verify the required parameter 'name' is set if ('name' not in params) or (params['name'] is None): - raise ValueError("Missing the required parameter `name` when calling `replace_quota_openshift_io_v1_cluster_resource_quota`") + raise ValueError("Missing the required parameter `name` when calling `replace_cluster_resource_quota`") # verify the required parameter 'body' is set if ('body' not in params) or (params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `replace_quota_openshift_io_v1_cluster_resource_quota`") + raise ValueError("Missing the required parameter `body` when calling `replace_cluster_resource_quota`") collection_formats = {} @@ -1538,7 +1558,7 @@ def replace_quota_openshift_io_v1_cluster_resource_quota_with_http_info(self, na select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'PUT', path_params, @@ -1555,7 +1575,7 @@ def replace_quota_openshift_io_v1_cluster_resource_quota_with_http_info(self, na _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def replace_quota_openshift_io_v1_cluster_resource_quota_status(self, name, body, **kwargs): + def replace_cluster_resource_quota_status(self, name, body, **kwargs): """ replace status of the specified ClusterResourceQuota This method makes a synchronous HTTP request by default. To make an @@ -1564,7 +1584,7 @@ def replace_quota_openshift_io_v1_cluster_resource_quota_status(self, name, body >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.replace_quota_openshift_io_v1_cluster_resource_quota_status(name, body, callback=callback_function) + >>> thread = api.replace_cluster_resource_quota_status(name, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) @@ -1577,12 +1597,12 @@ def replace_quota_openshift_io_v1_cluster_resource_quota_status(self, name, body """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.replace_quota_openshift_io_v1_cluster_resource_quota_status_with_http_info(name, body, **kwargs) + return self.replace_cluster_resource_quota_status_with_http_info(name, body, **kwargs) else: - (data) = self.replace_quota_openshift_io_v1_cluster_resource_quota_status_with_http_info(name, body, **kwargs) + (data) = self.replace_cluster_resource_quota_status_with_http_info(name, body, **kwargs) return data - def replace_quota_openshift_io_v1_cluster_resource_quota_status_with_http_info(self, name, body, **kwargs): + def replace_cluster_resource_quota_status_with_http_info(self, name, body, **kwargs): """ replace status of the specified ClusterResourceQuota This method makes a synchronous HTTP request by default. To make an @@ -1591,7 +1611,7 @@ def replace_quota_openshift_io_v1_cluster_resource_quota_status_with_http_info(s >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.replace_quota_openshift_io_v1_cluster_resource_quota_status_with_http_info(name, body, callback=callback_function) + >>> thread = api.replace_cluster_resource_quota_status_with_http_info(name, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) @@ -1614,16 +1634,16 @@ def replace_quota_openshift_io_v1_cluster_resource_quota_status_with_http_info(s if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method replace_quota_openshift_io_v1_cluster_resource_quota_status" % key + " to method replace_cluster_resource_quota_status" % key ) params[key] = val del params['kwargs'] # verify the required parameter 'name' is set if ('name' not in params) or (params['name'] is None): - raise ValueError("Missing the required parameter `name` when calling `replace_quota_openshift_io_v1_cluster_resource_quota_status`") + raise ValueError("Missing the required parameter `name` when calling `replace_cluster_resource_quota_status`") # verify the required parameter 'body' is set if ('body' not in params) or (params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `replace_quota_openshift_io_v1_cluster_resource_quota_status`") + raise ValueError("Missing the required parameter `body` when calling `replace_cluster_resource_quota_status`") collection_formats = {} @@ -1654,7 +1674,7 @@ def replace_quota_openshift_io_v1_cluster_resource_quota_status_with_http_info(s select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'PUT', path_params, diff --git a/openshift/client/apis/route_openshift_io_api.py b/openshift/client/apis/route_openshift_io_api.py index 2ad860fe..f82a2f30 100644 --- a/openshift/client/apis/route_openshift_io_api.py +++ b/openshift/client/apis/route_openshift_io_api.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -40,7 +40,7 @@ def __init__(self, api_client=None): config.api_client = ApiClient() self.api_client = config.api_client - def get_route_openshift_io_api_group(self, **kwargs): + def get_api_group(self, **kwargs): """ get information of a group This method makes a synchronous HTTP request by default. To make an @@ -49,22 +49,22 @@ def get_route_openshift_io_api_group(self, **kwargs): >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.get_route_openshift_io_api_group(callback=callback_function) + >>> thread = api.get_api_group(callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) - :return: UnversionedAPIGroup + :return: V1APIGroup If the method is called asynchronously, returns the request thread. """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.get_route_openshift_io_api_group_with_http_info(**kwargs) + return self.get_api_group_with_http_info(**kwargs) else: - (data) = self.get_route_openshift_io_api_group_with_http_info(**kwargs) + (data) = self.get_api_group_with_http_info(**kwargs) return data - def get_route_openshift_io_api_group_with_http_info(self, **kwargs): + def get_api_group_with_http_info(self, **kwargs): """ get information of a group This method makes a synchronous HTTP request by default. To make an @@ -73,11 +73,11 @@ def get_route_openshift_io_api_group_with_http_info(self, **kwargs): >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.get_route_openshift_io_api_group_with_http_info(callback=callback_function) + >>> thread = api.get_api_group_with_http_info(callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) - :return: UnversionedAPIGroup + :return: V1APIGroup If the method is called asynchronously, returns the request thread. """ @@ -93,7 +93,7 @@ def get_route_openshift_io_api_group_with_http_info(self, **kwargs): if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method get_route_openshift_io_api_group" % key + " to method get_api_group" % key ) params[key] = val del params['kwargs'] @@ -120,7 +120,7 @@ def get_route_openshift_io_api_group_with_http_info(self, **kwargs): select_header_content_type(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -129,7 +129,7 @@ def get_route_openshift_io_api_group_with_http_info(self, **kwargs): body=body_params, post_params=form_params, files=local_var_files, - response_type='UnversionedAPIGroup', + response_type='V1APIGroup', auth_settings=auth_settings, callback=params.get('callback'), _return_http_data_only=params.get('_return_http_data_only'), diff --git a/openshift/client/apis/route_openshift_io_v1_api.py b/openshift/client/apis/route_openshift_io_v1_api.py index 8e77fe5c..c0c41b3a 100644 --- a/openshift/client/apis/route_openshift_io_v1_api.py +++ b/openshift/client/apis/route_openshift_io_v1_api.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -40,7 +40,7 @@ def __init__(self, api_client=None): config.api_client = ApiClient() self.api_client = config.api_client - def create_route_openshift_io_v1_namespaced_route(self, namespace, body, **kwargs): + def create_namespaced_route(self, namespace, body, **kwargs): """ create a Route This method makes a synchronous HTTP request by default. To make an @@ -49,7 +49,7 @@ def create_route_openshift_io_v1_namespaced_route(self, namespace, body, **kwarg >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.create_route_openshift_io_v1_namespaced_route(namespace, body, callback=callback_function) + >>> thread = api.create_namespaced_route(namespace, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) @@ -62,12 +62,12 @@ def create_route_openshift_io_v1_namespaced_route(self, namespace, body, **kwarg """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.create_route_openshift_io_v1_namespaced_route_with_http_info(namespace, body, **kwargs) + return self.create_namespaced_route_with_http_info(namespace, body, **kwargs) else: - (data) = self.create_route_openshift_io_v1_namespaced_route_with_http_info(namespace, body, **kwargs) + (data) = self.create_namespaced_route_with_http_info(namespace, body, **kwargs) return data - def create_route_openshift_io_v1_namespaced_route_with_http_info(self, namespace, body, **kwargs): + def create_namespaced_route_with_http_info(self, namespace, body, **kwargs): """ create a Route This method makes a synchronous HTTP request by default. To make an @@ -76,7 +76,7 @@ def create_route_openshift_io_v1_namespaced_route_with_http_info(self, namespace >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.create_route_openshift_io_v1_namespaced_route_with_http_info(namespace, body, callback=callback_function) + >>> thread = api.create_namespaced_route_with_http_info(namespace, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) @@ -99,16 +99,16 @@ def create_route_openshift_io_v1_namespaced_route_with_http_info(self, namespace if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method create_route_openshift_io_v1_namespaced_route" % key + " to method create_namespaced_route" % key ) params[key] = val del params['kwargs'] # verify the required parameter 'namespace' is set if ('namespace' not in params) or (params['namespace'] is None): - raise ValueError("Missing the required parameter `namespace` when calling `create_route_openshift_io_v1_namespaced_route`") + raise ValueError("Missing the required parameter `namespace` when calling `create_namespaced_route`") # verify the required parameter 'body' is set if ('body' not in params) or (params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `create_route_openshift_io_v1_namespaced_route`") + raise ValueError("Missing the required parameter `body` when calling `create_namespaced_route`") collection_formats = {} @@ -139,7 +139,7 @@ def create_route_openshift_io_v1_namespaced_route_with_http_info(self, namespace select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'POST', path_params, @@ -156,7 +156,7 @@ def create_route_openshift_io_v1_namespaced_route_with_http_info(self, namespace _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def create_route_openshift_io_v1_route_for_all_namespaces(self, body, **kwargs): + def create_route_for_all_namespaces(self, body, **kwargs): """ create a Route This method makes a synchronous HTTP request by default. To make an @@ -165,7 +165,7 @@ def create_route_openshift_io_v1_route_for_all_namespaces(self, body, **kwargs): >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.create_route_openshift_io_v1_route_for_all_namespaces(body, callback=callback_function) + >>> thread = api.create_route_for_all_namespaces(body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) @@ -177,12 +177,12 @@ def create_route_openshift_io_v1_route_for_all_namespaces(self, body, **kwargs): """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.create_route_openshift_io_v1_route_for_all_namespaces_with_http_info(body, **kwargs) + return self.create_route_for_all_namespaces_with_http_info(body, **kwargs) else: - (data) = self.create_route_openshift_io_v1_route_for_all_namespaces_with_http_info(body, **kwargs) + (data) = self.create_route_for_all_namespaces_with_http_info(body, **kwargs) return data - def create_route_openshift_io_v1_route_for_all_namespaces_with_http_info(self, body, **kwargs): + def create_route_for_all_namespaces_with_http_info(self, body, **kwargs): """ create a Route This method makes a synchronous HTTP request by default. To make an @@ -191,7 +191,7 @@ def create_route_openshift_io_v1_route_for_all_namespaces_with_http_info(self, b >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.create_route_openshift_io_v1_route_for_all_namespaces_with_http_info(body, callback=callback_function) + >>> thread = api.create_route_for_all_namespaces_with_http_info(body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) @@ -213,13 +213,13 @@ def create_route_openshift_io_v1_route_for_all_namespaces_with_http_info(self, b if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method create_route_openshift_io_v1_route_for_all_namespaces" % key + " to method create_route_for_all_namespaces" % key ) params[key] = val del params['kwargs'] # verify the required parameter 'body' is set if ('body' not in params) or (params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `create_route_openshift_io_v1_route_for_all_namespaces`") + raise ValueError("Missing the required parameter `body` when calling `create_route_for_all_namespaces`") collection_formats = {} @@ -248,7 +248,7 @@ def create_route_openshift_io_v1_route_for_all_namespaces_with_http_info(self, b select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'POST', path_params, @@ -265,7 +265,7 @@ def create_route_openshift_io_v1_route_for_all_namespaces_with_http_info(self, b _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def delete_route_openshift_io_v1_collection_namespaced_route(self, namespace, **kwargs): + def delete_collection_namespaced_route(self, namespace, **kwargs): """ delete collection of Route This method makes a synchronous HTTP request by default. To make an @@ -274,29 +274,30 @@ def delete_route_openshift_io_v1_collection_namespaced_route(self, namespace, ** >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.delete_route_openshift_io_v1_collection_namespaced_route(namespace, callback=callback_function) + >>> thread = api.delete_collection_namespaced_route(namespace, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param str namespace: object name and auth scope, such as for teams and projects (required) :param str pretty: If 'true', then the output is pretty printed. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param bool include_uninitialized: If true, partially initialized resources are included in the response. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. - :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. + :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. :param int timeout_seconds: Timeout for the list/watch call. :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - :return: UnversionedStatus + :return: V1Status If the method is called asynchronously, returns the request thread. """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.delete_route_openshift_io_v1_collection_namespaced_route_with_http_info(namespace, **kwargs) + return self.delete_collection_namespaced_route_with_http_info(namespace, **kwargs) else: - (data) = self.delete_route_openshift_io_v1_collection_namespaced_route_with_http_info(namespace, **kwargs) + (data) = self.delete_collection_namespaced_route_with_http_info(namespace, **kwargs) return data - def delete_route_openshift_io_v1_collection_namespaced_route_with_http_info(self, namespace, **kwargs): + def delete_collection_namespaced_route_with_http_info(self, namespace, **kwargs): """ delete collection of Route This method makes a synchronous HTTP request by default. To make an @@ -305,23 +306,24 @@ def delete_route_openshift_io_v1_collection_namespaced_route_with_http_info(self >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.delete_route_openshift_io_v1_collection_namespaced_route_with_http_info(namespace, callback=callback_function) + >>> thread = api.delete_collection_namespaced_route_with_http_info(namespace, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param str namespace: object name and auth scope, such as for teams and projects (required) :param str pretty: If 'true', then the output is pretty printed. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param bool include_uninitialized: If true, partially initialized resources are included in the response. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. - :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. + :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. :param int timeout_seconds: Timeout for the list/watch call. :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - :return: UnversionedStatus + :return: V1Status If the method is called asynchronously, returns the request thread. """ - all_params = ['namespace', 'pretty', 'field_selector', 'label_selector', 'resource_version', 'timeout_seconds', 'watch'] + all_params = ['namespace', 'pretty', 'field_selector', 'include_uninitialized', 'label_selector', 'resource_version', 'timeout_seconds', 'watch'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -332,13 +334,13 @@ def delete_route_openshift_io_v1_collection_namespaced_route_with_http_info(self if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method delete_route_openshift_io_v1_collection_namespaced_route" % key + " to method delete_collection_namespaced_route" % key ) params[key] = val del params['kwargs'] # verify the required parameter 'namespace' is set if ('namespace' not in params) or (params['namespace'] is None): - raise ValueError("Missing the required parameter `namespace` when calling `delete_route_openshift_io_v1_collection_namespaced_route`") + raise ValueError("Missing the required parameter `namespace` when calling `delete_collection_namespaced_route`") collection_formats = {} @@ -353,6 +355,8 @@ def delete_route_openshift_io_v1_collection_namespaced_route_with_http_info(self query_params['pretty'] = params['pretty'] if 'field_selector' in params: query_params['fieldSelector'] = params['field_selector'] + if 'include_uninitialized' in params: + query_params['includeUninitialized'] = params['include_uninitialized'] if 'label_selector' in params: query_params['labelSelector'] = params['label_selector'] if 'resource_version' in params: @@ -377,7 +381,7 @@ def delete_route_openshift_io_v1_collection_namespaced_route_with_http_info(self select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'DELETE', path_params, @@ -386,7 +390,7 @@ def delete_route_openshift_io_v1_collection_namespaced_route_with_http_info(self body=body_params, post_params=form_params, files=local_var_files, - response_type='UnversionedStatus', + response_type='V1Status', auth_settings=auth_settings, callback=params.get('callback'), _return_http_data_only=params.get('_return_http_data_only'), @@ -394,7 +398,7 @@ def delete_route_openshift_io_v1_collection_namespaced_route_with_http_info(self _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def delete_route_openshift_io_v1_namespaced_route(self, name, namespace, body, **kwargs): + def delete_namespaced_route(self, name, namespace, body, **kwargs): """ delete a Route This method makes a synchronous HTTP request by default. To make an @@ -403,7 +407,7 @@ def delete_route_openshift_io_v1_namespaced_route(self, name, namespace, body, * >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.delete_route_openshift_io_v1_namespaced_route(name, namespace, body, callback=callback_function) + >>> thread = api.delete_namespaced_route(name, namespace, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) @@ -412,19 +416,20 @@ def delete_route_openshift_io_v1_namespaced_route(self, name, namespace, body, * :param V1DeleteOptions body: (required) :param str pretty: If 'true', then the output is pretty printed. :param int grace_period_seconds: 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. - :param bool orphan_dependents: Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. - :return: UnversionedStatus + :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. + :param str propagation_policy: Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. + :return: V1Status If the method is called asynchronously, returns the request thread. """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.delete_route_openshift_io_v1_namespaced_route_with_http_info(name, namespace, body, **kwargs) + return self.delete_namespaced_route_with_http_info(name, namespace, body, **kwargs) else: - (data) = self.delete_route_openshift_io_v1_namespaced_route_with_http_info(name, namespace, body, **kwargs) + (data) = self.delete_namespaced_route_with_http_info(name, namespace, body, **kwargs) return data - def delete_route_openshift_io_v1_namespaced_route_with_http_info(self, name, namespace, body, **kwargs): + def delete_namespaced_route_with_http_info(self, name, namespace, body, **kwargs): """ delete a Route This method makes a synchronous HTTP request by default. To make an @@ -433,7 +438,7 @@ def delete_route_openshift_io_v1_namespaced_route_with_http_info(self, name, nam >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.delete_route_openshift_io_v1_namespaced_route_with_http_info(name, namespace, body, callback=callback_function) + >>> thread = api.delete_namespaced_route_with_http_info(name, namespace, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) @@ -442,13 +447,14 @@ def delete_route_openshift_io_v1_namespaced_route_with_http_info(self, name, nam :param V1DeleteOptions body: (required) :param str pretty: If 'true', then the output is pretty printed. :param int grace_period_seconds: 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. - :param bool orphan_dependents: Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. - :return: UnversionedStatus + :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. + :param str propagation_policy: Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. + :return: V1Status If the method is called asynchronously, returns the request thread. """ - all_params = ['name', 'namespace', 'body', 'pretty', 'grace_period_seconds', 'orphan_dependents'] + all_params = ['name', 'namespace', 'body', 'pretty', 'grace_period_seconds', 'orphan_dependents', 'propagation_policy'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -459,19 +465,19 @@ def delete_route_openshift_io_v1_namespaced_route_with_http_info(self, name, nam if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method delete_route_openshift_io_v1_namespaced_route" % key + " to method delete_namespaced_route" % key ) params[key] = val del params['kwargs'] # verify the required parameter 'name' is set if ('name' not in params) or (params['name'] is None): - raise ValueError("Missing the required parameter `name` when calling `delete_route_openshift_io_v1_namespaced_route`") + raise ValueError("Missing the required parameter `name` when calling `delete_namespaced_route`") # verify the required parameter 'namespace' is set if ('namespace' not in params) or (params['namespace'] is None): - raise ValueError("Missing the required parameter `namespace` when calling `delete_route_openshift_io_v1_namespaced_route`") + raise ValueError("Missing the required parameter `namespace` when calling `delete_namespaced_route`") # verify the required parameter 'body' is set if ('body' not in params) or (params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `delete_route_openshift_io_v1_namespaced_route`") + raise ValueError("Missing the required parameter `body` when calling `delete_namespaced_route`") collection_formats = {} @@ -490,6 +496,8 @@ def delete_route_openshift_io_v1_namespaced_route_with_http_info(self, name, nam query_params['gracePeriodSeconds'] = params['grace_period_seconds'] if 'orphan_dependents' in params: query_params['orphanDependents'] = params['orphan_dependents'] + if 'propagation_policy' in params: + query_params['propagationPolicy'] = params['propagation_policy'] header_params = {} @@ -508,7 +516,7 @@ def delete_route_openshift_io_v1_namespaced_route_with_http_info(self, name, nam select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'DELETE', path_params, @@ -517,7 +525,7 @@ def delete_route_openshift_io_v1_namespaced_route_with_http_info(self, name, nam body=body_params, post_params=form_params, files=local_var_files, - response_type='UnversionedStatus', + response_type='V1Status', auth_settings=auth_settings, callback=params.get('callback'), _return_http_data_only=params.get('_return_http_data_only'), @@ -525,7 +533,7 @@ def delete_route_openshift_io_v1_namespaced_route_with_http_info(self, name, nam _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def get_route_openshift_io_v1_api_resources(self, **kwargs): + def get_api_resources(self, **kwargs): """ get available resources This method makes a synchronous HTTP request by default. To make an @@ -534,22 +542,22 @@ def get_route_openshift_io_v1_api_resources(self, **kwargs): >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.get_route_openshift_io_v1_api_resources(callback=callback_function) + >>> thread = api.get_api_resources(callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) - :return: UnversionedAPIResourceList + :return: V1APIResourceList If the method is called asynchronously, returns the request thread. """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.get_route_openshift_io_v1_api_resources_with_http_info(**kwargs) + return self.get_api_resources_with_http_info(**kwargs) else: - (data) = self.get_route_openshift_io_v1_api_resources_with_http_info(**kwargs) + (data) = self.get_api_resources_with_http_info(**kwargs) return data - def get_route_openshift_io_v1_api_resources_with_http_info(self, **kwargs): + def get_api_resources_with_http_info(self, **kwargs): """ get available resources This method makes a synchronous HTTP request by default. To make an @@ -558,11 +566,11 @@ def get_route_openshift_io_v1_api_resources_with_http_info(self, **kwargs): >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.get_route_openshift_io_v1_api_resources_with_http_info(callback=callback_function) + >>> thread = api.get_api_resources_with_http_info(callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) - :return: UnversionedAPIResourceList + :return: V1APIResourceList If the method is called asynchronously, returns the request thread. """ @@ -578,7 +586,7 @@ def get_route_openshift_io_v1_api_resources_with_http_info(self, **kwargs): if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method get_route_openshift_io_v1_api_resources" % key + " to method get_api_resources" % key ) params[key] = val del params['kwargs'] @@ -605,7 +613,7 @@ def get_route_openshift_io_v1_api_resources_with_http_info(self, **kwargs): select_header_content_type(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -614,7 +622,7 @@ def get_route_openshift_io_v1_api_resources_with_http_info(self, **kwargs): body=body_params, post_params=form_params, files=local_var_files, - response_type='UnversionedAPIResourceList', + response_type='V1APIResourceList', auth_settings=auth_settings, callback=params.get('callback'), _return_http_data_only=params.get('_return_http_data_only'), @@ -622,7 +630,7 @@ def get_route_openshift_io_v1_api_resources_with_http_info(self, **kwargs): _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def list_route_openshift_io_v1_namespaced_route(self, namespace, **kwargs): + def list_namespaced_route(self, namespace, **kwargs): """ list or watch objects of kind Route This method makes a synchronous HTTP request by default. To make an @@ -631,15 +639,16 @@ def list_route_openshift_io_v1_namespaced_route(self, namespace, **kwargs): >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.list_route_openshift_io_v1_namespaced_route(namespace, callback=callback_function) + >>> thread = api.list_namespaced_route(namespace, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param str namespace: object name and auth scope, such as for teams and projects (required) :param str pretty: If 'true', then the output is pretty printed. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param bool include_uninitialized: If true, partially initialized resources are included in the response. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. - :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. + :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. :param int timeout_seconds: Timeout for the list/watch call. :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. :return: V1RouteList @@ -648,12 +657,12 @@ def list_route_openshift_io_v1_namespaced_route(self, namespace, **kwargs): """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.list_route_openshift_io_v1_namespaced_route_with_http_info(namespace, **kwargs) + return self.list_namespaced_route_with_http_info(namespace, **kwargs) else: - (data) = self.list_route_openshift_io_v1_namespaced_route_with_http_info(namespace, **kwargs) + (data) = self.list_namespaced_route_with_http_info(namespace, **kwargs) return data - def list_route_openshift_io_v1_namespaced_route_with_http_info(self, namespace, **kwargs): + def list_namespaced_route_with_http_info(self, namespace, **kwargs): """ list or watch objects of kind Route This method makes a synchronous HTTP request by default. To make an @@ -662,15 +671,16 @@ def list_route_openshift_io_v1_namespaced_route_with_http_info(self, namespace, >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.list_route_openshift_io_v1_namespaced_route_with_http_info(namespace, callback=callback_function) + >>> thread = api.list_namespaced_route_with_http_info(namespace, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param str namespace: object name and auth scope, such as for teams and projects (required) :param str pretty: If 'true', then the output is pretty printed. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param bool include_uninitialized: If true, partially initialized resources are included in the response. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. - :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. + :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. :param int timeout_seconds: Timeout for the list/watch call. :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. :return: V1RouteList @@ -678,7 +688,7 @@ def list_route_openshift_io_v1_namespaced_route_with_http_info(self, namespace, returns the request thread. """ - all_params = ['namespace', 'pretty', 'field_selector', 'label_selector', 'resource_version', 'timeout_seconds', 'watch'] + all_params = ['namespace', 'pretty', 'field_selector', 'include_uninitialized', 'label_selector', 'resource_version', 'timeout_seconds', 'watch'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -689,13 +699,13 @@ def list_route_openshift_io_v1_namespaced_route_with_http_info(self, namespace, if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method list_route_openshift_io_v1_namespaced_route" % key + " to method list_namespaced_route" % key ) params[key] = val del params['kwargs'] # verify the required parameter 'namespace' is set if ('namespace' not in params) or (params['namespace'] is None): - raise ValueError("Missing the required parameter `namespace` when calling `list_route_openshift_io_v1_namespaced_route`") + raise ValueError("Missing the required parameter `namespace` when calling `list_namespaced_route`") collection_formats = {} @@ -710,6 +720,8 @@ def list_route_openshift_io_v1_namespaced_route_with_http_info(self, namespace, query_params['pretty'] = params['pretty'] if 'field_selector' in params: query_params['fieldSelector'] = params['field_selector'] + if 'include_uninitialized' in params: + query_params['includeUninitialized'] = params['include_uninitialized'] if 'label_selector' in params: query_params['labelSelector'] = params['label_selector'] if 'resource_version' in params: @@ -734,7 +746,7 @@ def list_route_openshift_io_v1_namespaced_route_with_http_info(self, namespace, select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -751,7 +763,7 @@ def list_route_openshift_io_v1_namespaced_route_with_http_info(self, namespace, _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def list_route_openshift_io_v1_route_for_all_namespaces(self, **kwargs): + def list_route_for_all_namespaces(self, **kwargs): """ list or watch objects of kind Route This method makes a synchronous HTTP request by default. To make an @@ -760,14 +772,15 @@ def list_route_openshift_io_v1_route_for_all_namespaces(self, **kwargs): >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.list_route_openshift_io_v1_route_for_all_namespaces(callback=callback_function) + >>> thread = api.list_route_for_all_namespaces(callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param str pretty: If 'true', then the output is pretty printed. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param bool include_uninitialized: If true, partially initialized resources are included in the response. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. - :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. + :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. :param int timeout_seconds: Timeout for the list/watch call. :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. :return: V1RouteList @@ -776,12 +789,12 @@ def list_route_openshift_io_v1_route_for_all_namespaces(self, **kwargs): """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.list_route_openshift_io_v1_route_for_all_namespaces_with_http_info(**kwargs) + return self.list_route_for_all_namespaces_with_http_info(**kwargs) else: - (data) = self.list_route_openshift_io_v1_route_for_all_namespaces_with_http_info(**kwargs) + (data) = self.list_route_for_all_namespaces_with_http_info(**kwargs) return data - def list_route_openshift_io_v1_route_for_all_namespaces_with_http_info(self, **kwargs): + def list_route_for_all_namespaces_with_http_info(self, **kwargs): """ list or watch objects of kind Route This method makes a synchronous HTTP request by default. To make an @@ -790,14 +803,15 @@ def list_route_openshift_io_v1_route_for_all_namespaces_with_http_info(self, **k >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.list_route_openshift_io_v1_route_for_all_namespaces_with_http_info(callback=callback_function) + >>> thread = api.list_route_for_all_namespaces_with_http_info(callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param str pretty: If 'true', then the output is pretty printed. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param bool include_uninitialized: If true, partially initialized resources are included in the response. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. - :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. + :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. :param int timeout_seconds: Timeout for the list/watch call. :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. :return: V1RouteList @@ -805,7 +819,7 @@ def list_route_openshift_io_v1_route_for_all_namespaces_with_http_info(self, **k returns the request thread. """ - all_params = ['pretty', 'field_selector', 'label_selector', 'resource_version', 'timeout_seconds', 'watch'] + all_params = ['pretty', 'field_selector', 'include_uninitialized', 'label_selector', 'resource_version', 'timeout_seconds', 'watch'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -816,7 +830,7 @@ def list_route_openshift_io_v1_route_for_all_namespaces_with_http_info(self, **k if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method list_route_openshift_io_v1_route_for_all_namespaces" % key + " to method list_route_for_all_namespaces" % key ) params[key] = val del params['kwargs'] @@ -832,6 +846,8 @@ def list_route_openshift_io_v1_route_for_all_namespaces_with_http_info(self, **k query_params['pretty'] = params['pretty'] if 'field_selector' in params: query_params['fieldSelector'] = params['field_selector'] + if 'include_uninitialized' in params: + query_params['includeUninitialized'] = params['include_uninitialized'] if 'label_selector' in params: query_params['labelSelector'] = params['label_selector'] if 'resource_version' in params: @@ -856,7 +872,7 @@ def list_route_openshift_io_v1_route_for_all_namespaces_with_http_info(self, **k select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -873,7 +889,7 @@ def list_route_openshift_io_v1_route_for_all_namespaces_with_http_info(self, **k _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def patch_route_openshift_io_v1_namespaced_route(self, name, namespace, body, **kwargs): + def patch_namespaced_route(self, name, namespace, body, **kwargs): """ partially update the specified Route This method makes a synchronous HTTP request by default. To make an @@ -882,13 +898,13 @@ def patch_route_openshift_io_v1_namespaced_route(self, name, namespace, body, ** >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.patch_route_openshift_io_v1_namespaced_route(name, namespace, body, callback=callback_function) + >>> thread = api.patch_namespaced_route(name, namespace, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param str name: name of the Route (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param UnversionedPatch body: (required) + :param object body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1Route If the method is called asynchronously, @@ -896,12 +912,12 @@ def patch_route_openshift_io_v1_namespaced_route(self, name, namespace, body, ** """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.patch_route_openshift_io_v1_namespaced_route_with_http_info(name, namespace, body, **kwargs) + return self.patch_namespaced_route_with_http_info(name, namespace, body, **kwargs) else: - (data) = self.patch_route_openshift_io_v1_namespaced_route_with_http_info(name, namespace, body, **kwargs) + (data) = self.patch_namespaced_route_with_http_info(name, namespace, body, **kwargs) return data - def patch_route_openshift_io_v1_namespaced_route_with_http_info(self, name, namespace, body, **kwargs): + def patch_namespaced_route_with_http_info(self, name, namespace, body, **kwargs): """ partially update the specified Route This method makes a synchronous HTTP request by default. To make an @@ -910,13 +926,13 @@ def patch_route_openshift_io_v1_namespaced_route_with_http_info(self, name, name >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.patch_route_openshift_io_v1_namespaced_route_with_http_info(name, namespace, body, callback=callback_function) + >>> thread = api.patch_namespaced_route_with_http_info(name, namespace, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param str name: name of the Route (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param UnversionedPatch body: (required) + :param object body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1Route If the method is called asynchronously, @@ -934,19 +950,19 @@ def patch_route_openshift_io_v1_namespaced_route_with_http_info(self, name, name if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method patch_route_openshift_io_v1_namespaced_route" % key + " to method patch_namespaced_route" % key ) params[key] = val del params['kwargs'] # verify the required parameter 'name' is set if ('name' not in params) or (params['name'] is None): - raise ValueError("Missing the required parameter `name` when calling `patch_route_openshift_io_v1_namespaced_route`") + raise ValueError("Missing the required parameter `name` when calling `patch_namespaced_route`") # verify the required parameter 'namespace' is set if ('namespace' not in params) or (params['namespace'] is None): - raise ValueError("Missing the required parameter `namespace` when calling `patch_route_openshift_io_v1_namespaced_route`") + raise ValueError("Missing the required parameter `namespace` when calling `patch_namespaced_route`") # verify the required parameter 'body' is set if ('body' not in params) or (params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `patch_route_openshift_io_v1_namespaced_route`") + raise ValueError("Missing the required parameter `body` when calling `patch_namespaced_route`") collection_formats = {} @@ -979,7 +995,7 @@ def patch_route_openshift_io_v1_namespaced_route_with_http_info(self, name, name select_header_content_type(['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'PATCH', path_params, @@ -996,7 +1012,7 @@ def patch_route_openshift_io_v1_namespaced_route_with_http_info(self, name, name _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def patch_route_openshift_io_v1_namespaced_route_status(self, name, namespace, body, **kwargs): + def patch_namespaced_route_status(self, name, namespace, body, **kwargs): """ partially update status of the specified Route This method makes a synchronous HTTP request by default. To make an @@ -1005,13 +1021,13 @@ def patch_route_openshift_io_v1_namespaced_route_status(self, name, namespace, b >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.patch_route_openshift_io_v1_namespaced_route_status(name, namespace, body, callback=callback_function) + >>> thread = api.patch_namespaced_route_status(name, namespace, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param str name: name of the Route (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param UnversionedPatch body: (required) + :param object body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1Route If the method is called asynchronously, @@ -1019,12 +1035,12 @@ def patch_route_openshift_io_v1_namespaced_route_status(self, name, namespace, b """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.patch_route_openshift_io_v1_namespaced_route_status_with_http_info(name, namespace, body, **kwargs) + return self.patch_namespaced_route_status_with_http_info(name, namespace, body, **kwargs) else: - (data) = self.patch_route_openshift_io_v1_namespaced_route_status_with_http_info(name, namespace, body, **kwargs) + (data) = self.patch_namespaced_route_status_with_http_info(name, namespace, body, **kwargs) return data - def patch_route_openshift_io_v1_namespaced_route_status_with_http_info(self, name, namespace, body, **kwargs): + def patch_namespaced_route_status_with_http_info(self, name, namespace, body, **kwargs): """ partially update status of the specified Route This method makes a synchronous HTTP request by default. To make an @@ -1033,13 +1049,13 @@ def patch_route_openshift_io_v1_namespaced_route_status_with_http_info(self, nam >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.patch_route_openshift_io_v1_namespaced_route_status_with_http_info(name, namespace, body, callback=callback_function) + >>> thread = api.patch_namespaced_route_status_with_http_info(name, namespace, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param str name: name of the Route (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param UnversionedPatch body: (required) + :param object body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1Route If the method is called asynchronously, @@ -1057,19 +1073,19 @@ def patch_route_openshift_io_v1_namespaced_route_status_with_http_info(self, nam if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method patch_route_openshift_io_v1_namespaced_route_status" % key + " to method patch_namespaced_route_status" % key ) params[key] = val del params['kwargs'] # verify the required parameter 'name' is set if ('name' not in params) or (params['name'] is None): - raise ValueError("Missing the required parameter `name` when calling `patch_route_openshift_io_v1_namespaced_route_status`") + raise ValueError("Missing the required parameter `name` when calling `patch_namespaced_route_status`") # verify the required parameter 'namespace' is set if ('namespace' not in params) or (params['namespace'] is None): - raise ValueError("Missing the required parameter `namespace` when calling `patch_route_openshift_io_v1_namespaced_route_status`") + raise ValueError("Missing the required parameter `namespace` when calling `patch_namespaced_route_status`") # verify the required parameter 'body' is set if ('body' not in params) or (params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `patch_route_openshift_io_v1_namespaced_route_status`") + raise ValueError("Missing the required parameter `body` when calling `patch_namespaced_route_status`") collection_formats = {} @@ -1102,7 +1118,7 @@ def patch_route_openshift_io_v1_namespaced_route_status_with_http_info(self, nam select_header_content_type(['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'PATCH', path_params, @@ -1119,7 +1135,7 @@ def patch_route_openshift_io_v1_namespaced_route_status_with_http_info(self, nam _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def read_route_openshift_io_v1_namespaced_route(self, name, namespace, **kwargs): + def read_namespaced_route(self, name, namespace, **kwargs): """ read the specified Route This method makes a synchronous HTTP request by default. To make an @@ -1128,14 +1144,14 @@ def read_route_openshift_io_v1_namespaced_route(self, name, namespace, **kwargs) >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.read_route_openshift_io_v1_namespaced_route(name, namespace, callback=callback_function) + >>> thread = api.read_namespaced_route(name, namespace, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param str name: name of the Route (required) :param str namespace: object name and auth scope, such as for teams and projects (required) :param str pretty: If 'true', then the output is pretty printed. - :param bool exact: Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace' + :param bool exact: Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. :param bool export: Should this value be exported. Export strips fields that a user can not specify. :return: V1Route If the method is called asynchronously, @@ -1143,12 +1159,12 @@ def read_route_openshift_io_v1_namespaced_route(self, name, namespace, **kwargs) """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.read_route_openshift_io_v1_namespaced_route_with_http_info(name, namespace, **kwargs) + return self.read_namespaced_route_with_http_info(name, namespace, **kwargs) else: - (data) = self.read_route_openshift_io_v1_namespaced_route_with_http_info(name, namespace, **kwargs) + (data) = self.read_namespaced_route_with_http_info(name, namespace, **kwargs) return data - def read_route_openshift_io_v1_namespaced_route_with_http_info(self, name, namespace, **kwargs): + def read_namespaced_route_with_http_info(self, name, namespace, **kwargs): """ read the specified Route This method makes a synchronous HTTP request by default. To make an @@ -1157,14 +1173,14 @@ def read_route_openshift_io_v1_namespaced_route_with_http_info(self, name, names >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.read_route_openshift_io_v1_namespaced_route_with_http_info(name, namespace, callback=callback_function) + >>> thread = api.read_namespaced_route_with_http_info(name, namespace, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param str name: name of the Route (required) :param str namespace: object name and auth scope, such as for teams and projects (required) :param str pretty: If 'true', then the output is pretty printed. - :param bool exact: Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace' + :param bool exact: Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. :param bool export: Should this value be exported. Export strips fields that a user can not specify. :return: V1Route If the method is called asynchronously, @@ -1182,16 +1198,16 @@ def read_route_openshift_io_v1_namespaced_route_with_http_info(self, name, names if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method read_route_openshift_io_v1_namespaced_route" % key + " to method read_namespaced_route" % key ) params[key] = val del params['kwargs'] # verify the required parameter 'name' is set if ('name' not in params) or (params['name'] is None): - raise ValueError("Missing the required parameter `name` when calling `read_route_openshift_io_v1_namespaced_route`") + raise ValueError("Missing the required parameter `name` when calling `read_namespaced_route`") # verify the required parameter 'namespace' is set if ('namespace' not in params) or (params['namespace'] is None): - raise ValueError("Missing the required parameter `namespace` when calling `read_route_openshift_io_v1_namespaced_route`") + raise ValueError("Missing the required parameter `namespace` when calling `read_namespaced_route`") collection_formats = {} @@ -1226,7 +1242,7 @@ def read_route_openshift_io_v1_namespaced_route_with_http_info(self, name, names select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -1243,7 +1259,7 @@ def read_route_openshift_io_v1_namespaced_route_with_http_info(self, name, names _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def read_route_openshift_io_v1_namespaced_route_status(self, name, namespace, **kwargs): + def read_namespaced_route_status(self, name, namespace, **kwargs): """ read status of the specified Route This method makes a synchronous HTTP request by default. To make an @@ -1252,7 +1268,7 @@ def read_route_openshift_io_v1_namespaced_route_status(self, name, namespace, ** >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.read_route_openshift_io_v1_namespaced_route_status(name, namespace, callback=callback_function) + >>> thread = api.read_namespaced_route_status(name, namespace, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) @@ -1265,12 +1281,12 @@ def read_route_openshift_io_v1_namespaced_route_status(self, name, namespace, ** """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.read_route_openshift_io_v1_namespaced_route_status_with_http_info(name, namespace, **kwargs) + return self.read_namespaced_route_status_with_http_info(name, namespace, **kwargs) else: - (data) = self.read_route_openshift_io_v1_namespaced_route_status_with_http_info(name, namespace, **kwargs) + (data) = self.read_namespaced_route_status_with_http_info(name, namespace, **kwargs) return data - def read_route_openshift_io_v1_namespaced_route_status_with_http_info(self, name, namespace, **kwargs): + def read_namespaced_route_status_with_http_info(self, name, namespace, **kwargs): """ read status of the specified Route This method makes a synchronous HTTP request by default. To make an @@ -1279,7 +1295,7 @@ def read_route_openshift_io_v1_namespaced_route_status_with_http_info(self, name >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.read_route_openshift_io_v1_namespaced_route_status_with_http_info(name, namespace, callback=callback_function) + >>> thread = api.read_namespaced_route_status_with_http_info(name, namespace, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) @@ -1302,16 +1318,16 @@ def read_route_openshift_io_v1_namespaced_route_status_with_http_info(self, name if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method read_route_openshift_io_v1_namespaced_route_status" % key + " to method read_namespaced_route_status" % key ) params[key] = val del params['kwargs'] # verify the required parameter 'name' is set if ('name' not in params) or (params['name'] is None): - raise ValueError("Missing the required parameter `name` when calling `read_route_openshift_io_v1_namespaced_route_status`") + raise ValueError("Missing the required parameter `name` when calling `read_namespaced_route_status`") # verify the required parameter 'namespace' is set if ('namespace' not in params) or (params['namespace'] is None): - raise ValueError("Missing the required parameter `namespace` when calling `read_route_openshift_io_v1_namespaced_route_status`") + raise ValueError("Missing the required parameter `namespace` when calling `read_namespaced_route_status`") collection_formats = {} @@ -1342,7 +1358,7 @@ def read_route_openshift_io_v1_namespaced_route_status_with_http_info(self, name select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -1359,7 +1375,7 @@ def read_route_openshift_io_v1_namespaced_route_status_with_http_info(self, name _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def replace_route_openshift_io_v1_namespaced_route(self, name, namespace, body, **kwargs): + def replace_namespaced_route(self, name, namespace, body, **kwargs): """ replace the specified Route This method makes a synchronous HTTP request by default. To make an @@ -1368,7 +1384,7 @@ def replace_route_openshift_io_v1_namespaced_route(self, name, namespace, body, >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.replace_route_openshift_io_v1_namespaced_route(name, namespace, body, callback=callback_function) + >>> thread = api.replace_namespaced_route(name, namespace, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) @@ -1382,12 +1398,12 @@ def replace_route_openshift_io_v1_namespaced_route(self, name, namespace, body, """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.replace_route_openshift_io_v1_namespaced_route_with_http_info(name, namespace, body, **kwargs) + return self.replace_namespaced_route_with_http_info(name, namespace, body, **kwargs) else: - (data) = self.replace_route_openshift_io_v1_namespaced_route_with_http_info(name, namespace, body, **kwargs) + (data) = self.replace_namespaced_route_with_http_info(name, namespace, body, **kwargs) return data - def replace_route_openshift_io_v1_namespaced_route_with_http_info(self, name, namespace, body, **kwargs): + def replace_namespaced_route_with_http_info(self, name, namespace, body, **kwargs): """ replace the specified Route This method makes a synchronous HTTP request by default. To make an @@ -1396,7 +1412,7 @@ def replace_route_openshift_io_v1_namespaced_route_with_http_info(self, name, na >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.replace_route_openshift_io_v1_namespaced_route_with_http_info(name, namespace, body, callback=callback_function) + >>> thread = api.replace_namespaced_route_with_http_info(name, namespace, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) @@ -1420,19 +1436,19 @@ def replace_route_openshift_io_v1_namespaced_route_with_http_info(self, name, na if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method replace_route_openshift_io_v1_namespaced_route" % key + " to method replace_namespaced_route" % key ) params[key] = val del params['kwargs'] # verify the required parameter 'name' is set if ('name' not in params) or (params['name'] is None): - raise ValueError("Missing the required parameter `name` when calling `replace_route_openshift_io_v1_namespaced_route`") + raise ValueError("Missing the required parameter `name` when calling `replace_namespaced_route`") # verify the required parameter 'namespace' is set if ('namespace' not in params) or (params['namespace'] is None): - raise ValueError("Missing the required parameter `namespace` when calling `replace_route_openshift_io_v1_namespaced_route`") + raise ValueError("Missing the required parameter `namespace` when calling `replace_namespaced_route`") # verify the required parameter 'body' is set if ('body' not in params) or (params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `replace_route_openshift_io_v1_namespaced_route`") + raise ValueError("Missing the required parameter `body` when calling `replace_namespaced_route`") collection_formats = {} @@ -1465,7 +1481,7 @@ def replace_route_openshift_io_v1_namespaced_route_with_http_info(self, name, na select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'PUT', path_params, @@ -1482,7 +1498,7 @@ def replace_route_openshift_io_v1_namespaced_route_with_http_info(self, name, na _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def replace_route_openshift_io_v1_namespaced_route_status(self, name, namespace, body, **kwargs): + def replace_namespaced_route_status(self, name, namespace, body, **kwargs): """ replace status of the specified Route This method makes a synchronous HTTP request by default. To make an @@ -1491,7 +1507,7 @@ def replace_route_openshift_io_v1_namespaced_route_status(self, name, namespace, >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.replace_route_openshift_io_v1_namespaced_route_status(name, namespace, body, callback=callback_function) + >>> thread = api.replace_namespaced_route_status(name, namespace, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) @@ -1505,12 +1521,12 @@ def replace_route_openshift_io_v1_namespaced_route_status(self, name, namespace, """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.replace_route_openshift_io_v1_namespaced_route_status_with_http_info(name, namespace, body, **kwargs) + return self.replace_namespaced_route_status_with_http_info(name, namespace, body, **kwargs) else: - (data) = self.replace_route_openshift_io_v1_namespaced_route_status_with_http_info(name, namespace, body, **kwargs) + (data) = self.replace_namespaced_route_status_with_http_info(name, namespace, body, **kwargs) return data - def replace_route_openshift_io_v1_namespaced_route_status_with_http_info(self, name, namespace, body, **kwargs): + def replace_namespaced_route_status_with_http_info(self, name, namespace, body, **kwargs): """ replace status of the specified Route This method makes a synchronous HTTP request by default. To make an @@ -1519,7 +1535,7 @@ def replace_route_openshift_io_v1_namespaced_route_status_with_http_info(self, n >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.replace_route_openshift_io_v1_namespaced_route_status_with_http_info(name, namespace, body, callback=callback_function) + >>> thread = api.replace_namespaced_route_status_with_http_info(name, namespace, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) @@ -1543,19 +1559,19 @@ def replace_route_openshift_io_v1_namespaced_route_status_with_http_info(self, n if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method replace_route_openshift_io_v1_namespaced_route_status" % key + " to method replace_namespaced_route_status" % key ) params[key] = val del params['kwargs'] # verify the required parameter 'name' is set if ('name' not in params) or (params['name'] is None): - raise ValueError("Missing the required parameter `name` when calling `replace_route_openshift_io_v1_namespaced_route_status`") + raise ValueError("Missing the required parameter `name` when calling `replace_namespaced_route_status`") # verify the required parameter 'namespace' is set if ('namespace' not in params) or (params['namespace'] is None): - raise ValueError("Missing the required parameter `namespace` when calling `replace_route_openshift_io_v1_namespaced_route_status`") + raise ValueError("Missing the required parameter `namespace` when calling `replace_namespaced_route_status`") # verify the required parameter 'body' is set if ('body' not in params) or (params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `replace_route_openshift_io_v1_namespaced_route_status`") + raise ValueError("Missing the required parameter `body` when calling `replace_namespaced_route_status`") collection_formats = {} @@ -1588,7 +1604,7 @@ def replace_route_openshift_io_v1_namespaced_route_status_with_http_info(self, n select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'PUT', path_params, diff --git a/openshift/client/apis/security_openshift_io_api.py b/openshift/client/apis/security_openshift_io_api.py index bcea4b12..afaacfa2 100644 --- a/openshift/client/apis/security_openshift_io_api.py +++ b/openshift/client/apis/security_openshift_io_api.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -40,7 +40,7 @@ def __init__(self, api_client=None): config.api_client = ApiClient() self.api_client = config.api_client - def get_security_openshift_io_api_group(self, **kwargs): + def get_api_group(self, **kwargs): """ get information of a group This method makes a synchronous HTTP request by default. To make an @@ -49,22 +49,22 @@ def get_security_openshift_io_api_group(self, **kwargs): >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.get_security_openshift_io_api_group(callback=callback_function) + >>> thread = api.get_api_group(callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) - :return: UnversionedAPIGroup + :return: V1APIGroup If the method is called asynchronously, returns the request thread. """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.get_security_openshift_io_api_group_with_http_info(**kwargs) + return self.get_api_group_with_http_info(**kwargs) else: - (data) = self.get_security_openshift_io_api_group_with_http_info(**kwargs) + (data) = self.get_api_group_with_http_info(**kwargs) return data - def get_security_openshift_io_api_group_with_http_info(self, **kwargs): + def get_api_group_with_http_info(self, **kwargs): """ get information of a group This method makes a synchronous HTTP request by default. To make an @@ -73,11 +73,11 @@ def get_security_openshift_io_api_group_with_http_info(self, **kwargs): >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.get_security_openshift_io_api_group_with_http_info(callback=callback_function) + >>> thread = api.get_api_group_with_http_info(callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) - :return: UnversionedAPIGroup + :return: V1APIGroup If the method is called asynchronously, returns the request thread. """ @@ -93,7 +93,7 @@ def get_security_openshift_io_api_group_with_http_info(self, **kwargs): if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method get_security_openshift_io_api_group" % key + " to method get_api_group" % key ) params[key] = val del params['kwargs'] @@ -120,7 +120,7 @@ def get_security_openshift_io_api_group_with_http_info(self, **kwargs): select_header_content_type(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -129,7 +129,7 @@ def get_security_openshift_io_api_group_with_http_info(self, **kwargs): body=body_params, post_params=form_params, files=local_var_files, - response_type='UnversionedAPIGroup', + response_type='V1APIGroup', auth_settings=auth_settings, callback=params.get('callback'), _return_http_data_only=params.get('_return_http_data_only'), diff --git a/openshift/client/apis/security_openshift_io_v1_api.py b/openshift/client/apis/security_openshift_io_v1_api.py index d50a498a..dcb69c61 100644 --- a/openshift/client/apis/security_openshift_io_v1_api.py +++ b/openshift/client/apis/security_openshift_io_v1_api.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -40,7 +40,7 @@ def __init__(self, api_client=None): config.api_client = ApiClient() self.api_client = config.api_client - def create_security_openshift_io_v1_namespaced_pod_security_policy_review(self, body, namespace, **kwargs): + def create_namespaced_pod_security_policy_review(self, namespace, body, **kwargs): """ create a PodSecurityPolicyReview This method makes a synchronous HTTP request by default. To make an @@ -49,12 +49,12 @@ def create_security_openshift_io_v1_namespaced_pod_security_policy_review(self, >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.create_security_openshift_io_v1_namespaced_pod_security_policy_review(body, namespace, callback=callback_function) + >>> thread = api.create_namespaced_pod_security_policy_review(namespace, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) - :param V1PodSecurityPolicyReview body: (required) :param str namespace: object name and auth scope, such as for teams and projects (required) + :param V1PodSecurityPolicyReview body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1PodSecurityPolicyReview If the method is called asynchronously, @@ -62,12 +62,12 @@ def create_security_openshift_io_v1_namespaced_pod_security_policy_review(self, """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.create_security_openshift_io_v1_namespaced_pod_security_policy_review_with_http_info(body, namespace, **kwargs) + return self.create_namespaced_pod_security_policy_review_with_http_info(namespace, body, **kwargs) else: - (data) = self.create_security_openshift_io_v1_namespaced_pod_security_policy_review_with_http_info(body, namespace, **kwargs) + (data) = self.create_namespaced_pod_security_policy_review_with_http_info(namespace, body, **kwargs) return data - def create_security_openshift_io_v1_namespaced_pod_security_policy_review_with_http_info(self, body, namespace, **kwargs): + def create_namespaced_pod_security_policy_review_with_http_info(self, namespace, body, **kwargs): """ create a PodSecurityPolicyReview This method makes a synchronous HTTP request by default. To make an @@ -76,19 +76,19 @@ def create_security_openshift_io_v1_namespaced_pod_security_policy_review_with_h >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.create_security_openshift_io_v1_namespaced_pod_security_policy_review_with_http_info(body, namespace, callback=callback_function) + >>> thread = api.create_namespaced_pod_security_policy_review_with_http_info(namespace, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) - :param V1PodSecurityPolicyReview body: (required) :param str namespace: object name and auth scope, such as for teams and projects (required) + :param V1PodSecurityPolicyReview body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1PodSecurityPolicyReview If the method is called asynchronously, returns the request thread. """ - all_params = ['body', 'namespace', 'pretty'] + all_params = ['namespace', 'body', 'pretty'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -99,16 +99,16 @@ def create_security_openshift_io_v1_namespaced_pod_security_policy_review_with_h if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method create_security_openshift_io_v1_namespaced_pod_security_policy_review" % key + " to method create_namespaced_pod_security_policy_review" % key ) params[key] = val del params['kwargs'] - # verify the required parameter 'body' is set - if ('body' not in params) or (params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `create_security_openshift_io_v1_namespaced_pod_security_policy_review`") # verify the required parameter 'namespace' is set if ('namespace' not in params) or (params['namespace'] is None): - raise ValueError("Missing the required parameter `namespace` when calling `create_security_openshift_io_v1_namespaced_pod_security_policy_review`") + raise ValueError("Missing the required parameter `namespace` when calling `create_namespaced_pod_security_policy_review`") + # verify the required parameter 'body' is set + if ('body' not in params) or (params['body'] is None): + raise ValueError("Missing the required parameter `body` when calling `create_namespaced_pod_security_policy_review`") collection_formats = {} @@ -139,7 +139,7 @@ def create_security_openshift_io_v1_namespaced_pod_security_policy_review_with_h select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'POST', path_params, @@ -156,7 +156,7 @@ def create_security_openshift_io_v1_namespaced_pod_security_policy_review_with_h _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def create_security_openshift_io_v1_namespaced_pod_security_policy_self_subject_review(self, body, namespace, **kwargs): + def create_namespaced_pod_security_policy_self_subject_review(self, namespace, body, **kwargs): """ create a PodSecurityPolicySelfSubjectReview This method makes a synchronous HTTP request by default. To make an @@ -165,12 +165,12 @@ def create_security_openshift_io_v1_namespaced_pod_security_policy_self_subject_ >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.create_security_openshift_io_v1_namespaced_pod_security_policy_self_subject_review(body, namespace, callback=callback_function) + >>> thread = api.create_namespaced_pod_security_policy_self_subject_review(namespace, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) - :param V1PodSecurityPolicySelfSubjectReview body: (required) :param str namespace: object name and auth scope, such as for teams and projects (required) + :param V1PodSecurityPolicySelfSubjectReview body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1PodSecurityPolicySelfSubjectReview If the method is called asynchronously, @@ -178,12 +178,12 @@ def create_security_openshift_io_v1_namespaced_pod_security_policy_self_subject_ """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.create_security_openshift_io_v1_namespaced_pod_security_policy_self_subject_review_with_http_info(body, namespace, **kwargs) + return self.create_namespaced_pod_security_policy_self_subject_review_with_http_info(namespace, body, **kwargs) else: - (data) = self.create_security_openshift_io_v1_namespaced_pod_security_policy_self_subject_review_with_http_info(body, namespace, **kwargs) + (data) = self.create_namespaced_pod_security_policy_self_subject_review_with_http_info(namespace, body, **kwargs) return data - def create_security_openshift_io_v1_namespaced_pod_security_policy_self_subject_review_with_http_info(self, body, namespace, **kwargs): + def create_namespaced_pod_security_policy_self_subject_review_with_http_info(self, namespace, body, **kwargs): """ create a PodSecurityPolicySelfSubjectReview This method makes a synchronous HTTP request by default. To make an @@ -192,19 +192,19 @@ def create_security_openshift_io_v1_namespaced_pod_security_policy_self_subject_ >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.create_security_openshift_io_v1_namespaced_pod_security_policy_self_subject_review_with_http_info(body, namespace, callback=callback_function) + >>> thread = api.create_namespaced_pod_security_policy_self_subject_review_with_http_info(namespace, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) - :param V1PodSecurityPolicySelfSubjectReview body: (required) :param str namespace: object name and auth scope, such as for teams and projects (required) + :param V1PodSecurityPolicySelfSubjectReview body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1PodSecurityPolicySelfSubjectReview If the method is called asynchronously, returns the request thread. """ - all_params = ['body', 'namespace', 'pretty'] + all_params = ['namespace', 'body', 'pretty'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -215,16 +215,16 @@ def create_security_openshift_io_v1_namespaced_pod_security_policy_self_subject_ if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method create_security_openshift_io_v1_namespaced_pod_security_policy_self_subject_review" % key + " to method create_namespaced_pod_security_policy_self_subject_review" % key ) params[key] = val del params['kwargs'] - # verify the required parameter 'body' is set - if ('body' not in params) or (params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `create_security_openshift_io_v1_namespaced_pod_security_policy_self_subject_review`") # verify the required parameter 'namespace' is set if ('namespace' not in params) or (params['namespace'] is None): - raise ValueError("Missing the required parameter `namespace` when calling `create_security_openshift_io_v1_namespaced_pod_security_policy_self_subject_review`") + raise ValueError("Missing the required parameter `namespace` when calling `create_namespaced_pod_security_policy_self_subject_review`") + # verify the required parameter 'body' is set + if ('body' not in params) or (params['body'] is None): + raise ValueError("Missing the required parameter `body` when calling `create_namespaced_pod_security_policy_self_subject_review`") collection_formats = {} @@ -255,7 +255,7 @@ def create_security_openshift_io_v1_namespaced_pod_security_policy_self_subject_ select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'POST', path_params, @@ -272,7 +272,7 @@ def create_security_openshift_io_v1_namespaced_pod_security_policy_self_subject_ _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def create_security_openshift_io_v1_namespaced_pod_security_policy_subject_review(self, body, namespace, **kwargs): + def create_namespaced_pod_security_policy_subject_review(self, namespace, body, **kwargs): """ create a PodSecurityPolicySubjectReview This method makes a synchronous HTTP request by default. To make an @@ -281,12 +281,12 @@ def create_security_openshift_io_v1_namespaced_pod_security_policy_subject_revie >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.create_security_openshift_io_v1_namespaced_pod_security_policy_subject_review(body, namespace, callback=callback_function) + >>> thread = api.create_namespaced_pod_security_policy_subject_review(namespace, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) - :param V1PodSecurityPolicySubjectReview body: (required) :param str namespace: object name and auth scope, such as for teams and projects (required) + :param V1PodSecurityPolicySubjectReview body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1PodSecurityPolicySubjectReview If the method is called asynchronously, @@ -294,12 +294,12 @@ def create_security_openshift_io_v1_namespaced_pod_security_policy_subject_revie """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.create_security_openshift_io_v1_namespaced_pod_security_policy_subject_review_with_http_info(body, namespace, **kwargs) + return self.create_namespaced_pod_security_policy_subject_review_with_http_info(namespace, body, **kwargs) else: - (data) = self.create_security_openshift_io_v1_namespaced_pod_security_policy_subject_review_with_http_info(body, namespace, **kwargs) + (data) = self.create_namespaced_pod_security_policy_subject_review_with_http_info(namespace, body, **kwargs) return data - def create_security_openshift_io_v1_namespaced_pod_security_policy_subject_review_with_http_info(self, body, namespace, **kwargs): + def create_namespaced_pod_security_policy_subject_review_with_http_info(self, namespace, body, **kwargs): """ create a PodSecurityPolicySubjectReview This method makes a synchronous HTTP request by default. To make an @@ -308,19 +308,19 @@ def create_security_openshift_io_v1_namespaced_pod_security_policy_subject_revie >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.create_security_openshift_io_v1_namespaced_pod_security_policy_subject_review_with_http_info(body, namespace, callback=callback_function) + >>> thread = api.create_namespaced_pod_security_policy_subject_review_with_http_info(namespace, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) - :param V1PodSecurityPolicySubjectReview body: (required) :param str namespace: object name and auth scope, such as for teams and projects (required) + :param V1PodSecurityPolicySubjectReview body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1PodSecurityPolicySubjectReview If the method is called asynchronously, returns the request thread. """ - all_params = ['body', 'namespace', 'pretty'] + all_params = ['namespace', 'body', 'pretty'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -331,16 +331,16 @@ def create_security_openshift_io_v1_namespaced_pod_security_policy_subject_revie if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method create_security_openshift_io_v1_namespaced_pod_security_policy_subject_review" % key + " to method create_namespaced_pod_security_policy_subject_review" % key ) params[key] = val del params['kwargs'] - # verify the required parameter 'body' is set - if ('body' not in params) or (params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `create_security_openshift_io_v1_namespaced_pod_security_policy_subject_review`") # verify the required parameter 'namespace' is set if ('namespace' not in params) or (params['namespace'] is None): - raise ValueError("Missing the required parameter `namespace` when calling `create_security_openshift_io_v1_namespaced_pod_security_policy_subject_review`") + raise ValueError("Missing the required parameter `namespace` when calling `create_namespaced_pod_security_policy_subject_review`") + # verify the required parameter 'body' is set + if ('body' not in params) or (params['body'] is None): + raise ValueError("Missing the required parameter `body` when calling `create_namespaced_pod_security_policy_subject_review`") collection_formats = {} @@ -371,7 +371,7 @@ def create_security_openshift_io_v1_namespaced_pod_security_policy_subject_revie select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'POST', path_params, @@ -388,7 +388,7 @@ def create_security_openshift_io_v1_namespaced_pod_security_policy_subject_revie _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def create_security_openshift_io_v1_pod_security_policy_review_for_all_namespaces(self, body, **kwargs): + def create_pod_security_policy_review_for_all_namespaces(self, body, **kwargs): """ create a PodSecurityPolicyReview This method makes a synchronous HTTP request by default. To make an @@ -397,7 +397,7 @@ def create_security_openshift_io_v1_pod_security_policy_review_for_all_namespace >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.create_security_openshift_io_v1_pod_security_policy_review_for_all_namespaces(body, callback=callback_function) + >>> thread = api.create_pod_security_policy_review_for_all_namespaces(body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) @@ -409,12 +409,12 @@ def create_security_openshift_io_v1_pod_security_policy_review_for_all_namespace """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.create_security_openshift_io_v1_pod_security_policy_review_for_all_namespaces_with_http_info(body, **kwargs) + return self.create_pod_security_policy_review_for_all_namespaces_with_http_info(body, **kwargs) else: - (data) = self.create_security_openshift_io_v1_pod_security_policy_review_for_all_namespaces_with_http_info(body, **kwargs) + (data) = self.create_pod_security_policy_review_for_all_namespaces_with_http_info(body, **kwargs) return data - def create_security_openshift_io_v1_pod_security_policy_review_for_all_namespaces_with_http_info(self, body, **kwargs): + def create_pod_security_policy_review_for_all_namespaces_with_http_info(self, body, **kwargs): """ create a PodSecurityPolicyReview This method makes a synchronous HTTP request by default. To make an @@ -423,7 +423,7 @@ def create_security_openshift_io_v1_pod_security_policy_review_for_all_namespace >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.create_security_openshift_io_v1_pod_security_policy_review_for_all_namespaces_with_http_info(body, callback=callback_function) + >>> thread = api.create_pod_security_policy_review_for_all_namespaces_with_http_info(body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) @@ -445,13 +445,13 @@ def create_security_openshift_io_v1_pod_security_policy_review_for_all_namespace if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method create_security_openshift_io_v1_pod_security_policy_review_for_all_namespaces" % key + " to method create_pod_security_policy_review_for_all_namespaces" % key ) params[key] = val del params['kwargs'] # verify the required parameter 'body' is set if ('body' not in params) or (params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `create_security_openshift_io_v1_pod_security_policy_review_for_all_namespaces`") + raise ValueError("Missing the required parameter `body` when calling `create_pod_security_policy_review_for_all_namespaces`") collection_formats = {} @@ -480,7 +480,7 @@ def create_security_openshift_io_v1_pod_security_policy_review_for_all_namespace select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'POST', path_params, @@ -497,7 +497,7 @@ def create_security_openshift_io_v1_pod_security_policy_review_for_all_namespace _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def create_security_openshift_io_v1_pod_security_policy_self_subject_review_for_all_namespaces(self, body, **kwargs): + def create_pod_security_policy_self_subject_review_for_all_namespaces(self, body, **kwargs): """ create a PodSecurityPolicySelfSubjectReview This method makes a synchronous HTTP request by default. To make an @@ -506,7 +506,7 @@ def create_security_openshift_io_v1_pod_security_policy_self_subject_review_for_ >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.create_security_openshift_io_v1_pod_security_policy_self_subject_review_for_all_namespaces(body, callback=callback_function) + >>> thread = api.create_pod_security_policy_self_subject_review_for_all_namespaces(body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) @@ -518,12 +518,12 @@ def create_security_openshift_io_v1_pod_security_policy_self_subject_review_for_ """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.create_security_openshift_io_v1_pod_security_policy_self_subject_review_for_all_namespaces_with_http_info(body, **kwargs) + return self.create_pod_security_policy_self_subject_review_for_all_namespaces_with_http_info(body, **kwargs) else: - (data) = self.create_security_openshift_io_v1_pod_security_policy_self_subject_review_for_all_namespaces_with_http_info(body, **kwargs) + (data) = self.create_pod_security_policy_self_subject_review_for_all_namespaces_with_http_info(body, **kwargs) return data - def create_security_openshift_io_v1_pod_security_policy_self_subject_review_for_all_namespaces_with_http_info(self, body, **kwargs): + def create_pod_security_policy_self_subject_review_for_all_namespaces_with_http_info(self, body, **kwargs): """ create a PodSecurityPolicySelfSubjectReview This method makes a synchronous HTTP request by default. To make an @@ -532,7 +532,7 @@ def create_security_openshift_io_v1_pod_security_policy_self_subject_review_for_ >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.create_security_openshift_io_v1_pod_security_policy_self_subject_review_for_all_namespaces_with_http_info(body, callback=callback_function) + >>> thread = api.create_pod_security_policy_self_subject_review_for_all_namespaces_with_http_info(body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) @@ -554,13 +554,13 @@ def create_security_openshift_io_v1_pod_security_policy_self_subject_review_for_ if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method create_security_openshift_io_v1_pod_security_policy_self_subject_review_for_all_namespaces" % key + " to method create_pod_security_policy_self_subject_review_for_all_namespaces" % key ) params[key] = val del params['kwargs'] # verify the required parameter 'body' is set if ('body' not in params) or (params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `create_security_openshift_io_v1_pod_security_policy_self_subject_review_for_all_namespaces`") + raise ValueError("Missing the required parameter `body` when calling `create_pod_security_policy_self_subject_review_for_all_namespaces`") collection_formats = {} @@ -589,7 +589,7 @@ def create_security_openshift_io_v1_pod_security_policy_self_subject_review_for_ select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'POST', path_params, @@ -606,7 +606,7 @@ def create_security_openshift_io_v1_pod_security_policy_self_subject_review_for_ _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def create_security_openshift_io_v1_pod_security_policy_subject_review_for_all_namespaces(self, body, **kwargs): + def create_pod_security_policy_subject_review_for_all_namespaces(self, body, **kwargs): """ create a PodSecurityPolicySubjectReview This method makes a synchronous HTTP request by default. To make an @@ -615,7 +615,7 @@ def create_security_openshift_io_v1_pod_security_policy_subject_review_for_all_n >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.create_security_openshift_io_v1_pod_security_policy_subject_review_for_all_namespaces(body, callback=callback_function) + >>> thread = api.create_pod_security_policy_subject_review_for_all_namespaces(body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) @@ -627,12 +627,12 @@ def create_security_openshift_io_v1_pod_security_policy_subject_review_for_all_n """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.create_security_openshift_io_v1_pod_security_policy_subject_review_for_all_namespaces_with_http_info(body, **kwargs) + return self.create_pod_security_policy_subject_review_for_all_namespaces_with_http_info(body, **kwargs) else: - (data) = self.create_security_openshift_io_v1_pod_security_policy_subject_review_for_all_namespaces_with_http_info(body, **kwargs) + (data) = self.create_pod_security_policy_subject_review_for_all_namespaces_with_http_info(body, **kwargs) return data - def create_security_openshift_io_v1_pod_security_policy_subject_review_for_all_namespaces_with_http_info(self, body, **kwargs): + def create_pod_security_policy_subject_review_for_all_namespaces_with_http_info(self, body, **kwargs): """ create a PodSecurityPolicySubjectReview This method makes a synchronous HTTP request by default. To make an @@ -641,7 +641,7 @@ def create_security_openshift_io_v1_pod_security_policy_subject_review_for_all_n >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.create_security_openshift_io_v1_pod_security_policy_subject_review_for_all_namespaces_with_http_info(body, callback=callback_function) + >>> thread = api.create_pod_security_policy_subject_review_for_all_namespaces_with_http_info(body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) @@ -663,13 +663,13 @@ def create_security_openshift_io_v1_pod_security_policy_subject_review_for_all_n if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method create_security_openshift_io_v1_pod_security_policy_subject_review_for_all_namespaces" % key + " to method create_pod_security_policy_subject_review_for_all_namespaces" % key ) params[key] = val del params['kwargs'] # verify the required parameter 'body' is set if ('body' not in params) or (params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `create_security_openshift_io_v1_pod_security_policy_subject_review_for_all_namespaces`") + raise ValueError("Missing the required parameter `body` when calling `create_pod_security_policy_subject_review_for_all_namespaces`") collection_formats = {} @@ -698,7 +698,7 @@ def create_security_openshift_io_v1_pod_security_policy_subject_review_for_all_n select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'POST', path_params, @@ -715,49 +715,53 @@ def create_security_openshift_io_v1_pod_security_policy_subject_review_for_all_n _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def get_security_openshift_io_v1_api_resources(self, **kwargs): + def create_security_context_constraints(self, body, **kwargs): """ - get available resources + create SecurityContextConstraints This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.get_security_openshift_io_v1_api_resources(callback=callback_function) + >>> thread = api.create_security_context_constraints(body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) - :return: UnversionedAPIResourceList + :param V1SecurityContextConstraints body: (required) + :param str pretty: If 'true', then the output is pretty printed. + :return: V1SecurityContextConstraints If the method is called asynchronously, returns the request thread. """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.get_security_openshift_io_v1_api_resources_with_http_info(**kwargs) + return self.create_security_context_constraints_with_http_info(body, **kwargs) else: - (data) = self.get_security_openshift_io_v1_api_resources_with_http_info(**kwargs) + (data) = self.create_security_context_constraints_with_http_info(body, **kwargs) return data - def get_security_openshift_io_v1_api_resources_with_http_info(self, **kwargs): + def create_security_context_constraints_with_http_info(self, body, **kwargs): """ - get available resources + create SecurityContextConstraints This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.get_security_openshift_io_v1_api_resources_with_http_info(callback=callback_function) + >>> thread = api.create_security_context_constraints_with_http_info(body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) - :return: UnversionedAPIResourceList + :param V1SecurityContextConstraints body: (required) + :param str pretty: If 'true', then the output is pretty printed. + :return: V1SecurityContextConstraints If the method is called asynchronously, returns the request thread. """ - all_params = [] + all_params = ['body', 'pretty'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -768,17 +772,23 @@ def get_security_openshift_io_v1_api_resources_with_http_info(self, **kwargs): if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method get_security_openshift_io_v1_api_resources" % key + " to method create_security_context_constraints" % key ) params[key] = val del params['kwargs'] + # verify the required parameter 'body' is set + if ('body' not in params) or (params['body'] is None): + raise ValueError("Missing the required parameter `body` when calling `create_security_context_constraints`") + collection_formats = {} - resource_path = '/apis/security.openshift.io/v1/'.replace('{format}', 'json') + resource_path = '/apis/security.openshift.io/v1/securitycontextconstraints'.replace('{format}', 'json') path_params = {} query_params = {} + if 'pretty' in params: + query_params['pretty'] = params['pretty'] header_params = {} @@ -786,25 +796,853 @@ def get_security_openshift_io_v1_api_resources_with_http_info(self, **kwargs): local_var_files = {} body_params = None + if 'body' in params: + body_params = params['body'] # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ - select_header_content_type(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) + select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] - return self.api_client.call_api(resource_path, 'GET', + return self.api_client.call_api(resource_path, 'POST', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1SecurityContextConstraints', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + + def delete_collection_security_context_constraints(self, **kwargs): + """ + delete collection of SecurityContextConstraints + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please define a `callback` function + to be invoked when receiving the response. + >>> def callback_function(response): + >>> pprint(response) + >>> + >>> thread = api.delete_collection_security_context_constraints(callback=callback_function) + + :param callback function: The callback function + for asynchronous request. (optional) + :param str pretty: If 'true', then the output is pretty printed. + :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param bool include_uninitialized: If true, partially initialized resources are included in the response. + :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. + :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. + :param int timeout_seconds: Timeout for the list/watch call. + :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + :return: V1Status + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('callback'): + return self.delete_collection_security_context_constraints_with_http_info(**kwargs) + else: + (data) = self.delete_collection_security_context_constraints_with_http_info(**kwargs) + return data + + def delete_collection_security_context_constraints_with_http_info(self, **kwargs): + """ + delete collection of SecurityContextConstraints + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please define a `callback` function + to be invoked when receiving the response. + >>> def callback_function(response): + >>> pprint(response) + >>> + >>> thread = api.delete_collection_security_context_constraints_with_http_info(callback=callback_function) + + :param callback function: The callback function + for asynchronous request. (optional) + :param str pretty: If 'true', then the output is pretty printed. + :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param bool include_uninitialized: If true, partially initialized resources are included in the response. + :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. + :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. + :param int timeout_seconds: Timeout for the list/watch call. + :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + :return: V1Status + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['pretty', 'field_selector', 'include_uninitialized', 'label_selector', 'resource_version', 'timeout_seconds', 'watch'] + all_params.append('callback') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method delete_collection_security_context_constraints" % key + ) + params[key] = val + del params['kwargs'] + + + collection_formats = {} + + resource_path = '/apis/security.openshift.io/v1/securitycontextconstraints'.replace('{format}', 'json') + path_params = {} + + query_params = {} + if 'pretty' in params: + query_params['pretty'] = params['pretty'] + if 'field_selector' in params: + query_params['fieldSelector'] = params['field_selector'] + if 'include_uninitialized' in params: + query_params['includeUninitialized'] = params['include_uninitialized'] + if 'label_selector' in params: + query_params['labelSelector'] = params['label_selector'] + if 'resource_version' in params: + query_params['resourceVersion'] = params['resource_version'] + if 'timeout_seconds' in params: + query_params['timeoutSeconds'] = params['timeout_seconds'] + if 'watch' in params: + query_params['watch'] = params['watch'] + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.\ + select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) + + # HTTP header `Content-Type` + header_params['Content-Type'] = self.api_client.\ + select_header_content_type(['*/*']) + + # Authentication setting + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] + + return self.api_client.call_api(resource_path, 'DELETE', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1Status', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + + def delete_security_context_constraints(self, name, body, **kwargs): + """ + delete SecurityContextConstraints + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please define a `callback` function + to be invoked when receiving the response. + >>> def callback_function(response): + >>> pprint(response) + >>> + >>> thread = api.delete_security_context_constraints(name, body, callback=callback_function) + + :param callback function: The callback function + for asynchronous request. (optional) + :param str name: name of the SecurityContextConstraints (required) + :param V1DeleteOptions body: (required) + :param str pretty: If 'true', then the output is pretty printed. + :param int grace_period_seconds: 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. + :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. + :param str propagation_policy: Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. + :return: V1Status + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('callback'): + return self.delete_security_context_constraints_with_http_info(name, body, **kwargs) + else: + (data) = self.delete_security_context_constraints_with_http_info(name, body, **kwargs) + return data + + def delete_security_context_constraints_with_http_info(self, name, body, **kwargs): + """ + delete SecurityContextConstraints + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please define a `callback` function + to be invoked when receiving the response. + >>> def callback_function(response): + >>> pprint(response) + >>> + >>> thread = api.delete_security_context_constraints_with_http_info(name, body, callback=callback_function) + + :param callback function: The callback function + for asynchronous request. (optional) + :param str name: name of the SecurityContextConstraints (required) + :param V1DeleteOptions body: (required) + :param str pretty: If 'true', then the output is pretty printed. + :param int grace_period_seconds: 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. + :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. + :param str propagation_policy: Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. + :return: V1Status + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['name', 'body', 'pretty', 'grace_period_seconds', 'orphan_dependents', 'propagation_policy'] + all_params.append('callback') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method delete_security_context_constraints" % key + ) + params[key] = val + del params['kwargs'] + # verify the required parameter 'name' is set + if ('name' not in params) or (params['name'] is None): + raise ValueError("Missing the required parameter `name` when calling `delete_security_context_constraints`") + # verify the required parameter 'body' is set + if ('body' not in params) or (params['body'] is None): + raise ValueError("Missing the required parameter `body` when calling `delete_security_context_constraints`") + + + collection_formats = {} + + resource_path = '/apis/security.openshift.io/v1/securitycontextconstraints/{name}'.replace('{format}', 'json') + path_params = {} + if 'name' in params: + path_params['name'] = params['name'] + + query_params = {} + if 'pretty' in params: + query_params['pretty'] = params['pretty'] + if 'grace_period_seconds' in params: + query_params['gracePeriodSeconds'] = params['grace_period_seconds'] + if 'orphan_dependents' in params: + query_params['orphanDependents'] = params['orphan_dependents'] + if 'propagation_policy' in params: + query_params['propagationPolicy'] = params['propagation_policy'] + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + if 'body' in params: + body_params = params['body'] + # HTTP header `Accept` + header_params['Accept'] = self.api_client.\ + select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) + + # HTTP header `Content-Type` + header_params['Content-Type'] = self.api_client.\ + select_header_content_type(['*/*']) + + # Authentication setting + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] + + return self.api_client.call_api(resource_path, 'DELETE', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1Status', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + + def get_api_resources(self, **kwargs): + """ + get available resources + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please define a `callback` function + to be invoked when receiving the response. + >>> def callback_function(response): + >>> pprint(response) + >>> + >>> thread = api.get_api_resources(callback=callback_function) + + :param callback function: The callback function + for asynchronous request. (optional) + :return: V1APIResourceList + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('callback'): + return self.get_api_resources_with_http_info(**kwargs) + else: + (data) = self.get_api_resources_with_http_info(**kwargs) + return data + + def get_api_resources_with_http_info(self, **kwargs): + """ + get available resources + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please define a `callback` function + to be invoked when receiving the response. + >>> def callback_function(response): + >>> pprint(response) + >>> + >>> thread = api.get_api_resources_with_http_info(callback=callback_function) + + :param callback function: The callback function + for asynchronous request. (optional) + :return: V1APIResourceList + If the method is called asynchronously, + returns the request thread. + """ + + all_params = [] + all_params.append('callback') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method get_api_resources" % key + ) + params[key] = val + del params['kwargs'] + + collection_formats = {} + + resource_path = '/apis/security.openshift.io/v1/'.replace('{format}', 'json') + path_params = {} + + query_params = {} + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.\ + select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) + + # HTTP header `Content-Type` + header_params['Content-Type'] = self.api_client.\ + select_header_content_type(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) + + # Authentication setting + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] + + return self.api_client.call_api(resource_path, 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1APIResourceList', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + + def list_security_context_constraints(self, **kwargs): + """ + list or watch objects of kind SecurityContextConstraints + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please define a `callback` function + to be invoked when receiving the response. + >>> def callback_function(response): + >>> pprint(response) + >>> + >>> thread = api.list_security_context_constraints(callback=callback_function) + + :param callback function: The callback function + for asynchronous request. (optional) + :param str pretty: If 'true', then the output is pretty printed. + :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param bool include_uninitialized: If true, partially initialized resources are included in the response. + :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. + :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. + :param int timeout_seconds: Timeout for the list/watch call. + :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + :return: V1SecurityContextConstraintsList + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('callback'): + return self.list_security_context_constraints_with_http_info(**kwargs) + else: + (data) = self.list_security_context_constraints_with_http_info(**kwargs) + return data + + def list_security_context_constraints_with_http_info(self, **kwargs): + """ + list or watch objects of kind SecurityContextConstraints + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please define a `callback` function + to be invoked when receiving the response. + >>> def callback_function(response): + >>> pprint(response) + >>> + >>> thread = api.list_security_context_constraints_with_http_info(callback=callback_function) + + :param callback function: The callback function + for asynchronous request. (optional) + :param str pretty: If 'true', then the output is pretty printed. + :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param bool include_uninitialized: If true, partially initialized resources are included in the response. + :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. + :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. + :param int timeout_seconds: Timeout for the list/watch call. + :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + :return: V1SecurityContextConstraintsList + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['pretty', 'field_selector', 'include_uninitialized', 'label_selector', 'resource_version', 'timeout_seconds', 'watch'] + all_params.append('callback') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method list_security_context_constraints" % key + ) + params[key] = val + del params['kwargs'] + + + collection_formats = {} + + resource_path = '/apis/security.openshift.io/v1/securitycontextconstraints'.replace('{format}', 'json') + path_params = {} + + query_params = {} + if 'pretty' in params: + query_params['pretty'] = params['pretty'] + if 'field_selector' in params: + query_params['fieldSelector'] = params['field_selector'] + if 'include_uninitialized' in params: + query_params['includeUninitialized'] = params['include_uninitialized'] + if 'label_selector' in params: + query_params['labelSelector'] = params['label_selector'] + if 'resource_version' in params: + query_params['resourceVersion'] = params['resource_version'] + if 'timeout_seconds' in params: + query_params['timeoutSeconds'] = params['timeout_seconds'] + if 'watch' in params: + query_params['watch'] = params['watch'] + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.\ + select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/json;stream=watch', 'application/vnd.kubernetes.protobuf;stream=watch']) + + # HTTP header `Content-Type` + header_params['Content-Type'] = self.api_client.\ + select_header_content_type(['*/*']) + + # Authentication setting + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] + + return self.api_client.call_api(resource_path, 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1SecurityContextConstraintsList', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + + def patch_security_context_constraints(self, name, body, **kwargs): + """ + partially update the specified SecurityContextConstraints + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please define a `callback` function + to be invoked when receiving the response. + >>> def callback_function(response): + >>> pprint(response) + >>> + >>> thread = api.patch_security_context_constraints(name, body, callback=callback_function) + + :param callback function: The callback function + for asynchronous request. (optional) + :param str name: name of the SecurityContextConstraints (required) + :param object body: (required) + :param str pretty: If 'true', then the output is pretty printed. + :return: V1SecurityContextConstraints + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('callback'): + return self.patch_security_context_constraints_with_http_info(name, body, **kwargs) + else: + (data) = self.patch_security_context_constraints_with_http_info(name, body, **kwargs) + return data + + def patch_security_context_constraints_with_http_info(self, name, body, **kwargs): + """ + partially update the specified SecurityContextConstraints + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please define a `callback` function + to be invoked when receiving the response. + >>> def callback_function(response): + >>> pprint(response) + >>> + >>> thread = api.patch_security_context_constraints_with_http_info(name, body, callback=callback_function) + + :param callback function: The callback function + for asynchronous request. (optional) + :param str name: name of the SecurityContextConstraints (required) + :param object body: (required) + :param str pretty: If 'true', then the output is pretty printed. + :return: V1SecurityContextConstraints + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['name', 'body', 'pretty'] + all_params.append('callback') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method patch_security_context_constraints" % key + ) + params[key] = val + del params['kwargs'] + # verify the required parameter 'name' is set + if ('name' not in params) or (params['name'] is None): + raise ValueError("Missing the required parameter `name` when calling `patch_security_context_constraints`") + # verify the required parameter 'body' is set + if ('body' not in params) or (params['body'] is None): + raise ValueError("Missing the required parameter `body` when calling `patch_security_context_constraints`") + + + collection_formats = {} + + resource_path = '/apis/security.openshift.io/v1/securitycontextconstraints/{name}'.replace('{format}', 'json') + path_params = {} + if 'name' in params: + path_params['name'] = params['name'] + + query_params = {} + if 'pretty' in params: + query_params['pretty'] = params['pretty'] + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + if 'body' in params: + body_params = params['body'] + # HTTP header `Accept` + header_params['Accept'] = self.api_client.\ + select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) + + # HTTP header `Content-Type` + header_params['Content-Type'] = self.api_client.\ + select_header_content_type(['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json']) + + # Authentication setting + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] + + return self.api_client.call_api(resource_path, 'PATCH', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1SecurityContextConstraints', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + + def read_security_context_constraints(self, name, **kwargs): + """ + read the specified SecurityContextConstraints + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please define a `callback` function + to be invoked when receiving the response. + >>> def callback_function(response): + >>> pprint(response) + >>> + >>> thread = api.read_security_context_constraints(name, callback=callback_function) + + :param callback function: The callback function + for asynchronous request. (optional) + :param str name: name of the SecurityContextConstraints (required) + :param str pretty: If 'true', then the output is pretty printed. + :param bool exact: Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. + :param bool export: Should this value be exported. Export strips fields that a user can not specify. + :return: V1SecurityContextConstraints + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('callback'): + return self.read_security_context_constraints_with_http_info(name, **kwargs) + else: + (data) = self.read_security_context_constraints_with_http_info(name, **kwargs) + return data + + def read_security_context_constraints_with_http_info(self, name, **kwargs): + """ + read the specified SecurityContextConstraints + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please define a `callback` function + to be invoked when receiving the response. + >>> def callback_function(response): + >>> pprint(response) + >>> + >>> thread = api.read_security_context_constraints_with_http_info(name, callback=callback_function) + + :param callback function: The callback function + for asynchronous request. (optional) + :param str name: name of the SecurityContextConstraints (required) + :param str pretty: If 'true', then the output is pretty printed. + :param bool exact: Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. + :param bool export: Should this value be exported. Export strips fields that a user can not specify. + :return: V1SecurityContextConstraints + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['name', 'pretty', 'exact', 'export'] + all_params.append('callback') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method read_security_context_constraints" % key + ) + params[key] = val + del params['kwargs'] + # verify the required parameter 'name' is set + if ('name' not in params) or (params['name'] is None): + raise ValueError("Missing the required parameter `name` when calling `read_security_context_constraints`") + + + collection_formats = {} + + resource_path = '/apis/security.openshift.io/v1/securitycontextconstraints/{name}'.replace('{format}', 'json') + path_params = {} + if 'name' in params: + path_params['name'] = params['name'] + + query_params = {} + if 'pretty' in params: + query_params['pretty'] = params['pretty'] + if 'exact' in params: + query_params['exact'] = params['exact'] + if 'export' in params: + query_params['export'] = params['export'] + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.\ + select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) + + # HTTP header `Content-Type` + header_params['Content-Type'] = self.api_client.\ + select_header_content_type(['*/*']) + + # Authentication setting + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] + + return self.api_client.call_api(resource_path, 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1SecurityContextConstraints', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + + def replace_security_context_constraints(self, name, body, **kwargs): + """ + replace the specified SecurityContextConstraints + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please define a `callback` function + to be invoked when receiving the response. + >>> def callback_function(response): + >>> pprint(response) + >>> + >>> thread = api.replace_security_context_constraints(name, body, callback=callback_function) + + :param callback function: The callback function + for asynchronous request. (optional) + :param str name: name of the SecurityContextConstraints (required) + :param V1SecurityContextConstraints body: (required) + :param str pretty: If 'true', then the output is pretty printed. + :return: V1SecurityContextConstraints + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('callback'): + return self.replace_security_context_constraints_with_http_info(name, body, **kwargs) + else: + (data) = self.replace_security_context_constraints_with_http_info(name, body, **kwargs) + return data + + def replace_security_context_constraints_with_http_info(self, name, body, **kwargs): + """ + replace the specified SecurityContextConstraints + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please define a `callback` function + to be invoked when receiving the response. + >>> def callback_function(response): + >>> pprint(response) + >>> + >>> thread = api.replace_security_context_constraints_with_http_info(name, body, callback=callback_function) + + :param callback function: The callback function + for asynchronous request. (optional) + :param str name: name of the SecurityContextConstraints (required) + :param V1SecurityContextConstraints body: (required) + :param str pretty: If 'true', then the output is pretty printed. + :return: V1SecurityContextConstraints + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['name', 'body', 'pretty'] + all_params.append('callback') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method replace_security_context_constraints" % key + ) + params[key] = val + del params['kwargs'] + # verify the required parameter 'name' is set + if ('name' not in params) or (params['name'] is None): + raise ValueError("Missing the required parameter `name` when calling `replace_security_context_constraints`") + # verify the required parameter 'body' is set + if ('body' not in params) or (params['body'] is None): + raise ValueError("Missing the required parameter `body` when calling `replace_security_context_constraints`") + + + collection_formats = {} + + resource_path = '/apis/security.openshift.io/v1/securitycontextconstraints/{name}'.replace('{format}', 'json') + path_params = {} + if 'name' in params: + path_params['name'] = params['name'] + + query_params = {} + if 'pretty' in params: + query_params['pretty'] = params['pretty'] + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + if 'body' in params: + body_params = params['body'] + # HTTP header `Accept` + header_params['Accept'] = self.api_client.\ + select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) + + # HTTP header `Content-Type` + header_params['Content-Type'] = self.api_client.\ + select_header_content_type(['*/*']) + + # Authentication setting + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] + + return self.api_client.call_api(resource_path, 'PUT', path_params, query_params, header_params, body=body_params, post_params=form_params, files=local_var_files, - response_type='UnversionedAPIResourceList', + response_type='V1SecurityContextConstraints', auth_settings=auth_settings, callback=params.get('callback'), _return_http_data_only=params.get('_return_http_data_only'), diff --git a/openshift/client/apis/template_openshift_io_api.py b/openshift/client/apis/template_openshift_io_api.py index addaf0d6..3fb6b313 100644 --- a/openshift/client/apis/template_openshift_io_api.py +++ b/openshift/client/apis/template_openshift_io_api.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -40,7 +40,7 @@ def __init__(self, api_client=None): config.api_client = ApiClient() self.api_client = config.api_client - def create_namespaced_processed_template_v1(self, body, namespace, **kwargs): + def create_namespaced_processed_template_v1(self, namespace, body, **kwargs): """ create a Template This method makes a synchronous HTTP request by default. To make an @@ -49,12 +49,12 @@ def create_namespaced_processed_template_v1(self, body, namespace, **kwargs): >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.create_namespaced_processed_template_v1(body, namespace, callback=callback_function) + >>> thread = api.create_namespaced_processed_template_v1(namespace, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) - :param V1Template body: (required) :param str namespace: object name and auth scope, such as for teams and projects (required) + :param V1Template body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1Template If the method is called asynchronously, @@ -62,12 +62,12 @@ def create_namespaced_processed_template_v1(self, body, namespace, **kwargs): """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.create_namespaced_processed_template_v1_with_http_info(body, namespace, **kwargs) + return self.create_namespaced_processed_template_v1_with_http_info(namespace, body, **kwargs) else: - (data) = self.create_namespaced_processed_template_v1_with_http_info(body, namespace, **kwargs) + (data) = self.create_namespaced_processed_template_v1_with_http_info(namespace, body, **kwargs) return data - def create_namespaced_processed_template_v1_with_http_info(self, body, namespace, **kwargs): + def create_namespaced_processed_template_v1_with_http_info(self, namespace, body, **kwargs): """ create a Template This method makes a synchronous HTTP request by default. To make an @@ -76,19 +76,19 @@ def create_namespaced_processed_template_v1_with_http_info(self, body, namespace >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.create_namespaced_processed_template_v1_with_http_info(body, namespace, callback=callback_function) + >>> thread = api.create_namespaced_processed_template_v1_with_http_info(namespace, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) - :param V1Template body: (required) :param str namespace: object name and auth scope, such as for teams and projects (required) + :param V1Template body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1Template If the method is called asynchronously, returns the request thread. """ - all_params = ['body', 'namespace', 'pretty'] + all_params = ['namespace', 'body', 'pretty'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -103,12 +103,12 @@ def create_namespaced_processed_template_v1_with_http_info(self, body, namespace ) params[key] = val del params['kwargs'] - # verify the required parameter 'body' is set - if ('body' not in params) or (params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `create_namespaced_processed_template_v1`") # verify the required parameter 'namespace' is set if ('namespace' not in params) or (params['namespace'] is None): raise ValueError("Missing the required parameter `namespace` when calling `create_namespaced_processed_template_v1`") + # verify the required parameter 'body' is set + if ('body' not in params) or (params['body'] is None): + raise ValueError("Missing the required parameter `body` when calling `create_namespaced_processed_template_v1`") collection_formats = {} @@ -139,7 +139,7 @@ def create_namespaced_processed_template_v1_with_http_info(self, body, namespace select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'POST', path_params, @@ -248,7 +248,7 @@ def create_processed_template_for_all_namespaces_with_http_info(self, body, **kw select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'POST', path_params, diff --git a/openshift/client/apis/template_openshift_io_v1_api.py b/openshift/client/apis/template_openshift_io_v1_api.py index 4c055189..57cba32c 100644 --- a/openshift/client/apis/template_openshift_io_v1_api.py +++ b/openshift/client/apis/template_openshift_io_v1_api.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -40,7 +40,143 @@ def __init__(self, api_client=None): config.api_client = ApiClient() self.api_client = config.api_client - def create_template_openshift_io_v1_namespaced_template(self, namespace, body, **kwargs): + def create_broker_template_instance(self, body, **kwargs): + """ + create a BrokerTemplateInstance + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please define a `callback` function + to be invoked when receiving the response. + >>> def callback_function(response): + >>> pprint(response) + >>> + >>> thread = api.create_broker_template_instance(body, callback=callback_function) + + :param callback function: The callback function + for asynchronous request. (optional) + :param V1BrokerTemplateInstance body: (required) + :param str pretty: If 'true', then the output is pretty printed. + :return: V1BrokerTemplateInstance + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('callback'): + return self.create_broker_template_instance_with_http_info(body, **kwargs) + else: + (data) = self.create_broker_template_instance_with_http_info(body, **kwargs) + return data + + def create_broker_template_instance_with_http_info(self, body, **kwargs): + """ + create a BrokerTemplateInstance + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please define a `callback` function + to be invoked when receiving the response. + >>> def callback_function(response): + >>> pprint(response) + >>> + >>> thread = api.create_broker_template_instance_with_http_info(body, callback=callback_function) + + :param callback function: The callback function + for asynchronous request. (optional) + :param V1BrokerTemplateInstance body: (required) + :param str pretty: If 'true', then the output is pretty printed. + :return: V1BrokerTemplateInstance + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['body', 'pretty'] + all_params.append('callback') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method create_broker_template_instance" % key + ) + params[key] = val + del params['kwargs'] + # verify the required parameter 'body' is set + if ('body' not in params) or (params['body'] is None): + raise ValueError("Missing the required parameter `body` when calling `create_broker_template_instance`") + + + collection_formats = {} + + resource_path = '/apis/template.openshift.io/v1/brokertemplateinstances'.replace('{format}', 'json') + path_params = {} + + query_params = {} + if 'pretty' in params: + query_params['pretty'] = params['pretty'] + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + if 'body' in params: + body_params = params['body'] + # HTTP header `Accept` + header_params['Accept'] = self.api_client.\ + select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) + + # HTTP header `Content-Type` + header_params['Content-Type'] = self.api_client.\ + select_header_content_type(['*/*']) + + # Authentication setting + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] + + return self.api_client.call_api(resource_path, 'POST', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1BrokerTemplateInstance', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + + def create_namespaced_template(self, namespace, body, **kwargs): + """ + create a Template + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please define a `callback` function + to be invoked when receiving the response. + >>> def callback_function(response): + >>> pprint(response) + >>> + >>> thread = api.create_namespaced_template(namespace, body, callback=callback_function) + + :param callback function: The callback function + for asynchronous request. (optional) + :param str namespace: object name and auth scope, such as for teams and projects (required) + :param V1Template body: (required) + :param str pretty: If 'true', then the output is pretty printed. + :return: V1Template + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('callback'): + return self.create_namespaced_template_with_http_info(namespace, body, **kwargs) + else: + (data) = self.create_namespaced_template_with_http_info(namespace, body, **kwargs) + return data + + def create_namespaced_template_with_http_info(self, namespace, body, **kwargs): """ create a Template This method makes a synchronous HTTP request by default. To make an @@ -49,46 +185,2241 @@ def create_template_openshift_io_v1_namespaced_template(self, namespace, body, * >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.create_template_openshift_io_v1_namespaced_template(namespace, body, callback=callback_function) + >>> thread = api.create_namespaced_template_with_http_info(namespace, body, callback=callback_function) + + :param callback function: The callback function + for asynchronous request. (optional) + :param str namespace: object name and auth scope, such as for teams and projects (required) + :param V1Template body: (required) + :param str pretty: If 'true', then the output is pretty printed. + :return: V1Template + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['namespace', 'body', 'pretty'] + all_params.append('callback') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method create_namespaced_template" % key + ) + params[key] = val + del params['kwargs'] + # verify the required parameter 'namespace' is set + if ('namespace' not in params) or (params['namespace'] is None): + raise ValueError("Missing the required parameter `namespace` when calling `create_namespaced_template`") + # verify the required parameter 'body' is set + if ('body' not in params) or (params['body'] is None): + raise ValueError("Missing the required parameter `body` when calling `create_namespaced_template`") + + + collection_formats = {} + + resource_path = '/apis/template.openshift.io/v1/namespaces/{namespace}/templates'.replace('{format}', 'json') + path_params = {} + if 'namespace' in params: + path_params['namespace'] = params['namespace'] + + query_params = {} + if 'pretty' in params: + query_params['pretty'] = params['pretty'] + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + if 'body' in params: + body_params = params['body'] + # HTTP header `Accept` + header_params['Accept'] = self.api_client.\ + select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) + + # HTTP header `Content-Type` + header_params['Content-Type'] = self.api_client.\ + select_header_content_type(['*/*']) + + # Authentication setting + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] + + return self.api_client.call_api(resource_path, 'POST', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1Template', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + + def create_namespaced_template_instance(self, namespace, body, **kwargs): + """ + create a TemplateInstance + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please define a `callback` function + to be invoked when receiving the response. + >>> def callback_function(response): + >>> pprint(response) + >>> + >>> thread = api.create_namespaced_template_instance(namespace, body, callback=callback_function) + + :param callback function: The callback function + for asynchronous request. (optional) + :param str namespace: object name and auth scope, such as for teams and projects (required) + :param V1TemplateInstance body: (required) + :param str pretty: If 'true', then the output is pretty printed. + :return: V1TemplateInstance + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('callback'): + return self.create_namespaced_template_instance_with_http_info(namespace, body, **kwargs) + else: + (data) = self.create_namespaced_template_instance_with_http_info(namespace, body, **kwargs) + return data + + def create_namespaced_template_instance_with_http_info(self, namespace, body, **kwargs): + """ + create a TemplateInstance + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please define a `callback` function + to be invoked when receiving the response. + >>> def callback_function(response): + >>> pprint(response) + >>> + >>> thread = api.create_namespaced_template_instance_with_http_info(namespace, body, callback=callback_function) + + :param callback function: The callback function + for asynchronous request. (optional) + :param str namespace: object name and auth scope, such as for teams and projects (required) + :param V1TemplateInstance body: (required) + :param str pretty: If 'true', then the output is pretty printed. + :return: V1TemplateInstance + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['namespace', 'body', 'pretty'] + all_params.append('callback') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method create_namespaced_template_instance" % key + ) + params[key] = val + del params['kwargs'] + # verify the required parameter 'namespace' is set + if ('namespace' not in params) or (params['namespace'] is None): + raise ValueError("Missing the required parameter `namespace` when calling `create_namespaced_template_instance`") + # verify the required parameter 'body' is set + if ('body' not in params) or (params['body'] is None): + raise ValueError("Missing the required parameter `body` when calling `create_namespaced_template_instance`") + + + collection_formats = {} + + resource_path = '/apis/template.openshift.io/v1/namespaces/{namespace}/templateinstances'.replace('{format}', 'json') + path_params = {} + if 'namespace' in params: + path_params['namespace'] = params['namespace'] + + query_params = {} + if 'pretty' in params: + query_params['pretty'] = params['pretty'] + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + if 'body' in params: + body_params = params['body'] + # HTTP header `Accept` + header_params['Accept'] = self.api_client.\ + select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) + + # HTTP header `Content-Type` + header_params['Content-Type'] = self.api_client.\ + select_header_content_type(['*/*']) + + # Authentication setting + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] + + return self.api_client.call_api(resource_path, 'POST', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1TemplateInstance', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + + def create_template_for_all_namespaces(self, body, **kwargs): + """ + create a Template + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please define a `callback` function + to be invoked when receiving the response. + >>> def callback_function(response): + >>> pprint(response) + >>> + >>> thread = api.create_template_for_all_namespaces(body, callback=callback_function) + + :param callback function: The callback function + for asynchronous request. (optional) + :param V1Template body: (required) + :param str pretty: If 'true', then the output is pretty printed. + :return: V1Template + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('callback'): + return self.create_template_for_all_namespaces_with_http_info(body, **kwargs) + else: + (data) = self.create_template_for_all_namespaces_with_http_info(body, **kwargs) + return data + + def create_template_for_all_namespaces_with_http_info(self, body, **kwargs): + """ + create a Template + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please define a `callback` function + to be invoked when receiving the response. + >>> def callback_function(response): + >>> pprint(response) + >>> + >>> thread = api.create_template_for_all_namespaces_with_http_info(body, callback=callback_function) + + :param callback function: The callback function + for asynchronous request. (optional) + :param V1Template body: (required) + :param str pretty: If 'true', then the output is pretty printed. + :return: V1Template + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['body', 'pretty'] + all_params.append('callback') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method create_template_for_all_namespaces" % key + ) + params[key] = val + del params['kwargs'] + # verify the required parameter 'body' is set + if ('body' not in params) or (params['body'] is None): + raise ValueError("Missing the required parameter `body` when calling `create_template_for_all_namespaces`") + + + collection_formats = {} + + resource_path = '/apis/template.openshift.io/v1/templates'.replace('{format}', 'json') + path_params = {} + + query_params = {} + if 'pretty' in params: + query_params['pretty'] = params['pretty'] + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + if 'body' in params: + body_params = params['body'] + # HTTP header `Accept` + header_params['Accept'] = self.api_client.\ + select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) + + # HTTP header `Content-Type` + header_params['Content-Type'] = self.api_client.\ + select_header_content_type(['*/*']) + + # Authentication setting + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] + + return self.api_client.call_api(resource_path, 'POST', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1Template', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + + def create_template_instance_for_all_namespaces(self, body, **kwargs): + """ + create a TemplateInstance + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please define a `callback` function + to be invoked when receiving the response. + >>> def callback_function(response): + >>> pprint(response) + >>> + >>> thread = api.create_template_instance_for_all_namespaces(body, callback=callback_function) + + :param callback function: The callback function + for asynchronous request. (optional) + :param V1TemplateInstance body: (required) + :param str pretty: If 'true', then the output is pretty printed. + :return: V1TemplateInstance + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('callback'): + return self.create_template_instance_for_all_namespaces_with_http_info(body, **kwargs) + else: + (data) = self.create_template_instance_for_all_namespaces_with_http_info(body, **kwargs) + return data + + def create_template_instance_for_all_namespaces_with_http_info(self, body, **kwargs): + """ + create a TemplateInstance + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please define a `callback` function + to be invoked when receiving the response. + >>> def callback_function(response): + >>> pprint(response) + >>> + >>> thread = api.create_template_instance_for_all_namespaces_with_http_info(body, callback=callback_function) + + :param callback function: The callback function + for asynchronous request. (optional) + :param V1TemplateInstance body: (required) + :param str pretty: If 'true', then the output is pretty printed. + :return: V1TemplateInstance + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['body', 'pretty'] + all_params.append('callback') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method create_template_instance_for_all_namespaces" % key + ) + params[key] = val + del params['kwargs'] + # verify the required parameter 'body' is set + if ('body' not in params) or (params['body'] is None): + raise ValueError("Missing the required parameter `body` when calling `create_template_instance_for_all_namespaces`") + + + collection_formats = {} + + resource_path = '/apis/template.openshift.io/v1/templateinstances'.replace('{format}', 'json') + path_params = {} + + query_params = {} + if 'pretty' in params: + query_params['pretty'] = params['pretty'] + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + if 'body' in params: + body_params = params['body'] + # HTTP header `Accept` + header_params['Accept'] = self.api_client.\ + select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) + + # HTTP header `Content-Type` + header_params['Content-Type'] = self.api_client.\ + select_header_content_type(['*/*']) + + # Authentication setting + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] + + return self.api_client.call_api(resource_path, 'POST', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1TemplateInstance', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + + def delete_broker_template_instance(self, name, body, **kwargs): + """ + delete a BrokerTemplateInstance + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please define a `callback` function + to be invoked when receiving the response. + >>> def callback_function(response): + >>> pprint(response) + >>> + >>> thread = api.delete_broker_template_instance(name, body, callback=callback_function) + + :param callback function: The callback function + for asynchronous request. (optional) + :param str name: name of the BrokerTemplateInstance (required) + :param V1DeleteOptions body: (required) + :param str pretty: If 'true', then the output is pretty printed. + :param int grace_period_seconds: 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. + :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. + :param str propagation_policy: Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. + :return: V1Status + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('callback'): + return self.delete_broker_template_instance_with_http_info(name, body, **kwargs) + else: + (data) = self.delete_broker_template_instance_with_http_info(name, body, **kwargs) + return data + + def delete_broker_template_instance_with_http_info(self, name, body, **kwargs): + """ + delete a BrokerTemplateInstance + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please define a `callback` function + to be invoked when receiving the response. + >>> def callback_function(response): + >>> pprint(response) + >>> + >>> thread = api.delete_broker_template_instance_with_http_info(name, body, callback=callback_function) + + :param callback function: The callback function + for asynchronous request. (optional) + :param str name: name of the BrokerTemplateInstance (required) + :param V1DeleteOptions body: (required) + :param str pretty: If 'true', then the output is pretty printed. + :param int grace_period_seconds: 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. + :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. + :param str propagation_policy: Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. + :return: V1Status + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['name', 'body', 'pretty', 'grace_period_seconds', 'orphan_dependents', 'propagation_policy'] + all_params.append('callback') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method delete_broker_template_instance" % key + ) + params[key] = val + del params['kwargs'] + # verify the required parameter 'name' is set + if ('name' not in params) or (params['name'] is None): + raise ValueError("Missing the required parameter `name` when calling `delete_broker_template_instance`") + # verify the required parameter 'body' is set + if ('body' not in params) or (params['body'] is None): + raise ValueError("Missing the required parameter `body` when calling `delete_broker_template_instance`") + + + collection_formats = {} + + resource_path = '/apis/template.openshift.io/v1/brokertemplateinstances/{name}'.replace('{format}', 'json') + path_params = {} + if 'name' in params: + path_params['name'] = params['name'] + + query_params = {} + if 'pretty' in params: + query_params['pretty'] = params['pretty'] + if 'grace_period_seconds' in params: + query_params['gracePeriodSeconds'] = params['grace_period_seconds'] + if 'orphan_dependents' in params: + query_params['orphanDependents'] = params['orphan_dependents'] + if 'propagation_policy' in params: + query_params['propagationPolicy'] = params['propagation_policy'] + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + if 'body' in params: + body_params = params['body'] + # HTTP header `Accept` + header_params['Accept'] = self.api_client.\ + select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) + + # HTTP header `Content-Type` + header_params['Content-Type'] = self.api_client.\ + select_header_content_type(['*/*']) + + # Authentication setting + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] + + return self.api_client.call_api(resource_path, 'DELETE', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1Status', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + + def delete_collection_broker_template_instance(self, **kwargs): + """ + delete collection of BrokerTemplateInstance + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please define a `callback` function + to be invoked when receiving the response. + >>> def callback_function(response): + >>> pprint(response) + >>> + >>> thread = api.delete_collection_broker_template_instance(callback=callback_function) + + :param callback function: The callback function + for asynchronous request. (optional) + :param str pretty: If 'true', then the output is pretty printed. + :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param bool include_uninitialized: If true, partially initialized resources are included in the response. + :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. + :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. + :param int timeout_seconds: Timeout for the list/watch call. + :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + :return: V1Status + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('callback'): + return self.delete_collection_broker_template_instance_with_http_info(**kwargs) + else: + (data) = self.delete_collection_broker_template_instance_with_http_info(**kwargs) + return data + + def delete_collection_broker_template_instance_with_http_info(self, **kwargs): + """ + delete collection of BrokerTemplateInstance + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please define a `callback` function + to be invoked when receiving the response. + >>> def callback_function(response): + >>> pprint(response) + >>> + >>> thread = api.delete_collection_broker_template_instance_with_http_info(callback=callback_function) + + :param callback function: The callback function + for asynchronous request. (optional) + :param str pretty: If 'true', then the output is pretty printed. + :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param bool include_uninitialized: If true, partially initialized resources are included in the response. + :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. + :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. + :param int timeout_seconds: Timeout for the list/watch call. + :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + :return: V1Status + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['pretty', 'field_selector', 'include_uninitialized', 'label_selector', 'resource_version', 'timeout_seconds', 'watch'] + all_params.append('callback') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method delete_collection_broker_template_instance" % key + ) + params[key] = val + del params['kwargs'] + + + collection_formats = {} + + resource_path = '/apis/template.openshift.io/v1/brokertemplateinstances'.replace('{format}', 'json') + path_params = {} + + query_params = {} + if 'pretty' in params: + query_params['pretty'] = params['pretty'] + if 'field_selector' in params: + query_params['fieldSelector'] = params['field_selector'] + if 'include_uninitialized' in params: + query_params['includeUninitialized'] = params['include_uninitialized'] + if 'label_selector' in params: + query_params['labelSelector'] = params['label_selector'] + if 'resource_version' in params: + query_params['resourceVersion'] = params['resource_version'] + if 'timeout_seconds' in params: + query_params['timeoutSeconds'] = params['timeout_seconds'] + if 'watch' in params: + query_params['watch'] = params['watch'] + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.\ + select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) + + # HTTP header `Content-Type` + header_params['Content-Type'] = self.api_client.\ + select_header_content_type(['*/*']) + + # Authentication setting + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] + + return self.api_client.call_api(resource_path, 'DELETE', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1Status', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + + def delete_collection_namespaced_template(self, namespace, **kwargs): + """ + delete collection of Template + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please define a `callback` function + to be invoked when receiving the response. + >>> def callback_function(response): + >>> pprint(response) + >>> + >>> thread = api.delete_collection_namespaced_template(namespace, callback=callback_function) + + :param callback function: The callback function + for asynchronous request. (optional) + :param str namespace: object name and auth scope, such as for teams and projects (required) + :param str pretty: If 'true', then the output is pretty printed. + :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param bool include_uninitialized: If true, partially initialized resources are included in the response. + :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. + :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. + :param int timeout_seconds: Timeout for the list/watch call. + :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + :return: V1Status + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('callback'): + return self.delete_collection_namespaced_template_with_http_info(namespace, **kwargs) + else: + (data) = self.delete_collection_namespaced_template_with_http_info(namespace, **kwargs) + return data + + def delete_collection_namespaced_template_with_http_info(self, namespace, **kwargs): + """ + delete collection of Template + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please define a `callback` function + to be invoked when receiving the response. + >>> def callback_function(response): + >>> pprint(response) + >>> + >>> thread = api.delete_collection_namespaced_template_with_http_info(namespace, callback=callback_function) + + :param callback function: The callback function + for asynchronous request. (optional) + :param str namespace: object name and auth scope, such as for teams and projects (required) + :param str pretty: If 'true', then the output is pretty printed. + :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param bool include_uninitialized: If true, partially initialized resources are included in the response. + :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. + :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. + :param int timeout_seconds: Timeout for the list/watch call. + :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + :return: V1Status + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['namespace', 'pretty', 'field_selector', 'include_uninitialized', 'label_selector', 'resource_version', 'timeout_seconds', 'watch'] + all_params.append('callback') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method delete_collection_namespaced_template" % key + ) + params[key] = val + del params['kwargs'] + # verify the required parameter 'namespace' is set + if ('namespace' not in params) or (params['namespace'] is None): + raise ValueError("Missing the required parameter `namespace` when calling `delete_collection_namespaced_template`") + + + collection_formats = {} + + resource_path = '/apis/template.openshift.io/v1/namespaces/{namespace}/templates'.replace('{format}', 'json') + path_params = {} + if 'namespace' in params: + path_params['namespace'] = params['namespace'] + + query_params = {} + if 'pretty' in params: + query_params['pretty'] = params['pretty'] + if 'field_selector' in params: + query_params['fieldSelector'] = params['field_selector'] + if 'include_uninitialized' in params: + query_params['includeUninitialized'] = params['include_uninitialized'] + if 'label_selector' in params: + query_params['labelSelector'] = params['label_selector'] + if 'resource_version' in params: + query_params['resourceVersion'] = params['resource_version'] + if 'timeout_seconds' in params: + query_params['timeoutSeconds'] = params['timeout_seconds'] + if 'watch' in params: + query_params['watch'] = params['watch'] + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.\ + select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) + + # HTTP header `Content-Type` + header_params['Content-Type'] = self.api_client.\ + select_header_content_type(['*/*']) + + # Authentication setting + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] + + return self.api_client.call_api(resource_path, 'DELETE', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1Status', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + + def delete_collection_namespaced_template_instance(self, namespace, **kwargs): + """ + delete collection of TemplateInstance + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please define a `callback` function + to be invoked when receiving the response. + >>> def callback_function(response): + >>> pprint(response) + >>> + >>> thread = api.delete_collection_namespaced_template_instance(namespace, callback=callback_function) + + :param callback function: The callback function + for asynchronous request. (optional) + :param str namespace: object name and auth scope, such as for teams and projects (required) + :param str pretty: If 'true', then the output is pretty printed. + :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param bool include_uninitialized: If true, partially initialized resources are included in the response. + :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. + :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. + :param int timeout_seconds: Timeout for the list/watch call. + :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + :return: V1Status + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('callback'): + return self.delete_collection_namespaced_template_instance_with_http_info(namespace, **kwargs) + else: + (data) = self.delete_collection_namespaced_template_instance_with_http_info(namespace, **kwargs) + return data + + def delete_collection_namespaced_template_instance_with_http_info(self, namespace, **kwargs): + """ + delete collection of TemplateInstance + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please define a `callback` function + to be invoked when receiving the response. + >>> def callback_function(response): + >>> pprint(response) + >>> + >>> thread = api.delete_collection_namespaced_template_instance_with_http_info(namespace, callback=callback_function) + + :param callback function: The callback function + for asynchronous request. (optional) + :param str namespace: object name and auth scope, such as for teams and projects (required) + :param str pretty: If 'true', then the output is pretty printed. + :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param bool include_uninitialized: If true, partially initialized resources are included in the response. + :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. + :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. + :param int timeout_seconds: Timeout for the list/watch call. + :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + :return: V1Status + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['namespace', 'pretty', 'field_selector', 'include_uninitialized', 'label_selector', 'resource_version', 'timeout_seconds', 'watch'] + all_params.append('callback') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method delete_collection_namespaced_template_instance" % key + ) + params[key] = val + del params['kwargs'] + # verify the required parameter 'namespace' is set + if ('namespace' not in params) or (params['namespace'] is None): + raise ValueError("Missing the required parameter `namespace` when calling `delete_collection_namespaced_template_instance`") + + + collection_formats = {} + + resource_path = '/apis/template.openshift.io/v1/namespaces/{namespace}/templateinstances'.replace('{format}', 'json') + path_params = {} + if 'namespace' in params: + path_params['namespace'] = params['namespace'] + + query_params = {} + if 'pretty' in params: + query_params['pretty'] = params['pretty'] + if 'field_selector' in params: + query_params['fieldSelector'] = params['field_selector'] + if 'include_uninitialized' in params: + query_params['includeUninitialized'] = params['include_uninitialized'] + if 'label_selector' in params: + query_params['labelSelector'] = params['label_selector'] + if 'resource_version' in params: + query_params['resourceVersion'] = params['resource_version'] + if 'timeout_seconds' in params: + query_params['timeoutSeconds'] = params['timeout_seconds'] + if 'watch' in params: + query_params['watch'] = params['watch'] + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.\ + select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) + + # HTTP header `Content-Type` + header_params['Content-Type'] = self.api_client.\ + select_header_content_type(['*/*']) + + # Authentication setting + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] + + return self.api_client.call_api(resource_path, 'DELETE', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1Status', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + + def delete_namespaced_template(self, name, namespace, body, **kwargs): + """ + delete a Template + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please define a `callback` function + to be invoked when receiving the response. + >>> def callback_function(response): + >>> pprint(response) + >>> + >>> thread = api.delete_namespaced_template(name, namespace, body, callback=callback_function) + + :param callback function: The callback function + for asynchronous request. (optional) + :param str name: name of the Template (required) + :param str namespace: object name and auth scope, such as for teams and projects (required) + :param V1DeleteOptions body: (required) + :param str pretty: If 'true', then the output is pretty printed. + :param int grace_period_seconds: 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. + :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. + :param str propagation_policy: Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. + :return: V1Status + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('callback'): + return self.delete_namespaced_template_with_http_info(name, namespace, body, **kwargs) + else: + (data) = self.delete_namespaced_template_with_http_info(name, namespace, body, **kwargs) + return data + + def delete_namespaced_template_with_http_info(self, name, namespace, body, **kwargs): + """ + delete a Template + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please define a `callback` function + to be invoked when receiving the response. + >>> def callback_function(response): + >>> pprint(response) + >>> + >>> thread = api.delete_namespaced_template_with_http_info(name, namespace, body, callback=callback_function) + + :param callback function: The callback function + for asynchronous request. (optional) + :param str name: name of the Template (required) + :param str namespace: object name and auth scope, such as for teams and projects (required) + :param V1DeleteOptions body: (required) + :param str pretty: If 'true', then the output is pretty printed. + :param int grace_period_seconds: 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. + :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. + :param str propagation_policy: Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. + :return: V1Status + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['name', 'namespace', 'body', 'pretty', 'grace_period_seconds', 'orphan_dependents', 'propagation_policy'] + all_params.append('callback') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method delete_namespaced_template" % key + ) + params[key] = val + del params['kwargs'] + # verify the required parameter 'name' is set + if ('name' not in params) or (params['name'] is None): + raise ValueError("Missing the required parameter `name` when calling `delete_namespaced_template`") + # verify the required parameter 'namespace' is set + if ('namespace' not in params) or (params['namespace'] is None): + raise ValueError("Missing the required parameter `namespace` when calling `delete_namespaced_template`") + # verify the required parameter 'body' is set + if ('body' not in params) or (params['body'] is None): + raise ValueError("Missing the required parameter `body` when calling `delete_namespaced_template`") + + + collection_formats = {} + + resource_path = '/apis/template.openshift.io/v1/namespaces/{namespace}/templates/{name}'.replace('{format}', 'json') + path_params = {} + if 'name' in params: + path_params['name'] = params['name'] + if 'namespace' in params: + path_params['namespace'] = params['namespace'] + + query_params = {} + if 'pretty' in params: + query_params['pretty'] = params['pretty'] + if 'grace_period_seconds' in params: + query_params['gracePeriodSeconds'] = params['grace_period_seconds'] + if 'orphan_dependents' in params: + query_params['orphanDependents'] = params['orphan_dependents'] + if 'propagation_policy' in params: + query_params['propagationPolicy'] = params['propagation_policy'] + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + if 'body' in params: + body_params = params['body'] + # HTTP header `Accept` + header_params['Accept'] = self.api_client.\ + select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) + + # HTTP header `Content-Type` + header_params['Content-Type'] = self.api_client.\ + select_header_content_type(['*/*']) + + # Authentication setting + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] + + return self.api_client.call_api(resource_path, 'DELETE', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1Status', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + + def delete_namespaced_template_instance(self, name, namespace, body, **kwargs): + """ + delete a TemplateInstance + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please define a `callback` function + to be invoked when receiving the response. + >>> def callback_function(response): + >>> pprint(response) + >>> + >>> thread = api.delete_namespaced_template_instance(name, namespace, body, callback=callback_function) + + :param callback function: The callback function + for asynchronous request. (optional) + :param str name: name of the TemplateInstance (required) + :param str namespace: object name and auth scope, such as for teams and projects (required) + :param V1DeleteOptions body: (required) + :param str pretty: If 'true', then the output is pretty printed. + :param int grace_period_seconds: 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. + :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. + :param str propagation_policy: Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. + :return: V1Status + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('callback'): + return self.delete_namespaced_template_instance_with_http_info(name, namespace, body, **kwargs) + else: + (data) = self.delete_namespaced_template_instance_with_http_info(name, namespace, body, **kwargs) + return data + + def delete_namespaced_template_instance_with_http_info(self, name, namespace, body, **kwargs): + """ + delete a TemplateInstance + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please define a `callback` function + to be invoked when receiving the response. + >>> def callback_function(response): + >>> pprint(response) + >>> + >>> thread = api.delete_namespaced_template_instance_with_http_info(name, namespace, body, callback=callback_function) + + :param callback function: The callback function + for asynchronous request. (optional) + :param str name: name of the TemplateInstance (required) + :param str namespace: object name and auth scope, such as for teams and projects (required) + :param V1DeleteOptions body: (required) + :param str pretty: If 'true', then the output is pretty printed. + :param int grace_period_seconds: 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. + :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. + :param str propagation_policy: Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. + :return: V1Status + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['name', 'namespace', 'body', 'pretty', 'grace_period_seconds', 'orphan_dependents', 'propagation_policy'] + all_params.append('callback') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method delete_namespaced_template_instance" % key + ) + params[key] = val + del params['kwargs'] + # verify the required parameter 'name' is set + if ('name' not in params) or (params['name'] is None): + raise ValueError("Missing the required parameter `name` when calling `delete_namespaced_template_instance`") + # verify the required parameter 'namespace' is set + if ('namespace' not in params) or (params['namespace'] is None): + raise ValueError("Missing the required parameter `namespace` when calling `delete_namespaced_template_instance`") + # verify the required parameter 'body' is set + if ('body' not in params) or (params['body'] is None): + raise ValueError("Missing the required parameter `body` when calling `delete_namespaced_template_instance`") + + + collection_formats = {} + + resource_path = '/apis/template.openshift.io/v1/namespaces/{namespace}/templateinstances/{name}'.replace('{format}', 'json') + path_params = {} + if 'name' in params: + path_params['name'] = params['name'] + if 'namespace' in params: + path_params['namespace'] = params['namespace'] + + query_params = {} + if 'pretty' in params: + query_params['pretty'] = params['pretty'] + if 'grace_period_seconds' in params: + query_params['gracePeriodSeconds'] = params['grace_period_seconds'] + if 'orphan_dependents' in params: + query_params['orphanDependents'] = params['orphan_dependents'] + if 'propagation_policy' in params: + query_params['propagationPolicy'] = params['propagation_policy'] + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + if 'body' in params: + body_params = params['body'] + # HTTP header `Accept` + header_params['Accept'] = self.api_client.\ + select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) + + # HTTP header `Content-Type` + header_params['Content-Type'] = self.api_client.\ + select_header_content_type(['*/*']) + + # Authentication setting + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] + + return self.api_client.call_api(resource_path, 'DELETE', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1Status', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + + def get_api_resources(self, **kwargs): + """ + get available resources + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please define a `callback` function + to be invoked when receiving the response. + >>> def callback_function(response): + >>> pprint(response) + >>> + >>> thread = api.get_api_resources(callback=callback_function) + + :param callback function: The callback function + for asynchronous request. (optional) + :return: V1APIResourceList + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('callback'): + return self.get_api_resources_with_http_info(**kwargs) + else: + (data) = self.get_api_resources_with_http_info(**kwargs) + return data + + def get_api_resources_with_http_info(self, **kwargs): + """ + get available resources + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please define a `callback` function + to be invoked when receiving the response. + >>> def callback_function(response): + >>> pprint(response) + >>> + >>> thread = api.get_api_resources_with_http_info(callback=callback_function) + + :param callback function: The callback function + for asynchronous request. (optional) + :return: V1APIResourceList + If the method is called asynchronously, + returns the request thread. + """ + + all_params = [] + all_params.append('callback') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method get_api_resources" % key + ) + params[key] = val + del params['kwargs'] + + collection_formats = {} + + resource_path = '/apis/template.openshift.io/v1/'.replace('{format}', 'json') + path_params = {} + + query_params = {} + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.\ + select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) + + # HTTP header `Content-Type` + header_params['Content-Type'] = self.api_client.\ + select_header_content_type(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) + + # Authentication setting + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] + + return self.api_client.call_api(resource_path, 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1APIResourceList', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + + def list_broker_template_instance(self, **kwargs): + """ + list or watch objects of kind BrokerTemplateInstance + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please define a `callback` function + to be invoked when receiving the response. + >>> def callback_function(response): + >>> pprint(response) + >>> + >>> thread = api.list_broker_template_instance(callback=callback_function) + + :param callback function: The callback function + for asynchronous request. (optional) + :param str pretty: If 'true', then the output is pretty printed. + :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param bool include_uninitialized: If true, partially initialized resources are included in the response. + :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. + :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. + :param int timeout_seconds: Timeout for the list/watch call. + :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + :return: V1BrokerTemplateInstanceList + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('callback'): + return self.list_broker_template_instance_with_http_info(**kwargs) + else: + (data) = self.list_broker_template_instance_with_http_info(**kwargs) + return data + + def list_broker_template_instance_with_http_info(self, **kwargs): + """ + list or watch objects of kind BrokerTemplateInstance + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please define a `callback` function + to be invoked when receiving the response. + >>> def callback_function(response): + >>> pprint(response) + >>> + >>> thread = api.list_broker_template_instance_with_http_info(callback=callback_function) + + :param callback function: The callback function + for asynchronous request. (optional) + :param str pretty: If 'true', then the output is pretty printed. + :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param bool include_uninitialized: If true, partially initialized resources are included in the response. + :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. + :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. + :param int timeout_seconds: Timeout for the list/watch call. + :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + :return: V1BrokerTemplateInstanceList + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['pretty', 'field_selector', 'include_uninitialized', 'label_selector', 'resource_version', 'timeout_seconds', 'watch'] + all_params.append('callback') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method list_broker_template_instance" % key + ) + params[key] = val + del params['kwargs'] + + + collection_formats = {} + + resource_path = '/apis/template.openshift.io/v1/brokertemplateinstances'.replace('{format}', 'json') + path_params = {} + + query_params = {} + if 'pretty' in params: + query_params['pretty'] = params['pretty'] + if 'field_selector' in params: + query_params['fieldSelector'] = params['field_selector'] + if 'include_uninitialized' in params: + query_params['includeUninitialized'] = params['include_uninitialized'] + if 'label_selector' in params: + query_params['labelSelector'] = params['label_selector'] + if 'resource_version' in params: + query_params['resourceVersion'] = params['resource_version'] + if 'timeout_seconds' in params: + query_params['timeoutSeconds'] = params['timeout_seconds'] + if 'watch' in params: + query_params['watch'] = params['watch'] + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.\ + select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/json;stream=watch', 'application/vnd.kubernetes.protobuf;stream=watch']) + + # HTTP header `Content-Type` + header_params['Content-Type'] = self.api_client.\ + select_header_content_type(['*/*']) + + # Authentication setting + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] + + return self.api_client.call_api(resource_path, 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1BrokerTemplateInstanceList', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + + def list_namespaced_template(self, namespace, **kwargs): + """ + list or watch objects of kind Template + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please define a `callback` function + to be invoked when receiving the response. + >>> def callback_function(response): + >>> pprint(response) + >>> + >>> thread = api.list_namespaced_template(namespace, callback=callback_function) + + :param callback function: The callback function + for asynchronous request. (optional) + :param str namespace: object name and auth scope, such as for teams and projects (required) + :param str pretty: If 'true', then the output is pretty printed. + :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param bool include_uninitialized: If true, partially initialized resources are included in the response. + :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. + :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. + :param int timeout_seconds: Timeout for the list/watch call. + :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + :return: V1TemplateList + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('callback'): + return self.list_namespaced_template_with_http_info(namespace, **kwargs) + else: + (data) = self.list_namespaced_template_with_http_info(namespace, **kwargs) + return data + + def list_namespaced_template_with_http_info(self, namespace, **kwargs): + """ + list or watch objects of kind Template + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please define a `callback` function + to be invoked when receiving the response. + >>> def callback_function(response): + >>> pprint(response) + >>> + >>> thread = api.list_namespaced_template_with_http_info(namespace, callback=callback_function) + + :param callback function: The callback function + for asynchronous request. (optional) + :param str namespace: object name and auth scope, such as for teams and projects (required) + :param str pretty: If 'true', then the output is pretty printed. + :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param bool include_uninitialized: If true, partially initialized resources are included in the response. + :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. + :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. + :param int timeout_seconds: Timeout for the list/watch call. + :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + :return: V1TemplateList + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['namespace', 'pretty', 'field_selector', 'include_uninitialized', 'label_selector', 'resource_version', 'timeout_seconds', 'watch'] + all_params.append('callback') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method list_namespaced_template" % key + ) + params[key] = val + del params['kwargs'] + # verify the required parameter 'namespace' is set + if ('namespace' not in params) or (params['namespace'] is None): + raise ValueError("Missing the required parameter `namespace` when calling `list_namespaced_template`") + + + collection_formats = {} + + resource_path = '/apis/template.openshift.io/v1/namespaces/{namespace}/templates'.replace('{format}', 'json') + path_params = {} + if 'namespace' in params: + path_params['namespace'] = params['namespace'] + + query_params = {} + if 'pretty' in params: + query_params['pretty'] = params['pretty'] + if 'field_selector' in params: + query_params['fieldSelector'] = params['field_selector'] + if 'include_uninitialized' in params: + query_params['includeUninitialized'] = params['include_uninitialized'] + if 'label_selector' in params: + query_params['labelSelector'] = params['label_selector'] + if 'resource_version' in params: + query_params['resourceVersion'] = params['resource_version'] + if 'timeout_seconds' in params: + query_params['timeoutSeconds'] = params['timeout_seconds'] + if 'watch' in params: + query_params['watch'] = params['watch'] + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.\ + select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/json;stream=watch', 'application/vnd.kubernetes.protobuf;stream=watch']) + + # HTTP header `Content-Type` + header_params['Content-Type'] = self.api_client.\ + select_header_content_type(['*/*']) + + # Authentication setting + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] + + return self.api_client.call_api(resource_path, 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1TemplateList', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + + def list_namespaced_template_instance(self, namespace, **kwargs): + """ + list or watch objects of kind TemplateInstance + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please define a `callback` function + to be invoked when receiving the response. + >>> def callback_function(response): + >>> pprint(response) + >>> + >>> thread = api.list_namespaced_template_instance(namespace, callback=callback_function) + + :param callback function: The callback function + for asynchronous request. (optional) + :param str namespace: object name and auth scope, such as for teams and projects (required) + :param str pretty: If 'true', then the output is pretty printed. + :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param bool include_uninitialized: If true, partially initialized resources are included in the response. + :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. + :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. + :param int timeout_seconds: Timeout for the list/watch call. + :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + :return: V1TemplateInstanceList + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('callback'): + return self.list_namespaced_template_instance_with_http_info(namespace, **kwargs) + else: + (data) = self.list_namespaced_template_instance_with_http_info(namespace, **kwargs) + return data + + def list_namespaced_template_instance_with_http_info(self, namespace, **kwargs): + """ + list or watch objects of kind TemplateInstance + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please define a `callback` function + to be invoked when receiving the response. + >>> def callback_function(response): + >>> pprint(response) + >>> + >>> thread = api.list_namespaced_template_instance_with_http_info(namespace, callback=callback_function) + + :param callback function: The callback function + for asynchronous request. (optional) + :param str namespace: object name and auth scope, such as for teams and projects (required) + :param str pretty: If 'true', then the output is pretty printed. + :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param bool include_uninitialized: If true, partially initialized resources are included in the response. + :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. + :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. + :param int timeout_seconds: Timeout for the list/watch call. + :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + :return: V1TemplateInstanceList + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['namespace', 'pretty', 'field_selector', 'include_uninitialized', 'label_selector', 'resource_version', 'timeout_seconds', 'watch'] + all_params.append('callback') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method list_namespaced_template_instance" % key + ) + params[key] = val + del params['kwargs'] + # verify the required parameter 'namespace' is set + if ('namespace' not in params) or (params['namespace'] is None): + raise ValueError("Missing the required parameter `namespace` when calling `list_namespaced_template_instance`") + + + collection_formats = {} + + resource_path = '/apis/template.openshift.io/v1/namespaces/{namespace}/templateinstances'.replace('{format}', 'json') + path_params = {} + if 'namespace' in params: + path_params['namespace'] = params['namespace'] + + query_params = {} + if 'pretty' in params: + query_params['pretty'] = params['pretty'] + if 'field_selector' in params: + query_params['fieldSelector'] = params['field_selector'] + if 'include_uninitialized' in params: + query_params['includeUninitialized'] = params['include_uninitialized'] + if 'label_selector' in params: + query_params['labelSelector'] = params['label_selector'] + if 'resource_version' in params: + query_params['resourceVersion'] = params['resource_version'] + if 'timeout_seconds' in params: + query_params['timeoutSeconds'] = params['timeout_seconds'] + if 'watch' in params: + query_params['watch'] = params['watch'] + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.\ + select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/json;stream=watch', 'application/vnd.kubernetes.protobuf;stream=watch']) + + # HTTP header `Content-Type` + header_params['Content-Type'] = self.api_client.\ + select_header_content_type(['*/*']) + + # Authentication setting + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] + + return self.api_client.call_api(resource_path, 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1TemplateInstanceList', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + + def list_template_for_all_namespaces(self, **kwargs): + """ + list or watch objects of kind Template + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please define a `callback` function + to be invoked when receiving the response. + >>> def callback_function(response): + >>> pprint(response) + >>> + >>> thread = api.list_template_for_all_namespaces(callback=callback_function) + + :param callback function: The callback function + for asynchronous request. (optional) + :param str pretty: If 'true', then the output is pretty printed. + :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param bool include_uninitialized: If true, partially initialized resources are included in the response. + :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. + :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. + :param int timeout_seconds: Timeout for the list/watch call. + :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + :return: V1TemplateList + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('callback'): + return self.list_template_for_all_namespaces_with_http_info(**kwargs) + else: + (data) = self.list_template_for_all_namespaces_with_http_info(**kwargs) + return data + + def list_template_for_all_namespaces_with_http_info(self, **kwargs): + """ + list or watch objects of kind Template + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please define a `callback` function + to be invoked when receiving the response. + >>> def callback_function(response): + >>> pprint(response) + >>> + >>> thread = api.list_template_for_all_namespaces_with_http_info(callback=callback_function) + + :param callback function: The callback function + for asynchronous request. (optional) + :param str pretty: If 'true', then the output is pretty printed. + :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param bool include_uninitialized: If true, partially initialized resources are included in the response. + :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. + :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. + :param int timeout_seconds: Timeout for the list/watch call. + :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + :return: V1TemplateList + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['pretty', 'field_selector', 'include_uninitialized', 'label_selector', 'resource_version', 'timeout_seconds', 'watch'] + all_params.append('callback') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method list_template_for_all_namespaces" % key + ) + params[key] = val + del params['kwargs'] + + + collection_formats = {} + + resource_path = '/apis/template.openshift.io/v1/templates'.replace('{format}', 'json') + path_params = {} + + query_params = {} + if 'pretty' in params: + query_params['pretty'] = params['pretty'] + if 'field_selector' in params: + query_params['fieldSelector'] = params['field_selector'] + if 'include_uninitialized' in params: + query_params['includeUninitialized'] = params['include_uninitialized'] + if 'label_selector' in params: + query_params['labelSelector'] = params['label_selector'] + if 'resource_version' in params: + query_params['resourceVersion'] = params['resource_version'] + if 'timeout_seconds' in params: + query_params['timeoutSeconds'] = params['timeout_seconds'] + if 'watch' in params: + query_params['watch'] = params['watch'] + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.\ + select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/json;stream=watch', 'application/vnd.kubernetes.protobuf;stream=watch']) + + # HTTP header `Content-Type` + header_params['Content-Type'] = self.api_client.\ + select_header_content_type(['*/*']) + + # Authentication setting + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] + + return self.api_client.call_api(resource_path, 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1TemplateList', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + + def list_template_instance_for_all_namespaces(self, **kwargs): + """ + list or watch objects of kind TemplateInstance + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please define a `callback` function + to be invoked when receiving the response. + >>> def callback_function(response): + >>> pprint(response) + >>> + >>> thread = api.list_template_instance_for_all_namespaces(callback=callback_function) + + :param callback function: The callback function + for asynchronous request. (optional) + :param str pretty: If 'true', then the output is pretty printed. + :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param bool include_uninitialized: If true, partially initialized resources are included in the response. + :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. + :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. + :param int timeout_seconds: Timeout for the list/watch call. + :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + :return: V1TemplateInstanceList + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('callback'): + return self.list_template_instance_for_all_namespaces_with_http_info(**kwargs) + else: + (data) = self.list_template_instance_for_all_namespaces_with_http_info(**kwargs) + return data + + def list_template_instance_for_all_namespaces_with_http_info(self, **kwargs): + """ + list or watch objects of kind TemplateInstance + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please define a `callback` function + to be invoked when receiving the response. + >>> def callback_function(response): + >>> pprint(response) + >>> + >>> thread = api.list_template_instance_for_all_namespaces_with_http_info(callback=callback_function) + + :param callback function: The callback function + for asynchronous request. (optional) + :param str pretty: If 'true', then the output is pretty printed. + :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param bool include_uninitialized: If true, partially initialized resources are included in the response. + :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. + :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. + :param int timeout_seconds: Timeout for the list/watch call. + :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + :return: V1TemplateInstanceList + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['pretty', 'field_selector', 'include_uninitialized', 'label_selector', 'resource_version', 'timeout_seconds', 'watch'] + all_params.append('callback') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method list_template_instance_for_all_namespaces" % key + ) + params[key] = val + del params['kwargs'] + + + collection_formats = {} + + resource_path = '/apis/template.openshift.io/v1/templateinstances'.replace('{format}', 'json') + path_params = {} + + query_params = {} + if 'pretty' in params: + query_params['pretty'] = params['pretty'] + if 'field_selector' in params: + query_params['fieldSelector'] = params['field_selector'] + if 'include_uninitialized' in params: + query_params['includeUninitialized'] = params['include_uninitialized'] + if 'label_selector' in params: + query_params['labelSelector'] = params['label_selector'] + if 'resource_version' in params: + query_params['resourceVersion'] = params['resource_version'] + if 'timeout_seconds' in params: + query_params['timeoutSeconds'] = params['timeout_seconds'] + if 'watch' in params: + query_params['watch'] = params['watch'] + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.\ + select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/json;stream=watch', 'application/vnd.kubernetes.protobuf;stream=watch']) + + # HTTP header `Content-Type` + header_params['Content-Type'] = self.api_client.\ + select_header_content_type(['*/*']) + + # Authentication setting + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] + + return self.api_client.call_api(resource_path, 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1TemplateInstanceList', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + + def patch_broker_template_instance(self, name, body, **kwargs): + """ + partially update the specified BrokerTemplateInstance + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please define a `callback` function + to be invoked when receiving the response. + >>> def callback_function(response): + >>> pprint(response) + >>> + >>> thread = api.patch_broker_template_instance(name, body, callback=callback_function) + + :param callback function: The callback function + for asynchronous request. (optional) + :param str name: name of the BrokerTemplateInstance (required) + :param object body: (required) + :param str pretty: If 'true', then the output is pretty printed. + :return: V1BrokerTemplateInstance + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('callback'): + return self.patch_broker_template_instance_with_http_info(name, body, **kwargs) + else: + (data) = self.patch_broker_template_instance_with_http_info(name, body, **kwargs) + return data + + def patch_broker_template_instance_with_http_info(self, name, body, **kwargs): + """ + partially update the specified BrokerTemplateInstance + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please define a `callback` function + to be invoked when receiving the response. + >>> def callback_function(response): + >>> pprint(response) + >>> + >>> thread = api.patch_broker_template_instance_with_http_info(name, body, callback=callback_function) + + :param callback function: The callback function + for asynchronous request. (optional) + :param str name: name of the BrokerTemplateInstance (required) + :param object body: (required) + :param str pretty: If 'true', then the output is pretty printed. + :return: V1BrokerTemplateInstance + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['name', 'body', 'pretty'] + all_params.append('callback') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method patch_broker_template_instance" % key + ) + params[key] = val + del params['kwargs'] + # verify the required parameter 'name' is set + if ('name' not in params) or (params['name'] is None): + raise ValueError("Missing the required parameter `name` when calling `patch_broker_template_instance`") + # verify the required parameter 'body' is set + if ('body' not in params) or (params['body'] is None): + raise ValueError("Missing the required parameter `body` when calling `patch_broker_template_instance`") + + + collection_formats = {} + + resource_path = '/apis/template.openshift.io/v1/brokertemplateinstances/{name}'.replace('{format}', 'json') + path_params = {} + if 'name' in params: + path_params['name'] = params['name'] + + query_params = {} + if 'pretty' in params: + query_params['pretty'] = params['pretty'] + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + if 'body' in params: + body_params = params['body'] + # HTTP header `Accept` + header_params['Accept'] = self.api_client.\ + select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) + + # HTTP header `Content-Type` + header_params['Content-Type'] = self.api_client.\ + select_header_content_type(['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json']) + + # Authentication setting + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] + + return self.api_client.call_api(resource_path, 'PATCH', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1BrokerTemplateInstance', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + + def patch_namespaced_template(self, name, namespace, body, **kwargs): + """ + partially update the specified Template + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please define a `callback` function + to be invoked when receiving the response. + >>> def callback_function(response): + >>> pprint(response) + >>> + >>> thread = api.patch_namespaced_template(name, namespace, body, callback=callback_function) + + :param callback function: The callback function + for asynchronous request. (optional) + :param str name: name of the Template (required) + :param str namespace: object name and auth scope, such as for teams and projects (required) + :param object body: (required) + :param str pretty: If 'true', then the output is pretty printed. + :return: V1Template + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('callback'): + return self.patch_namespaced_template_with_http_info(name, namespace, body, **kwargs) + else: + (data) = self.patch_namespaced_template_with_http_info(name, namespace, body, **kwargs) + return data + + def patch_namespaced_template_with_http_info(self, name, namespace, body, **kwargs): + """ + partially update the specified Template + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please define a `callback` function + to be invoked when receiving the response. + >>> def callback_function(response): + >>> pprint(response) + >>> + >>> thread = api.patch_namespaced_template_with_http_info(name, namespace, body, callback=callback_function) + + :param callback function: The callback function + for asynchronous request. (optional) + :param str name: name of the Template (required) + :param str namespace: object name and auth scope, such as for teams and projects (required) + :param object body: (required) + :param str pretty: If 'true', then the output is pretty printed. + :return: V1Template + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['name', 'namespace', 'body', 'pretty'] + all_params.append('callback') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method patch_namespaced_template" % key + ) + params[key] = val + del params['kwargs'] + # verify the required parameter 'name' is set + if ('name' not in params) or (params['name'] is None): + raise ValueError("Missing the required parameter `name` when calling `patch_namespaced_template`") + # verify the required parameter 'namespace' is set + if ('namespace' not in params) or (params['namespace'] is None): + raise ValueError("Missing the required parameter `namespace` when calling `patch_namespaced_template`") + # verify the required parameter 'body' is set + if ('body' not in params) or (params['body'] is None): + raise ValueError("Missing the required parameter `body` when calling `patch_namespaced_template`") + + + collection_formats = {} + + resource_path = '/apis/template.openshift.io/v1/namespaces/{namespace}/templates/{name}'.replace('{format}', 'json') + path_params = {} + if 'name' in params: + path_params['name'] = params['name'] + if 'namespace' in params: + path_params['namespace'] = params['namespace'] + + query_params = {} + if 'pretty' in params: + query_params['pretty'] = params['pretty'] + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + if 'body' in params: + body_params = params['body'] + # HTTP header `Accept` + header_params['Accept'] = self.api_client.\ + select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) + + # HTTP header `Content-Type` + header_params['Content-Type'] = self.api_client.\ + select_header_content_type(['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json']) + + # Authentication setting + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] + + return self.api_client.call_api(resource_path, 'PATCH', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1Template', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + + def patch_namespaced_template_instance(self, name, namespace, body, **kwargs): + """ + partially update the specified TemplateInstance + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please define a `callback` function + to be invoked when receiving the response. + >>> def callback_function(response): + >>> pprint(response) + >>> + >>> thread = api.patch_namespaced_template_instance(name, namespace, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) + :param str name: name of the TemplateInstance (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1Template body: (required) + :param object body: (required) :param str pretty: If 'true', then the output is pretty printed. - :return: V1Template + :return: V1TemplateInstance If the method is called asynchronously, returns the request thread. """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.create_template_openshift_io_v1_namespaced_template_with_http_info(namespace, body, **kwargs) + return self.patch_namespaced_template_instance_with_http_info(name, namespace, body, **kwargs) else: - (data) = self.create_template_openshift_io_v1_namespaced_template_with_http_info(namespace, body, **kwargs) + (data) = self.patch_namespaced_template_instance_with_http_info(name, namespace, body, **kwargs) return data - def create_template_openshift_io_v1_namespaced_template_with_http_info(self, namespace, body, **kwargs): + def patch_namespaced_template_instance_with_http_info(self, name, namespace, body, **kwargs): """ - create a Template + partially update the specified TemplateInstance This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.create_template_openshift_io_v1_namespaced_template_with_http_info(namespace, body, callback=callback_function) + >>> thread = api.patch_namespaced_template_instance_with_http_info(name, namespace, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) + :param str name: name of the TemplateInstance (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1Template body: (required) + :param object body: (required) :param str pretty: If 'true', then the output is pretty printed. - :return: V1Template + :return: V1TemplateInstance If the method is called asynchronously, returns the request thread. """ - all_params = ['namespace', 'body', 'pretty'] + all_params = ['name', 'namespace', 'body', 'pretty'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -99,22 +2430,27 @@ def create_template_openshift_io_v1_namespaced_template_with_http_info(self, nam if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method create_template_openshift_io_v1_namespaced_template" % key + " to method patch_namespaced_template_instance" % key ) params[key] = val del params['kwargs'] + # verify the required parameter 'name' is set + if ('name' not in params) or (params['name'] is None): + raise ValueError("Missing the required parameter `name` when calling `patch_namespaced_template_instance`") # verify the required parameter 'namespace' is set if ('namespace' not in params) or (params['namespace'] is None): - raise ValueError("Missing the required parameter `namespace` when calling `create_template_openshift_io_v1_namespaced_template`") + raise ValueError("Missing the required parameter `namespace` when calling `patch_namespaced_template_instance`") # verify the required parameter 'body' is set if ('body' not in params) or (params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `create_template_openshift_io_v1_namespaced_template`") + raise ValueError("Missing the required parameter `body` when calling `patch_namespaced_template_instance`") collection_formats = {} - resource_path = '/apis/template.openshift.io/v1/namespaces/{namespace}/templates'.replace('{format}', 'json') + resource_path = '/apis/template.openshift.io/v1/namespaces/{namespace}/templateinstances/{name}'.replace('{format}', 'json') path_params = {} + if 'name' in params: + path_params['name'] = params['name'] if 'namespace' in params: path_params['namespace'] = params['namespace'] @@ -136,19 +2472,19 @@ def create_template_openshift_io_v1_namespaced_template_with_http_info(self, nam # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ - select_header_content_type(['*/*']) + select_header_content_type(['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] - return self.api_client.call_api(resource_path, 'POST', + return self.api_client.call_api(resource_path, 'PATCH', path_params, query_params, header_params, body=body_params, post_params=form_params, files=local_var_files, - response_type='V1Template', + response_type='V1TemplateInstance', auth_settings=auth_settings, callback=params.get('callback'), _return_http_data_only=params.get('_return_http_data_only'), @@ -156,53 +2492,57 @@ def create_template_openshift_io_v1_namespaced_template_with_http_info(self, nam _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def create_template_openshift_io_v1_template_for_all_namespaces(self, body, **kwargs): + def patch_namespaced_template_instance_status(self, name, namespace, body, **kwargs): """ - create a Template + partially update status of the specified TemplateInstance This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.create_template_openshift_io_v1_template_for_all_namespaces(body, callback=callback_function) + >>> thread = api.patch_namespaced_template_instance_status(name, namespace, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) - :param V1Template body: (required) + :param str name: name of the TemplateInstance (required) + :param str namespace: object name and auth scope, such as for teams and projects (required) + :param object body: (required) :param str pretty: If 'true', then the output is pretty printed. - :return: V1Template + :return: V1TemplateInstance If the method is called asynchronously, returns the request thread. """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.create_template_openshift_io_v1_template_for_all_namespaces_with_http_info(body, **kwargs) + return self.patch_namespaced_template_instance_status_with_http_info(name, namespace, body, **kwargs) else: - (data) = self.create_template_openshift_io_v1_template_for_all_namespaces_with_http_info(body, **kwargs) + (data) = self.patch_namespaced_template_instance_status_with_http_info(name, namespace, body, **kwargs) return data - def create_template_openshift_io_v1_template_for_all_namespaces_with_http_info(self, body, **kwargs): + def patch_namespaced_template_instance_status_with_http_info(self, name, namespace, body, **kwargs): """ - create a Template + partially update status of the specified TemplateInstance This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.create_template_openshift_io_v1_template_for_all_namespaces_with_http_info(body, callback=callback_function) + >>> thread = api.patch_namespaced_template_instance_status_with_http_info(name, namespace, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) - :param V1Template body: (required) + :param str name: name of the TemplateInstance (required) + :param str namespace: object name and auth scope, such as for teams and projects (required) + :param object body: (required) :param str pretty: If 'true', then the output is pretty printed. - :return: V1Template + :return: V1TemplateInstance If the method is called asynchronously, returns the request thread. """ - all_params = ['body', 'pretty'] + all_params = ['name', 'namespace', 'body', 'pretty'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -213,19 +2553,29 @@ def create_template_openshift_io_v1_template_for_all_namespaces_with_http_info(s if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method create_template_openshift_io_v1_template_for_all_namespaces" % key + " to method patch_namespaced_template_instance_status" % key ) params[key] = val del params['kwargs'] + # verify the required parameter 'name' is set + if ('name' not in params) or (params['name'] is None): + raise ValueError("Missing the required parameter `name` when calling `patch_namespaced_template_instance_status`") + # verify the required parameter 'namespace' is set + if ('namespace' not in params) or (params['namespace'] is None): + raise ValueError("Missing the required parameter `namespace` when calling `patch_namespaced_template_instance_status`") # verify the required parameter 'body' is set if ('body' not in params) or (params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `create_template_openshift_io_v1_template_for_all_namespaces`") + raise ValueError("Missing the required parameter `body` when calling `patch_namespaced_template_instance_status`") collection_formats = {} - resource_path = '/apis/template.openshift.io/v1/templates'.replace('{format}', 'json') + resource_path = '/apis/template.openshift.io/v1/namespaces/{namespace}/templateinstances/{name}/status'.replace('{format}', 'json') path_params = {} + if 'name' in params: + path_params['name'] = params['name'] + if 'namespace' in params: + path_params['namespace'] = params['namespace'] query_params = {} if 'pretty' in params: @@ -245,19 +2595,19 @@ def create_template_openshift_io_v1_template_for_all_namespaces_with_http_info(s # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ - select_header_content_type(['*/*']) + select_header_content_type(['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] - return self.api_client.call_api(resource_path, 'POST', + return self.api_client.call_api(resource_path, 'PATCH', path_params, query_params, header_params, body=body_params, post_params=form_params, files=local_var_files, - response_type='V1Template', + response_type='V1TemplateInstance', auth_settings=auth_settings, callback=params.get('callback'), _return_http_data_only=params.get('_return_http_data_only'), @@ -265,63 +2615,57 @@ def create_template_openshift_io_v1_template_for_all_namespaces_with_http_info(s _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def delete_template_openshift_io_v1_collection_namespaced_template(self, namespace, **kwargs): + def read_broker_template_instance(self, name, **kwargs): """ - delete collection of Template + read the specified BrokerTemplateInstance This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.delete_template_openshift_io_v1_collection_namespaced_template(namespace, callback=callback_function) + >>> thread = api.read_broker_template_instance(name, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) - :param str namespace: object name and auth scope, such as for teams and projects (required) + :param str name: name of the BrokerTemplateInstance (required) :param str pretty: If 'true', then the output is pretty printed. - :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. - :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. - :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. - :param int timeout_seconds: Timeout for the list/watch call. - :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - :return: UnversionedStatus + :param bool exact: Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. + :param bool export: Should this value be exported. Export strips fields that a user can not specify. + :return: V1BrokerTemplateInstance If the method is called asynchronously, returns the request thread. """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.delete_template_openshift_io_v1_collection_namespaced_template_with_http_info(namespace, **kwargs) + return self.read_broker_template_instance_with_http_info(name, **kwargs) else: - (data) = self.delete_template_openshift_io_v1_collection_namespaced_template_with_http_info(namespace, **kwargs) + (data) = self.read_broker_template_instance_with_http_info(name, **kwargs) return data - def delete_template_openshift_io_v1_collection_namespaced_template_with_http_info(self, namespace, **kwargs): + def read_broker_template_instance_with_http_info(self, name, **kwargs): """ - delete collection of Template + read the specified BrokerTemplateInstance This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.delete_template_openshift_io_v1_collection_namespaced_template_with_http_info(namespace, callback=callback_function) + >>> thread = api.read_broker_template_instance_with_http_info(name, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) - :param str namespace: object name and auth scope, such as for teams and projects (required) + :param str name: name of the BrokerTemplateInstance (required) :param str pretty: If 'true', then the output is pretty printed. - :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. - :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. - :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. - :param int timeout_seconds: Timeout for the list/watch call. - :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - :return: UnversionedStatus + :param bool exact: Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. + :param bool export: Should this value be exported. Export strips fields that a user can not specify. + :return: V1BrokerTemplateInstance If the method is called asynchronously, returns the request thread. """ - all_params = ['namespace', 'pretty', 'field_selector', 'label_selector', 'resource_version', 'timeout_seconds', 'watch'] + all_params = ['name', 'pretty', 'exact', 'export'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -332,35 +2676,29 @@ def delete_template_openshift_io_v1_collection_namespaced_template_with_http_inf if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method delete_template_openshift_io_v1_collection_namespaced_template" % key + " to method read_broker_template_instance" % key ) params[key] = val del params['kwargs'] - # verify the required parameter 'namespace' is set - if ('namespace' not in params) or (params['namespace'] is None): - raise ValueError("Missing the required parameter `namespace` when calling `delete_template_openshift_io_v1_collection_namespaced_template`") + # verify the required parameter 'name' is set + if ('name' not in params) or (params['name'] is None): + raise ValueError("Missing the required parameter `name` when calling `read_broker_template_instance`") collection_formats = {} - resource_path = '/apis/template.openshift.io/v1/namespaces/{namespace}/templates'.replace('{format}', 'json') + resource_path = '/apis/template.openshift.io/v1/brokertemplateinstances/{name}'.replace('{format}', 'json') path_params = {} - if 'namespace' in params: - path_params['namespace'] = params['namespace'] + if 'name' in params: + path_params['name'] = params['name'] query_params = {} if 'pretty' in params: query_params['pretty'] = params['pretty'] - if 'field_selector' in params: - query_params['fieldSelector'] = params['field_selector'] - if 'label_selector' in params: - query_params['labelSelector'] = params['label_selector'] - if 'resource_version' in params: - query_params['resourceVersion'] = params['resource_version'] - if 'timeout_seconds' in params: - query_params['timeoutSeconds'] = params['timeout_seconds'] - if 'watch' in params: - query_params['watch'] = params['watch'] + if 'exact' in params: + query_params['exact'] = params['exact'] + if 'export' in params: + query_params['export'] = params['export'] header_params = {} @@ -377,16 +2715,16 @@ def delete_template_openshift_io_v1_collection_namespaced_template_with_http_inf select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] - return self.api_client.call_api(resource_path, 'DELETE', + return self.api_client.call_api(resource_path, 'GET', path_params, query_params, header_params, body=body_params, post_params=form_params, files=local_var_files, - response_type='UnversionedStatus', + response_type='V1BrokerTemplateInstance', auth_settings=auth_settings, callback=params.get('callback'), _return_http_data_only=params.get('_return_http_data_only'), @@ -394,61 +2732,59 @@ def delete_template_openshift_io_v1_collection_namespaced_template_with_http_inf _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def delete_template_openshift_io_v1_namespaced_template(self, name, namespace, body, **kwargs): + def read_namespaced_template(self, name, namespace, **kwargs): """ - delete a Template + read the specified Template This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.delete_template_openshift_io_v1_namespaced_template(name, namespace, body, callback=callback_function) + >>> thread = api.read_namespaced_template(name, namespace, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param str name: name of the Template (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1DeleteOptions body: (required) :param str pretty: If 'true', then the output is pretty printed. - :param int grace_period_seconds: 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. - :param bool orphan_dependents: Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. - :return: UnversionedStatus + :param bool exact: Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. + :param bool export: Should this value be exported. Export strips fields that a user can not specify. + :return: V1Template If the method is called asynchronously, returns the request thread. """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.delete_template_openshift_io_v1_namespaced_template_with_http_info(name, namespace, body, **kwargs) + return self.read_namespaced_template_with_http_info(name, namespace, **kwargs) else: - (data) = self.delete_template_openshift_io_v1_namespaced_template_with_http_info(name, namespace, body, **kwargs) + (data) = self.read_namespaced_template_with_http_info(name, namespace, **kwargs) return data - def delete_template_openshift_io_v1_namespaced_template_with_http_info(self, name, namespace, body, **kwargs): + def read_namespaced_template_with_http_info(self, name, namespace, **kwargs): """ - delete a Template + read the specified Template This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.delete_template_openshift_io_v1_namespaced_template_with_http_info(name, namespace, body, callback=callback_function) + >>> thread = api.read_namespaced_template_with_http_info(name, namespace, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param str name: name of the Template (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1DeleteOptions body: (required) :param str pretty: If 'true', then the output is pretty printed. - :param int grace_period_seconds: 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. - :param bool orphan_dependents: Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. - :return: UnversionedStatus + :param bool exact: Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. + :param bool export: Should this value be exported. Export strips fields that a user can not specify. + :return: V1Template If the method is called asynchronously, returns the request thread. """ - all_params = ['name', 'namespace', 'body', 'pretty', 'grace_period_seconds', 'orphan_dependents'] + all_params = ['name', 'namespace', 'pretty', 'exact', 'export'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -459,19 +2795,16 @@ def delete_template_openshift_io_v1_namespaced_template_with_http_info(self, nam if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method delete_template_openshift_io_v1_namespaced_template" % key + " to method read_namespaced_template" % key ) params[key] = val del params['kwargs'] # verify the required parameter 'name' is set if ('name' not in params) or (params['name'] is None): - raise ValueError("Missing the required parameter `name` when calling `delete_template_openshift_io_v1_namespaced_template`") + raise ValueError("Missing the required parameter `name` when calling `read_namespaced_template`") # verify the required parameter 'namespace' is set if ('namespace' not in params) or (params['namespace'] is None): - raise ValueError("Missing the required parameter `namespace` when calling `delete_template_openshift_io_v1_namespaced_template`") - # verify the required parameter 'body' is set - if ('body' not in params) or (params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `delete_template_openshift_io_v1_namespaced_template`") + raise ValueError("Missing the required parameter `namespace` when calling `read_namespaced_template`") collection_formats = {} @@ -486,10 +2819,10 @@ def delete_template_openshift_io_v1_namespaced_template_with_http_info(self, nam query_params = {} if 'pretty' in params: query_params['pretty'] = params['pretty'] - if 'grace_period_seconds' in params: - query_params['gracePeriodSeconds'] = params['grace_period_seconds'] - if 'orphan_dependents' in params: - query_params['orphanDependents'] = params['orphan_dependents'] + if 'exact' in params: + query_params['exact'] = params['exact'] + if 'export' in params: + query_params['export'] = params['export'] header_params = {} @@ -497,8 +2830,6 @@ def delete_template_openshift_io_v1_namespaced_template_with_http_info(self, nam local_var_files = {} body_params = None - if 'body' in params: - body_params = params['body'] # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) @@ -508,16 +2839,16 @@ def delete_template_openshift_io_v1_namespaced_template_with_http_info(self, nam select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] - return self.api_client.call_api(resource_path, 'DELETE', + return self.api_client.call_api(resource_path, 'GET', path_params, query_params, header_params, body=body_params, post_params=form_params, files=local_var_files, - response_type='UnversionedStatus', + response_type='V1Template', auth_settings=auth_settings, callback=params.get('callback'), _return_http_data_only=params.get('_return_http_data_only'), @@ -525,49 +2856,59 @@ def delete_template_openshift_io_v1_namespaced_template_with_http_info(self, nam _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def get_template_openshift_io_v1_api_resources(self, **kwargs): + def read_namespaced_template_instance(self, name, namespace, **kwargs): """ - get available resources + read the specified TemplateInstance This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.get_template_openshift_io_v1_api_resources(callback=callback_function) + >>> thread = api.read_namespaced_template_instance(name, namespace, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) - :return: UnversionedAPIResourceList + :param str name: name of the TemplateInstance (required) + :param str namespace: object name and auth scope, such as for teams and projects (required) + :param str pretty: If 'true', then the output is pretty printed. + :param bool exact: Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. + :param bool export: Should this value be exported. Export strips fields that a user can not specify. + :return: V1TemplateInstance If the method is called asynchronously, returns the request thread. """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.get_template_openshift_io_v1_api_resources_with_http_info(**kwargs) + return self.read_namespaced_template_instance_with_http_info(name, namespace, **kwargs) else: - (data) = self.get_template_openshift_io_v1_api_resources_with_http_info(**kwargs) + (data) = self.read_namespaced_template_instance_with_http_info(name, namespace, **kwargs) return data - def get_template_openshift_io_v1_api_resources_with_http_info(self, **kwargs): + def read_namespaced_template_instance_with_http_info(self, name, namespace, **kwargs): """ - get available resources + read the specified TemplateInstance This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.get_template_openshift_io_v1_api_resources_with_http_info(callback=callback_function) + >>> thread = api.read_namespaced_template_instance_with_http_info(name, namespace, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) - :return: UnversionedAPIResourceList + :param str name: name of the TemplateInstance (required) + :param str namespace: object name and auth scope, such as for teams and projects (required) + :param str pretty: If 'true', then the output is pretty printed. + :param bool exact: Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. + :param bool export: Should this value be exported. Export strips fields that a user can not specify. + :return: V1TemplateInstance If the method is called asynchronously, returns the request thread. """ - all_params = [] + all_params = ['name', 'namespace', 'pretty', 'exact', 'export'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -578,17 +2919,34 @@ def get_template_openshift_io_v1_api_resources_with_http_info(self, **kwargs): if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method get_template_openshift_io_v1_api_resources" % key + " to method read_namespaced_template_instance" % key ) params[key] = val del params['kwargs'] + # verify the required parameter 'name' is set + if ('name' not in params) or (params['name'] is None): + raise ValueError("Missing the required parameter `name` when calling `read_namespaced_template_instance`") + # verify the required parameter 'namespace' is set + if ('namespace' not in params) or (params['namespace'] is None): + raise ValueError("Missing the required parameter `namespace` when calling `read_namespaced_template_instance`") + collection_formats = {} - resource_path = '/apis/template.openshift.io/v1/'.replace('{format}', 'json') + resource_path = '/apis/template.openshift.io/v1/namespaces/{namespace}/templateinstances/{name}'.replace('{format}', 'json') path_params = {} + if 'name' in params: + path_params['name'] = params['name'] + if 'namespace' in params: + path_params['namespace'] = params['namespace'] query_params = {} + if 'pretty' in params: + query_params['pretty'] = params['pretty'] + if 'exact' in params: + query_params['exact'] = params['exact'] + if 'export' in params: + query_params['export'] = params['export'] header_params = {} @@ -602,10 +2960,10 @@ def get_template_openshift_io_v1_api_resources_with_http_info(self, **kwargs): # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ - select_header_content_type(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) + select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -614,7 +2972,7 @@ def get_template_openshift_io_v1_api_resources_with_http_info(self, **kwargs): body=body_params, post_params=form_params, files=local_var_files, - response_type='UnversionedAPIResourceList', + response_type='V1TemplateInstance', auth_settings=auth_settings, callback=params.get('callback'), _return_http_data_only=params.get('_return_http_data_only'), @@ -622,63 +2980,55 @@ def get_template_openshift_io_v1_api_resources_with_http_info(self, **kwargs): _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def list_template_openshift_io_v1_namespaced_template(self, namespace, **kwargs): + def read_namespaced_template_instance_status(self, name, namespace, **kwargs): """ - list or watch objects of kind Template + read status of the specified TemplateInstance This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.list_template_openshift_io_v1_namespaced_template(namespace, callback=callback_function) + >>> thread = api.read_namespaced_template_instance_status(name, namespace, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) + :param str name: name of the TemplateInstance (required) :param str namespace: object name and auth scope, such as for teams and projects (required) :param str pretty: If 'true', then the output is pretty printed. - :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. - :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. - :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. - :param int timeout_seconds: Timeout for the list/watch call. - :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - :return: V1TemplateList + :return: V1TemplateInstance If the method is called asynchronously, returns the request thread. """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.list_template_openshift_io_v1_namespaced_template_with_http_info(namespace, **kwargs) + return self.read_namespaced_template_instance_status_with_http_info(name, namespace, **kwargs) else: - (data) = self.list_template_openshift_io_v1_namespaced_template_with_http_info(namespace, **kwargs) + (data) = self.read_namespaced_template_instance_status_with_http_info(name, namespace, **kwargs) return data - def list_template_openshift_io_v1_namespaced_template_with_http_info(self, namespace, **kwargs): + def read_namespaced_template_instance_status_with_http_info(self, name, namespace, **kwargs): """ - list or watch objects of kind Template + read status of the specified TemplateInstance This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.list_template_openshift_io_v1_namespaced_template_with_http_info(namespace, callback=callback_function) + >>> thread = api.read_namespaced_template_instance_status_with_http_info(name, namespace, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) + :param str name: name of the TemplateInstance (required) :param str namespace: object name and auth scope, such as for teams and projects (required) :param str pretty: If 'true', then the output is pretty printed. - :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. - :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. - :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. - :param int timeout_seconds: Timeout for the list/watch call. - :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - :return: V1TemplateList + :return: V1TemplateInstance If the method is called asynchronously, returns the request thread. """ - all_params = ['namespace', 'pretty', 'field_selector', 'label_selector', 'resource_version', 'timeout_seconds', 'watch'] + all_params = ['name', 'namespace', 'pretty'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -689,35 +3039,30 @@ def list_template_openshift_io_v1_namespaced_template_with_http_info(self, names if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method list_template_openshift_io_v1_namespaced_template" % key + " to method read_namespaced_template_instance_status" % key ) params[key] = val del params['kwargs'] + # verify the required parameter 'name' is set + if ('name' not in params) or (params['name'] is None): + raise ValueError("Missing the required parameter `name` when calling `read_namespaced_template_instance_status`") # verify the required parameter 'namespace' is set if ('namespace' not in params) or (params['namespace'] is None): - raise ValueError("Missing the required parameter `namespace` when calling `list_template_openshift_io_v1_namespaced_template`") + raise ValueError("Missing the required parameter `namespace` when calling `read_namespaced_template_instance_status`") collection_formats = {} - resource_path = '/apis/template.openshift.io/v1/namespaces/{namespace}/templates'.replace('{format}', 'json') + resource_path = '/apis/template.openshift.io/v1/namespaces/{namespace}/templateinstances/{name}/status'.replace('{format}', 'json') path_params = {} + if 'name' in params: + path_params['name'] = params['name'] if 'namespace' in params: path_params['namespace'] = params['namespace'] query_params = {} if 'pretty' in params: query_params['pretty'] = params['pretty'] - if 'field_selector' in params: - query_params['fieldSelector'] = params['field_selector'] - if 'label_selector' in params: - query_params['labelSelector'] = params['label_selector'] - if 'resource_version' in params: - query_params['resourceVersion'] = params['resource_version'] - if 'timeout_seconds' in params: - query_params['timeoutSeconds'] = params['timeout_seconds'] - if 'watch' in params: - query_params['watch'] = params['watch'] header_params = {} @@ -727,14 +3072,14 @@ def list_template_openshift_io_v1_namespaced_template_with_http_info(self, names body_params = None # HTTP header `Accept` header_params['Accept'] = self.api_client.\ - select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/json;stream=watch', 'application/vnd.kubernetes.protobuf;stream=watch']) + select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -743,7 +3088,7 @@ def list_template_openshift_io_v1_namespaced_template_with_http_info(self, names body=body_params, post_params=form_params, files=local_var_files, - response_type='V1TemplateList', + response_type='V1TemplateInstance', auth_settings=auth_settings, callback=params.get('callback'), _return_http_data_only=params.get('_return_http_data_only'), @@ -751,61 +3096,55 @@ def list_template_openshift_io_v1_namespaced_template_with_http_info(self, names _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def list_template_openshift_io_v1_template_for_all_namespaces(self, **kwargs): + def replace_broker_template_instance(self, name, body, **kwargs): """ - list or watch objects of kind Template + replace the specified BrokerTemplateInstance This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.list_template_openshift_io_v1_template_for_all_namespaces(callback=callback_function) + >>> thread = api.replace_broker_template_instance(name, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) + :param str name: name of the BrokerTemplateInstance (required) + :param V1BrokerTemplateInstance body: (required) :param str pretty: If 'true', then the output is pretty printed. - :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. - :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. - :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. - :param int timeout_seconds: Timeout for the list/watch call. - :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - :return: V1TemplateList + :return: V1BrokerTemplateInstance If the method is called asynchronously, returns the request thread. """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.list_template_openshift_io_v1_template_for_all_namespaces_with_http_info(**kwargs) + return self.replace_broker_template_instance_with_http_info(name, body, **kwargs) else: - (data) = self.list_template_openshift_io_v1_template_for_all_namespaces_with_http_info(**kwargs) + (data) = self.replace_broker_template_instance_with_http_info(name, body, **kwargs) return data - def list_template_openshift_io_v1_template_for_all_namespaces_with_http_info(self, **kwargs): + def replace_broker_template_instance_with_http_info(self, name, body, **kwargs): """ - list or watch objects of kind Template + replace the specified BrokerTemplateInstance This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.list_template_openshift_io_v1_template_for_all_namespaces_with_http_info(callback=callback_function) + >>> thread = api.replace_broker_template_instance_with_http_info(name, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) + :param str name: name of the BrokerTemplateInstance (required) + :param V1BrokerTemplateInstance body: (required) :param str pretty: If 'true', then the output is pretty printed. - :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. - :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. - :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. - :param int timeout_seconds: Timeout for the list/watch call. - :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - :return: V1TemplateList + :return: V1BrokerTemplateInstance If the method is called asynchronously, returns the request thread. """ - all_params = ['pretty', 'field_selector', 'label_selector', 'resource_version', 'timeout_seconds', 'watch'] + all_params = ['name', 'body', 'pretty'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -816,30 +3155,28 @@ def list_template_openshift_io_v1_template_for_all_namespaces_with_http_info(sel if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method list_template_openshift_io_v1_template_for_all_namespaces" % key + " to method replace_broker_template_instance" % key ) params[key] = val del params['kwargs'] + # verify the required parameter 'name' is set + if ('name' not in params) or (params['name'] is None): + raise ValueError("Missing the required parameter `name` when calling `replace_broker_template_instance`") + # verify the required parameter 'body' is set + if ('body' not in params) or (params['body'] is None): + raise ValueError("Missing the required parameter `body` when calling `replace_broker_template_instance`") collection_formats = {} - resource_path = '/apis/template.openshift.io/v1/templates'.replace('{format}', 'json') + resource_path = '/apis/template.openshift.io/v1/brokertemplateinstances/{name}'.replace('{format}', 'json') path_params = {} + if 'name' in params: + path_params['name'] = params['name'] query_params = {} if 'pretty' in params: query_params['pretty'] = params['pretty'] - if 'field_selector' in params: - query_params['fieldSelector'] = params['field_selector'] - if 'label_selector' in params: - query_params['labelSelector'] = params['label_selector'] - if 'resource_version' in params: - query_params['resourceVersion'] = params['resource_version'] - if 'timeout_seconds' in params: - query_params['timeoutSeconds'] = params['timeout_seconds'] - if 'watch' in params: - query_params['watch'] = params['watch'] header_params = {} @@ -847,25 +3184,27 @@ def list_template_openshift_io_v1_template_for_all_namespaces_with_http_info(sel local_var_files = {} body_params = None + if 'body' in params: + body_params = params['body'] # HTTP header `Accept` header_params['Accept'] = self.api_client.\ - select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/json;stream=watch', 'application/vnd.kubernetes.protobuf;stream=watch']) + select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] - return self.api_client.call_api(resource_path, 'GET', + return self.api_client.call_api(resource_path, 'PUT', path_params, query_params, header_params, body=body_params, post_params=form_params, files=local_var_files, - response_type='V1TemplateList', + response_type='V1BrokerTemplateInstance', auth_settings=auth_settings, callback=params.get('callback'), _return_http_data_only=params.get('_return_http_data_only'), @@ -873,22 +3212,22 @@ def list_template_openshift_io_v1_template_for_all_namespaces_with_http_info(sel _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def patch_template_openshift_io_v1_namespaced_template(self, name, namespace, body, **kwargs): + def replace_namespaced_template(self, name, namespace, body, **kwargs): """ - partially update the specified Template + replace the specified Template This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.patch_template_openshift_io_v1_namespaced_template(name, namespace, body, callback=callback_function) + >>> thread = api.replace_namespaced_template(name, namespace, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param str name: name of the Template (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param UnversionedPatch body: (required) + :param V1Template body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1Template If the method is called asynchronously, @@ -896,27 +3235,27 @@ def patch_template_openshift_io_v1_namespaced_template(self, name, namespace, bo """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.patch_template_openshift_io_v1_namespaced_template_with_http_info(name, namespace, body, **kwargs) + return self.replace_namespaced_template_with_http_info(name, namespace, body, **kwargs) else: - (data) = self.patch_template_openshift_io_v1_namespaced_template_with_http_info(name, namespace, body, **kwargs) + (data) = self.replace_namespaced_template_with_http_info(name, namespace, body, **kwargs) return data - def patch_template_openshift_io_v1_namespaced_template_with_http_info(self, name, namespace, body, **kwargs): + def replace_namespaced_template_with_http_info(self, name, namespace, body, **kwargs): """ - partially update the specified Template + replace the specified Template This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.patch_template_openshift_io_v1_namespaced_template_with_http_info(name, namespace, body, callback=callback_function) + >>> thread = api.replace_namespaced_template_with_http_info(name, namespace, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param str name: name of the Template (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param UnversionedPatch body: (required) + :param V1Template body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1Template If the method is called asynchronously, @@ -934,19 +3273,19 @@ def patch_template_openshift_io_v1_namespaced_template_with_http_info(self, name if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method patch_template_openshift_io_v1_namespaced_template" % key + " to method replace_namespaced_template" % key ) params[key] = val del params['kwargs'] # verify the required parameter 'name' is set if ('name' not in params) or (params['name'] is None): - raise ValueError("Missing the required parameter `name` when calling `patch_template_openshift_io_v1_namespaced_template`") + raise ValueError("Missing the required parameter `name` when calling `replace_namespaced_template`") # verify the required parameter 'namespace' is set if ('namespace' not in params) or (params['namespace'] is None): - raise ValueError("Missing the required parameter `namespace` when calling `patch_template_openshift_io_v1_namespaced_template`") + raise ValueError("Missing the required parameter `namespace` when calling `replace_namespaced_template`") # verify the required parameter 'body' is set if ('body' not in params) or (params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `patch_template_openshift_io_v1_namespaced_template`") + raise ValueError("Missing the required parameter `body` when calling `replace_namespaced_template`") collection_formats = {} @@ -976,12 +3315,12 @@ def patch_template_openshift_io_v1_namespaced_template_with_http_info(self, name # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ - select_header_content_type(['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json']) + select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] - return self.api_client.call_api(resource_path, 'PATCH', + return self.api_client.call_api(resource_path, 'PUT', path_params, query_params, header_params, @@ -996,59 +3335,57 @@ def patch_template_openshift_io_v1_namespaced_template_with_http_info(self, name _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def read_template_openshift_io_v1_namespaced_template(self, name, namespace, **kwargs): + def replace_namespaced_template_instance(self, name, namespace, body, **kwargs): """ - read the specified Template + replace the specified TemplateInstance This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.read_template_openshift_io_v1_namespaced_template(name, namespace, callback=callback_function) + >>> thread = api.replace_namespaced_template_instance(name, namespace, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) - :param str name: name of the Template (required) + :param str name: name of the TemplateInstance (required) :param str namespace: object name and auth scope, such as for teams and projects (required) + :param V1TemplateInstance body: (required) :param str pretty: If 'true', then the output is pretty printed. - :param bool exact: Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace' - :param bool export: Should this value be exported. Export strips fields that a user can not specify. - :return: V1Template + :return: V1TemplateInstance If the method is called asynchronously, returns the request thread. """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.read_template_openshift_io_v1_namespaced_template_with_http_info(name, namespace, **kwargs) + return self.replace_namespaced_template_instance_with_http_info(name, namespace, body, **kwargs) else: - (data) = self.read_template_openshift_io_v1_namespaced_template_with_http_info(name, namespace, **kwargs) + (data) = self.replace_namespaced_template_instance_with_http_info(name, namespace, body, **kwargs) return data - def read_template_openshift_io_v1_namespaced_template_with_http_info(self, name, namespace, **kwargs): + def replace_namespaced_template_instance_with_http_info(self, name, namespace, body, **kwargs): """ - read the specified Template + replace the specified TemplateInstance This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.read_template_openshift_io_v1_namespaced_template_with_http_info(name, namespace, callback=callback_function) + >>> thread = api.replace_namespaced_template_instance_with_http_info(name, namespace, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) - :param str name: name of the Template (required) + :param str name: name of the TemplateInstance (required) :param str namespace: object name and auth scope, such as for teams and projects (required) + :param V1TemplateInstance body: (required) :param str pretty: If 'true', then the output is pretty printed. - :param bool exact: Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace' - :param bool export: Should this value be exported. Export strips fields that a user can not specify. - :return: V1Template + :return: V1TemplateInstance If the method is called asynchronously, returns the request thread. """ - all_params = ['name', 'namespace', 'pretty', 'exact', 'export'] + all_params = ['name', 'namespace', 'body', 'pretty'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -1059,21 +3396,24 @@ def read_template_openshift_io_v1_namespaced_template_with_http_info(self, name, if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method read_template_openshift_io_v1_namespaced_template" % key + " to method replace_namespaced_template_instance" % key ) params[key] = val del params['kwargs'] # verify the required parameter 'name' is set if ('name' not in params) or (params['name'] is None): - raise ValueError("Missing the required parameter `name` when calling `read_template_openshift_io_v1_namespaced_template`") + raise ValueError("Missing the required parameter `name` when calling `replace_namespaced_template_instance`") # verify the required parameter 'namespace' is set if ('namespace' not in params) or (params['namespace'] is None): - raise ValueError("Missing the required parameter `namespace` when calling `read_template_openshift_io_v1_namespaced_template`") + raise ValueError("Missing the required parameter `namespace` when calling `replace_namespaced_template_instance`") + # verify the required parameter 'body' is set + if ('body' not in params) or (params['body'] is None): + raise ValueError("Missing the required parameter `body` when calling `replace_namespaced_template_instance`") collection_formats = {} - resource_path = '/apis/template.openshift.io/v1/namespaces/{namespace}/templates/{name}'.replace('{format}', 'json') + resource_path = '/apis/template.openshift.io/v1/namespaces/{namespace}/templateinstances/{name}'.replace('{format}', 'json') path_params = {} if 'name' in params: path_params['name'] = params['name'] @@ -1083,10 +3423,6 @@ def read_template_openshift_io_v1_namespaced_template_with_http_info(self, name, query_params = {} if 'pretty' in params: query_params['pretty'] = params['pretty'] - if 'exact' in params: - query_params['exact'] = params['exact'] - if 'export' in params: - query_params['export'] = params['export'] header_params = {} @@ -1094,6 +3430,8 @@ def read_template_openshift_io_v1_namespaced_template_with_http_info(self, name, local_var_files = {} body_params = None + if 'body' in params: + body_params = params['body'] # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) @@ -1103,16 +3441,16 @@ def read_template_openshift_io_v1_namespaced_template_with_http_info(self, name, select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] - return self.api_client.call_api(resource_path, 'GET', + return self.api_client.call_api(resource_path, 'PUT', path_params, query_params, header_params, body=body_params, post_params=form_params, files=local_var_files, - response_type='V1Template', + response_type='V1TemplateInstance', auth_settings=auth_settings, callback=params.get('callback'), _return_http_data_only=params.get('_return_http_data_only'), @@ -1120,52 +3458,52 @@ def read_template_openshift_io_v1_namespaced_template_with_http_info(self, name, _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def replace_template_openshift_io_v1_namespaced_template(self, name, namespace, body, **kwargs): + def replace_namespaced_template_instance_status(self, name, namespace, body, **kwargs): """ - replace the specified Template + replace status of the specified TemplateInstance This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.replace_template_openshift_io_v1_namespaced_template(name, namespace, body, callback=callback_function) + >>> thread = api.replace_namespaced_template_instance_status(name, namespace, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) - :param str name: name of the Template (required) + :param str name: name of the TemplateInstance (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1Template body: (required) + :param V1TemplateInstance body: (required) :param str pretty: If 'true', then the output is pretty printed. - :return: V1Template + :return: V1TemplateInstance If the method is called asynchronously, returns the request thread. """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.replace_template_openshift_io_v1_namespaced_template_with_http_info(name, namespace, body, **kwargs) + return self.replace_namespaced_template_instance_status_with_http_info(name, namespace, body, **kwargs) else: - (data) = self.replace_template_openshift_io_v1_namespaced_template_with_http_info(name, namespace, body, **kwargs) + (data) = self.replace_namespaced_template_instance_status_with_http_info(name, namespace, body, **kwargs) return data - def replace_template_openshift_io_v1_namespaced_template_with_http_info(self, name, namespace, body, **kwargs): + def replace_namespaced_template_instance_status_with_http_info(self, name, namespace, body, **kwargs): """ - replace the specified Template + replace status of the specified TemplateInstance This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.replace_template_openshift_io_v1_namespaced_template_with_http_info(name, namespace, body, callback=callback_function) + >>> thread = api.replace_namespaced_template_instance_status_with_http_info(name, namespace, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) - :param str name: name of the Template (required) + :param str name: name of the TemplateInstance (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1Template body: (required) + :param V1TemplateInstance body: (required) :param str pretty: If 'true', then the output is pretty printed. - :return: V1Template + :return: V1TemplateInstance If the method is called asynchronously, returns the request thread. """ @@ -1181,24 +3519,24 @@ def replace_template_openshift_io_v1_namespaced_template_with_http_info(self, na if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method replace_template_openshift_io_v1_namespaced_template" % key + " to method replace_namespaced_template_instance_status" % key ) params[key] = val del params['kwargs'] # verify the required parameter 'name' is set if ('name' not in params) or (params['name'] is None): - raise ValueError("Missing the required parameter `name` when calling `replace_template_openshift_io_v1_namespaced_template`") + raise ValueError("Missing the required parameter `name` when calling `replace_namespaced_template_instance_status`") # verify the required parameter 'namespace' is set if ('namespace' not in params) or (params['namespace'] is None): - raise ValueError("Missing the required parameter `namespace` when calling `replace_template_openshift_io_v1_namespaced_template`") + raise ValueError("Missing the required parameter `namespace` when calling `replace_namespaced_template_instance_status`") # verify the required parameter 'body' is set if ('body' not in params) or (params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `replace_template_openshift_io_v1_namespaced_template`") + raise ValueError("Missing the required parameter `body` when calling `replace_namespaced_template_instance_status`") collection_formats = {} - resource_path = '/apis/template.openshift.io/v1/namespaces/{namespace}/templates/{name}'.replace('{format}', 'json') + resource_path = '/apis/template.openshift.io/v1/namespaces/{namespace}/templateinstances/{name}/status'.replace('{format}', 'json') path_params = {} if 'name' in params: path_params['name'] = params['name'] @@ -1226,7 +3564,7 @@ def replace_template_openshift_io_v1_namespaced_template_with_http_info(self, na select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'PUT', path_params, @@ -1235,7 +3573,7 @@ def replace_template_openshift_io_v1_namespaced_template_with_http_info(self, na body=body_params, post_params=form_params, files=local_var_files, - response_type='V1Template', + response_type='V1TemplateInstance', auth_settings=auth_settings, callback=params.get('callback'), _return_http_data_only=params.get('_return_http_data_only'), diff --git a/openshift/client/apis/user_openshift_io_api.py b/openshift/client/apis/user_openshift_io_api.py index d0bbdbcd..17c704e8 100644 --- a/openshift/client/apis/user_openshift_io_api.py +++ b/openshift/client/apis/user_openshift_io_api.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -40,7 +40,7 @@ def __init__(self, api_client=None): config.api_client = ApiClient() self.api_client = config.api_client - def get_user_openshift_io_api_group(self, **kwargs): + def get_api_group(self, **kwargs): """ get information of a group This method makes a synchronous HTTP request by default. To make an @@ -49,22 +49,22 @@ def get_user_openshift_io_api_group(self, **kwargs): >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.get_user_openshift_io_api_group(callback=callback_function) + >>> thread = api.get_api_group(callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) - :return: UnversionedAPIGroup + :return: V1APIGroup If the method is called asynchronously, returns the request thread. """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.get_user_openshift_io_api_group_with_http_info(**kwargs) + return self.get_api_group_with_http_info(**kwargs) else: - (data) = self.get_user_openshift_io_api_group_with_http_info(**kwargs) + (data) = self.get_api_group_with_http_info(**kwargs) return data - def get_user_openshift_io_api_group_with_http_info(self, **kwargs): + def get_api_group_with_http_info(self, **kwargs): """ get information of a group This method makes a synchronous HTTP request by default. To make an @@ -73,11 +73,11 @@ def get_user_openshift_io_api_group_with_http_info(self, **kwargs): >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.get_user_openshift_io_api_group_with_http_info(callback=callback_function) + >>> thread = api.get_api_group_with_http_info(callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) - :return: UnversionedAPIGroup + :return: V1APIGroup If the method is called asynchronously, returns the request thread. """ @@ -93,7 +93,7 @@ def get_user_openshift_io_api_group_with_http_info(self, **kwargs): if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method get_user_openshift_io_api_group" % key + " to method get_api_group" % key ) params[key] = val del params['kwargs'] @@ -120,7 +120,7 @@ def get_user_openshift_io_api_group_with_http_info(self, **kwargs): select_header_content_type(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -129,7 +129,7 @@ def get_user_openshift_io_api_group_with_http_info(self, **kwargs): body=body_params, post_params=form_params, files=local_var_files, - response_type='UnversionedAPIGroup', + response_type='V1APIGroup', auth_settings=auth_settings, callback=params.get('callback'), _return_http_data_only=params.get('_return_http_data_only'), diff --git a/openshift/client/apis/user_openshift_io_v1_api.py b/openshift/client/apis/user_openshift_io_v1_api.py index 50b0816f..57c9230b 100644 --- a/openshift/client/apis/user_openshift_io_v1_api.py +++ b/openshift/client/apis/user_openshift_io_v1_api.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -40,7 +40,7 @@ def __init__(self, api_client=None): config.api_client = ApiClient() self.api_client = config.api_client - def create_user_openshift_io_v1_group(self, body, **kwargs): + def create_group(self, body, **kwargs): """ create a Group This method makes a synchronous HTTP request by default. To make an @@ -49,7 +49,7 @@ def create_user_openshift_io_v1_group(self, body, **kwargs): >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.create_user_openshift_io_v1_group(body, callback=callback_function) + >>> thread = api.create_group(body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) @@ -61,12 +61,12 @@ def create_user_openshift_io_v1_group(self, body, **kwargs): """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.create_user_openshift_io_v1_group_with_http_info(body, **kwargs) + return self.create_group_with_http_info(body, **kwargs) else: - (data) = self.create_user_openshift_io_v1_group_with_http_info(body, **kwargs) + (data) = self.create_group_with_http_info(body, **kwargs) return data - def create_user_openshift_io_v1_group_with_http_info(self, body, **kwargs): + def create_group_with_http_info(self, body, **kwargs): """ create a Group This method makes a synchronous HTTP request by default. To make an @@ -75,7 +75,7 @@ def create_user_openshift_io_v1_group_with_http_info(self, body, **kwargs): >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.create_user_openshift_io_v1_group_with_http_info(body, callback=callback_function) + >>> thread = api.create_group_with_http_info(body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) @@ -97,13 +97,13 @@ def create_user_openshift_io_v1_group_with_http_info(self, body, **kwargs): if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method create_user_openshift_io_v1_group" % key + " to method create_group" % key ) params[key] = val del params['kwargs'] # verify the required parameter 'body' is set if ('body' not in params) or (params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `create_user_openshift_io_v1_group`") + raise ValueError("Missing the required parameter `body` when calling `create_group`") collection_formats = {} @@ -132,7 +132,7 @@ def create_user_openshift_io_v1_group_with_http_info(self, body, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'POST', path_params, @@ -149,7 +149,7 @@ def create_user_openshift_io_v1_group_with_http_info(self, body, **kwargs): _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def create_user_openshift_io_v1_identity(self, body, **kwargs): + def create_identity(self, body, **kwargs): """ create an Identity This method makes a synchronous HTTP request by default. To make an @@ -158,7 +158,7 @@ def create_user_openshift_io_v1_identity(self, body, **kwargs): >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.create_user_openshift_io_v1_identity(body, callback=callback_function) + >>> thread = api.create_identity(body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) @@ -170,12 +170,12 @@ def create_user_openshift_io_v1_identity(self, body, **kwargs): """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.create_user_openshift_io_v1_identity_with_http_info(body, **kwargs) + return self.create_identity_with_http_info(body, **kwargs) else: - (data) = self.create_user_openshift_io_v1_identity_with_http_info(body, **kwargs) + (data) = self.create_identity_with_http_info(body, **kwargs) return data - def create_user_openshift_io_v1_identity_with_http_info(self, body, **kwargs): + def create_identity_with_http_info(self, body, **kwargs): """ create an Identity This method makes a synchronous HTTP request by default. To make an @@ -184,7 +184,7 @@ def create_user_openshift_io_v1_identity_with_http_info(self, body, **kwargs): >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.create_user_openshift_io_v1_identity_with_http_info(body, callback=callback_function) + >>> thread = api.create_identity_with_http_info(body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) @@ -206,13 +206,13 @@ def create_user_openshift_io_v1_identity_with_http_info(self, body, **kwargs): if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method create_user_openshift_io_v1_identity" % key + " to method create_identity" % key ) params[key] = val del params['kwargs'] # verify the required parameter 'body' is set if ('body' not in params) or (params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `create_user_openshift_io_v1_identity`") + raise ValueError("Missing the required parameter `body` when calling `create_identity`") collection_formats = {} @@ -241,7 +241,7 @@ def create_user_openshift_io_v1_identity_with_http_info(self, body, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'POST', path_params, @@ -258,7 +258,7 @@ def create_user_openshift_io_v1_identity_with_http_info(self, body, **kwargs): _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def create_user_openshift_io_v1_user(self, body, **kwargs): + def create_user(self, body, **kwargs): """ create an User This method makes a synchronous HTTP request by default. To make an @@ -267,7 +267,7 @@ def create_user_openshift_io_v1_user(self, body, **kwargs): >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.create_user_openshift_io_v1_user(body, callback=callback_function) + >>> thread = api.create_user(body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) @@ -279,12 +279,12 @@ def create_user_openshift_io_v1_user(self, body, **kwargs): """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.create_user_openshift_io_v1_user_with_http_info(body, **kwargs) + return self.create_user_with_http_info(body, **kwargs) else: - (data) = self.create_user_openshift_io_v1_user_with_http_info(body, **kwargs) + (data) = self.create_user_with_http_info(body, **kwargs) return data - def create_user_openshift_io_v1_user_with_http_info(self, body, **kwargs): + def create_user_with_http_info(self, body, **kwargs): """ create an User This method makes a synchronous HTTP request by default. To make an @@ -293,7 +293,7 @@ def create_user_openshift_io_v1_user_with_http_info(self, body, **kwargs): >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.create_user_openshift_io_v1_user_with_http_info(body, callback=callback_function) + >>> thread = api.create_user_with_http_info(body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) @@ -315,13 +315,13 @@ def create_user_openshift_io_v1_user_with_http_info(self, body, **kwargs): if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method create_user_openshift_io_v1_user" % key + " to method create_user" % key ) params[key] = val del params['kwargs'] # verify the required parameter 'body' is set if ('body' not in params) or (params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `create_user_openshift_io_v1_user`") + raise ValueError("Missing the required parameter `body` when calling `create_user`") collection_formats = {} @@ -350,7 +350,7 @@ def create_user_openshift_io_v1_user_with_http_info(self, body, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'POST', path_params, @@ -367,7 +367,7 @@ def create_user_openshift_io_v1_user_with_http_info(self, body, **kwargs): _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def create_user_openshift_io_v1_user_identity_mapping(self, body, **kwargs): + def create_user_identity_mapping(self, body, **kwargs): """ create an UserIdentityMapping This method makes a synchronous HTTP request by default. To make an @@ -376,7 +376,7 @@ def create_user_openshift_io_v1_user_identity_mapping(self, body, **kwargs): >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.create_user_openshift_io_v1_user_identity_mapping(body, callback=callback_function) + >>> thread = api.create_user_identity_mapping(body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) @@ -388,12 +388,12 @@ def create_user_openshift_io_v1_user_identity_mapping(self, body, **kwargs): """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.create_user_openshift_io_v1_user_identity_mapping_with_http_info(body, **kwargs) + return self.create_user_identity_mapping_with_http_info(body, **kwargs) else: - (data) = self.create_user_openshift_io_v1_user_identity_mapping_with_http_info(body, **kwargs) + (data) = self.create_user_identity_mapping_with_http_info(body, **kwargs) return data - def create_user_openshift_io_v1_user_identity_mapping_with_http_info(self, body, **kwargs): + def create_user_identity_mapping_with_http_info(self, body, **kwargs): """ create an UserIdentityMapping This method makes a synchronous HTTP request by default. To make an @@ -402,7 +402,7 @@ def create_user_openshift_io_v1_user_identity_mapping_with_http_info(self, body, >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.create_user_openshift_io_v1_user_identity_mapping_with_http_info(body, callback=callback_function) + >>> thread = api.create_user_identity_mapping_with_http_info(body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) @@ -424,13 +424,13 @@ def create_user_openshift_io_v1_user_identity_mapping_with_http_info(self, body, if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method create_user_openshift_io_v1_user_identity_mapping" % key + " to method create_user_identity_mapping" % key ) params[key] = val del params['kwargs'] # verify the required parameter 'body' is set if ('body' not in params) or (params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `create_user_openshift_io_v1_user_identity_mapping`") + raise ValueError("Missing the required parameter `body` when calling `create_user_identity_mapping`") collection_formats = {} @@ -459,7 +459,7 @@ def create_user_openshift_io_v1_user_identity_mapping_with_http_info(self, body, select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'POST', path_params, @@ -476,7 +476,7 @@ def create_user_openshift_io_v1_user_identity_mapping_with_http_info(self, body, _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def delete_user_openshift_io_v1_collection_group(self, **kwargs): + def delete_collection_group(self, **kwargs): """ delete collection of Group This method makes a synchronous HTTP request by default. To make an @@ -485,28 +485,29 @@ def delete_user_openshift_io_v1_collection_group(self, **kwargs): >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.delete_user_openshift_io_v1_collection_group(callback=callback_function) + >>> thread = api.delete_collection_group(callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param str pretty: If 'true', then the output is pretty printed. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param bool include_uninitialized: If true, partially initialized resources are included in the response. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. - :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. + :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. :param int timeout_seconds: Timeout for the list/watch call. :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - :return: UnversionedStatus + :return: V1Status If the method is called asynchronously, returns the request thread. """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.delete_user_openshift_io_v1_collection_group_with_http_info(**kwargs) + return self.delete_collection_group_with_http_info(**kwargs) else: - (data) = self.delete_user_openshift_io_v1_collection_group_with_http_info(**kwargs) + (data) = self.delete_collection_group_with_http_info(**kwargs) return data - def delete_user_openshift_io_v1_collection_group_with_http_info(self, **kwargs): + def delete_collection_group_with_http_info(self, **kwargs): """ delete collection of Group This method makes a synchronous HTTP request by default. To make an @@ -515,22 +516,23 @@ def delete_user_openshift_io_v1_collection_group_with_http_info(self, **kwargs): >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.delete_user_openshift_io_v1_collection_group_with_http_info(callback=callback_function) + >>> thread = api.delete_collection_group_with_http_info(callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param str pretty: If 'true', then the output is pretty printed. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param bool include_uninitialized: If true, partially initialized resources are included in the response. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. - :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. + :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. :param int timeout_seconds: Timeout for the list/watch call. :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - :return: UnversionedStatus + :return: V1Status If the method is called asynchronously, returns the request thread. """ - all_params = ['pretty', 'field_selector', 'label_selector', 'resource_version', 'timeout_seconds', 'watch'] + all_params = ['pretty', 'field_selector', 'include_uninitialized', 'label_selector', 'resource_version', 'timeout_seconds', 'watch'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -541,7 +543,7 @@ def delete_user_openshift_io_v1_collection_group_with_http_info(self, **kwargs): if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method delete_user_openshift_io_v1_collection_group" % key + " to method delete_collection_group" % key ) params[key] = val del params['kwargs'] @@ -557,6 +559,8 @@ def delete_user_openshift_io_v1_collection_group_with_http_info(self, **kwargs): query_params['pretty'] = params['pretty'] if 'field_selector' in params: query_params['fieldSelector'] = params['field_selector'] + if 'include_uninitialized' in params: + query_params['includeUninitialized'] = params['include_uninitialized'] if 'label_selector' in params: query_params['labelSelector'] = params['label_selector'] if 'resource_version' in params: @@ -581,7 +585,7 @@ def delete_user_openshift_io_v1_collection_group_with_http_info(self, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'DELETE', path_params, @@ -590,7 +594,7 @@ def delete_user_openshift_io_v1_collection_group_with_http_info(self, **kwargs): body=body_params, post_params=form_params, files=local_var_files, - response_type='UnversionedStatus', + response_type='V1Status', auth_settings=auth_settings, callback=params.get('callback'), _return_http_data_only=params.get('_return_http_data_only'), @@ -598,7 +602,7 @@ def delete_user_openshift_io_v1_collection_group_with_http_info(self, **kwargs): _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def delete_user_openshift_io_v1_collection_identity(self, **kwargs): + def delete_collection_identity(self, **kwargs): """ delete collection of Identity This method makes a synchronous HTTP request by default. To make an @@ -607,28 +611,29 @@ def delete_user_openshift_io_v1_collection_identity(self, **kwargs): >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.delete_user_openshift_io_v1_collection_identity(callback=callback_function) + >>> thread = api.delete_collection_identity(callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param str pretty: If 'true', then the output is pretty printed. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param bool include_uninitialized: If true, partially initialized resources are included in the response. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. - :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. + :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. :param int timeout_seconds: Timeout for the list/watch call. :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - :return: UnversionedStatus + :return: V1Status If the method is called asynchronously, returns the request thread. """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.delete_user_openshift_io_v1_collection_identity_with_http_info(**kwargs) + return self.delete_collection_identity_with_http_info(**kwargs) else: - (data) = self.delete_user_openshift_io_v1_collection_identity_with_http_info(**kwargs) + (data) = self.delete_collection_identity_with_http_info(**kwargs) return data - def delete_user_openshift_io_v1_collection_identity_with_http_info(self, **kwargs): + def delete_collection_identity_with_http_info(self, **kwargs): """ delete collection of Identity This method makes a synchronous HTTP request by default. To make an @@ -637,22 +642,23 @@ def delete_user_openshift_io_v1_collection_identity_with_http_info(self, **kwarg >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.delete_user_openshift_io_v1_collection_identity_with_http_info(callback=callback_function) + >>> thread = api.delete_collection_identity_with_http_info(callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param str pretty: If 'true', then the output is pretty printed. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param bool include_uninitialized: If true, partially initialized resources are included in the response. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. - :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. + :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. :param int timeout_seconds: Timeout for the list/watch call. :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - :return: UnversionedStatus + :return: V1Status If the method is called asynchronously, returns the request thread. """ - all_params = ['pretty', 'field_selector', 'label_selector', 'resource_version', 'timeout_seconds', 'watch'] + all_params = ['pretty', 'field_selector', 'include_uninitialized', 'label_selector', 'resource_version', 'timeout_seconds', 'watch'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -663,7 +669,7 @@ def delete_user_openshift_io_v1_collection_identity_with_http_info(self, **kwarg if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method delete_user_openshift_io_v1_collection_identity" % key + " to method delete_collection_identity" % key ) params[key] = val del params['kwargs'] @@ -679,6 +685,8 @@ def delete_user_openshift_io_v1_collection_identity_with_http_info(self, **kwarg query_params['pretty'] = params['pretty'] if 'field_selector' in params: query_params['fieldSelector'] = params['field_selector'] + if 'include_uninitialized' in params: + query_params['includeUninitialized'] = params['include_uninitialized'] if 'label_selector' in params: query_params['labelSelector'] = params['label_selector'] if 'resource_version' in params: @@ -703,7 +711,7 @@ def delete_user_openshift_io_v1_collection_identity_with_http_info(self, **kwarg select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'DELETE', path_params, @@ -712,7 +720,7 @@ def delete_user_openshift_io_v1_collection_identity_with_http_info(self, **kwarg body=body_params, post_params=form_params, files=local_var_files, - response_type='UnversionedStatus', + response_type='V1Status', auth_settings=auth_settings, callback=params.get('callback'), _return_http_data_only=params.get('_return_http_data_only'), @@ -720,7 +728,7 @@ def delete_user_openshift_io_v1_collection_identity_with_http_info(self, **kwarg _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def delete_user_openshift_io_v1_collection_user(self, **kwargs): + def delete_collection_user(self, **kwargs): """ delete collection of User This method makes a synchronous HTTP request by default. To make an @@ -729,28 +737,29 @@ def delete_user_openshift_io_v1_collection_user(self, **kwargs): >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.delete_user_openshift_io_v1_collection_user(callback=callback_function) + >>> thread = api.delete_collection_user(callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param str pretty: If 'true', then the output is pretty printed. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param bool include_uninitialized: If true, partially initialized resources are included in the response. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. - :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. + :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. :param int timeout_seconds: Timeout for the list/watch call. :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - :return: UnversionedStatus + :return: V1Status If the method is called asynchronously, returns the request thread. """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.delete_user_openshift_io_v1_collection_user_with_http_info(**kwargs) + return self.delete_collection_user_with_http_info(**kwargs) else: - (data) = self.delete_user_openshift_io_v1_collection_user_with_http_info(**kwargs) + (data) = self.delete_collection_user_with_http_info(**kwargs) return data - def delete_user_openshift_io_v1_collection_user_with_http_info(self, **kwargs): + def delete_collection_user_with_http_info(self, **kwargs): """ delete collection of User This method makes a synchronous HTTP request by default. To make an @@ -759,22 +768,23 @@ def delete_user_openshift_io_v1_collection_user_with_http_info(self, **kwargs): >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.delete_user_openshift_io_v1_collection_user_with_http_info(callback=callback_function) + >>> thread = api.delete_collection_user_with_http_info(callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param str pretty: If 'true', then the output is pretty printed. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param bool include_uninitialized: If true, partially initialized resources are included in the response. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. - :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. + :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. :param int timeout_seconds: Timeout for the list/watch call. :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - :return: UnversionedStatus + :return: V1Status If the method is called asynchronously, returns the request thread. """ - all_params = ['pretty', 'field_selector', 'label_selector', 'resource_version', 'timeout_seconds', 'watch'] + all_params = ['pretty', 'field_selector', 'include_uninitialized', 'label_selector', 'resource_version', 'timeout_seconds', 'watch'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -785,7 +795,7 @@ def delete_user_openshift_io_v1_collection_user_with_http_info(self, **kwargs): if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method delete_user_openshift_io_v1_collection_user" % key + " to method delete_collection_user" % key ) params[key] = val del params['kwargs'] @@ -801,6 +811,8 @@ def delete_user_openshift_io_v1_collection_user_with_http_info(self, **kwargs): query_params['pretty'] = params['pretty'] if 'field_selector' in params: query_params['fieldSelector'] = params['field_selector'] + if 'include_uninitialized' in params: + query_params['includeUninitialized'] = params['include_uninitialized'] if 'label_selector' in params: query_params['labelSelector'] = params['label_selector'] if 'resource_version' in params: @@ -825,7 +837,7 @@ def delete_user_openshift_io_v1_collection_user_with_http_info(self, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'DELETE', path_params, @@ -834,7 +846,7 @@ def delete_user_openshift_io_v1_collection_user_with_http_info(self, **kwargs): body=body_params, post_params=form_params, files=local_var_files, - response_type='UnversionedStatus', + response_type='V1Status', auth_settings=auth_settings, callback=params.get('callback'), _return_http_data_only=params.get('_return_http_data_only'), @@ -842,7 +854,7 @@ def delete_user_openshift_io_v1_collection_user_with_http_info(self, **kwargs): _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def delete_user_openshift_io_v1_group(self, name, body, **kwargs): + def delete_group(self, name, body, **kwargs): """ delete a Group This method makes a synchronous HTTP request by default. To make an @@ -851,7 +863,7 @@ def delete_user_openshift_io_v1_group(self, name, body, **kwargs): >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.delete_user_openshift_io_v1_group(name, body, callback=callback_function) + >>> thread = api.delete_group(name, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) @@ -859,19 +871,20 @@ def delete_user_openshift_io_v1_group(self, name, body, **kwargs): :param V1DeleteOptions body: (required) :param str pretty: If 'true', then the output is pretty printed. :param int grace_period_seconds: 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. - :param bool orphan_dependents: Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. - :return: UnversionedStatus + :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. + :param str propagation_policy: Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. + :return: V1Status If the method is called asynchronously, returns the request thread. """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.delete_user_openshift_io_v1_group_with_http_info(name, body, **kwargs) + return self.delete_group_with_http_info(name, body, **kwargs) else: - (data) = self.delete_user_openshift_io_v1_group_with_http_info(name, body, **kwargs) + (data) = self.delete_group_with_http_info(name, body, **kwargs) return data - def delete_user_openshift_io_v1_group_with_http_info(self, name, body, **kwargs): + def delete_group_with_http_info(self, name, body, **kwargs): """ delete a Group This method makes a synchronous HTTP request by default. To make an @@ -880,7 +893,7 @@ def delete_user_openshift_io_v1_group_with_http_info(self, name, body, **kwargs) >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.delete_user_openshift_io_v1_group_with_http_info(name, body, callback=callback_function) + >>> thread = api.delete_group_with_http_info(name, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) @@ -888,13 +901,14 @@ def delete_user_openshift_io_v1_group_with_http_info(self, name, body, **kwargs) :param V1DeleteOptions body: (required) :param str pretty: If 'true', then the output is pretty printed. :param int grace_period_seconds: 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. - :param bool orphan_dependents: Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. - :return: UnversionedStatus + :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. + :param str propagation_policy: Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. + :return: V1Status If the method is called asynchronously, returns the request thread. """ - all_params = ['name', 'body', 'pretty', 'grace_period_seconds', 'orphan_dependents'] + all_params = ['name', 'body', 'pretty', 'grace_period_seconds', 'orphan_dependents', 'propagation_policy'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -905,16 +919,16 @@ def delete_user_openshift_io_v1_group_with_http_info(self, name, body, **kwargs) if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method delete_user_openshift_io_v1_group" % key + " to method delete_group" % key ) params[key] = val del params['kwargs'] # verify the required parameter 'name' is set if ('name' not in params) or (params['name'] is None): - raise ValueError("Missing the required parameter `name` when calling `delete_user_openshift_io_v1_group`") + raise ValueError("Missing the required parameter `name` when calling `delete_group`") # verify the required parameter 'body' is set if ('body' not in params) or (params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `delete_user_openshift_io_v1_group`") + raise ValueError("Missing the required parameter `body` when calling `delete_group`") collection_formats = {} @@ -931,6 +945,8 @@ def delete_user_openshift_io_v1_group_with_http_info(self, name, body, **kwargs) query_params['gracePeriodSeconds'] = params['grace_period_seconds'] if 'orphan_dependents' in params: query_params['orphanDependents'] = params['orphan_dependents'] + if 'propagation_policy' in params: + query_params['propagationPolicy'] = params['propagation_policy'] header_params = {} @@ -949,7 +965,7 @@ def delete_user_openshift_io_v1_group_with_http_info(self, name, body, **kwargs) select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'DELETE', path_params, @@ -958,7 +974,7 @@ def delete_user_openshift_io_v1_group_with_http_info(self, name, body, **kwargs) body=body_params, post_params=form_params, files=local_var_files, - response_type='UnversionedStatus', + response_type='V1Status', auth_settings=auth_settings, callback=params.get('callback'), _return_http_data_only=params.get('_return_http_data_only'), @@ -966,7 +982,7 @@ def delete_user_openshift_io_v1_group_with_http_info(self, name, body, **kwargs) _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def delete_user_openshift_io_v1_identity(self, name, body, **kwargs): + def delete_identity(self, name, body, **kwargs): """ delete an Identity This method makes a synchronous HTTP request by default. To make an @@ -975,7 +991,7 @@ def delete_user_openshift_io_v1_identity(self, name, body, **kwargs): >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.delete_user_openshift_io_v1_identity(name, body, callback=callback_function) + >>> thread = api.delete_identity(name, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) @@ -983,19 +999,20 @@ def delete_user_openshift_io_v1_identity(self, name, body, **kwargs): :param V1DeleteOptions body: (required) :param str pretty: If 'true', then the output is pretty printed. :param int grace_period_seconds: 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. - :param bool orphan_dependents: Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. - :return: UnversionedStatus + :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. + :param str propagation_policy: Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. + :return: V1Status If the method is called asynchronously, returns the request thread. """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.delete_user_openshift_io_v1_identity_with_http_info(name, body, **kwargs) + return self.delete_identity_with_http_info(name, body, **kwargs) else: - (data) = self.delete_user_openshift_io_v1_identity_with_http_info(name, body, **kwargs) + (data) = self.delete_identity_with_http_info(name, body, **kwargs) return data - def delete_user_openshift_io_v1_identity_with_http_info(self, name, body, **kwargs): + def delete_identity_with_http_info(self, name, body, **kwargs): """ delete an Identity This method makes a synchronous HTTP request by default. To make an @@ -1004,7 +1021,7 @@ def delete_user_openshift_io_v1_identity_with_http_info(self, name, body, **kwar >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.delete_user_openshift_io_v1_identity_with_http_info(name, body, callback=callback_function) + >>> thread = api.delete_identity_with_http_info(name, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) @@ -1012,13 +1029,14 @@ def delete_user_openshift_io_v1_identity_with_http_info(self, name, body, **kwar :param V1DeleteOptions body: (required) :param str pretty: If 'true', then the output is pretty printed. :param int grace_period_seconds: 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. - :param bool orphan_dependents: Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. - :return: UnversionedStatus + :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. + :param str propagation_policy: Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. + :return: V1Status If the method is called asynchronously, returns the request thread. """ - all_params = ['name', 'body', 'pretty', 'grace_period_seconds', 'orphan_dependents'] + all_params = ['name', 'body', 'pretty', 'grace_period_seconds', 'orphan_dependents', 'propagation_policy'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -1029,16 +1047,16 @@ def delete_user_openshift_io_v1_identity_with_http_info(self, name, body, **kwar if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method delete_user_openshift_io_v1_identity" % key + " to method delete_identity" % key ) params[key] = val del params['kwargs'] # verify the required parameter 'name' is set if ('name' not in params) or (params['name'] is None): - raise ValueError("Missing the required parameter `name` when calling `delete_user_openshift_io_v1_identity`") + raise ValueError("Missing the required parameter `name` when calling `delete_identity`") # verify the required parameter 'body' is set if ('body' not in params) or (params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `delete_user_openshift_io_v1_identity`") + raise ValueError("Missing the required parameter `body` when calling `delete_identity`") collection_formats = {} @@ -1055,6 +1073,8 @@ def delete_user_openshift_io_v1_identity_with_http_info(self, name, body, **kwar query_params['gracePeriodSeconds'] = params['grace_period_seconds'] if 'orphan_dependents' in params: query_params['orphanDependents'] = params['orphan_dependents'] + if 'propagation_policy' in params: + query_params['propagationPolicy'] = params['propagation_policy'] header_params = {} @@ -1073,7 +1093,7 @@ def delete_user_openshift_io_v1_identity_with_http_info(self, name, body, **kwar select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'DELETE', path_params, @@ -1082,7 +1102,7 @@ def delete_user_openshift_io_v1_identity_with_http_info(self, name, body, **kwar body=body_params, post_params=form_params, files=local_var_files, - response_type='UnversionedStatus', + response_type='V1Status', auth_settings=auth_settings, callback=params.get('callback'), _return_http_data_only=params.get('_return_http_data_only'), @@ -1090,7 +1110,7 @@ def delete_user_openshift_io_v1_identity_with_http_info(self, name, body, **kwar _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def delete_user_openshift_io_v1_user(self, name, body, **kwargs): + def delete_user(self, name, body, **kwargs): """ delete an User This method makes a synchronous HTTP request by default. To make an @@ -1099,7 +1119,7 @@ def delete_user_openshift_io_v1_user(self, name, body, **kwargs): >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.delete_user_openshift_io_v1_user(name, body, callback=callback_function) + >>> thread = api.delete_user(name, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) @@ -1107,19 +1127,20 @@ def delete_user_openshift_io_v1_user(self, name, body, **kwargs): :param V1DeleteOptions body: (required) :param str pretty: If 'true', then the output is pretty printed. :param int grace_period_seconds: 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. - :param bool orphan_dependents: Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. - :return: UnversionedStatus + :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. + :param str propagation_policy: Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. + :return: V1Status If the method is called asynchronously, returns the request thread. """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.delete_user_openshift_io_v1_user_with_http_info(name, body, **kwargs) + return self.delete_user_with_http_info(name, body, **kwargs) else: - (data) = self.delete_user_openshift_io_v1_user_with_http_info(name, body, **kwargs) + (data) = self.delete_user_with_http_info(name, body, **kwargs) return data - def delete_user_openshift_io_v1_user_with_http_info(self, name, body, **kwargs): + def delete_user_with_http_info(self, name, body, **kwargs): """ delete an User This method makes a synchronous HTTP request by default. To make an @@ -1128,7 +1149,7 @@ def delete_user_openshift_io_v1_user_with_http_info(self, name, body, **kwargs): >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.delete_user_openshift_io_v1_user_with_http_info(name, body, callback=callback_function) + >>> thread = api.delete_user_with_http_info(name, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) @@ -1136,13 +1157,14 @@ def delete_user_openshift_io_v1_user_with_http_info(self, name, body, **kwargs): :param V1DeleteOptions body: (required) :param str pretty: If 'true', then the output is pretty printed. :param int grace_period_seconds: 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. - :param bool orphan_dependents: Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. - :return: UnversionedStatus + :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. + :param str propagation_policy: Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. + :return: V1Status If the method is called asynchronously, returns the request thread. """ - all_params = ['name', 'body', 'pretty', 'grace_period_seconds', 'orphan_dependents'] + all_params = ['name', 'body', 'pretty', 'grace_period_seconds', 'orphan_dependents', 'propagation_policy'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -1153,16 +1175,16 @@ def delete_user_openshift_io_v1_user_with_http_info(self, name, body, **kwargs): if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method delete_user_openshift_io_v1_user" % key + " to method delete_user" % key ) params[key] = val del params['kwargs'] # verify the required parameter 'name' is set if ('name' not in params) or (params['name'] is None): - raise ValueError("Missing the required parameter `name` when calling `delete_user_openshift_io_v1_user`") + raise ValueError("Missing the required parameter `name` when calling `delete_user`") # verify the required parameter 'body' is set if ('body' not in params) or (params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `delete_user_openshift_io_v1_user`") + raise ValueError("Missing the required parameter `body` when calling `delete_user`") collection_formats = {} @@ -1179,6 +1201,8 @@ def delete_user_openshift_io_v1_user_with_http_info(self, name, body, **kwargs): query_params['gracePeriodSeconds'] = params['grace_period_seconds'] if 'orphan_dependents' in params: query_params['orphanDependents'] = params['orphan_dependents'] + if 'propagation_policy' in params: + query_params['propagationPolicy'] = params['propagation_policy'] header_params = {} @@ -1197,7 +1221,7 @@ def delete_user_openshift_io_v1_user_with_http_info(self, name, body, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'DELETE', path_params, @@ -1206,7 +1230,7 @@ def delete_user_openshift_io_v1_user_with_http_info(self, name, body, **kwargs): body=body_params, post_params=form_params, files=local_var_files, - response_type='UnversionedStatus', + response_type='V1Status', auth_settings=auth_settings, callback=params.get('callback'), _return_http_data_only=params.get('_return_http_data_only'), @@ -1214,7 +1238,7 @@ def delete_user_openshift_io_v1_user_with_http_info(self, name, body, **kwargs): _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def delete_user_openshift_io_v1_user_identity_mapping(self, name, **kwargs): + def delete_user_identity_mapping(self, name, **kwargs): """ delete an UserIdentityMapping This method makes a synchronous HTTP request by default. To make an @@ -1223,24 +1247,24 @@ def delete_user_openshift_io_v1_user_identity_mapping(self, name, **kwargs): >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.delete_user_openshift_io_v1_user_identity_mapping(name, callback=callback_function) + >>> thread = api.delete_user_identity_mapping(name, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param str name: name of the UserIdentityMapping (required) :param str pretty: If 'true', then the output is pretty printed. - :return: UnversionedStatus + :return: V1Status If the method is called asynchronously, returns the request thread. """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.delete_user_openshift_io_v1_user_identity_mapping_with_http_info(name, **kwargs) + return self.delete_user_identity_mapping_with_http_info(name, **kwargs) else: - (data) = self.delete_user_openshift_io_v1_user_identity_mapping_with_http_info(name, **kwargs) + (data) = self.delete_user_identity_mapping_with_http_info(name, **kwargs) return data - def delete_user_openshift_io_v1_user_identity_mapping_with_http_info(self, name, **kwargs): + def delete_user_identity_mapping_with_http_info(self, name, **kwargs): """ delete an UserIdentityMapping This method makes a synchronous HTTP request by default. To make an @@ -1249,13 +1273,13 @@ def delete_user_openshift_io_v1_user_identity_mapping_with_http_info(self, name, >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.delete_user_openshift_io_v1_user_identity_mapping_with_http_info(name, callback=callback_function) + >>> thread = api.delete_user_identity_mapping_with_http_info(name, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param str name: name of the UserIdentityMapping (required) :param str pretty: If 'true', then the output is pretty printed. - :return: UnversionedStatus + :return: V1Status If the method is called asynchronously, returns the request thread. """ @@ -1271,13 +1295,13 @@ def delete_user_openshift_io_v1_user_identity_mapping_with_http_info(self, name, if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method delete_user_openshift_io_v1_user_identity_mapping" % key + " to method delete_user_identity_mapping" % key ) params[key] = val del params['kwargs'] # verify the required parameter 'name' is set if ('name' not in params) or (params['name'] is None): - raise ValueError("Missing the required parameter `name` when calling `delete_user_openshift_io_v1_user_identity_mapping`") + raise ValueError("Missing the required parameter `name` when calling `delete_user_identity_mapping`") collection_formats = {} @@ -1306,7 +1330,7 @@ def delete_user_openshift_io_v1_user_identity_mapping_with_http_info(self, name, select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'DELETE', path_params, @@ -1315,7 +1339,7 @@ def delete_user_openshift_io_v1_user_identity_mapping_with_http_info(self, name, body=body_params, post_params=form_params, files=local_var_files, - response_type='UnversionedStatus', + response_type='V1Status', auth_settings=auth_settings, callback=params.get('callback'), _return_http_data_only=params.get('_return_http_data_only'), @@ -1323,7 +1347,7 @@ def delete_user_openshift_io_v1_user_identity_mapping_with_http_info(self, name, _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def get_user_openshift_io_v1_api_resources(self, **kwargs): + def get_api_resources(self, **kwargs): """ get available resources This method makes a synchronous HTTP request by default. To make an @@ -1332,22 +1356,22 @@ def get_user_openshift_io_v1_api_resources(self, **kwargs): >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.get_user_openshift_io_v1_api_resources(callback=callback_function) + >>> thread = api.get_api_resources(callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) - :return: UnversionedAPIResourceList + :return: V1APIResourceList If the method is called asynchronously, returns the request thread. """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.get_user_openshift_io_v1_api_resources_with_http_info(**kwargs) + return self.get_api_resources_with_http_info(**kwargs) else: - (data) = self.get_user_openshift_io_v1_api_resources_with_http_info(**kwargs) + (data) = self.get_api_resources_with_http_info(**kwargs) return data - def get_user_openshift_io_v1_api_resources_with_http_info(self, **kwargs): + def get_api_resources_with_http_info(self, **kwargs): """ get available resources This method makes a synchronous HTTP request by default. To make an @@ -1356,11 +1380,11 @@ def get_user_openshift_io_v1_api_resources_with_http_info(self, **kwargs): >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.get_user_openshift_io_v1_api_resources_with_http_info(callback=callback_function) + >>> thread = api.get_api_resources_with_http_info(callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) - :return: UnversionedAPIResourceList + :return: V1APIResourceList If the method is called asynchronously, returns the request thread. """ @@ -1376,7 +1400,7 @@ def get_user_openshift_io_v1_api_resources_with_http_info(self, **kwargs): if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method get_user_openshift_io_v1_api_resources" % key + " to method get_api_resources" % key ) params[key] = val del params['kwargs'] @@ -1403,7 +1427,7 @@ def get_user_openshift_io_v1_api_resources_with_http_info(self, **kwargs): select_header_content_type(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -1412,7 +1436,7 @@ def get_user_openshift_io_v1_api_resources_with_http_info(self, **kwargs): body=body_params, post_params=form_params, files=local_var_files, - response_type='UnversionedAPIResourceList', + response_type='V1APIResourceList', auth_settings=auth_settings, callback=params.get('callback'), _return_http_data_only=params.get('_return_http_data_only'), @@ -1420,7 +1444,7 @@ def get_user_openshift_io_v1_api_resources_with_http_info(self, **kwargs): _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def list_user_openshift_io_v1_group(self, **kwargs): + def list_group(self, **kwargs): """ list or watch objects of kind Group This method makes a synchronous HTTP request by default. To make an @@ -1429,14 +1453,15 @@ def list_user_openshift_io_v1_group(self, **kwargs): >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.list_user_openshift_io_v1_group(callback=callback_function) + >>> thread = api.list_group(callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param str pretty: If 'true', then the output is pretty printed. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param bool include_uninitialized: If true, partially initialized resources are included in the response. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. - :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. + :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. :param int timeout_seconds: Timeout for the list/watch call. :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. :return: V1GroupList @@ -1445,12 +1470,12 @@ def list_user_openshift_io_v1_group(self, **kwargs): """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.list_user_openshift_io_v1_group_with_http_info(**kwargs) + return self.list_group_with_http_info(**kwargs) else: - (data) = self.list_user_openshift_io_v1_group_with_http_info(**kwargs) + (data) = self.list_group_with_http_info(**kwargs) return data - def list_user_openshift_io_v1_group_with_http_info(self, **kwargs): + def list_group_with_http_info(self, **kwargs): """ list or watch objects of kind Group This method makes a synchronous HTTP request by default. To make an @@ -1459,14 +1484,15 @@ def list_user_openshift_io_v1_group_with_http_info(self, **kwargs): >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.list_user_openshift_io_v1_group_with_http_info(callback=callback_function) + >>> thread = api.list_group_with_http_info(callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param str pretty: If 'true', then the output is pretty printed. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param bool include_uninitialized: If true, partially initialized resources are included in the response. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. - :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. + :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. :param int timeout_seconds: Timeout for the list/watch call. :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. :return: V1GroupList @@ -1474,7 +1500,7 @@ def list_user_openshift_io_v1_group_with_http_info(self, **kwargs): returns the request thread. """ - all_params = ['pretty', 'field_selector', 'label_selector', 'resource_version', 'timeout_seconds', 'watch'] + all_params = ['pretty', 'field_selector', 'include_uninitialized', 'label_selector', 'resource_version', 'timeout_seconds', 'watch'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -1485,7 +1511,7 @@ def list_user_openshift_io_v1_group_with_http_info(self, **kwargs): if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method list_user_openshift_io_v1_group" % key + " to method list_group" % key ) params[key] = val del params['kwargs'] @@ -1501,6 +1527,8 @@ def list_user_openshift_io_v1_group_with_http_info(self, **kwargs): query_params['pretty'] = params['pretty'] if 'field_selector' in params: query_params['fieldSelector'] = params['field_selector'] + if 'include_uninitialized' in params: + query_params['includeUninitialized'] = params['include_uninitialized'] if 'label_selector' in params: query_params['labelSelector'] = params['label_selector'] if 'resource_version' in params: @@ -1525,7 +1553,7 @@ def list_user_openshift_io_v1_group_with_http_info(self, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -1542,7 +1570,7 @@ def list_user_openshift_io_v1_group_with_http_info(self, **kwargs): _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def list_user_openshift_io_v1_identity(self, **kwargs): + def list_identity(self, **kwargs): """ list or watch objects of kind Identity This method makes a synchronous HTTP request by default. To make an @@ -1551,14 +1579,15 @@ def list_user_openshift_io_v1_identity(self, **kwargs): >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.list_user_openshift_io_v1_identity(callback=callback_function) + >>> thread = api.list_identity(callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param str pretty: If 'true', then the output is pretty printed. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param bool include_uninitialized: If true, partially initialized resources are included in the response. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. - :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. + :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. :param int timeout_seconds: Timeout for the list/watch call. :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. :return: V1IdentityList @@ -1567,12 +1596,12 @@ def list_user_openshift_io_v1_identity(self, **kwargs): """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.list_user_openshift_io_v1_identity_with_http_info(**kwargs) + return self.list_identity_with_http_info(**kwargs) else: - (data) = self.list_user_openshift_io_v1_identity_with_http_info(**kwargs) + (data) = self.list_identity_with_http_info(**kwargs) return data - def list_user_openshift_io_v1_identity_with_http_info(self, **kwargs): + def list_identity_with_http_info(self, **kwargs): """ list or watch objects of kind Identity This method makes a synchronous HTTP request by default. To make an @@ -1581,14 +1610,15 @@ def list_user_openshift_io_v1_identity_with_http_info(self, **kwargs): >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.list_user_openshift_io_v1_identity_with_http_info(callback=callback_function) + >>> thread = api.list_identity_with_http_info(callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param str pretty: If 'true', then the output is pretty printed. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param bool include_uninitialized: If true, partially initialized resources are included in the response. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. - :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. + :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. :param int timeout_seconds: Timeout for the list/watch call. :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. :return: V1IdentityList @@ -1596,7 +1626,7 @@ def list_user_openshift_io_v1_identity_with_http_info(self, **kwargs): returns the request thread. """ - all_params = ['pretty', 'field_selector', 'label_selector', 'resource_version', 'timeout_seconds', 'watch'] + all_params = ['pretty', 'field_selector', 'include_uninitialized', 'label_selector', 'resource_version', 'timeout_seconds', 'watch'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -1607,7 +1637,7 @@ def list_user_openshift_io_v1_identity_with_http_info(self, **kwargs): if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method list_user_openshift_io_v1_identity" % key + " to method list_identity" % key ) params[key] = val del params['kwargs'] @@ -1623,6 +1653,8 @@ def list_user_openshift_io_v1_identity_with_http_info(self, **kwargs): query_params['pretty'] = params['pretty'] if 'field_selector' in params: query_params['fieldSelector'] = params['field_selector'] + if 'include_uninitialized' in params: + query_params['includeUninitialized'] = params['include_uninitialized'] if 'label_selector' in params: query_params['labelSelector'] = params['label_selector'] if 'resource_version' in params: @@ -1647,7 +1679,7 @@ def list_user_openshift_io_v1_identity_with_http_info(self, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -1664,7 +1696,7 @@ def list_user_openshift_io_v1_identity_with_http_info(self, **kwargs): _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def list_user_openshift_io_v1_user(self, **kwargs): + def list_user(self, **kwargs): """ list or watch objects of kind User This method makes a synchronous HTTP request by default. To make an @@ -1673,14 +1705,15 @@ def list_user_openshift_io_v1_user(self, **kwargs): >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.list_user_openshift_io_v1_user(callback=callback_function) + >>> thread = api.list_user(callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param str pretty: If 'true', then the output is pretty printed. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param bool include_uninitialized: If true, partially initialized resources are included in the response. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. - :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. + :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. :param int timeout_seconds: Timeout for the list/watch call. :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. :return: V1UserList @@ -1689,12 +1722,12 @@ def list_user_openshift_io_v1_user(self, **kwargs): """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.list_user_openshift_io_v1_user_with_http_info(**kwargs) + return self.list_user_with_http_info(**kwargs) else: - (data) = self.list_user_openshift_io_v1_user_with_http_info(**kwargs) + (data) = self.list_user_with_http_info(**kwargs) return data - def list_user_openshift_io_v1_user_with_http_info(self, **kwargs): + def list_user_with_http_info(self, **kwargs): """ list or watch objects of kind User This method makes a synchronous HTTP request by default. To make an @@ -1703,14 +1736,15 @@ def list_user_openshift_io_v1_user_with_http_info(self, **kwargs): >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.list_user_openshift_io_v1_user_with_http_info(callback=callback_function) + >>> thread = api.list_user_with_http_info(callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param str pretty: If 'true', then the output is pretty printed. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param bool include_uninitialized: If true, partially initialized resources are included in the response. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. - :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. + :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. :param int timeout_seconds: Timeout for the list/watch call. :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. :return: V1UserList @@ -1718,7 +1752,7 @@ def list_user_openshift_io_v1_user_with_http_info(self, **kwargs): returns the request thread. """ - all_params = ['pretty', 'field_selector', 'label_selector', 'resource_version', 'timeout_seconds', 'watch'] + all_params = ['pretty', 'field_selector', 'include_uninitialized', 'label_selector', 'resource_version', 'timeout_seconds', 'watch'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -1729,7 +1763,7 @@ def list_user_openshift_io_v1_user_with_http_info(self, **kwargs): if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method list_user_openshift_io_v1_user" % key + " to method list_user" % key ) params[key] = val del params['kwargs'] @@ -1745,6 +1779,8 @@ def list_user_openshift_io_v1_user_with_http_info(self, **kwargs): query_params['pretty'] = params['pretty'] if 'field_selector' in params: query_params['fieldSelector'] = params['field_selector'] + if 'include_uninitialized' in params: + query_params['includeUninitialized'] = params['include_uninitialized'] if 'label_selector' in params: query_params['labelSelector'] = params['label_selector'] if 'resource_version' in params: @@ -1769,7 +1805,7 @@ def list_user_openshift_io_v1_user_with_http_info(self, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -1786,7 +1822,7 @@ def list_user_openshift_io_v1_user_with_http_info(self, **kwargs): _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def patch_user_openshift_io_v1_group(self, name, body, **kwargs): + def patch_group(self, name, body, **kwargs): """ partially update the specified Group This method makes a synchronous HTTP request by default. To make an @@ -1795,12 +1831,12 @@ def patch_user_openshift_io_v1_group(self, name, body, **kwargs): >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.patch_user_openshift_io_v1_group(name, body, callback=callback_function) + >>> thread = api.patch_group(name, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param str name: name of the Group (required) - :param UnversionedPatch body: (required) + :param object body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1Group If the method is called asynchronously, @@ -1808,12 +1844,12 @@ def patch_user_openshift_io_v1_group(self, name, body, **kwargs): """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.patch_user_openshift_io_v1_group_with_http_info(name, body, **kwargs) + return self.patch_group_with_http_info(name, body, **kwargs) else: - (data) = self.patch_user_openshift_io_v1_group_with_http_info(name, body, **kwargs) + (data) = self.patch_group_with_http_info(name, body, **kwargs) return data - def patch_user_openshift_io_v1_group_with_http_info(self, name, body, **kwargs): + def patch_group_with_http_info(self, name, body, **kwargs): """ partially update the specified Group This method makes a synchronous HTTP request by default. To make an @@ -1822,12 +1858,12 @@ def patch_user_openshift_io_v1_group_with_http_info(self, name, body, **kwargs): >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.patch_user_openshift_io_v1_group_with_http_info(name, body, callback=callback_function) + >>> thread = api.patch_group_with_http_info(name, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param str name: name of the Group (required) - :param UnversionedPatch body: (required) + :param object body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1Group If the method is called asynchronously, @@ -1845,16 +1881,16 @@ def patch_user_openshift_io_v1_group_with_http_info(self, name, body, **kwargs): if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method patch_user_openshift_io_v1_group" % key + " to method patch_group" % key ) params[key] = val del params['kwargs'] # verify the required parameter 'name' is set if ('name' not in params) or (params['name'] is None): - raise ValueError("Missing the required parameter `name` when calling `patch_user_openshift_io_v1_group`") + raise ValueError("Missing the required parameter `name` when calling `patch_group`") # verify the required parameter 'body' is set if ('body' not in params) or (params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `patch_user_openshift_io_v1_group`") + raise ValueError("Missing the required parameter `body` when calling `patch_group`") collection_formats = {} @@ -1885,7 +1921,7 @@ def patch_user_openshift_io_v1_group_with_http_info(self, name, body, **kwargs): select_header_content_type(['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'PATCH', path_params, @@ -1902,7 +1938,7 @@ def patch_user_openshift_io_v1_group_with_http_info(self, name, body, **kwargs): _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def patch_user_openshift_io_v1_identity(self, name, body, **kwargs): + def patch_identity(self, name, body, **kwargs): """ partially update the specified Identity This method makes a synchronous HTTP request by default. To make an @@ -1911,12 +1947,12 @@ def patch_user_openshift_io_v1_identity(self, name, body, **kwargs): >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.patch_user_openshift_io_v1_identity(name, body, callback=callback_function) + >>> thread = api.patch_identity(name, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param str name: name of the Identity (required) - :param UnversionedPatch body: (required) + :param object body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1Identity If the method is called asynchronously, @@ -1924,12 +1960,12 @@ def patch_user_openshift_io_v1_identity(self, name, body, **kwargs): """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.patch_user_openshift_io_v1_identity_with_http_info(name, body, **kwargs) + return self.patch_identity_with_http_info(name, body, **kwargs) else: - (data) = self.patch_user_openshift_io_v1_identity_with_http_info(name, body, **kwargs) + (data) = self.patch_identity_with_http_info(name, body, **kwargs) return data - def patch_user_openshift_io_v1_identity_with_http_info(self, name, body, **kwargs): + def patch_identity_with_http_info(self, name, body, **kwargs): """ partially update the specified Identity This method makes a synchronous HTTP request by default. To make an @@ -1938,12 +1974,12 @@ def patch_user_openshift_io_v1_identity_with_http_info(self, name, body, **kwarg >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.patch_user_openshift_io_v1_identity_with_http_info(name, body, callback=callback_function) + >>> thread = api.patch_identity_with_http_info(name, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param str name: name of the Identity (required) - :param UnversionedPatch body: (required) + :param object body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1Identity If the method is called asynchronously, @@ -1961,16 +1997,16 @@ def patch_user_openshift_io_v1_identity_with_http_info(self, name, body, **kwarg if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method patch_user_openshift_io_v1_identity" % key + " to method patch_identity" % key ) params[key] = val del params['kwargs'] # verify the required parameter 'name' is set if ('name' not in params) or (params['name'] is None): - raise ValueError("Missing the required parameter `name` when calling `patch_user_openshift_io_v1_identity`") + raise ValueError("Missing the required parameter `name` when calling `patch_identity`") # verify the required parameter 'body' is set if ('body' not in params) or (params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `patch_user_openshift_io_v1_identity`") + raise ValueError("Missing the required parameter `body` when calling `patch_identity`") collection_formats = {} @@ -2001,7 +2037,7 @@ def patch_user_openshift_io_v1_identity_with_http_info(self, name, body, **kwarg select_header_content_type(['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'PATCH', path_params, @@ -2018,7 +2054,7 @@ def patch_user_openshift_io_v1_identity_with_http_info(self, name, body, **kwarg _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def patch_user_openshift_io_v1_user(self, name, body, **kwargs): + def patch_user(self, name, body, **kwargs): """ partially update the specified User This method makes a synchronous HTTP request by default. To make an @@ -2027,12 +2063,12 @@ def patch_user_openshift_io_v1_user(self, name, body, **kwargs): >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.patch_user_openshift_io_v1_user(name, body, callback=callback_function) + >>> thread = api.patch_user(name, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param str name: name of the User (required) - :param UnversionedPatch body: (required) + :param object body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1User If the method is called asynchronously, @@ -2040,12 +2076,12 @@ def patch_user_openshift_io_v1_user(self, name, body, **kwargs): """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.patch_user_openshift_io_v1_user_with_http_info(name, body, **kwargs) + return self.patch_user_with_http_info(name, body, **kwargs) else: - (data) = self.patch_user_openshift_io_v1_user_with_http_info(name, body, **kwargs) + (data) = self.patch_user_with_http_info(name, body, **kwargs) return data - def patch_user_openshift_io_v1_user_with_http_info(self, name, body, **kwargs): + def patch_user_with_http_info(self, name, body, **kwargs): """ partially update the specified User This method makes a synchronous HTTP request by default. To make an @@ -2054,12 +2090,12 @@ def patch_user_openshift_io_v1_user_with_http_info(self, name, body, **kwargs): >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.patch_user_openshift_io_v1_user_with_http_info(name, body, callback=callback_function) + >>> thread = api.patch_user_with_http_info(name, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param str name: name of the User (required) - :param UnversionedPatch body: (required) + :param object body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1User If the method is called asynchronously, @@ -2077,16 +2113,16 @@ def patch_user_openshift_io_v1_user_with_http_info(self, name, body, **kwargs): if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method patch_user_openshift_io_v1_user" % key + " to method patch_user" % key ) params[key] = val del params['kwargs'] # verify the required parameter 'name' is set if ('name' not in params) or (params['name'] is None): - raise ValueError("Missing the required parameter `name` when calling `patch_user_openshift_io_v1_user`") + raise ValueError("Missing the required parameter `name` when calling `patch_user`") # verify the required parameter 'body' is set if ('body' not in params) or (params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `patch_user_openshift_io_v1_user`") + raise ValueError("Missing the required parameter `body` when calling `patch_user`") collection_formats = {} @@ -2117,7 +2153,7 @@ def patch_user_openshift_io_v1_user_with_http_info(self, name, body, **kwargs): select_header_content_type(['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'PATCH', path_params, @@ -2134,7 +2170,7 @@ def patch_user_openshift_io_v1_user_with_http_info(self, name, body, **kwargs): _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def patch_user_openshift_io_v1_user_identity_mapping(self, name, body, **kwargs): + def patch_user_identity_mapping(self, name, body, **kwargs): """ partially update the specified UserIdentityMapping This method makes a synchronous HTTP request by default. To make an @@ -2143,12 +2179,12 @@ def patch_user_openshift_io_v1_user_identity_mapping(self, name, body, **kwargs) >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.patch_user_openshift_io_v1_user_identity_mapping(name, body, callback=callback_function) + >>> thread = api.patch_user_identity_mapping(name, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param str name: name of the UserIdentityMapping (required) - :param UnversionedPatch body: (required) + :param object body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1UserIdentityMapping If the method is called asynchronously, @@ -2156,12 +2192,12 @@ def patch_user_openshift_io_v1_user_identity_mapping(self, name, body, **kwargs) """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.patch_user_openshift_io_v1_user_identity_mapping_with_http_info(name, body, **kwargs) + return self.patch_user_identity_mapping_with_http_info(name, body, **kwargs) else: - (data) = self.patch_user_openshift_io_v1_user_identity_mapping_with_http_info(name, body, **kwargs) + (data) = self.patch_user_identity_mapping_with_http_info(name, body, **kwargs) return data - def patch_user_openshift_io_v1_user_identity_mapping_with_http_info(self, name, body, **kwargs): + def patch_user_identity_mapping_with_http_info(self, name, body, **kwargs): """ partially update the specified UserIdentityMapping This method makes a synchronous HTTP request by default. To make an @@ -2170,12 +2206,12 @@ def patch_user_openshift_io_v1_user_identity_mapping_with_http_info(self, name, >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.patch_user_openshift_io_v1_user_identity_mapping_with_http_info(name, body, callback=callback_function) + >>> thread = api.patch_user_identity_mapping_with_http_info(name, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param str name: name of the UserIdentityMapping (required) - :param UnversionedPatch body: (required) + :param object body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1UserIdentityMapping If the method is called asynchronously, @@ -2193,16 +2229,16 @@ def patch_user_openshift_io_v1_user_identity_mapping_with_http_info(self, name, if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method patch_user_openshift_io_v1_user_identity_mapping" % key + " to method patch_user_identity_mapping" % key ) params[key] = val del params['kwargs'] # verify the required parameter 'name' is set if ('name' not in params) or (params['name'] is None): - raise ValueError("Missing the required parameter `name` when calling `patch_user_openshift_io_v1_user_identity_mapping`") + raise ValueError("Missing the required parameter `name` when calling `patch_user_identity_mapping`") # verify the required parameter 'body' is set if ('body' not in params) or (params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `patch_user_openshift_io_v1_user_identity_mapping`") + raise ValueError("Missing the required parameter `body` when calling `patch_user_identity_mapping`") collection_formats = {} @@ -2233,7 +2269,7 @@ def patch_user_openshift_io_v1_user_identity_mapping_with_http_info(self, name, select_header_content_type(['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'PATCH', path_params, @@ -2250,7 +2286,7 @@ def patch_user_openshift_io_v1_user_identity_mapping_with_http_info(self, name, _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def read_user_openshift_io_v1_group(self, name, **kwargs): + def read_group(self, name, **kwargs): """ read the specified Group This method makes a synchronous HTTP request by default. To make an @@ -2259,13 +2295,13 @@ def read_user_openshift_io_v1_group(self, name, **kwargs): >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.read_user_openshift_io_v1_group(name, callback=callback_function) + >>> thread = api.read_group(name, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param str name: name of the Group (required) :param str pretty: If 'true', then the output is pretty printed. - :param bool exact: Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace' + :param bool exact: Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. :param bool export: Should this value be exported. Export strips fields that a user can not specify. :return: V1Group If the method is called asynchronously, @@ -2273,12 +2309,12 @@ def read_user_openshift_io_v1_group(self, name, **kwargs): """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.read_user_openshift_io_v1_group_with_http_info(name, **kwargs) + return self.read_group_with_http_info(name, **kwargs) else: - (data) = self.read_user_openshift_io_v1_group_with_http_info(name, **kwargs) + (data) = self.read_group_with_http_info(name, **kwargs) return data - def read_user_openshift_io_v1_group_with_http_info(self, name, **kwargs): + def read_group_with_http_info(self, name, **kwargs): """ read the specified Group This method makes a synchronous HTTP request by default. To make an @@ -2287,13 +2323,13 @@ def read_user_openshift_io_v1_group_with_http_info(self, name, **kwargs): >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.read_user_openshift_io_v1_group_with_http_info(name, callback=callback_function) + >>> thread = api.read_group_with_http_info(name, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param str name: name of the Group (required) :param str pretty: If 'true', then the output is pretty printed. - :param bool exact: Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace' + :param bool exact: Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. :param bool export: Should this value be exported. Export strips fields that a user can not specify. :return: V1Group If the method is called asynchronously, @@ -2311,13 +2347,13 @@ def read_user_openshift_io_v1_group_with_http_info(self, name, **kwargs): if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method read_user_openshift_io_v1_group" % key + " to method read_group" % key ) params[key] = val del params['kwargs'] # verify the required parameter 'name' is set if ('name' not in params) or (params['name'] is None): - raise ValueError("Missing the required parameter `name` when calling `read_user_openshift_io_v1_group`") + raise ValueError("Missing the required parameter `name` when calling `read_group`") collection_formats = {} @@ -2350,7 +2386,7 @@ def read_user_openshift_io_v1_group_with_http_info(self, name, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -2367,7 +2403,7 @@ def read_user_openshift_io_v1_group_with_http_info(self, name, **kwargs): _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def read_user_openshift_io_v1_identity(self, name, **kwargs): + def read_identity(self, name, **kwargs): """ read the specified Identity This method makes a synchronous HTTP request by default. To make an @@ -2376,13 +2412,13 @@ def read_user_openshift_io_v1_identity(self, name, **kwargs): >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.read_user_openshift_io_v1_identity(name, callback=callback_function) + >>> thread = api.read_identity(name, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param str name: name of the Identity (required) :param str pretty: If 'true', then the output is pretty printed. - :param bool exact: Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace' + :param bool exact: Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. :param bool export: Should this value be exported. Export strips fields that a user can not specify. :return: V1Identity If the method is called asynchronously, @@ -2390,12 +2426,12 @@ def read_user_openshift_io_v1_identity(self, name, **kwargs): """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.read_user_openshift_io_v1_identity_with_http_info(name, **kwargs) + return self.read_identity_with_http_info(name, **kwargs) else: - (data) = self.read_user_openshift_io_v1_identity_with_http_info(name, **kwargs) + (data) = self.read_identity_with_http_info(name, **kwargs) return data - def read_user_openshift_io_v1_identity_with_http_info(self, name, **kwargs): + def read_identity_with_http_info(self, name, **kwargs): """ read the specified Identity This method makes a synchronous HTTP request by default. To make an @@ -2404,13 +2440,13 @@ def read_user_openshift_io_v1_identity_with_http_info(self, name, **kwargs): >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.read_user_openshift_io_v1_identity_with_http_info(name, callback=callback_function) + >>> thread = api.read_identity_with_http_info(name, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param str name: name of the Identity (required) :param str pretty: If 'true', then the output is pretty printed. - :param bool exact: Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace' + :param bool exact: Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. :param bool export: Should this value be exported. Export strips fields that a user can not specify. :return: V1Identity If the method is called asynchronously, @@ -2428,13 +2464,13 @@ def read_user_openshift_io_v1_identity_with_http_info(self, name, **kwargs): if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method read_user_openshift_io_v1_identity" % key + " to method read_identity" % key ) params[key] = val del params['kwargs'] # verify the required parameter 'name' is set if ('name' not in params) or (params['name'] is None): - raise ValueError("Missing the required parameter `name` when calling `read_user_openshift_io_v1_identity`") + raise ValueError("Missing the required parameter `name` when calling `read_identity`") collection_formats = {} @@ -2467,7 +2503,7 @@ def read_user_openshift_io_v1_identity_with_http_info(self, name, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -2484,7 +2520,7 @@ def read_user_openshift_io_v1_identity_with_http_info(self, name, **kwargs): _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def read_user_openshift_io_v1_user(self, name, **kwargs): + def read_user(self, name, **kwargs): """ read the specified User This method makes a synchronous HTTP request by default. To make an @@ -2493,13 +2529,13 @@ def read_user_openshift_io_v1_user(self, name, **kwargs): >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.read_user_openshift_io_v1_user(name, callback=callback_function) + >>> thread = api.read_user(name, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param str name: name of the User (required) :param str pretty: If 'true', then the output is pretty printed. - :param bool exact: Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace' + :param bool exact: Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. :param bool export: Should this value be exported. Export strips fields that a user can not specify. :return: V1User If the method is called asynchronously, @@ -2507,12 +2543,12 @@ def read_user_openshift_io_v1_user(self, name, **kwargs): """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.read_user_openshift_io_v1_user_with_http_info(name, **kwargs) + return self.read_user_with_http_info(name, **kwargs) else: - (data) = self.read_user_openshift_io_v1_user_with_http_info(name, **kwargs) + (data) = self.read_user_with_http_info(name, **kwargs) return data - def read_user_openshift_io_v1_user_with_http_info(self, name, **kwargs): + def read_user_with_http_info(self, name, **kwargs): """ read the specified User This method makes a synchronous HTTP request by default. To make an @@ -2521,13 +2557,13 @@ def read_user_openshift_io_v1_user_with_http_info(self, name, **kwargs): >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.read_user_openshift_io_v1_user_with_http_info(name, callback=callback_function) + >>> thread = api.read_user_with_http_info(name, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param str name: name of the User (required) :param str pretty: If 'true', then the output is pretty printed. - :param bool exact: Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace' + :param bool exact: Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. :param bool export: Should this value be exported. Export strips fields that a user can not specify. :return: V1User If the method is called asynchronously, @@ -2545,13 +2581,13 @@ def read_user_openshift_io_v1_user_with_http_info(self, name, **kwargs): if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method read_user_openshift_io_v1_user" % key + " to method read_user" % key ) params[key] = val del params['kwargs'] # verify the required parameter 'name' is set if ('name' not in params) or (params['name'] is None): - raise ValueError("Missing the required parameter `name` when calling `read_user_openshift_io_v1_user`") + raise ValueError("Missing the required parameter `name` when calling `read_user`") collection_formats = {} @@ -2584,7 +2620,7 @@ def read_user_openshift_io_v1_user_with_http_info(self, name, **kwargs): select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -2601,7 +2637,7 @@ def read_user_openshift_io_v1_user_with_http_info(self, name, **kwargs): _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def read_user_openshift_io_v1_user_identity_mapping(self, name, **kwargs): + def read_user_identity_mapping(self, name, **kwargs): """ read the specified UserIdentityMapping This method makes a synchronous HTTP request by default. To make an @@ -2610,7 +2646,7 @@ def read_user_openshift_io_v1_user_identity_mapping(self, name, **kwargs): >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.read_user_openshift_io_v1_user_identity_mapping(name, callback=callback_function) + >>> thread = api.read_user_identity_mapping(name, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) @@ -2622,12 +2658,12 @@ def read_user_openshift_io_v1_user_identity_mapping(self, name, **kwargs): """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.read_user_openshift_io_v1_user_identity_mapping_with_http_info(name, **kwargs) + return self.read_user_identity_mapping_with_http_info(name, **kwargs) else: - (data) = self.read_user_openshift_io_v1_user_identity_mapping_with_http_info(name, **kwargs) + (data) = self.read_user_identity_mapping_with_http_info(name, **kwargs) return data - def read_user_openshift_io_v1_user_identity_mapping_with_http_info(self, name, **kwargs): + def read_user_identity_mapping_with_http_info(self, name, **kwargs): """ read the specified UserIdentityMapping This method makes a synchronous HTTP request by default. To make an @@ -2636,7 +2672,7 @@ def read_user_openshift_io_v1_user_identity_mapping_with_http_info(self, name, * >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.read_user_openshift_io_v1_user_identity_mapping_with_http_info(name, callback=callback_function) + >>> thread = api.read_user_identity_mapping_with_http_info(name, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) @@ -2658,13 +2694,13 @@ def read_user_openshift_io_v1_user_identity_mapping_with_http_info(self, name, * if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method read_user_openshift_io_v1_user_identity_mapping" % key + " to method read_user_identity_mapping" % key ) params[key] = val del params['kwargs'] # verify the required parameter 'name' is set if ('name' not in params) or (params['name'] is None): - raise ValueError("Missing the required parameter `name` when calling `read_user_openshift_io_v1_user_identity_mapping`") + raise ValueError("Missing the required parameter `name` when calling `read_user_identity_mapping`") collection_formats = {} @@ -2693,7 +2729,7 @@ def read_user_openshift_io_v1_user_identity_mapping_with_http_info(self, name, * select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'GET', path_params, @@ -2710,7 +2746,7 @@ def read_user_openshift_io_v1_user_identity_mapping_with_http_info(self, name, * _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def replace_user_openshift_io_v1_group(self, name, body, **kwargs): + def replace_group(self, name, body, **kwargs): """ replace the specified Group This method makes a synchronous HTTP request by default. To make an @@ -2719,7 +2755,7 @@ def replace_user_openshift_io_v1_group(self, name, body, **kwargs): >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.replace_user_openshift_io_v1_group(name, body, callback=callback_function) + >>> thread = api.replace_group(name, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) @@ -2732,12 +2768,12 @@ def replace_user_openshift_io_v1_group(self, name, body, **kwargs): """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.replace_user_openshift_io_v1_group_with_http_info(name, body, **kwargs) + return self.replace_group_with_http_info(name, body, **kwargs) else: - (data) = self.replace_user_openshift_io_v1_group_with_http_info(name, body, **kwargs) + (data) = self.replace_group_with_http_info(name, body, **kwargs) return data - def replace_user_openshift_io_v1_group_with_http_info(self, name, body, **kwargs): + def replace_group_with_http_info(self, name, body, **kwargs): """ replace the specified Group This method makes a synchronous HTTP request by default. To make an @@ -2746,7 +2782,7 @@ def replace_user_openshift_io_v1_group_with_http_info(self, name, body, **kwargs >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.replace_user_openshift_io_v1_group_with_http_info(name, body, callback=callback_function) + >>> thread = api.replace_group_with_http_info(name, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) @@ -2769,16 +2805,16 @@ def replace_user_openshift_io_v1_group_with_http_info(self, name, body, **kwargs if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method replace_user_openshift_io_v1_group" % key + " to method replace_group" % key ) params[key] = val del params['kwargs'] # verify the required parameter 'name' is set if ('name' not in params) or (params['name'] is None): - raise ValueError("Missing the required parameter `name` when calling `replace_user_openshift_io_v1_group`") + raise ValueError("Missing the required parameter `name` when calling `replace_group`") # verify the required parameter 'body' is set if ('body' not in params) or (params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `replace_user_openshift_io_v1_group`") + raise ValueError("Missing the required parameter `body` when calling `replace_group`") collection_formats = {} @@ -2809,7 +2845,7 @@ def replace_user_openshift_io_v1_group_with_http_info(self, name, body, **kwargs select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'PUT', path_params, @@ -2826,7 +2862,7 @@ def replace_user_openshift_io_v1_group_with_http_info(self, name, body, **kwargs _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def replace_user_openshift_io_v1_identity(self, name, body, **kwargs): + def replace_identity(self, name, body, **kwargs): """ replace the specified Identity This method makes a synchronous HTTP request by default. To make an @@ -2835,7 +2871,7 @@ def replace_user_openshift_io_v1_identity(self, name, body, **kwargs): >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.replace_user_openshift_io_v1_identity(name, body, callback=callback_function) + >>> thread = api.replace_identity(name, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) @@ -2848,12 +2884,12 @@ def replace_user_openshift_io_v1_identity(self, name, body, **kwargs): """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.replace_user_openshift_io_v1_identity_with_http_info(name, body, **kwargs) + return self.replace_identity_with_http_info(name, body, **kwargs) else: - (data) = self.replace_user_openshift_io_v1_identity_with_http_info(name, body, **kwargs) + (data) = self.replace_identity_with_http_info(name, body, **kwargs) return data - def replace_user_openshift_io_v1_identity_with_http_info(self, name, body, **kwargs): + def replace_identity_with_http_info(self, name, body, **kwargs): """ replace the specified Identity This method makes a synchronous HTTP request by default. To make an @@ -2862,7 +2898,7 @@ def replace_user_openshift_io_v1_identity_with_http_info(self, name, body, **kwa >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.replace_user_openshift_io_v1_identity_with_http_info(name, body, callback=callback_function) + >>> thread = api.replace_identity_with_http_info(name, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) @@ -2885,16 +2921,16 @@ def replace_user_openshift_io_v1_identity_with_http_info(self, name, body, **kwa if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method replace_user_openshift_io_v1_identity" % key + " to method replace_identity" % key ) params[key] = val del params['kwargs'] # verify the required parameter 'name' is set if ('name' not in params) or (params['name'] is None): - raise ValueError("Missing the required parameter `name` when calling `replace_user_openshift_io_v1_identity`") + raise ValueError("Missing the required parameter `name` when calling `replace_identity`") # verify the required parameter 'body' is set if ('body' not in params) or (params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `replace_user_openshift_io_v1_identity`") + raise ValueError("Missing the required parameter `body` when calling `replace_identity`") collection_formats = {} @@ -2925,7 +2961,7 @@ def replace_user_openshift_io_v1_identity_with_http_info(self, name, body, **kwa select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'PUT', path_params, @@ -2942,7 +2978,7 @@ def replace_user_openshift_io_v1_identity_with_http_info(self, name, body, **kwa _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def replace_user_openshift_io_v1_user(self, name, body, **kwargs): + def replace_user(self, name, body, **kwargs): """ replace the specified User This method makes a synchronous HTTP request by default. To make an @@ -2951,7 +2987,7 @@ def replace_user_openshift_io_v1_user(self, name, body, **kwargs): >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.replace_user_openshift_io_v1_user(name, body, callback=callback_function) + >>> thread = api.replace_user(name, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) @@ -2964,12 +3000,12 @@ def replace_user_openshift_io_v1_user(self, name, body, **kwargs): """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.replace_user_openshift_io_v1_user_with_http_info(name, body, **kwargs) + return self.replace_user_with_http_info(name, body, **kwargs) else: - (data) = self.replace_user_openshift_io_v1_user_with_http_info(name, body, **kwargs) + (data) = self.replace_user_with_http_info(name, body, **kwargs) return data - def replace_user_openshift_io_v1_user_with_http_info(self, name, body, **kwargs): + def replace_user_with_http_info(self, name, body, **kwargs): """ replace the specified User This method makes a synchronous HTTP request by default. To make an @@ -2978,7 +3014,7 @@ def replace_user_openshift_io_v1_user_with_http_info(self, name, body, **kwargs) >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.replace_user_openshift_io_v1_user_with_http_info(name, body, callback=callback_function) + >>> thread = api.replace_user_with_http_info(name, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) @@ -3001,16 +3037,16 @@ def replace_user_openshift_io_v1_user_with_http_info(self, name, body, **kwargs) if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method replace_user_openshift_io_v1_user" % key + " to method replace_user" % key ) params[key] = val del params['kwargs'] # verify the required parameter 'name' is set if ('name' not in params) or (params['name'] is None): - raise ValueError("Missing the required parameter `name` when calling `replace_user_openshift_io_v1_user`") + raise ValueError("Missing the required parameter `name` when calling `replace_user`") # verify the required parameter 'body' is set if ('body' not in params) or (params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `replace_user_openshift_io_v1_user`") + raise ValueError("Missing the required parameter `body` when calling `replace_user`") collection_formats = {} @@ -3041,7 +3077,7 @@ def replace_user_openshift_io_v1_user_with_http_info(self, name, body, **kwargs) select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'PUT', path_params, @@ -3058,7 +3094,7 @@ def replace_user_openshift_io_v1_user_with_http_info(self, name, body, **kwargs) _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def replace_user_openshift_io_v1_user_identity_mapping(self, name, body, **kwargs): + def replace_user_identity_mapping(self, name, body, **kwargs): """ replace the specified UserIdentityMapping This method makes a synchronous HTTP request by default. To make an @@ -3067,7 +3103,7 @@ def replace_user_openshift_io_v1_user_identity_mapping(self, name, body, **kwarg >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.replace_user_openshift_io_v1_user_identity_mapping(name, body, callback=callback_function) + >>> thread = api.replace_user_identity_mapping(name, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) @@ -3080,12 +3116,12 @@ def replace_user_openshift_io_v1_user_identity_mapping(self, name, body, **kwarg """ kwargs['_return_http_data_only'] = True if kwargs.get('callback'): - return self.replace_user_openshift_io_v1_user_identity_mapping_with_http_info(name, body, **kwargs) + return self.replace_user_identity_mapping_with_http_info(name, body, **kwargs) else: - (data) = self.replace_user_openshift_io_v1_user_identity_mapping_with_http_info(name, body, **kwargs) + (data) = self.replace_user_identity_mapping_with_http_info(name, body, **kwargs) return data - def replace_user_openshift_io_v1_user_identity_mapping_with_http_info(self, name, body, **kwargs): + def replace_user_identity_mapping_with_http_info(self, name, body, **kwargs): """ replace the specified UserIdentityMapping This method makes a synchronous HTTP request by default. To make an @@ -3094,7 +3130,7 @@ def replace_user_openshift_io_v1_user_identity_mapping_with_http_info(self, name >>> def callback_function(response): >>> pprint(response) >>> - >>> thread = api.replace_user_openshift_io_v1_user_identity_mapping_with_http_info(name, body, callback=callback_function) + >>> thread = api.replace_user_identity_mapping_with_http_info(name, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) @@ -3117,16 +3153,16 @@ def replace_user_openshift_io_v1_user_identity_mapping_with_http_info(self, name if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method replace_user_openshift_io_v1_user_identity_mapping" % key + " to method replace_user_identity_mapping" % key ) params[key] = val del params['kwargs'] # verify the required parameter 'name' is set if ('name' not in params) or (params['name'] is None): - raise ValueError("Missing the required parameter `name` when calling `replace_user_openshift_io_v1_user_identity_mapping`") + raise ValueError("Missing the required parameter `name` when calling `replace_user_identity_mapping`") # verify the required parameter 'body' is set if ('body' not in params) or (params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `replace_user_openshift_io_v1_user_identity_mapping`") + raise ValueError("Missing the required parameter `body` when calling `replace_user_identity_mapping`") collection_formats = {} @@ -3157,7 +3193,7 @@ def replace_user_openshift_io_v1_user_identity_mapping_with_http_info(self, name select_header_content_type(['*/*']) # Authentication setting - auth_settings = ['BearerToken'] + auth_settings = ['Oauth2Implicit', 'Oauth2AccessToken', 'BearerToken'] return self.api_client.call_api(resource_path, 'PUT', path_params, diff --git a/openshift/client/models/__init__.py b/openshift/client/models/__init__.py index 669797b4..bcf2005b 100644 --- a/openshift/client/models/__init__.py +++ b/openshift/client/models/__init__.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -14,10 +14,14 @@ from __future__ import absolute_import # import models into model package -from .unversioned_server_address_by_client_cidr import UnversionedServerAddressByClientCIDR +from .v1_allowed_flex_volume import V1AllowedFlexVolume from .v1_applied_cluster_resource_quota import V1AppliedClusterResourceQuota from .v1_applied_cluster_resource_quota_list import V1AppliedClusterResourceQuotaList from .v1_binary_build_source import V1BinaryBuildSource +from .v1_bitbucket_web_hook_cause import V1BitbucketWebHookCause +from .v1_broker_template_instance import V1BrokerTemplateInstance +from .v1_broker_template_instance_list import V1BrokerTemplateInstanceList +from .v1_broker_template_instance_spec import V1BrokerTemplateInstanceSpec from .v1_build import V1Build from .v1_build_config import V1BuildConfig from .v1_build_config_list import V1BuildConfigList @@ -38,10 +42,6 @@ from .v1_build_trigger_policy import V1BuildTriggerPolicy from .v1_cluster_network import V1ClusterNetwork from .v1_cluster_network_list import V1ClusterNetworkList -from .v1_cluster_policy import V1ClusterPolicy -from .v1_cluster_policy_binding import V1ClusterPolicyBinding -from .v1_cluster_policy_binding_list import V1ClusterPolicyBindingList -from .v1_cluster_policy_list import V1ClusterPolicyList from .v1_cluster_resource_quota import V1ClusterResourceQuota from .v1_cluster_resource_quota_list import V1ClusterResourceQuotaList from .v1_cluster_resource_quota_selector import V1ClusterResourceQuotaSelector @@ -69,8 +69,6 @@ from .v1_deployment_strategy import V1DeploymentStrategy from .v1_deployment_trigger_image_change_params import V1DeploymentTriggerImageChangeParams from .v1_deployment_trigger_policy import V1DeploymentTriggerPolicy -from .v1_deprecated_downward_api_volume_file import V1DeprecatedDownwardAPIVolumeFile -from .v1_deprecated_downward_api_volume_source import V1DeprecatedDownwardAPIVolumeSource from .v1_docker_build_strategy import V1DockerBuildStrategy from .v1_docker_strategy_options import V1DockerStrategyOptions from .v1_egress_network_policy import V1EgressNetworkPolicy @@ -83,6 +81,7 @@ from .v1_generic_web_hook_cause import V1GenericWebHookCause from .v1_git_build_source import V1GitBuildSource from .v1_git_hub_web_hook_cause import V1GitHubWebHookCause +from .v1_git_lab_web_hook_cause import V1GitLabWebHookCause from .v1_git_source_revision import V1GitSourceRevision from .v1_group import V1Group from .v1_group_list import V1GroupList @@ -100,6 +99,7 @@ from .v1_image_label import V1ImageLabel from .v1_image_layer import V1ImageLayer from .v1_image_list import V1ImageList +from .v1_image_lookup_policy import V1ImageLookupPolicy from .v1_image_signature import V1ImageSignature from .v1_image_source import V1ImageSource from .v1_image_source_path import V1ImageSourcePath @@ -117,11 +117,6 @@ from .v1_jenkins_pipeline_build_strategy import V1JenkinsPipelineBuildStrategy from .v1_lifecycle_hook import V1LifecycleHook from .v1_local_resource_access_review import V1LocalResourceAccessReview -from .v1_local_subject_access_review import V1LocalSubjectAccessReview -from .v1_named_cluster_role import V1NamedClusterRole -from .v1_named_cluster_role_binding import V1NamedClusterRoleBinding -from .v1_named_role import V1NamedRole -from .v1_named_role_binding import V1NamedRoleBinding from .v1_named_tag_event_list import V1NamedTagEventList from .v1_net_namespace import V1NetNamespace from .v1_net_namespace_list import V1NetNamespaceList @@ -142,10 +137,6 @@ from .v1_pod_security_policy_subject_review import V1PodSecurityPolicySubjectReview from .v1_pod_security_policy_subject_review_spec import V1PodSecurityPolicySubjectReviewSpec from .v1_pod_security_policy_subject_review_status import V1PodSecurityPolicySubjectReviewStatus -from .v1_policy import V1Policy -from .v1_policy_binding import V1PolicyBinding -from .v1_policy_binding_list import V1PolicyBindingList -from .v1_policy_list import V1PolicyList from .v1_policy_rule import V1PolicyRule from .v1_project import V1Project from .v1_project_list import V1ProjectList @@ -182,6 +173,7 @@ from .v1_security_context_constraints_list import V1SecurityContextConstraintsList from .v1_self_subject_rules_review import V1SelfSubjectRulesReview from .v1_self_subject_rules_review_spec import V1SelfSubjectRulesReviewSpec +from .v1_server_address_by_client_cidr import V1ServerAddressByClientCIDR from .v1_service_account_pod_security_policy_review_status import V1ServiceAccountPodSecurityPolicyReviewStatus from .v1_service_account_reference import V1ServiceAccountReference from .v1_service_account_restriction import V1ServiceAccountRestriction @@ -191,7 +183,9 @@ from .v1_source_build_strategy import V1SourceBuildStrategy from .v1_source_control_user import V1SourceControlUser from .v1_source_revision import V1SourceRevision -from .v1_subject_access_review import V1SubjectAccessReview +from .v1_source_strategy_options import V1SourceStrategyOptions +from .v1_stage_info import V1StageInfo +from .v1_step_info import V1StepInfo from .v1_subject_rules_review import V1SubjectRulesReview from .v1_subject_rules_review_spec import V1SubjectRulesReviewSpec from .v1_subject_rules_review_status import V1SubjectRulesReviewStatus @@ -204,19 +198,17 @@ from .v1_tag_reference import V1TagReference from .v1_tag_reference_policy import V1TagReferencePolicy from .v1_template import V1Template +from .v1_template_instance import V1TemplateInstance +from .v1_template_instance_condition import V1TemplateInstanceCondition +from .v1_template_instance_list import V1TemplateInstanceList +from .v1_template_instance_object import V1TemplateInstanceObject +from .v1_template_instance_requester import V1TemplateInstanceRequester +from .v1_template_instance_spec import V1TemplateInstanceSpec +from .v1_template_instance_status import V1TemplateInstanceStatus from .v1_template_list import V1TemplateList from .v1_user import V1User from .v1_user_identity_mapping import V1UserIdentityMapping from .v1_user_list import V1UserList from .v1_user_restriction import V1UserRestriction from .v1_web_hook_trigger import V1WebHookTrigger -from .v1beta1_fs_group_strategy_options import V1beta1FSGroupStrategyOptions -from .v1beta1_host_port_range import V1beta1HostPortRange -from .v1beta1_id_range import V1beta1IDRange -from .v1beta1_ingress_tls import V1beta1IngressTLS -from .v1beta1_pod_security_policy import V1beta1PodSecurityPolicy -from .v1beta1_pod_security_policy_list import V1beta1PodSecurityPolicyList -from .v1beta1_pod_security_policy_spec import V1beta1PodSecurityPolicySpec -from .v1beta1_run_as_user_strategy_options import V1beta1RunAsUserStrategyOptions -from .v1beta1_se_linux_strategy_options import V1beta1SELinuxStrategyOptions -from .v1beta1_supplemental_groups_strategy_options import V1beta1SupplementalGroupsStrategyOptions \ No newline at end of file +from .v1beta1_ingress_tls import V1beta1IngressTLS \ No newline at end of file diff --git a/openshift/client/models/v1_named_role.py b/openshift/client/models/v1_allowed_flex_volume.py similarity index 69% rename from openshift/client/models/v1_named_role.py rename to openshift/client/models/v1_allowed_flex_volume.py index b770fc1c..851b8c5b 100644 --- a/openshift/client/models/v1_named_role.py +++ b/openshift/client/models/v1_allowed_flex_volume.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -16,14 +16,14 @@ import re -class V1NamedRole(object): +class V1AllowedFlexVolume(object): """ NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. """ - def __init__(self, name=None, role=None): + def __init__(self, driver=None): """ - V1NamedRole - a model defined in Swagger + V1AllowedFlexVolume - a model defined in Swagger :param dict swaggerTypes: The key is attribute name and the value is attribute type. @@ -31,67 +31,37 @@ def __init__(self, name=None, role=None): and the value is json key in definition. """ self.swagger_types = { - 'name': 'str', - 'role': 'V1Role' + 'driver': 'str' } self.attribute_map = { - 'name': 'name', - 'role': 'role' + 'driver': 'driver' } - self._name = name - self._role = role + self._driver = driver @property - def name(self): + def driver(self): """ - Gets the name of this V1NamedRole. - Name is the name of the role + Gets the driver of this V1AllowedFlexVolume. + Driver is the name of the Flexvolume driver. - :return: The name of this V1NamedRole. + :return: The driver of this V1AllowedFlexVolume. :rtype: str """ - return self._name + return self._driver - @name.setter - def name(self, name): + @driver.setter + def driver(self, driver): """ - Sets the name of this V1NamedRole. - Name is the name of the role + Sets the driver of this V1AllowedFlexVolume. + Driver is the name of the Flexvolume driver. - :param name: The name of this V1NamedRole. + :param driver: The driver of this V1AllowedFlexVolume. :type: str """ - if name is None: - raise ValueError("Invalid value for `name`, must not be `None`") - self._name = name - - @property - def role(self): - """ - Gets the role of this V1NamedRole. - Role is the role being named - - :return: The role of this V1NamedRole. - :rtype: V1Role - """ - return self._role - - @role.setter - def role(self, role): - """ - Sets the role of this V1NamedRole. - Role is the role being named - - :param role: The role of this V1NamedRole. - :type: V1Role - """ - if role is None: - raise ValueError("Invalid value for `role`, must not be `None`") - - self._role = role + self._driver = driver def to_dict(self): """ @@ -135,7 +105,7 @@ def __eq__(self, other): """ Returns true if both objects are equal """ - if not isinstance(other, V1NamedRole): + if not isinstance(other, V1AllowedFlexVolume): return False return self.__dict__ == other.__dict__ diff --git a/openshift/client/models/v1_applied_cluster_resource_quota.py b/openshift/client/models/v1_applied_cluster_resource_quota.py index a88d9a3e..f4cf6e51 100644 --- a/openshift/client/models/v1_applied_cluster_resource_quota.py +++ b/openshift/client/models/v1_applied_cluster_resource_quota.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -56,7 +56,7 @@ def __init__(self, api_version=None, kind=None, metadata=None, spec=None, status def api_version(self): """ Gets the api_version of this V1AppliedClusterResourceQuota. - APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources :return: The api_version of this V1AppliedClusterResourceQuota. :rtype: str @@ -67,7 +67,7 @@ def api_version(self): def api_version(self, api_version): """ Sets the api_version of this V1AppliedClusterResourceQuota. - APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources :param api_version: The api_version of this V1AppliedClusterResourceQuota. :type: str @@ -79,7 +79,7 @@ def api_version(self, api_version): def kind(self): """ Gets the kind of this V1AppliedClusterResourceQuota. - Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds :return: The kind of this V1AppliedClusterResourceQuota. :rtype: str @@ -90,7 +90,7 @@ def kind(self): def kind(self, kind): """ Sets the kind of this V1AppliedClusterResourceQuota. - Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds :param kind: The kind of this V1AppliedClusterResourceQuota. :type: str diff --git a/openshift/client/models/v1_applied_cluster_resource_quota_list.py b/openshift/client/models/v1_applied_cluster_resource_quota_list.py index ae922cf4..abc2bdd8 100644 --- a/openshift/client/models/v1_applied_cluster_resource_quota_list.py +++ b/openshift/client/models/v1_applied_cluster_resource_quota_list.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -34,7 +34,7 @@ def __init__(self, api_version=None, items=None, kind=None, metadata=None): 'api_version': 'str', 'items': 'list[V1AppliedClusterResourceQuota]', 'kind': 'str', - 'metadata': 'UnversionedListMeta' + 'metadata': 'V1ListMeta' } self.attribute_map = { @@ -53,7 +53,7 @@ def __init__(self, api_version=None, items=None, kind=None, metadata=None): def api_version(self): """ Gets the api_version of this V1AppliedClusterResourceQuotaList. - APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources :return: The api_version of this V1AppliedClusterResourceQuotaList. :rtype: str @@ -64,7 +64,7 @@ def api_version(self): def api_version(self, api_version): """ Sets the api_version of this V1AppliedClusterResourceQuotaList. - APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources :param api_version: The api_version of this V1AppliedClusterResourceQuotaList. :type: str @@ -101,7 +101,7 @@ def items(self, items): def kind(self): """ Gets the kind of this V1AppliedClusterResourceQuotaList. - Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds :return: The kind of this V1AppliedClusterResourceQuotaList. :rtype: str @@ -112,7 +112,7 @@ def kind(self): def kind(self, kind): """ Sets the kind of this V1AppliedClusterResourceQuotaList. - Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds :param kind: The kind of this V1AppliedClusterResourceQuotaList. :type: str @@ -127,7 +127,7 @@ def metadata(self): Standard object's metadata. :return: The metadata of this V1AppliedClusterResourceQuotaList. - :rtype: UnversionedListMeta + :rtype: V1ListMeta """ return self._metadata @@ -138,7 +138,7 @@ def metadata(self, metadata): Standard object's metadata. :param metadata: The metadata of this V1AppliedClusterResourceQuotaList. - :type: UnversionedListMeta + :type: V1ListMeta """ self._metadata = metadata diff --git a/openshift/client/models/v1_binary_build_source.py b/openshift/client/models/v1_binary_build_source.py index 804a2917..c58c7767 100644 --- a/openshift/client/models/v1_binary_build_source.py +++ b/openshift/client/models/v1_binary_build_source.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openshift/client/models/v1beta1_host_port_range.py b/openshift/client/models/v1_bitbucket_web_hook_cause.py similarity index 67% rename from openshift/client/models/v1beta1_host_port_range.py rename to openshift/client/models/v1_bitbucket_web_hook_cause.py index 7b6bd244..d9b00213 100644 --- a/openshift/client/models/v1beta1_host_port_range.py +++ b/openshift/client/models/v1_bitbucket_web_hook_cause.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -16,14 +16,14 @@ import re -class V1beta1HostPortRange(object): +class V1BitbucketWebHookCause(object): """ NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. """ - def __init__(self, max=None, min=None): + def __init__(self, revision=None, secret=None): """ - V1beta1HostPortRange - a model defined in Swagger + V1BitbucketWebHookCause - a model defined in Swagger :param dict swaggerTypes: The key is attribute name and the value is attribute type. @@ -31,67 +31,63 @@ def __init__(self, max=None, min=None): and the value is json key in definition. """ self.swagger_types = { - 'max': 'int', - 'min': 'int' + 'revision': 'V1SourceRevision', + 'secret': 'str' } self.attribute_map = { - 'max': 'max', - 'min': 'min' + 'revision': 'revision', + 'secret': 'secret' } - self._max = max - self._min = min + self._revision = revision + self._secret = secret @property - def max(self): + def revision(self): """ - Gets the max of this V1beta1HostPortRange. - max is the end of the range, inclusive. + Gets the revision of this V1BitbucketWebHookCause. + Revision is the git source revision information of the trigger. - :return: The max of this V1beta1HostPortRange. - :rtype: int + :return: The revision of this V1BitbucketWebHookCause. + :rtype: V1SourceRevision """ - return self._max + return self._revision - @max.setter - def max(self, max): + @revision.setter + def revision(self, revision): """ - Sets the max of this V1beta1HostPortRange. - max is the end of the range, inclusive. + Sets the revision of this V1BitbucketWebHookCause. + Revision is the git source revision information of the trigger. - :param max: The max of this V1beta1HostPortRange. - :type: int + :param revision: The revision of this V1BitbucketWebHookCause. + :type: V1SourceRevision """ - if max is None: - raise ValueError("Invalid value for `max`, must not be `None`") - self._max = max + self._revision = revision @property - def min(self): + def secret(self): """ - Gets the min of this V1beta1HostPortRange. - min is the start of the range, inclusive. + Gets the secret of this V1BitbucketWebHookCause. + Secret is the obfuscated webhook secret that triggered a build. - :return: The min of this V1beta1HostPortRange. - :rtype: int + :return: The secret of this V1BitbucketWebHookCause. + :rtype: str """ - return self._min + return self._secret - @min.setter - def min(self, min): + @secret.setter + def secret(self, secret): """ - Sets the min of this V1beta1HostPortRange. - min is the start of the range, inclusive. + Sets the secret of this V1BitbucketWebHookCause. + Secret is the obfuscated webhook secret that triggered a build. - :param min: The min of this V1beta1HostPortRange. - :type: int + :param secret: The secret of this V1BitbucketWebHookCause. + :type: str """ - if min is None: - raise ValueError("Invalid value for `min`, must not be `None`") - self._min = min + self._secret = secret def to_dict(self): """ @@ -135,7 +131,7 @@ def __eq__(self, other): """ Returns true if both objects are equal """ - if not isinstance(other, V1beta1HostPortRange): + if not isinstance(other, V1BitbucketWebHookCause): return False return self.__dict__ == other.__dict__ diff --git a/openshift/client/models/v1beta1_pod_security_policy.py b/openshift/client/models/v1_broker_template_instance.py similarity index 71% rename from openshift/client/models/v1beta1_pod_security_policy.py rename to openshift/client/models/v1_broker_template_instance.py index 10b1924a..60316792 100644 --- a/openshift/client/models/v1beta1_pod_security_policy.py +++ b/openshift/client/models/v1_broker_template_instance.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -16,14 +16,14 @@ import re -class V1beta1PodSecurityPolicy(object): +class V1BrokerTemplateInstance(object): """ NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. """ def __init__(self, api_version=None, kind=None, metadata=None, spec=None): """ - V1beta1PodSecurityPolicy - a model defined in Swagger + V1BrokerTemplateInstance - a model defined in Swagger :param dict swaggerTypes: The key is attribute name and the value is attribute type. @@ -34,7 +34,7 @@ def __init__(self, api_version=None, kind=None, metadata=None, spec=None): 'api_version': 'str', 'kind': 'str', 'metadata': 'V1ObjectMeta', - 'spec': 'V1beta1PodSecurityPolicySpec' + 'spec': 'V1BrokerTemplateInstanceSpec' } self.attribute_map = { @@ -52,10 +52,10 @@ def __init__(self, api_version=None, kind=None, metadata=None, spec=None): @property def api_version(self): """ - Gets the api_version of this V1beta1PodSecurityPolicy. - APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + Gets the api_version of this V1BrokerTemplateInstance. + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources - :return: The api_version of this V1beta1PodSecurityPolicy. + :return: The api_version of this V1BrokerTemplateInstance. :rtype: str """ return self._api_version @@ -63,10 +63,10 @@ def api_version(self): @api_version.setter def api_version(self, api_version): """ - Sets the api_version of this V1beta1PodSecurityPolicy. - APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + Sets the api_version of this V1BrokerTemplateInstance. + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources - :param api_version: The api_version of this V1beta1PodSecurityPolicy. + :param api_version: The api_version of this V1BrokerTemplateInstance. :type: str """ @@ -75,10 +75,10 @@ def api_version(self, api_version): @property def kind(self): """ - Gets the kind of this V1beta1PodSecurityPolicy. - Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + Gets the kind of this V1BrokerTemplateInstance. + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds - :return: The kind of this V1beta1PodSecurityPolicy. + :return: The kind of this V1BrokerTemplateInstance. :rtype: str """ return self._kind @@ -86,10 +86,10 @@ def kind(self): @kind.setter def kind(self, kind): """ - Sets the kind of this V1beta1PodSecurityPolicy. - Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + Sets the kind of this V1BrokerTemplateInstance. + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds - :param kind: The kind of this V1beta1PodSecurityPolicy. + :param kind: The kind of this V1BrokerTemplateInstance. :type: str """ @@ -98,10 +98,10 @@ def kind(self, kind): @property def metadata(self): """ - Gets the metadata of this V1beta1PodSecurityPolicy. - Standard object's metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata + Gets the metadata of this V1BrokerTemplateInstance. + Standard object metadata. - :return: The metadata of this V1beta1PodSecurityPolicy. + :return: The metadata of this V1BrokerTemplateInstance. :rtype: V1ObjectMeta """ return self._metadata @@ -109,10 +109,10 @@ def metadata(self): @metadata.setter def metadata(self, metadata): """ - Sets the metadata of this V1beta1PodSecurityPolicy. - Standard object's metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata + Sets the metadata of this V1BrokerTemplateInstance. + Standard object metadata. - :param metadata: The metadata of this V1beta1PodSecurityPolicy. + :param metadata: The metadata of this V1BrokerTemplateInstance. :type: V1ObjectMeta """ @@ -121,23 +121,25 @@ def metadata(self, metadata): @property def spec(self): """ - Gets the spec of this V1beta1PodSecurityPolicy. - spec defines the policy enforced. + Gets the spec of this V1BrokerTemplateInstance. + spec describes the state of this BrokerTemplateInstance. - :return: The spec of this V1beta1PodSecurityPolicy. - :rtype: V1beta1PodSecurityPolicySpec + :return: The spec of this V1BrokerTemplateInstance. + :rtype: V1BrokerTemplateInstanceSpec """ return self._spec @spec.setter def spec(self, spec): """ - Sets the spec of this V1beta1PodSecurityPolicy. - spec defines the policy enforced. + Sets the spec of this V1BrokerTemplateInstance. + spec describes the state of this BrokerTemplateInstance. - :param spec: The spec of this V1beta1PodSecurityPolicy. - :type: V1beta1PodSecurityPolicySpec + :param spec: The spec of this V1BrokerTemplateInstance. + :type: V1BrokerTemplateInstanceSpec """ + if spec is None: + raise ValueError("Invalid value for `spec`, must not be `None`") self._spec = spec @@ -183,7 +185,7 @@ def __eq__(self, other): """ Returns true if both objects are equal """ - if not isinstance(other, V1beta1PodSecurityPolicy): + if not isinstance(other, V1BrokerTemplateInstance): return False return self.__dict__ == other.__dict__ diff --git a/openshift/client/models/v1_cluster_policy_binding_list.py b/openshift/client/models/v1_broker_template_instance_list.py similarity index 71% rename from openshift/client/models/v1_cluster_policy_binding_list.py rename to openshift/client/models/v1_broker_template_instance_list.py index fcff31aa..f0c28c45 100644 --- a/openshift/client/models/v1_cluster_policy_binding_list.py +++ b/openshift/client/models/v1_broker_template_instance_list.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -16,14 +16,14 @@ import re -class V1ClusterPolicyBindingList(object): +class V1BrokerTemplateInstanceList(object): """ NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. """ def __init__(self, api_version=None, items=None, kind=None, metadata=None): """ - V1ClusterPolicyBindingList - a model defined in Swagger + V1BrokerTemplateInstanceList - a model defined in Swagger :param dict swaggerTypes: The key is attribute name and the value is attribute type. @@ -32,9 +32,9 @@ def __init__(self, api_version=None, items=None, kind=None, metadata=None): """ self.swagger_types = { 'api_version': 'str', - 'items': 'list[V1ClusterPolicyBinding]', + 'items': 'list[V1BrokerTemplateInstance]', 'kind': 'str', - 'metadata': 'UnversionedListMeta' + 'metadata': 'V1ListMeta' } self.attribute_map = { @@ -52,10 +52,10 @@ def __init__(self, api_version=None, items=None, kind=None, metadata=None): @property def api_version(self): """ - Gets the api_version of this V1ClusterPolicyBindingList. - APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + Gets the api_version of this V1BrokerTemplateInstanceList. + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources - :return: The api_version of this V1ClusterPolicyBindingList. + :return: The api_version of this V1BrokerTemplateInstanceList. :rtype: str """ return self._api_version @@ -63,10 +63,10 @@ def api_version(self): @api_version.setter def api_version(self, api_version): """ - Sets the api_version of this V1ClusterPolicyBindingList. - APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + Sets the api_version of this V1BrokerTemplateInstanceList. + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources - :param api_version: The api_version of this V1ClusterPolicyBindingList. + :param api_version: The api_version of this V1BrokerTemplateInstanceList. :type: str """ @@ -75,22 +75,22 @@ def api_version(self, api_version): @property def items(self): """ - Gets the items of this V1ClusterPolicyBindingList. - Items is a list of ClusterPolicyBindings + Gets the items of this V1BrokerTemplateInstanceList. + items is a list of BrokerTemplateInstances - :return: The items of this V1ClusterPolicyBindingList. - :rtype: list[V1ClusterPolicyBinding] + :return: The items of this V1BrokerTemplateInstanceList. + :rtype: list[V1BrokerTemplateInstance] """ return self._items @items.setter def items(self, items): """ - Sets the items of this V1ClusterPolicyBindingList. - Items is a list of ClusterPolicyBindings + Sets the items of this V1BrokerTemplateInstanceList. + items is a list of BrokerTemplateInstances - :param items: The items of this V1ClusterPolicyBindingList. - :type: list[V1ClusterPolicyBinding] + :param items: The items of this V1BrokerTemplateInstanceList. + :type: list[V1BrokerTemplateInstance] """ if items is None: raise ValueError("Invalid value for `items`, must not be `None`") @@ -100,10 +100,10 @@ def items(self, items): @property def kind(self): """ - Gets the kind of this V1ClusterPolicyBindingList. - Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + Gets the kind of this V1BrokerTemplateInstanceList. + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds - :return: The kind of this V1ClusterPolicyBindingList. + :return: The kind of this V1BrokerTemplateInstanceList. :rtype: str """ return self._kind @@ -111,10 +111,10 @@ def kind(self): @kind.setter def kind(self, kind): """ - Sets the kind of this V1ClusterPolicyBindingList. - Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + Sets the kind of this V1BrokerTemplateInstanceList. + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds - :param kind: The kind of this V1ClusterPolicyBindingList. + :param kind: The kind of this V1BrokerTemplateInstanceList. :type: str """ @@ -123,22 +123,22 @@ def kind(self, kind): @property def metadata(self): """ - Gets the metadata of this V1ClusterPolicyBindingList. - Standard object's metadata. + Gets the metadata of this V1BrokerTemplateInstanceList. + Standard object metadata. - :return: The metadata of this V1ClusterPolicyBindingList. - :rtype: UnversionedListMeta + :return: The metadata of this V1BrokerTemplateInstanceList. + :rtype: V1ListMeta """ return self._metadata @metadata.setter def metadata(self, metadata): """ - Sets the metadata of this V1ClusterPolicyBindingList. - Standard object's metadata. + Sets the metadata of this V1BrokerTemplateInstanceList. + Standard object metadata. - :param metadata: The metadata of this V1ClusterPolicyBindingList. - :type: UnversionedListMeta + :param metadata: The metadata of this V1BrokerTemplateInstanceList. + :type: V1ListMeta """ self._metadata = metadata @@ -185,7 +185,7 @@ def __eq__(self, other): """ Returns true if both objects are equal """ - if not isinstance(other, V1ClusterPolicyBindingList): + if not isinstance(other, V1BrokerTemplateInstanceList): return False return self.__dict__ == other.__dict__ diff --git a/openshift/client/models/v1beta1_se_linux_strategy_options.py b/openshift/client/models/v1_broker_template_instance_spec.py similarity index 55% rename from openshift/client/models/v1beta1_se_linux_strategy_options.py rename to openshift/client/models/v1_broker_template_instance_spec.py index ad9553cd..abb9a8f2 100644 --- a/openshift/client/models/v1beta1_se_linux_strategy_options.py +++ b/openshift/client/models/v1_broker_template_instance_spec.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -16,14 +16,14 @@ import re -class V1beta1SELinuxStrategyOptions(object): +class V1BrokerTemplateInstanceSpec(object): """ NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. """ - def __init__(self, rule=None, se_linux_options=None): + def __init__(self, binding_i_ds=None, secret=None, template_instance=None): """ - V1beta1SELinuxStrategyOptions - a model defined in Swagger + V1BrokerTemplateInstanceSpec - a model defined in Swagger :param dict swaggerTypes: The key is attribute name and the value is attribute type. @@ -31,65 +31,93 @@ def __init__(self, rule=None, se_linux_options=None): and the value is json key in definition. """ self.swagger_types = { - 'rule': 'str', - 'se_linux_options': 'V1SELinuxOptions' + 'binding_i_ds': 'list[str]', + 'secret': 'V1ObjectReference', + 'template_instance': 'V1ObjectReference' } self.attribute_map = { - 'rule': 'rule', - 'se_linux_options': 'seLinuxOptions' + 'binding_i_ds': 'bindingIDs', + 'secret': 'secret', + 'template_instance': 'templateInstance' } - self._rule = rule - self._se_linux_options = se_linux_options + self._binding_i_ds = binding_i_ds + self._secret = secret + self._template_instance = template_instance @property - def rule(self): + def binding_i_ds(self): """ - Gets the rule of this V1beta1SELinuxStrategyOptions. - type is the strategy that will dictate the allowable labels that may be set. + Gets the binding_i_ds of this V1BrokerTemplateInstanceSpec. + bindingids is a list of 'binding_id's provided during successive bind calls to the template service broker. - :return: The rule of this V1beta1SELinuxStrategyOptions. - :rtype: str + :return: The binding_i_ds of this V1BrokerTemplateInstanceSpec. + :rtype: list[str] """ - return self._rule + return self._binding_i_ds - @rule.setter - def rule(self, rule): + @binding_i_ds.setter + def binding_i_ds(self, binding_i_ds): """ - Sets the rule of this V1beta1SELinuxStrategyOptions. - type is the strategy that will dictate the allowable labels that may be set. + Sets the binding_i_ds of this V1BrokerTemplateInstanceSpec. + bindingids is a list of 'binding_id's provided during successive bind calls to the template service broker. - :param rule: The rule of this V1beta1SELinuxStrategyOptions. - :type: str + :param binding_i_ds: The binding_i_ds of this V1BrokerTemplateInstanceSpec. + :type: list[str] """ - if rule is None: - raise ValueError("Invalid value for `rule`, must not be `None`") - self._rule = rule + self._binding_i_ds = binding_i_ds @property - def se_linux_options(self): + def secret(self): """ - Gets the se_linux_options of this V1beta1SELinuxStrategyOptions. - seLinuxOptions required to run as; required for MustRunAs More info: http://releases.k8s.io/HEAD/docs/design/security_context.md#security-context + Gets the secret of this V1BrokerTemplateInstanceSpec. + secret is a reference to a Secret object residing in a namespace, containing the necessary template parameters. - :return: The se_linux_options of this V1beta1SELinuxStrategyOptions. - :rtype: V1SELinuxOptions + :return: The secret of this V1BrokerTemplateInstanceSpec. + :rtype: V1ObjectReference """ - return self._se_linux_options + return self._secret - @se_linux_options.setter - def se_linux_options(self, se_linux_options): + @secret.setter + def secret(self, secret): """ - Sets the se_linux_options of this V1beta1SELinuxStrategyOptions. - seLinuxOptions required to run as; required for MustRunAs More info: http://releases.k8s.io/HEAD/docs/design/security_context.md#security-context + Sets the secret of this V1BrokerTemplateInstanceSpec. + secret is a reference to a Secret object residing in a namespace, containing the necessary template parameters. - :param se_linux_options: The se_linux_options of this V1beta1SELinuxStrategyOptions. - :type: V1SELinuxOptions + :param secret: The secret of this V1BrokerTemplateInstanceSpec. + :type: V1ObjectReference """ + if secret is None: + raise ValueError("Invalid value for `secret`, must not be `None`") - self._se_linux_options = se_linux_options + self._secret = secret + + @property + def template_instance(self): + """ + Gets the template_instance of this V1BrokerTemplateInstanceSpec. + templateinstance is a reference to a TemplateInstance object residing in a namespace. + + :return: The template_instance of this V1BrokerTemplateInstanceSpec. + :rtype: V1ObjectReference + """ + return self._template_instance + + @template_instance.setter + def template_instance(self, template_instance): + """ + Sets the template_instance of this V1BrokerTemplateInstanceSpec. + templateinstance is a reference to a TemplateInstance object residing in a namespace. + + :param template_instance: The template_instance of this V1BrokerTemplateInstanceSpec. + :type: V1ObjectReference + """ + if template_instance is None: + raise ValueError("Invalid value for `template_instance`, must not be `None`") + + self._template_instance = template_instance def to_dict(self): """ @@ -133,7 +161,7 @@ def __eq__(self, other): """ Returns true if both objects are equal """ - if not isinstance(other, V1beta1SELinuxStrategyOptions): + if not isinstance(other, V1BrokerTemplateInstanceSpec): return False return self.__dict__ == other.__dict__ diff --git a/openshift/client/models/v1_build.py b/openshift/client/models/v1_build.py index c0fa58da..4615bd18 100644 --- a/openshift/client/models/v1_build.py +++ b/openshift/client/models/v1_build.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -56,7 +56,7 @@ def __init__(self, api_version=None, kind=None, metadata=None, spec=None, status def api_version(self): """ Gets the api_version of this V1Build. - APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources :return: The api_version of this V1Build. :rtype: str @@ -67,7 +67,7 @@ def api_version(self): def api_version(self, api_version): """ Sets the api_version of this V1Build. - APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources :param api_version: The api_version of this V1Build. :type: str @@ -79,7 +79,7 @@ def api_version(self, api_version): def kind(self): """ Gets the kind of this V1Build. - Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds :return: The kind of this V1Build. :rtype: str @@ -90,7 +90,7 @@ def kind(self): def kind(self, kind): """ Sets the kind of this V1Build. - Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds :param kind: The kind of this V1Build. :type: str diff --git a/openshift/client/models/v1_build_config.py b/openshift/client/models/v1_build_config.py index 8b5d5551..b5460c0c 100644 --- a/openshift/client/models/v1_build_config.py +++ b/openshift/client/models/v1_build_config.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -56,7 +56,7 @@ def __init__(self, api_version=None, kind=None, metadata=None, spec=None, status def api_version(self): """ Gets the api_version of this V1BuildConfig. - APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources :return: The api_version of this V1BuildConfig. :rtype: str @@ -67,7 +67,7 @@ def api_version(self): def api_version(self, api_version): """ Sets the api_version of this V1BuildConfig. - APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources :param api_version: The api_version of this V1BuildConfig. :type: str @@ -79,7 +79,7 @@ def api_version(self, api_version): def kind(self): """ Gets the kind of this V1BuildConfig. - Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds :return: The kind of this V1BuildConfig. :rtype: str @@ -90,7 +90,7 @@ def kind(self): def kind(self, kind): """ Sets the kind of this V1BuildConfig. - Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds :param kind: The kind of this V1BuildConfig. :type: str diff --git a/openshift/client/models/v1_build_config_list.py b/openshift/client/models/v1_build_config_list.py index 7ed6dad8..bdedb415 100644 --- a/openshift/client/models/v1_build_config_list.py +++ b/openshift/client/models/v1_build_config_list.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -34,7 +34,7 @@ def __init__(self, api_version=None, items=None, kind=None, metadata=None): 'api_version': 'str', 'items': 'list[V1BuildConfig]', 'kind': 'str', - 'metadata': 'UnversionedListMeta' + 'metadata': 'V1ListMeta' } self.attribute_map = { @@ -53,7 +53,7 @@ def __init__(self, api_version=None, items=None, kind=None, metadata=None): def api_version(self): """ Gets the api_version of this V1BuildConfigList. - APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources :return: The api_version of this V1BuildConfigList. :rtype: str @@ -64,7 +64,7 @@ def api_version(self): def api_version(self, api_version): """ Sets the api_version of this V1BuildConfigList. - APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources :param api_version: The api_version of this V1BuildConfigList. :type: str @@ -101,7 +101,7 @@ def items(self, items): def kind(self): """ Gets the kind of this V1BuildConfigList. - Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds :return: The kind of this V1BuildConfigList. :rtype: str @@ -112,7 +112,7 @@ def kind(self): def kind(self, kind): """ Sets the kind of this V1BuildConfigList. - Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds :param kind: The kind of this V1BuildConfigList. :type: str @@ -127,7 +127,7 @@ def metadata(self): metadata for BuildConfigList. :return: The metadata of this V1BuildConfigList. - :rtype: UnversionedListMeta + :rtype: V1ListMeta """ return self._metadata @@ -138,7 +138,7 @@ def metadata(self, metadata): metadata for BuildConfigList. :param metadata: The metadata of this V1BuildConfigList. - :type: UnversionedListMeta + :type: V1ListMeta """ self._metadata = metadata diff --git a/openshift/client/models/v1_build_config_spec.py b/openshift/client/models/v1_build_config_spec.py index 26ff081d..6f7be0e7 100644 --- a/openshift/client/models/v1_build_config_spec.py +++ b/openshift/client/models/v1_build_config_spec.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -21,7 +21,7 @@ class V1BuildConfigSpec(object): NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. """ - def __init__(self, completion_deadline_seconds=None, node_selector=None, output=None, post_commit=None, resources=None, revision=None, run_policy=None, service_account=None, source=None, strategy=None, triggers=None): + def __init__(self, completion_deadline_seconds=None, failed_builds_history_limit=None, node_selector=None, output=None, post_commit=None, resources=None, revision=None, run_policy=None, service_account=None, source=None, strategy=None, successful_builds_history_limit=None, triggers=None): """ V1BuildConfigSpec - a model defined in Swagger @@ -32,6 +32,7 @@ def __init__(self, completion_deadline_seconds=None, node_selector=None, output= """ self.swagger_types = { 'completion_deadline_seconds': 'int', + 'failed_builds_history_limit': 'int', 'node_selector': 'dict(str, str)', 'output': 'V1BuildOutput', 'post_commit': 'V1BuildPostCommitSpec', @@ -41,11 +42,13 @@ def __init__(self, completion_deadline_seconds=None, node_selector=None, output= 'service_account': 'str', 'source': 'V1BuildSource', 'strategy': 'V1BuildStrategy', + 'successful_builds_history_limit': 'int', 'triggers': 'list[V1BuildTriggerPolicy]' } self.attribute_map = { 'completion_deadline_seconds': 'completionDeadlineSeconds', + 'failed_builds_history_limit': 'failedBuildsHistoryLimit', 'node_selector': 'nodeSelector', 'output': 'output', 'post_commit': 'postCommit', @@ -55,10 +58,12 @@ def __init__(self, completion_deadline_seconds=None, node_selector=None, output= 'service_account': 'serviceAccount', 'source': 'source', 'strategy': 'strategy', + 'successful_builds_history_limit': 'successfulBuildsHistoryLimit', 'triggers': 'triggers' } self._completion_deadline_seconds = completion_deadline_seconds + self._failed_builds_history_limit = failed_builds_history_limit self._node_selector = node_selector self._output = output self._post_commit = post_commit @@ -68,6 +73,7 @@ def __init__(self, completion_deadline_seconds=None, node_selector=None, output= self._service_account = service_account self._source = source self._strategy = strategy + self._successful_builds_history_limit = successful_builds_history_limit self._triggers = triggers @property @@ -93,6 +99,29 @@ def completion_deadline_seconds(self, completion_deadline_seconds): self._completion_deadline_seconds = completion_deadline_seconds + @property + def failed_builds_history_limit(self): + """ + Gets the failed_builds_history_limit of this V1BuildConfigSpec. + failedBuildsHistoryLimit is the number of old failed builds to retain. If not specified, all failed builds are retained. + + :return: The failed_builds_history_limit of this V1BuildConfigSpec. + :rtype: int + """ + return self._failed_builds_history_limit + + @failed_builds_history_limit.setter + def failed_builds_history_limit(self, failed_builds_history_limit): + """ + Sets the failed_builds_history_limit of this V1BuildConfigSpec. + failedBuildsHistoryLimit is the number of old failed builds to retain. If not specified, all failed builds are retained. + + :param failed_builds_history_limit: The failed_builds_history_limit of this V1BuildConfigSpec. + :type: int + """ + + self._failed_builds_history_limit = failed_builds_history_limit + @property def node_selector(self): """ @@ -304,6 +333,29 @@ def strategy(self, strategy): self._strategy = strategy + @property + def successful_builds_history_limit(self): + """ + Gets the successful_builds_history_limit of this V1BuildConfigSpec. + successfulBuildsHistoryLimit is the number of old successful builds to retain. If not specified, all successful builds are retained. + + :return: The successful_builds_history_limit of this V1BuildConfigSpec. + :rtype: int + """ + return self._successful_builds_history_limit + + @successful_builds_history_limit.setter + def successful_builds_history_limit(self, successful_builds_history_limit): + """ + Sets the successful_builds_history_limit of this V1BuildConfigSpec. + successfulBuildsHistoryLimit is the number of old successful builds to retain. If not specified, all successful builds are retained. + + :param successful_builds_history_limit: The successful_builds_history_limit of this V1BuildConfigSpec. + :type: int + """ + + self._successful_builds_history_limit = successful_builds_history_limit + @property def triggers(self): """ diff --git a/openshift/client/models/v1_build_config_status.py b/openshift/client/models/v1_build_config_status.py index 314ce671..ed681b6f 100644 --- a/openshift/client/models/v1_build_config_status.py +++ b/openshift/client/models/v1_build_config_status.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openshift/client/models/v1_build_list.py b/openshift/client/models/v1_build_list.py index e1d1560d..be001475 100644 --- a/openshift/client/models/v1_build_list.py +++ b/openshift/client/models/v1_build_list.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -34,7 +34,7 @@ def __init__(self, api_version=None, items=None, kind=None, metadata=None): 'api_version': 'str', 'items': 'list[V1Build]', 'kind': 'str', - 'metadata': 'UnversionedListMeta' + 'metadata': 'V1ListMeta' } self.attribute_map = { @@ -53,7 +53,7 @@ def __init__(self, api_version=None, items=None, kind=None, metadata=None): def api_version(self): """ Gets the api_version of this V1BuildList. - APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources :return: The api_version of this V1BuildList. :rtype: str @@ -64,7 +64,7 @@ def api_version(self): def api_version(self, api_version): """ Sets the api_version of this V1BuildList. - APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources :param api_version: The api_version of this V1BuildList. :type: str @@ -101,7 +101,7 @@ def items(self, items): def kind(self): """ Gets the kind of this V1BuildList. - Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds :return: The kind of this V1BuildList. :rtype: str @@ -112,7 +112,7 @@ def kind(self): def kind(self, kind): """ Sets the kind of this V1BuildList. - Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds :param kind: The kind of this V1BuildList. :type: str @@ -127,7 +127,7 @@ def metadata(self): metadata for BuildList. :return: The metadata of this V1BuildList. - :rtype: UnversionedListMeta + :rtype: V1ListMeta """ return self._metadata @@ -138,7 +138,7 @@ def metadata(self, metadata): metadata for BuildList. :param metadata: The metadata of this V1BuildList. - :type: UnversionedListMeta + :type: V1ListMeta """ self._metadata = metadata diff --git a/openshift/client/models/v1_build_log.py b/openshift/client/models/v1_build_log.py index 18dfe99d..77eb696d 100644 --- a/openshift/client/models/v1_build_log.py +++ b/openshift/client/models/v1_build_log.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -47,7 +47,7 @@ def __init__(self, api_version=None, kind=None): def api_version(self): """ Gets the api_version of this V1BuildLog. - APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources :return: The api_version of this V1BuildLog. :rtype: str @@ -58,7 +58,7 @@ def api_version(self): def api_version(self, api_version): """ Sets the api_version of this V1BuildLog. - APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources :param api_version: The api_version of this V1BuildLog. :type: str @@ -70,7 +70,7 @@ def api_version(self, api_version): def kind(self): """ Gets the kind of this V1BuildLog. - Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds :return: The kind of this V1BuildLog. :rtype: str @@ -81,7 +81,7 @@ def kind(self): def kind(self, kind): """ Sets the kind of this V1BuildLog. - Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds :param kind: The kind of this V1BuildLog. :type: str diff --git a/openshift/client/models/v1_build_output.py b/openshift/client/models/v1_build_output.py index eb8b88c7..777c263d 100644 --- a/openshift/client/models/v1_build_output.py +++ b/openshift/client/models/v1_build_output.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openshift/client/models/v1_build_post_commit_spec.py b/openshift/client/models/v1_build_post_commit_spec.py index a7eb3a22..6e94270f 100644 --- a/openshift/client/models/v1_build_post_commit_spec.py +++ b/openshift/client/models/v1_build_post_commit_spec.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openshift/client/models/v1_build_request.py b/openshift/client/models/v1_build_request.py index 0a05d477..b7fa0ce8 100644 --- a/openshift/client/models/v1_build_request.py +++ b/openshift/client/models/v1_build_request.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -21,7 +21,7 @@ class V1BuildRequest(object): NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. """ - def __init__(self, api_version=None, binary=None, docker_strategy_options=None, env=None, _from=None, kind=None, last_version=None, metadata=None, revision=None, triggered_by=None, triggered_by_image=None): + def __init__(self, api_version=None, binary=None, docker_strategy_options=None, env=None, _from=None, kind=None, last_version=None, metadata=None, revision=None, source_strategy_options=None, triggered_by=None, triggered_by_image=None): """ V1BuildRequest - a model defined in Swagger @@ -40,6 +40,7 @@ def __init__(self, api_version=None, binary=None, docker_strategy_options=None, 'last_version': 'int', 'metadata': 'V1ObjectMeta', 'revision': 'V1SourceRevision', + 'source_strategy_options': 'V1SourceStrategyOptions', 'triggered_by': 'list[V1BuildTriggerCause]', 'triggered_by_image': 'V1ObjectReference' } @@ -54,6 +55,7 @@ def __init__(self, api_version=None, binary=None, docker_strategy_options=None, 'last_version': 'lastVersion', 'metadata': 'metadata', 'revision': 'revision', + 'source_strategy_options': 'sourceStrategyOptions', 'triggered_by': 'triggeredBy', 'triggered_by_image': 'triggeredByImage' } @@ -67,6 +69,7 @@ def __init__(self, api_version=None, binary=None, docker_strategy_options=None, self._last_version = last_version self._metadata = metadata self._revision = revision + self._source_strategy_options = source_strategy_options self._triggered_by = triggered_by self._triggered_by_image = triggered_by_image @@ -74,7 +77,7 @@ def __init__(self, api_version=None, binary=None, docker_strategy_options=None, def api_version(self): """ Gets the api_version of this V1BuildRequest. - APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources :return: The api_version of this V1BuildRequest. :rtype: str @@ -85,7 +88,7 @@ def api_version(self): def api_version(self, api_version): """ Sets the api_version of this V1BuildRequest. - APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources :param api_version: The api_version of this V1BuildRequest. :type: str @@ -143,7 +146,7 @@ def docker_strategy_options(self, docker_strategy_options): def env(self): """ Gets the env of this V1BuildRequest. - env contains additional environment variables you want to pass into a builder container. ValueFrom is not supported. + env contains additional environment variables you want to pass into a builder container. :return: The env of this V1BuildRequest. :rtype: list[V1EnvVar] @@ -154,7 +157,7 @@ def env(self): def env(self, env): """ Sets the env of this V1BuildRequest. - env contains additional environment variables you want to pass into a builder container. ValueFrom is not supported. + env contains additional environment variables you want to pass into a builder container. :param env: The env of this V1BuildRequest. :type: list[V1EnvVar] @@ -189,7 +192,7 @@ def _from(self, _from): def kind(self): """ Gets the kind of this V1BuildRequest. - Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds :return: The kind of this V1BuildRequest. :rtype: str @@ -200,7 +203,7 @@ def kind(self): def kind(self, kind): """ Sets the kind of this V1BuildRequest. - Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds :param kind: The kind of this V1BuildRequest. :type: str @@ -277,6 +280,29 @@ def revision(self, revision): self._revision = revision + @property + def source_strategy_options(self): + """ + Gets the source_strategy_options of this V1BuildRequest. + SourceStrategyOptions contains additional source-strategy specific options for the build + + :return: The source_strategy_options of this V1BuildRequest. + :rtype: V1SourceStrategyOptions + """ + return self._source_strategy_options + + @source_strategy_options.setter + def source_strategy_options(self, source_strategy_options): + """ + Sets the source_strategy_options of this V1BuildRequest. + SourceStrategyOptions contains additional source-strategy specific options for the build + + :param source_strategy_options: The source_strategy_options of this V1BuildRequest. + :type: V1SourceStrategyOptions + """ + + self._source_strategy_options = source_strategy_options + @property def triggered_by(self): """ diff --git a/openshift/client/models/v1_build_source.py b/openshift/client/models/v1_build_source.py index 05bbf4d6..0394f735 100644 --- a/openshift/client/models/v1_build_source.py +++ b/openshift/client/models/v1_build_source.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openshift/client/models/v1_build_spec.py b/openshift/client/models/v1_build_spec.py index beba145c..cd715b41 100644 --- a/openshift/client/models/v1_build_spec.py +++ b/openshift/client/models/v1_build_spec.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openshift/client/models/v1_build_status.py b/openshift/client/models/v1_build_status.py index 650a285b..9339b22d 100644 --- a/openshift/client/models/v1_build_status.py +++ b/openshift/client/models/v1_build_status.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -21,7 +21,7 @@ class V1BuildStatus(object): NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. """ - def __init__(self, cancelled=None, completion_timestamp=None, config=None, duration=None, message=None, output=None, output_docker_image_reference=None, phase=None, reason=None, start_timestamp=None): + def __init__(self, cancelled=None, completion_timestamp=None, config=None, duration=None, log_snippet=None, message=None, output=None, output_docker_image_reference=None, phase=None, reason=None, stages=None, start_timestamp=None): """ V1BuildStatus - a model defined in Swagger @@ -32,15 +32,17 @@ def __init__(self, cancelled=None, completion_timestamp=None, config=None, durat """ self.swagger_types = { 'cancelled': 'bool', - 'completion_timestamp': 'UnversionedTime', + 'completion_timestamp': 'datetime', 'config': 'V1ObjectReference', 'duration': 'int', + 'log_snippet': 'str', 'message': 'str', 'output': 'V1BuildStatusOutput', 'output_docker_image_reference': 'str', 'phase': 'str', 'reason': 'str', - 'start_timestamp': 'UnversionedTime' + 'stages': 'list[V1StageInfo]', + 'start_timestamp': 'datetime' } self.attribute_map = { @@ -48,11 +50,13 @@ def __init__(self, cancelled=None, completion_timestamp=None, config=None, durat 'completion_timestamp': 'completionTimestamp', 'config': 'config', 'duration': 'duration', + 'log_snippet': 'logSnippet', 'message': 'message', 'output': 'output', 'output_docker_image_reference': 'outputDockerImageReference', 'phase': 'phase', 'reason': 'reason', + 'stages': 'stages', 'start_timestamp': 'startTimestamp' } @@ -60,11 +64,13 @@ def __init__(self, cancelled=None, completion_timestamp=None, config=None, durat self._completion_timestamp = completion_timestamp self._config = config self._duration = duration + self._log_snippet = log_snippet self._message = message self._output = output self._output_docker_image_reference = output_docker_image_reference self._phase = phase self._reason = reason + self._stages = stages self._start_timestamp = start_timestamp @property @@ -97,7 +103,7 @@ def completion_timestamp(self): completionTimestamp is a timestamp representing the server time when this Build was finished, whether that build failed or succeeded. It reflects the time at which the Pod running the Build terminated. It is represented in RFC3339 form and is in UTC. :return: The completion_timestamp of this V1BuildStatus. - :rtype: UnversionedTime + :rtype: datetime """ return self._completion_timestamp @@ -108,7 +114,7 @@ def completion_timestamp(self, completion_timestamp): completionTimestamp is a timestamp representing the server time when this Build was finished, whether that build failed or succeeded. It reflects the time at which the Pod running the Build terminated. It is represented in RFC3339 form and is in UTC. :param completion_timestamp: The completion_timestamp of this V1BuildStatus. - :type: UnversionedTime + :type: datetime """ self._completion_timestamp = completion_timestamp @@ -159,6 +165,29 @@ def duration(self, duration): self._duration = duration + @property + def log_snippet(self): + """ + Gets the log_snippet of this V1BuildStatus. + logSnippet is the last few lines of the build log. This value is only set for builds that failed. + + :return: The log_snippet of this V1BuildStatus. + :rtype: str + """ + return self._log_snippet + + @log_snippet.setter + def log_snippet(self, log_snippet): + """ + Sets the log_snippet of this V1BuildStatus. + logSnippet is the last few lines of the build log. This value is only set for builds that failed. + + :param log_snippet: The log_snippet of this V1BuildStatus. + :type: str + """ + + self._log_snippet = log_snippet + @property def message(self): """ @@ -232,7 +261,7 @@ def output_docker_image_reference(self, output_docker_image_reference): def phase(self): """ Gets the phase of this V1BuildStatus. - phase is the point in the build lifecycle. + phase is the point in the build lifecycle. Possible values are \"New\", \"Pending\", \"Running\", \"Complete\", \"Failed\", \"Error\", and \"Cancelled\". :return: The phase of this V1BuildStatus. :rtype: str @@ -243,7 +272,7 @@ def phase(self): def phase(self, phase): """ Sets the phase of this V1BuildStatus. - phase is the point in the build lifecycle. + phase is the point in the build lifecycle. Possible values are \"New\", \"Pending\", \"Running\", \"Complete\", \"Failed\", \"Error\", and \"Cancelled\". :param phase: The phase of this V1BuildStatus. :type: str @@ -276,6 +305,29 @@ def reason(self, reason): self._reason = reason + @property + def stages(self): + """ + Gets the stages of this V1BuildStatus. + stages contains details about each stage that occurs during the build including start time, duration (in milliseconds), and the steps that occured within each stage. + + :return: The stages of this V1BuildStatus. + :rtype: list[V1StageInfo] + """ + return self._stages + + @stages.setter + def stages(self, stages): + """ + Sets the stages of this V1BuildStatus. + stages contains details about each stage that occurs during the build including start time, duration (in milliseconds), and the steps that occured within each stage. + + :param stages: The stages of this V1BuildStatus. + :type: list[V1StageInfo] + """ + + self._stages = stages + @property def start_timestamp(self): """ @@ -283,7 +335,7 @@ def start_timestamp(self): startTimestamp is a timestamp representing the server time when this Build started running in a Pod. It is represented in RFC3339 form and is in UTC. :return: The start_timestamp of this V1BuildStatus. - :rtype: UnversionedTime + :rtype: datetime """ return self._start_timestamp @@ -294,7 +346,7 @@ def start_timestamp(self, start_timestamp): startTimestamp is a timestamp representing the server time when this Build started running in a Pod. It is represented in RFC3339 form and is in UTC. :param start_timestamp: The start_timestamp of this V1BuildStatus. - :type: UnversionedTime + :type: datetime """ self._start_timestamp = start_timestamp diff --git a/openshift/client/models/v1_build_status_output.py b/openshift/client/models/v1_build_status_output.py index 1525c9ab..cdd6366b 100644 --- a/openshift/client/models/v1_build_status_output.py +++ b/openshift/client/models/v1_build_status_output.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openshift/client/models/v1_build_status_output_to.py b/openshift/client/models/v1_build_status_output_to.py index 9f48a5ac..6cfd86a9 100644 --- a/openshift/client/models/v1_build_status_output_to.py +++ b/openshift/client/models/v1_build_status_output_to.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openshift/client/models/v1_build_strategy.py b/openshift/client/models/v1_build_strategy.py index d0b4938f..a8b0ce9f 100644 --- a/openshift/client/models/v1_build_strategy.py +++ b/openshift/client/models/v1_build_strategy.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openshift/client/models/v1_build_trigger_cause.py b/openshift/client/models/v1_build_trigger_cause.py index 4ff884df..ebd9e480 100644 --- a/openshift/client/models/v1_build_trigger_cause.py +++ b/openshift/client/models/v1_build_trigger_cause.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -21,7 +21,7 @@ class V1BuildTriggerCause(object): NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. """ - def __init__(self, generic_web_hook=None, github_web_hook=None, image_change_build=None, message=None): + def __init__(self, bitbucket_web_hook=None, generic_web_hook=None, github_web_hook=None, gitlab_web_hook=None, image_change_build=None, message=None): """ V1BuildTriggerCause - a model defined in Swagger @@ -31,24 +31,53 @@ def __init__(self, generic_web_hook=None, github_web_hook=None, image_change_bui and the value is json key in definition. """ self.swagger_types = { + 'bitbucket_web_hook': 'V1BitbucketWebHookCause', 'generic_web_hook': 'V1GenericWebHookCause', 'github_web_hook': 'V1GitHubWebHookCause', + 'gitlab_web_hook': 'V1GitLabWebHookCause', 'image_change_build': 'V1ImageChangeCause', 'message': 'str' } self.attribute_map = { + 'bitbucket_web_hook': 'bitbucketWebHook', 'generic_web_hook': 'genericWebHook', 'github_web_hook': 'githubWebHook', + 'gitlab_web_hook': 'gitlabWebHook', 'image_change_build': 'imageChangeBuild', 'message': 'message' } + self._bitbucket_web_hook = bitbucket_web_hook self._generic_web_hook = generic_web_hook self._github_web_hook = github_web_hook + self._gitlab_web_hook = gitlab_web_hook self._image_change_build = image_change_build self._message = message + @property + def bitbucket_web_hook(self): + """ + Gets the bitbucket_web_hook of this V1BuildTriggerCause. + BitbucketWebHook represents data for a Bitbucket webhook that fired a specific build. + + :return: The bitbucket_web_hook of this V1BuildTriggerCause. + :rtype: V1BitbucketWebHookCause + """ + return self._bitbucket_web_hook + + @bitbucket_web_hook.setter + def bitbucket_web_hook(self, bitbucket_web_hook): + """ + Sets the bitbucket_web_hook of this V1BuildTriggerCause. + BitbucketWebHook represents data for a Bitbucket webhook that fired a specific build. + + :param bitbucket_web_hook: The bitbucket_web_hook of this V1BuildTriggerCause. + :type: V1BitbucketWebHookCause + """ + + self._bitbucket_web_hook = bitbucket_web_hook + @property def generic_web_hook(self): """ @@ -95,6 +124,29 @@ def github_web_hook(self, github_web_hook): self._github_web_hook = github_web_hook + @property + def gitlab_web_hook(self): + """ + Gets the gitlab_web_hook of this V1BuildTriggerCause. + GitLabWebHook represents data for a GitLab webhook that fired a specific build. + + :return: The gitlab_web_hook of this V1BuildTriggerCause. + :rtype: V1GitLabWebHookCause + """ + return self._gitlab_web_hook + + @gitlab_web_hook.setter + def gitlab_web_hook(self, gitlab_web_hook): + """ + Sets the gitlab_web_hook of this V1BuildTriggerCause. + GitLabWebHook represents data for a GitLab webhook that fired a specific build. + + :param gitlab_web_hook: The gitlab_web_hook of this V1BuildTriggerCause. + :type: V1GitLabWebHookCause + """ + + self._gitlab_web_hook = gitlab_web_hook + @property def image_change_build(self): """ diff --git a/openshift/client/models/v1_build_trigger_policy.py b/openshift/client/models/v1_build_trigger_policy.py index 28499903..f1e23a5c 100644 --- a/openshift/client/models/v1_build_trigger_policy.py +++ b/openshift/client/models/v1_build_trigger_policy.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -21,7 +21,7 @@ class V1BuildTriggerPolicy(object): NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. """ - def __init__(self, generic=None, github=None, image_change=None, type=None): + def __init__(self, bitbucket=None, generic=None, github=None, gitlab=None, image_change=None, type=None): """ V1BuildTriggerPolicy - a model defined in Swagger @@ -31,24 +31,53 @@ def __init__(self, generic=None, github=None, image_change=None, type=None): and the value is json key in definition. """ self.swagger_types = { + 'bitbucket': 'V1WebHookTrigger', 'generic': 'V1WebHookTrigger', 'github': 'V1WebHookTrigger', + 'gitlab': 'V1WebHookTrigger', 'image_change': 'V1ImageChangeTrigger', 'type': 'str' } self.attribute_map = { + 'bitbucket': 'bitbucket', 'generic': 'generic', 'github': 'github', + 'gitlab': 'gitlab', 'image_change': 'imageChange', 'type': 'type' } + self._bitbucket = bitbucket self._generic = generic self._github = github + self._gitlab = gitlab self._image_change = image_change self._type = type + @property + def bitbucket(self): + """ + Gets the bitbucket of this V1BuildTriggerPolicy. + BitbucketWebHook contains the parameters for a Bitbucket webhook type of trigger + + :return: The bitbucket of this V1BuildTriggerPolicy. + :rtype: V1WebHookTrigger + """ + return self._bitbucket + + @bitbucket.setter + def bitbucket(self, bitbucket): + """ + Sets the bitbucket of this V1BuildTriggerPolicy. + BitbucketWebHook contains the parameters for a Bitbucket webhook type of trigger + + :param bitbucket: The bitbucket of this V1BuildTriggerPolicy. + :type: V1WebHookTrigger + """ + + self._bitbucket = bitbucket + @property def generic(self): """ @@ -95,6 +124,29 @@ def github(self, github): self._github = github + @property + def gitlab(self): + """ + Gets the gitlab of this V1BuildTriggerPolicy. + GitLabWebHook contains the parameters for a GitLab webhook type of trigger + + :return: The gitlab of this V1BuildTriggerPolicy. + :rtype: V1WebHookTrigger + """ + return self._gitlab + + @gitlab.setter + def gitlab(self, gitlab): + """ + Sets the gitlab of this V1BuildTriggerPolicy. + GitLabWebHook contains the parameters for a GitLab webhook type of trigger + + :param gitlab: The gitlab of this V1BuildTriggerPolicy. + :type: V1WebHookTrigger + """ + + self._gitlab = gitlab + @property def image_change(self): """ diff --git a/openshift/client/models/v1_cluster_network.py b/openshift/client/models/v1_cluster_network.py index 90afec5c..4bbce263 100644 --- a/openshift/client/models/v1_cluster_network.py +++ b/openshift/client/models/v1_cluster_network.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -62,7 +62,7 @@ def __init__(self, api_version=None, hostsubnetlength=None, kind=None, metadata= def api_version(self): """ Gets the api_version of this V1ClusterNetwork. - APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources :return: The api_version of this V1ClusterNetwork. :rtype: str @@ -73,7 +73,7 @@ def api_version(self): def api_version(self, api_version): """ Sets the api_version of this V1ClusterNetwork. - APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources :param api_version: The api_version of this V1ClusterNetwork. :type: str @@ -110,7 +110,7 @@ def hostsubnetlength(self, hostsubnetlength): def kind(self): """ Gets the kind of this V1ClusterNetwork. - Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds :return: The kind of this V1ClusterNetwork. :rtype: str @@ -121,7 +121,7 @@ def kind(self): def kind(self, kind): """ Sets the kind of this V1ClusterNetwork. - Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds :param kind: The kind of this V1ClusterNetwork. :type: str diff --git a/openshift/client/models/v1_cluster_network_list.py b/openshift/client/models/v1_cluster_network_list.py index d22f8f6d..4430a8be 100644 --- a/openshift/client/models/v1_cluster_network_list.py +++ b/openshift/client/models/v1_cluster_network_list.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -34,7 +34,7 @@ def __init__(self, api_version=None, items=None, kind=None, metadata=None): 'api_version': 'str', 'items': 'list[V1ClusterNetwork]', 'kind': 'str', - 'metadata': 'UnversionedListMeta' + 'metadata': 'V1ListMeta' } self.attribute_map = { @@ -53,7 +53,7 @@ def __init__(self, api_version=None, items=None, kind=None, metadata=None): def api_version(self): """ Gets the api_version of this V1ClusterNetworkList. - APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources :return: The api_version of this V1ClusterNetworkList. :rtype: str @@ -64,7 +64,7 @@ def api_version(self): def api_version(self, api_version): """ Sets the api_version of this V1ClusterNetworkList. - APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources :param api_version: The api_version of this V1ClusterNetworkList. :type: str @@ -101,7 +101,7 @@ def items(self, items): def kind(self): """ Gets the kind of this V1ClusterNetworkList. - Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds :return: The kind of this V1ClusterNetworkList. :rtype: str @@ -112,7 +112,7 @@ def kind(self): def kind(self, kind): """ Sets the kind of this V1ClusterNetworkList. - Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds :param kind: The kind of this V1ClusterNetworkList. :type: str @@ -127,7 +127,7 @@ def metadata(self): Standard object's metadata. :return: The metadata of this V1ClusterNetworkList. - :rtype: UnversionedListMeta + :rtype: V1ListMeta """ return self._metadata @@ -138,7 +138,7 @@ def metadata(self, metadata): Standard object's metadata. :param metadata: The metadata of this V1ClusterNetworkList. - :type: UnversionedListMeta + :type: V1ListMeta """ self._metadata = metadata diff --git a/openshift/client/models/v1_cluster_policy.py b/openshift/client/models/v1_cluster_policy.py deleted file mode 100644 index 887326e0..00000000 --- a/openshift/client/models/v1_cluster_policy.py +++ /dev/null @@ -1,225 +0,0 @@ -# coding: utf-8 - -""" - OpenShift API (with Kubernetes) - - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - - OpenAPI spec version: v3.6.0-alpha.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from pprint import pformat -from six import iteritems -import re - - -class V1ClusterPolicy(object): - """ - NOTE: This class is auto generated by the swagger code generator program. - Do not edit the class manually. - """ - def __init__(self, api_version=None, kind=None, last_modified=None, metadata=None, roles=None): - """ - V1ClusterPolicy - 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 = { - 'api_version': 'str', - 'kind': 'str', - 'last_modified': 'UnversionedTime', - 'metadata': 'V1ObjectMeta', - 'roles': 'list[V1NamedClusterRole]' - } - - self.attribute_map = { - 'api_version': 'apiVersion', - 'kind': 'kind', - 'last_modified': 'lastModified', - 'metadata': 'metadata', - 'roles': 'roles' - } - - self._api_version = api_version - self._kind = kind - self._last_modified = last_modified - self._metadata = metadata - self._roles = roles - - @property - def api_version(self): - """ - Gets the api_version of this V1ClusterPolicy. - APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized 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 V1ClusterPolicy. - :rtype: str - """ - return self._api_version - - @api_version.setter - def api_version(self, api_version): - """ - Sets the api_version of this V1ClusterPolicy. - APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized 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 V1ClusterPolicy. - :type: str - """ - - self._api_version = api_version - - @property - def kind(self): - """ - Gets the kind of this V1ClusterPolicy. - Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint 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 V1ClusterPolicy. - :rtype: str - """ - return self._kind - - @kind.setter - def kind(self, kind): - """ - Sets the kind of this V1ClusterPolicy. - Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint 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 V1ClusterPolicy. - :type: str - """ - - self._kind = kind - - @property - def last_modified(self): - """ - Gets the last_modified of this V1ClusterPolicy. - LastModified is the last time that any part of the ClusterPolicy was created, updated, or deleted - - :return: The last_modified of this V1ClusterPolicy. - :rtype: UnversionedTime - """ - return self._last_modified - - @last_modified.setter - def last_modified(self, last_modified): - """ - Sets the last_modified of this V1ClusterPolicy. - LastModified is the last time that any part of the ClusterPolicy was created, updated, or deleted - - :param last_modified: The last_modified of this V1ClusterPolicy. - :type: UnversionedTime - """ - if last_modified is None: - raise ValueError("Invalid value for `last_modified`, must not be `None`") - - self._last_modified = last_modified - - @property - def metadata(self): - """ - Gets the metadata of this V1ClusterPolicy. - Standard object's metadata. - - :return: The metadata of this V1ClusterPolicy. - :rtype: V1ObjectMeta - """ - return self._metadata - - @metadata.setter - def metadata(self, metadata): - """ - Sets the metadata of this V1ClusterPolicy. - Standard object's metadata. - - :param metadata: The metadata of this V1ClusterPolicy. - :type: V1ObjectMeta - """ - - self._metadata = metadata - - @property - def roles(self): - """ - Gets the roles of this V1ClusterPolicy. - Roles holds all the ClusterRoles held by this ClusterPolicy, mapped by ClusterRole.Name - - :return: The roles of this V1ClusterPolicy. - :rtype: list[V1NamedClusterRole] - """ - return self._roles - - @roles.setter - def roles(self, roles): - """ - Sets the roles of this V1ClusterPolicy. - Roles holds all the ClusterRoles held by this ClusterPolicy, mapped by ClusterRole.Name - - :param roles: The roles of this V1ClusterPolicy. - :type: list[V1NamedClusterRole] - """ - if roles is None: - raise ValueError("Invalid value for `roles`, must not be `None`") - - self._roles = roles - - 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 - """ - if not isinstance(other, V1ClusterPolicy): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """ - Returns true if both objects are not equal - """ - return not self == other diff --git a/openshift/client/models/v1_cluster_policy_binding.py b/openshift/client/models/v1_cluster_policy_binding.py deleted file mode 100644 index edd463ce..00000000 --- a/openshift/client/models/v1_cluster_policy_binding.py +++ /dev/null @@ -1,253 +0,0 @@ -# coding: utf-8 - -""" - OpenShift API (with Kubernetes) - - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - - OpenAPI spec version: v3.6.0-alpha.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from pprint import pformat -from six import iteritems -import re - - -class V1ClusterPolicyBinding(object): - """ - NOTE: This class is auto generated by the swagger code generator program. - Do not edit the class manually. - """ - def __init__(self, api_version=None, kind=None, last_modified=None, metadata=None, policy_ref=None, role_bindings=None): - """ - V1ClusterPolicyBinding - 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 = { - 'api_version': 'str', - 'kind': 'str', - 'last_modified': 'UnversionedTime', - 'metadata': 'V1ObjectMeta', - 'policy_ref': 'V1ObjectReference', - 'role_bindings': 'list[V1NamedClusterRoleBinding]' - } - - self.attribute_map = { - 'api_version': 'apiVersion', - 'kind': 'kind', - 'last_modified': 'lastModified', - 'metadata': 'metadata', - 'policy_ref': 'policyRef', - 'role_bindings': 'roleBindings' - } - - self._api_version = api_version - self._kind = kind - self._last_modified = last_modified - self._metadata = metadata - self._policy_ref = policy_ref - self._role_bindings = role_bindings - - @property - def api_version(self): - """ - Gets the api_version of this V1ClusterPolicyBinding. - APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized 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 V1ClusterPolicyBinding. - :rtype: str - """ - return self._api_version - - @api_version.setter - def api_version(self, api_version): - """ - Sets the api_version of this V1ClusterPolicyBinding. - APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized 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 V1ClusterPolicyBinding. - :type: str - """ - - self._api_version = api_version - - @property - def kind(self): - """ - Gets the kind of this V1ClusterPolicyBinding. - Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint 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 V1ClusterPolicyBinding. - :rtype: str - """ - return self._kind - - @kind.setter - def kind(self, kind): - """ - Sets the kind of this V1ClusterPolicyBinding. - Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint 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 V1ClusterPolicyBinding. - :type: str - """ - - self._kind = kind - - @property - def last_modified(self): - """ - Gets the last_modified of this V1ClusterPolicyBinding. - LastModified is the last time that any part of the ClusterPolicyBinding was created, updated, or deleted - - :return: The last_modified of this V1ClusterPolicyBinding. - :rtype: UnversionedTime - """ - return self._last_modified - - @last_modified.setter - def last_modified(self, last_modified): - """ - Sets the last_modified of this V1ClusterPolicyBinding. - LastModified is the last time that any part of the ClusterPolicyBinding was created, updated, or deleted - - :param last_modified: The last_modified of this V1ClusterPolicyBinding. - :type: UnversionedTime - """ - if last_modified is None: - raise ValueError("Invalid value for `last_modified`, must not be `None`") - - self._last_modified = last_modified - - @property - def metadata(self): - """ - Gets the metadata of this V1ClusterPolicyBinding. - Standard object's metadata. - - :return: The metadata of this V1ClusterPolicyBinding. - :rtype: V1ObjectMeta - """ - return self._metadata - - @metadata.setter - def metadata(self, metadata): - """ - Sets the metadata of this V1ClusterPolicyBinding. - Standard object's metadata. - - :param metadata: The metadata of this V1ClusterPolicyBinding. - :type: V1ObjectMeta - """ - - self._metadata = metadata - - @property - def policy_ref(self): - """ - Gets the policy_ref of this V1ClusterPolicyBinding. - PolicyRef is a reference to the ClusterPolicy that contains all the ClusterRoles that this ClusterPolicyBinding's RoleBindings may reference - - :return: The policy_ref of this V1ClusterPolicyBinding. - :rtype: V1ObjectReference - """ - return self._policy_ref - - @policy_ref.setter - def policy_ref(self, policy_ref): - """ - Sets the policy_ref of this V1ClusterPolicyBinding. - PolicyRef is a reference to the ClusterPolicy that contains all the ClusterRoles that this ClusterPolicyBinding's RoleBindings may reference - - :param policy_ref: The policy_ref of this V1ClusterPolicyBinding. - :type: V1ObjectReference - """ - if policy_ref is None: - raise ValueError("Invalid value for `policy_ref`, must not be `None`") - - self._policy_ref = policy_ref - - @property - def role_bindings(self): - """ - Gets the role_bindings of this V1ClusterPolicyBinding. - RoleBindings holds all the ClusterRoleBindings held by this ClusterPolicyBinding, mapped by ClusterRoleBinding.Name - - :return: The role_bindings of this V1ClusterPolicyBinding. - :rtype: list[V1NamedClusterRoleBinding] - """ - return self._role_bindings - - @role_bindings.setter - def role_bindings(self, role_bindings): - """ - Sets the role_bindings of this V1ClusterPolicyBinding. - RoleBindings holds all the ClusterRoleBindings held by this ClusterPolicyBinding, mapped by ClusterRoleBinding.Name - - :param role_bindings: The role_bindings of this V1ClusterPolicyBinding. - :type: list[V1NamedClusterRoleBinding] - """ - if role_bindings is None: - raise ValueError("Invalid value for `role_bindings`, must not be `None`") - - self._role_bindings = role_bindings - - 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 - """ - if not isinstance(other, V1ClusterPolicyBinding): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """ - Returns true if both objects are not equal - """ - return not self == other diff --git a/openshift/client/models/v1_cluster_resource_quota.py b/openshift/client/models/v1_cluster_resource_quota.py index 192a4e0c..b609708b 100644 --- a/openshift/client/models/v1_cluster_resource_quota.py +++ b/openshift/client/models/v1_cluster_resource_quota.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -56,7 +56,7 @@ def __init__(self, api_version=None, kind=None, metadata=None, spec=None, status def api_version(self): """ Gets the api_version of this V1ClusterResourceQuota. - APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources :return: The api_version of this V1ClusterResourceQuota. :rtype: str @@ -67,7 +67,7 @@ def api_version(self): def api_version(self, api_version): """ Sets the api_version of this V1ClusterResourceQuota. - APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources :param api_version: The api_version of this V1ClusterResourceQuota. :type: str @@ -79,7 +79,7 @@ def api_version(self, api_version): def kind(self): """ Gets the kind of this V1ClusterResourceQuota. - Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds :return: The kind of this V1ClusterResourceQuota. :rtype: str @@ -90,7 +90,7 @@ def kind(self): def kind(self, kind): """ Sets the kind of this V1ClusterResourceQuota. - Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds :param kind: The kind of this V1ClusterResourceQuota. :type: str diff --git a/openshift/client/models/v1_cluster_resource_quota_list.py b/openshift/client/models/v1_cluster_resource_quota_list.py index 412d9b60..40304009 100644 --- a/openshift/client/models/v1_cluster_resource_quota_list.py +++ b/openshift/client/models/v1_cluster_resource_quota_list.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -34,7 +34,7 @@ def __init__(self, api_version=None, items=None, kind=None, metadata=None): 'api_version': 'str', 'items': 'list[V1ClusterResourceQuota]', 'kind': 'str', - 'metadata': 'UnversionedListMeta' + 'metadata': 'V1ListMeta' } self.attribute_map = { @@ -53,7 +53,7 @@ def __init__(self, api_version=None, items=None, kind=None, metadata=None): def api_version(self): """ Gets the api_version of this V1ClusterResourceQuotaList. - APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources :return: The api_version of this V1ClusterResourceQuotaList. :rtype: str @@ -64,7 +64,7 @@ def api_version(self): def api_version(self, api_version): """ Sets the api_version of this V1ClusterResourceQuotaList. - APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources :param api_version: The api_version of this V1ClusterResourceQuotaList. :type: str @@ -101,7 +101,7 @@ def items(self, items): def kind(self): """ Gets the kind of this V1ClusterResourceQuotaList. - Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds :return: The kind of this V1ClusterResourceQuotaList. :rtype: str @@ -112,7 +112,7 @@ def kind(self): def kind(self, kind): """ Sets the kind of this V1ClusterResourceQuotaList. - Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds :param kind: The kind of this V1ClusterResourceQuotaList. :type: str @@ -127,7 +127,7 @@ def metadata(self): Standard object's metadata. :return: The metadata of this V1ClusterResourceQuotaList. - :rtype: UnversionedListMeta + :rtype: V1ListMeta """ return self._metadata @@ -138,7 +138,7 @@ def metadata(self, metadata): Standard object's metadata. :param metadata: The metadata of this V1ClusterResourceQuotaList. - :type: UnversionedListMeta + :type: V1ListMeta """ self._metadata = metadata diff --git a/openshift/client/models/v1_cluster_resource_quota_selector.py b/openshift/client/models/v1_cluster_resource_quota_selector.py index bccaf1f2..2df8e665 100644 --- a/openshift/client/models/v1_cluster_resource_quota_selector.py +++ b/openshift/client/models/v1_cluster_resource_quota_selector.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -32,7 +32,7 @@ def __init__(self, annotations=None, labels=None): """ self.swagger_types = { 'annotations': 'dict(str, str)', - 'labels': 'UnversionedLabelSelector' + 'labels': 'V1LabelSelector' } self.attribute_map = { @@ -75,7 +75,7 @@ def labels(self): LabelSelector is used to select projects by label. :return: The labels of this V1ClusterResourceQuotaSelector. - :rtype: UnversionedLabelSelector + :rtype: V1LabelSelector """ return self._labels @@ -86,7 +86,7 @@ def labels(self, labels): LabelSelector is used to select projects by label. :param labels: The labels of this V1ClusterResourceQuotaSelector. - :type: UnversionedLabelSelector + :type: V1LabelSelector """ if labels is None: raise ValueError("Invalid value for `labels`, must not be `None`") diff --git a/openshift/client/models/v1_cluster_resource_quota_spec.py b/openshift/client/models/v1_cluster_resource_quota_spec.py index 1b18cb1d..ebdc65af 100644 --- a/openshift/client/models/v1_cluster_resource_quota_spec.py +++ b/openshift/client/models/v1_cluster_resource_quota_spec.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openshift/client/models/v1_cluster_resource_quota_status.py b/openshift/client/models/v1_cluster_resource_quota_status.py index 34bd3164..f8b458b1 100644 --- a/openshift/client/models/v1_cluster_resource_quota_status.py +++ b/openshift/client/models/v1_cluster_resource_quota_status.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openshift/client/models/v1_cluster_role.py b/openshift/client/models/v1_cluster_role.py index 7bddcd2b..b126a70d 100644 --- a/openshift/client/models/v1_cluster_role.py +++ b/openshift/client/models/v1_cluster_role.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -53,7 +53,7 @@ def __init__(self, api_version=None, kind=None, metadata=None, rules=None): def api_version(self): """ Gets the api_version of this V1ClusterRole. - APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources :return: The api_version of this V1ClusterRole. :rtype: str @@ -64,7 +64,7 @@ def api_version(self): def api_version(self, api_version): """ Sets the api_version of this V1ClusterRole. - APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources :param api_version: The api_version of this V1ClusterRole. :type: str @@ -76,7 +76,7 @@ def api_version(self, api_version): def kind(self): """ Gets the kind of this V1ClusterRole. - Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds :return: The kind of this V1ClusterRole. :rtype: str @@ -87,7 +87,7 @@ def kind(self): def kind(self, kind): """ Sets the kind of this V1ClusterRole. - Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds :param kind: The kind of this V1ClusterRole. :type: str diff --git a/openshift/client/models/v1_cluster_role_binding.py b/openshift/client/models/v1_cluster_role_binding.py index a71ce595..d8c06554 100644 --- a/openshift/client/models/v1_cluster_role_binding.py +++ b/openshift/client/models/v1_cluster_role_binding.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -62,7 +62,7 @@ def __init__(self, api_version=None, group_names=None, kind=None, metadata=None, def api_version(self): """ Gets the api_version of this V1ClusterRoleBinding. - APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources :return: The api_version of this V1ClusterRoleBinding. :rtype: str @@ -73,7 +73,7 @@ def api_version(self): def api_version(self, api_version): """ Sets the api_version of this V1ClusterRoleBinding. - APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources :param api_version: The api_version of this V1ClusterRoleBinding. :type: str @@ -110,7 +110,7 @@ def group_names(self, group_names): def kind(self): """ Gets the kind of this V1ClusterRoleBinding. - Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds :return: The kind of this V1ClusterRoleBinding. :rtype: str @@ -121,7 +121,7 @@ def kind(self): def kind(self, kind): """ Sets the kind of this V1ClusterRoleBinding. - Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds :param kind: The kind of this V1ClusterRoleBinding. :type: str diff --git a/openshift/client/models/v1_cluster_role_binding_list.py b/openshift/client/models/v1_cluster_role_binding_list.py index 8086207f..2023ab5f 100644 --- a/openshift/client/models/v1_cluster_role_binding_list.py +++ b/openshift/client/models/v1_cluster_role_binding_list.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -34,7 +34,7 @@ def __init__(self, api_version=None, items=None, kind=None, metadata=None): 'api_version': 'str', 'items': 'list[V1ClusterRoleBinding]', 'kind': 'str', - 'metadata': 'UnversionedListMeta' + 'metadata': 'V1ListMeta' } self.attribute_map = { @@ -53,7 +53,7 @@ def __init__(self, api_version=None, items=None, kind=None, metadata=None): def api_version(self): """ Gets the api_version of this V1ClusterRoleBindingList. - APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources :return: The api_version of this V1ClusterRoleBindingList. :rtype: str @@ -64,7 +64,7 @@ def api_version(self): def api_version(self, api_version): """ Sets the api_version of this V1ClusterRoleBindingList. - APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources :param api_version: The api_version of this V1ClusterRoleBindingList. :type: str @@ -101,7 +101,7 @@ def items(self, items): def kind(self): """ Gets the kind of this V1ClusterRoleBindingList. - Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds :return: The kind of this V1ClusterRoleBindingList. :rtype: str @@ -112,7 +112,7 @@ def kind(self): def kind(self, kind): """ Sets the kind of this V1ClusterRoleBindingList. - Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds :param kind: The kind of this V1ClusterRoleBindingList. :type: str @@ -127,7 +127,7 @@ def metadata(self): Standard object's metadata. :return: The metadata of this V1ClusterRoleBindingList. - :rtype: UnversionedListMeta + :rtype: V1ListMeta """ return self._metadata @@ -138,7 +138,7 @@ def metadata(self, metadata): Standard object's metadata. :param metadata: The metadata of this V1ClusterRoleBindingList. - :type: UnversionedListMeta + :type: V1ListMeta """ self._metadata = metadata diff --git a/openshift/client/models/v1_cluster_role_list.py b/openshift/client/models/v1_cluster_role_list.py index 019d49fe..e9fb3252 100644 --- a/openshift/client/models/v1_cluster_role_list.py +++ b/openshift/client/models/v1_cluster_role_list.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -34,7 +34,7 @@ def __init__(self, api_version=None, items=None, kind=None, metadata=None): 'api_version': 'str', 'items': 'list[V1ClusterRole]', 'kind': 'str', - 'metadata': 'UnversionedListMeta' + 'metadata': 'V1ListMeta' } self.attribute_map = { @@ -53,7 +53,7 @@ def __init__(self, api_version=None, items=None, kind=None, metadata=None): def api_version(self): """ Gets the api_version of this V1ClusterRoleList. - APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources :return: The api_version of this V1ClusterRoleList. :rtype: str @@ -64,7 +64,7 @@ def api_version(self): def api_version(self, api_version): """ Sets the api_version of this V1ClusterRoleList. - APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources :param api_version: The api_version of this V1ClusterRoleList. :type: str @@ -101,7 +101,7 @@ def items(self, items): def kind(self): """ Gets the kind of this V1ClusterRoleList. - Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds :return: The kind of this V1ClusterRoleList. :rtype: str @@ -112,7 +112,7 @@ def kind(self): def kind(self, kind): """ Sets the kind of this V1ClusterRoleList. - Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds :param kind: The kind of this V1ClusterRoleList. :type: str @@ -127,7 +127,7 @@ def metadata(self): Standard object's metadata. :return: The metadata of this V1ClusterRoleList. - :rtype: UnversionedListMeta + :rtype: V1ListMeta """ return self._metadata @@ -138,7 +138,7 @@ def metadata(self, metadata): Standard object's metadata. :param metadata: The metadata of this V1ClusterRoleList. - :type: UnversionedListMeta + :type: V1ListMeta """ self._metadata = metadata diff --git a/openshift/client/models/v1_cluster_role_scope_restriction.py b/openshift/client/models/v1_cluster_role_scope_restriction.py index 69d217d9..76e80bc7 100644 --- a/openshift/client/models/v1_cluster_role_scope_restriction.py +++ b/openshift/client/models/v1_cluster_role_scope_restriction.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openshift/client/models/v1_custom_build_strategy.py b/openshift/client/models/v1_custom_build_strategy.py index 64758970..3f8ad58b 100644 --- a/openshift/client/models/v1_custom_build_strategy.py +++ b/openshift/client/models/v1_custom_build_strategy.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -85,7 +85,7 @@ def build_api_version(self, build_api_version): def env(self): """ Gets the env of this V1CustomBuildStrategy. - env contains additional environment variables you want to pass into a builder container. ValueFrom is not supported. + env contains additional environment variables you want to pass into a builder container. :return: The env of this V1CustomBuildStrategy. :rtype: list[V1EnvVar] @@ -96,7 +96,7 @@ def env(self): def env(self, env): """ Sets the env of this V1CustomBuildStrategy. - env contains additional environment variables you want to pass into a builder container. ValueFrom is not supported. + env contains additional environment variables you want to pass into a builder container. :param env: The env of this V1CustomBuildStrategy. :type: list[V1EnvVar] diff --git a/openshift/client/models/v1_custom_deployment_strategy_params.py b/openshift/client/models/v1_custom_deployment_strategy_params.py index 072530a1..721bdb15 100644 --- a/openshift/client/models/v1_custom_deployment_strategy_params.py +++ b/openshift/client/models/v1_custom_deployment_strategy_params.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openshift/client/models/v1_deployment_cause.py b/openshift/client/models/v1_deployment_cause.py index a87adf0f..3af4969b 100644 --- a/openshift/client/models/v1_deployment_cause.py +++ b/openshift/client/models/v1_deployment_cause.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openshift/client/models/v1_deployment_cause_image_trigger.py b/openshift/client/models/v1_deployment_cause_image_trigger.py index 4abb9d57..34103b44 100644 --- a/openshift/client/models/v1_deployment_cause_image_trigger.py +++ b/openshift/client/models/v1_deployment_cause_image_trigger.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openshift/client/models/v1_deployment_condition.py b/openshift/client/models/v1_deployment_condition.py index ea730590..0a74c84f 100644 --- a/openshift/client/models/v1_deployment_condition.py +++ b/openshift/client/models/v1_deployment_condition.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -31,8 +31,8 @@ def __init__(self, last_transition_time=None, last_update_time=None, message=Non and the value is json key in definition. """ self.swagger_types = { - 'last_transition_time': 'UnversionedTime', - 'last_update_time': 'UnversionedTime', + 'last_transition_time': 'datetime', + 'last_update_time': 'datetime', 'message': 'str', 'reason': 'str', 'status': 'str', @@ -62,7 +62,7 @@ def last_transition_time(self): The last time the condition transitioned from one status to another. :return: The last_transition_time of this V1DeploymentCondition. - :rtype: UnversionedTime + :rtype: datetime """ return self._last_transition_time @@ -73,7 +73,7 @@ def last_transition_time(self, last_transition_time): The last time the condition transitioned from one status to another. :param last_transition_time: The last_transition_time of this V1DeploymentCondition. - :type: UnversionedTime + :type: datetime """ self._last_transition_time = last_transition_time @@ -85,7 +85,7 @@ def last_update_time(self): The last time this condition was updated. :return: The last_update_time of this V1DeploymentCondition. - :rtype: UnversionedTime + :rtype: datetime """ return self._last_update_time @@ -96,7 +96,7 @@ def last_update_time(self, last_update_time): The last time this condition was updated. :param last_update_time: The last_update_time of this V1DeploymentCondition. - :type: UnversionedTime + :type: datetime """ self._last_update_time = last_update_time diff --git a/openshift/client/models/v1_deployment_config.py b/openshift/client/models/v1_deployment_config.py index 9ec98254..9576fad7 100644 --- a/openshift/client/models/v1_deployment_config.py +++ b/openshift/client/models/v1_deployment_config.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -56,7 +56,7 @@ def __init__(self, api_version=None, kind=None, metadata=None, spec=None, status def api_version(self): """ Gets the api_version of this V1DeploymentConfig. - APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources :return: The api_version of this V1DeploymentConfig. :rtype: str @@ -67,7 +67,7 @@ def api_version(self): def api_version(self, api_version): """ Sets the api_version of this V1DeploymentConfig. - APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources :param api_version: The api_version of this V1DeploymentConfig. :type: str @@ -79,7 +79,7 @@ def api_version(self, api_version): def kind(self): """ Gets the kind of this V1DeploymentConfig. - Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds :return: The kind of this V1DeploymentConfig. :rtype: str @@ -90,7 +90,7 @@ def kind(self): def kind(self, kind): """ Sets the kind of this V1DeploymentConfig. - Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds :param kind: The kind of this V1DeploymentConfig. :type: str diff --git a/openshift/client/models/v1_deployment_config_list.py b/openshift/client/models/v1_deployment_config_list.py index 188937ff..0ab3f18d 100644 --- a/openshift/client/models/v1_deployment_config_list.py +++ b/openshift/client/models/v1_deployment_config_list.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -34,7 +34,7 @@ def __init__(self, api_version=None, items=None, kind=None, metadata=None): 'api_version': 'str', 'items': 'list[V1DeploymentConfig]', 'kind': 'str', - 'metadata': 'UnversionedListMeta' + 'metadata': 'V1ListMeta' } self.attribute_map = { @@ -53,7 +53,7 @@ def __init__(self, api_version=None, items=None, kind=None, metadata=None): def api_version(self): """ Gets the api_version of this V1DeploymentConfigList. - APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources :return: The api_version of this V1DeploymentConfigList. :rtype: str @@ -64,7 +64,7 @@ def api_version(self): def api_version(self, api_version): """ Sets the api_version of this V1DeploymentConfigList. - APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources :param api_version: The api_version of this V1DeploymentConfigList. :type: str @@ -101,7 +101,7 @@ def items(self, items): def kind(self): """ Gets the kind of this V1DeploymentConfigList. - Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds :return: The kind of this V1DeploymentConfigList. :rtype: str @@ -112,7 +112,7 @@ def kind(self): def kind(self, kind): """ Sets the kind of this V1DeploymentConfigList. - Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds :param kind: The kind of this V1DeploymentConfigList. :type: str @@ -127,7 +127,7 @@ def metadata(self): Standard object's metadata. :return: The metadata of this V1DeploymentConfigList. - :rtype: UnversionedListMeta + :rtype: V1ListMeta """ return self._metadata @@ -138,7 +138,7 @@ def metadata(self, metadata): Standard object's metadata. :param metadata: The metadata of this V1DeploymentConfigList. - :type: UnversionedListMeta + :type: V1ListMeta """ self._metadata = metadata diff --git a/openshift/client/models/v1_deployment_config_rollback.py b/openshift/client/models/v1_deployment_config_rollback.py index 4b494697..b08b3332 100644 --- a/openshift/client/models/v1_deployment_config_rollback.py +++ b/openshift/client/models/v1_deployment_config_rollback.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -56,7 +56,7 @@ def __init__(self, api_version=None, kind=None, name=None, spec=None, updated_an def api_version(self): """ Gets the api_version of this V1DeploymentConfigRollback. - APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources :return: The api_version of this V1DeploymentConfigRollback. :rtype: str @@ -67,7 +67,7 @@ def api_version(self): def api_version(self, api_version): """ Sets the api_version of this V1DeploymentConfigRollback. - APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources :param api_version: The api_version of this V1DeploymentConfigRollback. :type: str @@ -79,7 +79,7 @@ def api_version(self, api_version): def kind(self): """ Gets the kind of this V1DeploymentConfigRollback. - Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds :return: The kind of this V1DeploymentConfigRollback. :rtype: str @@ -90,7 +90,7 @@ def kind(self): def kind(self, kind): """ Sets the kind of this V1DeploymentConfigRollback. - Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds :param kind: The kind of this V1DeploymentConfigRollback. :type: str diff --git a/openshift/client/models/v1_deployment_config_rollback_spec.py b/openshift/client/models/v1_deployment_config_rollback_spec.py index 7064e2bc..70b0be94 100644 --- a/openshift/client/models/v1_deployment_config_rollback_spec.py +++ b/openshift/client/models/v1_deployment_config_rollback_spec.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openshift/client/models/v1_deployment_config_spec.py b/openshift/client/models/v1_deployment_config_spec.py index ad918e11..232cbda8 100644 --- a/openshift/client/models/v1_deployment_config_spec.py +++ b/openshift/client/models/v1_deployment_config_spec.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -139,7 +139,7 @@ def replicas(self, replicas): def revision_history_limit(self): """ Gets the revision_history_limit of this V1DeploymentConfigSpec. - RevisionHistoryLimit is the number of old ReplicationControllers to retain to allow for rollbacks. This field is a pointer to allow for differentiation between an explicit zero and not specified. + RevisionHistoryLimit is the number of old ReplicationControllers to retain to allow for rollbacks. This field is a pointer to allow for differentiation between an explicit zero and not specified. Defaults to 10. (This only applies to DeploymentConfigs created via the new group API resource, not the legacy resource.) :return: The revision_history_limit of this V1DeploymentConfigSpec. :rtype: int @@ -150,7 +150,7 @@ def revision_history_limit(self): def revision_history_limit(self, revision_history_limit): """ Sets the revision_history_limit of this V1DeploymentConfigSpec. - RevisionHistoryLimit is the number of old ReplicationControllers to retain to allow for rollbacks. This field is a pointer to allow for differentiation between an explicit zero and not specified. + RevisionHistoryLimit is the number of old ReplicationControllers to retain to allow for rollbacks. This field is a pointer to allow for differentiation between an explicit zero and not specified. Defaults to 10. (This only applies to DeploymentConfigs created via the new group API resource, not the legacy resource.) :param revision_history_limit: The revision_history_limit of this V1DeploymentConfigSpec. :type: int diff --git a/openshift/client/models/v1_deployment_config_status.py b/openshift/client/models/v1_deployment_config_status.py index 8ba86885..bdd15b81 100644 --- a/openshift/client/models/v1_deployment_config_status.py +++ b/openshift/client/models/v1_deployment_config_status.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openshift/client/models/v1_deployment_details.py b/openshift/client/models/v1_deployment_details.py index 30313b77..20d7c2eb 100644 --- a/openshift/client/models/v1_deployment_details.py +++ b/openshift/client/models/v1_deployment_details.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openshift/client/models/v1_deployment_log.py b/openshift/client/models/v1_deployment_log.py index 42681483..bf42c1aa 100644 --- a/openshift/client/models/v1_deployment_log.py +++ b/openshift/client/models/v1_deployment_log.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -47,7 +47,7 @@ def __init__(self, api_version=None, kind=None): def api_version(self): """ Gets the api_version of this V1DeploymentLog. - APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources :return: The api_version of this V1DeploymentLog. :rtype: str @@ -58,7 +58,7 @@ def api_version(self): def api_version(self, api_version): """ Sets the api_version of this V1DeploymentLog. - APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources :param api_version: The api_version of this V1DeploymentLog. :type: str @@ -70,7 +70,7 @@ def api_version(self, api_version): def kind(self): """ Gets the kind of this V1DeploymentLog. - Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds :return: The kind of this V1DeploymentLog. :rtype: str @@ -81,7 +81,7 @@ def kind(self): def kind(self, kind): """ Sets the kind of this V1DeploymentLog. - Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds :param kind: The kind of this V1DeploymentLog. :type: str diff --git a/openshift/client/models/v1_deployment_request.py b/openshift/client/models/v1_deployment_request.py index 200ccd5f..8e54add5 100644 --- a/openshift/client/models/v1_deployment_request.py +++ b/openshift/client/models/v1_deployment_request.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -21,7 +21,7 @@ class V1DeploymentRequest(object): NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. """ - def __init__(self, api_version=None, force=None, kind=None, latest=None, name=None): + def __init__(self, api_version=None, exclude_triggers=None, force=None, kind=None, latest=None, name=None): """ V1DeploymentRequest - a model defined in Swagger @@ -32,6 +32,7 @@ def __init__(self, api_version=None, force=None, kind=None, latest=None, name=No """ self.swagger_types = { 'api_version': 'str', + 'exclude_triggers': 'list[str]', 'force': 'bool', 'kind': 'str', 'latest': 'bool', @@ -40,6 +41,7 @@ def __init__(self, api_version=None, force=None, kind=None, latest=None, name=No self.attribute_map = { 'api_version': 'apiVersion', + 'exclude_triggers': 'excludeTriggers', 'force': 'force', 'kind': 'kind', 'latest': 'latest', @@ -47,6 +49,7 @@ def __init__(self, api_version=None, force=None, kind=None, latest=None, name=No } self._api_version = api_version + self._exclude_triggers = exclude_triggers self._force = force self._kind = kind self._latest = latest @@ -56,7 +59,7 @@ def __init__(self, api_version=None, force=None, kind=None, latest=None, name=No def api_version(self): """ Gets the api_version of this V1DeploymentRequest. - APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources :return: The api_version of this V1DeploymentRequest. :rtype: str @@ -67,7 +70,7 @@ def api_version(self): def api_version(self, api_version): """ Sets the api_version of this V1DeploymentRequest. - APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources :param api_version: The api_version of this V1DeploymentRequest. :type: str @@ -75,6 +78,29 @@ def api_version(self, api_version): self._api_version = api_version + @property + def exclude_triggers(self): + """ + Gets the exclude_triggers of this V1DeploymentRequest. + ExcludeTriggers instructs the instantiator to avoid processing the specified triggers. This field overrides the triggers from latest and allows clients to control specific logic. This field is ignored if not specified. + + :return: The exclude_triggers of this V1DeploymentRequest. + :rtype: list[str] + """ + return self._exclude_triggers + + @exclude_triggers.setter + def exclude_triggers(self, exclude_triggers): + """ + Sets the exclude_triggers of this V1DeploymentRequest. + ExcludeTriggers instructs the instantiator to avoid processing the specified triggers. This field overrides the triggers from latest and allows clients to control specific logic. This field is ignored if not specified. + + :param exclude_triggers: The exclude_triggers of this V1DeploymentRequest. + :type: list[str] + """ + + self._exclude_triggers = exclude_triggers + @property def force(self): """ @@ -104,7 +130,7 @@ def force(self, force): def kind(self): """ Gets the kind of this V1DeploymentRequest. - Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds :return: The kind of this V1DeploymentRequest. :rtype: str @@ -115,7 +141,7 @@ def kind(self): def kind(self, kind): """ Sets the kind of this V1DeploymentRequest. - Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds :param kind: The kind of this V1DeploymentRequest. :type: str diff --git a/openshift/client/models/v1_deployment_strategy.py b/openshift/client/models/v1_deployment_strategy.py index cf0ec273..7569fbd8 100644 --- a/openshift/client/models/v1_deployment_strategy.py +++ b/openshift/client/models/v1_deployment_strategy.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openshift/client/models/v1_deployment_trigger_image_change_params.py b/openshift/client/models/v1_deployment_trigger_image_change_params.py index 071c32dd..06429090 100644 --- a/openshift/client/models/v1_deployment_trigger_image_change_params.py +++ b/openshift/client/models/v1_deployment_trigger_image_change_params.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -76,7 +76,7 @@ def automatic(self, automatic): def container_names(self): """ Gets the container_names of this V1DeploymentTriggerImageChangeParams. - ContainerNames is used to restrict tag updates to the specified set of container names in a pod. + ContainerNames is used to restrict tag updates to the specified set of container names in a pod. If multiple triggers point to the same containers, the resulting behavior is undefined. Future API versions will make this a validation error. If ContainerNames does not point to a valid container, the trigger will be ignored. Future API versions will make this a validation error. :return: The container_names of this V1DeploymentTriggerImageChangeParams. :rtype: list[str] @@ -87,7 +87,7 @@ def container_names(self): def container_names(self, container_names): """ Sets the container_names of this V1DeploymentTriggerImageChangeParams. - ContainerNames is used to restrict tag updates to the specified set of container names in a pod. + ContainerNames is used to restrict tag updates to the specified set of container names in a pod. If multiple triggers point to the same containers, the resulting behavior is undefined. Future API versions will make this a validation error. If ContainerNames does not point to a valid container, the trigger will be ignored. Future API versions will make this a validation error. :param container_names: The container_names of this V1DeploymentTriggerImageChangeParams. :type: list[str] diff --git a/openshift/client/models/v1_deployment_trigger_policy.py b/openshift/client/models/v1_deployment_trigger_policy.py index ee7d5653..21d0bd39 100644 --- a/openshift/client/models/v1_deployment_trigger_policy.py +++ b/openshift/client/models/v1_deployment_trigger_policy.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openshift/client/models/v1_deprecated_downward_api_volume_file.py b/openshift/client/models/v1_deprecated_downward_api_volume_file.py deleted file mode 100644 index 9617d3a7..00000000 --- a/openshift/client/models/v1_deprecated_downward_api_volume_file.py +++ /dev/null @@ -1,197 +0,0 @@ -# coding: utf-8 - -""" - OpenShift API (with Kubernetes) - - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - - OpenAPI spec version: v3.6.0-alpha.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from pprint import pformat -from six import iteritems -import re - - -class V1DeprecatedDownwardAPIVolumeFile(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, name=None, resource_field_ref=None): - """ - V1DeprecatedDownwardAPIVolumeFile - 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', - 'name': 'str', - 'resource_field_ref': 'V1ResourceFieldSelector' - } - - self.attribute_map = { - 'field_ref': 'fieldRef', - 'mode': 'mode', - 'name': 'name', - 'resource_field_ref': 'resourceFieldRef' - } - - self._field_ref = field_ref - self._mode = mode - self._name = name - self._resource_field_ref = resource_field_ref - - @property - def field_ref(self): - """ - Gets the field_ref of this V1DeprecatedDownwardAPIVolumeFile. - Required: Selects a field of the pod: only annotations, labels, name and namespace are supported. - - :return: The field_ref of this V1DeprecatedDownwardAPIVolumeFile. - :rtype: V1ObjectFieldSelector - """ - return self._field_ref - - @field_ref.setter - def field_ref(self, field_ref): - """ - Sets the field_ref of this V1DeprecatedDownwardAPIVolumeFile. - Required: Selects a field of the pod: only annotations, labels, name and namespace are supported. - - :param field_ref: The field_ref of this V1DeprecatedDownwardAPIVolumeFile. - :type: V1ObjectFieldSelector - """ - - self._field_ref = field_ref - - @property - def mode(self): - """ - Gets the mode of this V1DeprecatedDownwardAPIVolumeFile. - 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 V1DeprecatedDownwardAPIVolumeFile. - :rtype: int - """ - return self._mode - - @mode.setter - def mode(self, mode): - """ - Sets the mode of this V1DeprecatedDownwardAPIVolumeFile. - 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 V1DeprecatedDownwardAPIVolumeFile. - :type: int - """ - - self._mode = mode - - @property - def name(self): - """ - Gets the name of this V1DeprecatedDownwardAPIVolumeFile. - Required: Name 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 name of this V1DeprecatedDownwardAPIVolumeFile. - :rtype: str - """ - return self._name - - @name.setter - def name(self, name): - """ - Sets the name of this V1DeprecatedDownwardAPIVolumeFile. - Required: Name 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 name: The name of this V1DeprecatedDownwardAPIVolumeFile. - :type: str - """ - if name is None: - raise ValueError("Invalid value for `name`, must not be `None`") - - self._name = name - - @property - def resource_field_ref(self): - """ - Gets the resource_field_ref of this V1DeprecatedDownwardAPIVolumeFile. - 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 V1DeprecatedDownwardAPIVolumeFile. - :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 V1DeprecatedDownwardAPIVolumeFile. - 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 V1DeprecatedDownwardAPIVolumeFile. - :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 - """ - if not isinstance(other, V1DeprecatedDownwardAPIVolumeFile): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """ - Returns true if both objects are not equal - """ - return not self == other diff --git a/openshift/client/models/v1_deprecated_downward_api_volume_source.py b/openshift/client/models/v1_deprecated_downward_api_volume_source.py deleted file mode 100644 index 2f9265e5..00000000 --- a/openshift/client/models/v1_deprecated_downward_api_volume_source.py +++ /dev/null @@ -1,143 +0,0 @@ -# coding: utf-8 - -""" - OpenShift API (with Kubernetes) - - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - - OpenAPI spec version: v3.6.0-alpha.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from pprint import pformat -from six import iteritems -import re - - -class V1DeprecatedDownwardAPIVolumeSource(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): - """ - V1DeprecatedDownwardAPIVolumeSource - 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[V1DeprecatedDownwardAPIVolumeFile]' - } - - 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 V1DeprecatedDownwardAPIVolumeSource. - 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 V1DeprecatedDownwardAPIVolumeSource. - :rtype: int - """ - return self._default_mode - - @default_mode.setter - def default_mode(self, default_mode): - """ - Sets the default_mode of this V1DeprecatedDownwardAPIVolumeSource. - 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 V1DeprecatedDownwardAPIVolumeSource. - :type: int - """ - - self._default_mode = default_mode - - @property - def items(self): - """ - Gets the items of this V1DeprecatedDownwardAPIVolumeSource. - Items is a list of downward API volume file - - :return: The items of this V1DeprecatedDownwardAPIVolumeSource. - :rtype: list[V1DeprecatedDownwardAPIVolumeFile] - """ - return self._items - - @items.setter - def items(self, items): - """ - Sets the items of this V1DeprecatedDownwardAPIVolumeSource. - Items is a list of downward API volume file - - :param items: The items of this V1DeprecatedDownwardAPIVolumeSource. - :type: list[V1DeprecatedDownwardAPIVolumeFile] - """ - - 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 - """ - if not isinstance(other, V1DeprecatedDownwardAPIVolumeSource): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """ - Returns true if both objects are not equal - """ - return not self == other diff --git a/openshift/client/models/v1_docker_build_strategy.py b/openshift/client/models/v1_docker_build_strategy.py index 4c34d7e6..3c171a32 100644 --- a/openshift/client/models/v1_docker_build_strategy.py +++ b/openshift/client/models/v1_docker_build_strategy.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -111,7 +111,7 @@ def dockerfile_path(self, dockerfile_path): def env(self): """ Gets the env of this V1DockerBuildStrategy. - env contains additional environment variables you want to pass into a builder container. ValueFrom is not supported. + env contains additional environment variables you want to pass into a builder container. :return: The env of this V1DockerBuildStrategy. :rtype: list[V1EnvVar] @@ -122,7 +122,7 @@ def env(self): def env(self, env): """ Sets the env of this V1DockerBuildStrategy. - env contains additional environment variables you want to pass into a builder container. ValueFrom is not supported. + env contains additional environment variables you want to pass into a builder container. :param env: The env of this V1DockerBuildStrategy. :type: list[V1EnvVar] diff --git a/openshift/client/models/v1_docker_strategy_options.py b/openshift/client/models/v1_docker_strategy_options.py index 77e3581b..b83aaea7 100644 --- a/openshift/client/models/v1_docker_strategy_options.py +++ b/openshift/client/models/v1_docker_strategy_options.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -21,7 +21,7 @@ class V1DockerStrategyOptions(object): NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. """ - def __init__(self, build_args=None): + def __init__(self, build_args=None, no_cache=None): """ V1DockerStrategyOptions - a model defined in Swagger @@ -31,14 +31,17 @@ def __init__(self, build_args=None): and the value is json key in definition. """ self.swagger_types = { - 'build_args': 'list[V1EnvVar]' + 'build_args': 'list[V1EnvVar]', + 'no_cache': 'bool' } self.attribute_map = { - 'build_args': 'buildArgs' + 'build_args': 'buildArgs', + 'no_cache': 'noCache' } self._build_args = build_args + self._no_cache = no_cache @property def build_args(self): @@ -63,6 +66,29 @@ def build_args(self, build_args): self._build_args = build_args + @property + def no_cache(self): + """ + Gets the no_cache of this V1DockerStrategyOptions. + noCache overrides the docker-strategy noCache option in the build config + + :return: The no_cache of this V1DockerStrategyOptions. + :rtype: bool + """ + return self._no_cache + + @no_cache.setter + def no_cache(self, no_cache): + """ + Sets the no_cache of this V1DockerStrategyOptions. + noCache overrides the docker-strategy noCache option in the build config + + :param no_cache: The no_cache of this V1DockerStrategyOptions. + :type: bool + """ + + self._no_cache = no_cache + def to_dict(self): """ Returns the model properties as a dict diff --git a/openshift/client/models/v1_egress_network_policy.py b/openshift/client/models/v1_egress_network_policy.py index 58e56a26..3e3c640e 100644 --- a/openshift/client/models/v1_egress_network_policy.py +++ b/openshift/client/models/v1_egress_network_policy.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -53,7 +53,7 @@ def __init__(self, api_version=None, kind=None, metadata=None, spec=None): def api_version(self): """ Gets the api_version of this V1EgressNetworkPolicy. - APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources :return: The api_version of this V1EgressNetworkPolicy. :rtype: str @@ -64,7 +64,7 @@ def api_version(self): def api_version(self, api_version): """ Sets the api_version of this V1EgressNetworkPolicy. - APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources :param api_version: The api_version of this V1EgressNetworkPolicy. :type: str @@ -76,7 +76,7 @@ def api_version(self, api_version): def kind(self): """ Gets the kind of this V1EgressNetworkPolicy. - Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds :return: The kind of this V1EgressNetworkPolicy. :rtype: str @@ -87,7 +87,7 @@ def kind(self): def kind(self, kind): """ Sets the kind of this V1EgressNetworkPolicy. - Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds :param kind: The kind of this V1EgressNetworkPolicy. :type: str diff --git a/openshift/client/models/v1_egress_network_policy_list.py b/openshift/client/models/v1_egress_network_policy_list.py index 904ee6dd..5c53a5d1 100644 --- a/openshift/client/models/v1_egress_network_policy_list.py +++ b/openshift/client/models/v1_egress_network_policy_list.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -34,7 +34,7 @@ def __init__(self, api_version=None, items=None, kind=None, metadata=None): 'api_version': 'str', 'items': 'list[V1EgressNetworkPolicy]', 'kind': 'str', - 'metadata': 'UnversionedListMeta' + 'metadata': 'V1ListMeta' } self.attribute_map = { @@ -53,7 +53,7 @@ def __init__(self, api_version=None, items=None, kind=None, metadata=None): def api_version(self): """ Gets the api_version of this V1EgressNetworkPolicyList. - APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources :return: The api_version of this V1EgressNetworkPolicyList. :rtype: str @@ -64,7 +64,7 @@ def api_version(self): def api_version(self, api_version): """ Sets the api_version of this V1EgressNetworkPolicyList. - APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources :param api_version: The api_version of this V1EgressNetworkPolicyList. :type: str @@ -101,7 +101,7 @@ def items(self, items): def kind(self): """ Gets the kind of this V1EgressNetworkPolicyList. - Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds :return: The kind of this V1EgressNetworkPolicyList. :rtype: str @@ -112,7 +112,7 @@ def kind(self): def kind(self, kind): """ Sets the kind of this V1EgressNetworkPolicyList. - Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds :param kind: The kind of this V1EgressNetworkPolicyList. :type: str @@ -127,7 +127,7 @@ def metadata(self): metadata for EgressNetworkPolicyList :return: The metadata of this V1EgressNetworkPolicyList. - :rtype: UnversionedListMeta + :rtype: V1ListMeta """ return self._metadata @@ -138,7 +138,7 @@ def metadata(self, metadata): metadata for EgressNetworkPolicyList :param metadata: The metadata of this V1EgressNetworkPolicyList. - :type: UnversionedListMeta + :type: V1ListMeta """ self._metadata = metadata diff --git a/openshift/client/models/v1_egress_network_policy_peer.py b/openshift/client/models/v1_egress_network_policy_peer.py index fca285ba..3f956332 100644 --- a/openshift/client/models/v1_egress_network_policy_peer.py +++ b/openshift/client/models/v1_egress_network_policy_peer.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -21,7 +21,7 @@ class V1EgressNetworkPolicyPeer(object): NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. """ - def __init__(self, cidr_selector=None): + def __init__(self, cidr_selector=None, dns_name=None): """ V1EgressNetworkPolicyPeer - a model defined in Swagger @@ -31,20 +31,23 @@ def __init__(self, cidr_selector=None): and the value is json key in definition. """ self.swagger_types = { - 'cidr_selector': 'str' + 'cidr_selector': 'str', + 'dns_name': 'str' } self.attribute_map = { - 'cidr_selector': 'cidrSelector' + 'cidr_selector': 'cidrSelector', + 'dns_name': 'dnsName' } self._cidr_selector = cidr_selector + self._dns_name = dns_name @property def cidr_selector(self): """ Gets the cidr_selector of this V1EgressNetworkPolicyPeer. - cidrSelector is the CIDR range to allow/deny traffic to + cidrSelector is the CIDR range to allow/deny traffic to. If this is set, dnsName must be unset :return: The cidr_selector of this V1EgressNetworkPolicyPeer. :rtype: str @@ -55,16 +58,37 @@ def cidr_selector(self): def cidr_selector(self, cidr_selector): """ Sets the cidr_selector of this V1EgressNetworkPolicyPeer. - cidrSelector is the CIDR range to allow/deny traffic to + cidrSelector is the CIDR range to allow/deny traffic to. If this is set, dnsName must be unset :param cidr_selector: The cidr_selector of this V1EgressNetworkPolicyPeer. :type: str """ - if cidr_selector is None: - raise ValueError("Invalid value for `cidr_selector`, must not be `None`") self._cidr_selector = cidr_selector + @property + def dns_name(self): + """ + Gets the dns_name of this V1EgressNetworkPolicyPeer. + dnsName is the domain name to allow/deny traffic to. If this is set, cidrSelector must be unset + + :return: The dns_name of this V1EgressNetworkPolicyPeer. + :rtype: str + """ + return self._dns_name + + @dns_name.setter + def dns_name(self, dns_name): + """ + Sets the dns_name of this V1EgressNetworkPolicyPeer. + dnsName is the domain name to allow/deny traffic to. If this is set, cidrSelector must be unset + + :param dns_name: The dns_name of this V1EgressNetworkPolicyPeer. + :type: str + """ + + self._dns_name = dns_name + def to_dict(self): """ Returns the model properties as a dict diff --git a/openshift/client/models/v1_egress_network_policy_rule.py b/openshift/client/models/v1_egress_network_policy_rule.py index c6e717fc..e0d033b4 100644 --- a/openshift/client/models/v1_egress_network_policy_rule.py +++ b/openshift/client/models/v1_egress_network_policy_rule.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openshift/client/models/v1_egress_network_policy_spec.py b/openshift/client/models/v1_egress_network_policy_spec.py index 89d8866c..8254f4d5 100644 --- a/openshift/client/models/v1_egress_network_policy_spec.py +++ b/openshift/client/models/v1_egress_network_policy_spec.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openshift/client/models/v1_exec_new_pod_hook.py b/openshift/client/models/v1_exec_new_pod_hook.py index 1c2abfb3..dd7b9711 100644 --- a/openshift/client/models/v1_exec_new_pod_hook.py +++ b/openshift/client/models/v1_exec_new_pod_hook.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openshift/client/models/v1_fs_group_strategy_options.py b/openshift/client/models/v1_fs_group_strategy_options.py index a692c472..1b534721 100644 --- a/openshift/client/models/v1_fs_group_strategy_options.py +++ b/openshift/client/models/v1_fs_group_strategy_options.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openshift/client/models/v1_generic_web_hook_cause.py b/openshift/client/models/v1_generic_web_hook_cause.py index 890e8a42..5ed902fa 100644 --- a/openshift/client/models/v1_generic_web_hook_cause.py +++ b/openshift/client/models/v1_generic_web_hook_cause.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openshift/client/models/v1_git_build_source.py b/openshift/client/models/v1_git_build_source.py index 85e31d25..21af5aed 100644 --- a/openshift/client/models/v1_git_build_source.py +++ b/openshift/client/models/v1_git_build_source.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openshift/client/models/v1_git_hub_web_hook_cause.py b/openshift/client/models/v1_git_hub_web_hook_cause.py index 5f4dfac9..1f501ec6 100644 --- a/openshift/client/models/v1_git_hub_web_hook_cause.py +++ b/openshift/client/models/v1_git_hub_web_hook_cause.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openshift/client/models/v1_named_cluster_role.py b/openshift/client/models/v1_git_lab_web_hook_cause.py similarity index 68% rename from openshift/client/models/v1_named_cluster_role.py rename to openshift/client/models/v1_git_lab_web_hook_cause.py index 551130ec..34f08a79 100644 --- a/openshift/client/models/v1_named_cluster_role.py +++ b/openshift/client/models/v1_git_lab_web_hook_cause.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -16,14 +16,14 @@ import re -class V1NamedClusterRole(object): +class V1GitLabWebHookCause(object): """ NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. """ - def __init__(self, name=None, role=None): + def __init__(self, revision=None, secret=None): """ - V1NamedClusterRole - a model defined in Swagger + V1GitLabWebHookCause - a model defined in Swagger :param dict swaggerTypes: The key is attribute name and the value is attribute type. @@ -31,67 +31,63 @@ def __init__(self, name=None, role=None): and the value is json key in definition. """ self.swagger_types = { - 'name': 'str', - 'role': 'V1ClusterRole' + 'revision': 'V1SourceRevision', + 'secret': 'str' } self.attribute_map = { - 'name': 'name', - 'role': 'role' + 'revision': 'revision', + 'secret': 'secret' } - self._name = name - self._role = role + self._revision = revision + self._secret = secret @property - def name(self): + def revision(self): """ - Gets the name of this V1NamedClusterRole. - Name is the name of the cluster role + Gets the revision of this V1GitLabWebHookCause. + Revision is the git source revision information of the trigger. - :return: The name of this V1NamedClusterRole. - :rtype: str + :return: The revision of this V1GitLabWebHookCause. + :rtype: V1SourceRevision """ - return self._name + return self._revision - @name.setter - def name(self, name): + @revision.setter + def revision(self, revision): """ - Sets the name of this V1NamedClusterRole. - Name is the name of the cluster role + Sets the revision of this V1GitLabWebHookCause. + Revision is the git source revision information of the trigger. - :param name: The name of this V1NamedClusterRole. - :type: str + :param revision: The revision of this V1GitLabWebHookCause. + :type: V1SourceRevision """ - if name is None: - raise ValueError("Invalid value for `name`, must not be `None`") - self._name = name + self._revision = revision @property - def role(self): + def secret(self): """ - Gets the role of this V1NamedClusterRole. - Role is the cluster role being named + Gets the secret of this V1GitLabWebHookCause. + Secret is the obfuscated webhook secret that triggered a build. - :return: The role of this V1NamedClusterRole. - :rtype: V1ClusterRole + :return: The secret of this V1GitLabWebHookCause. + :rtype: str """ - return self._role + return self._secret - @role.setter - def role(self, role): + @secret.setter + def secret(self, secret): """ - Sets the role of this V1NamedClusterRole. - Role is the cluster role being named + Sets the secret of this V1GitLabWebHookCause. + Secret is the obfuscated webhook secret that triggered a build. - :param role: The role of this V1NamedClusterRole. - :type: V1ClusterRole + :param secret: The secret of this V1GitLabWebHookCause. + :type: str """ - if role is None: - raise ValueError("Invalid value for `role`, must not be `None`") - self._role = role + self._secret = secret def to_dict(self): """ @@ -135,7 +131,7 @@ def __eq__(self, other): """ Returns true if both objects are equal """ - if not isinstance(other, V1NamedClusterRole): + if not isinstance(other, V1GitLabWebHookCause): return False return self.__dict__ == other.__dict__ diff --git a/openshift/client/models/v1_git_source_revision.py b/openshift/client/models/v1_git_source_revision.py index 9213c78e..f399e90b 100644 --- a/openshift/client/models/v1_git_source_revision.py +++ b/openshift/client/models/v1_git_source_revision.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openshift/client/models/v1_group.py b/openshift/client/models/v1_group.py index b0d960bf..7977fdc1 100644 --- a/openshift/client/models/v1_group.py +++ b/openshift/client/models/v1_group.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -53,7 +53,7 @@ def __init__(self, api_version=None, kind=None, metadata=None, users=None): def api_version(self): """ Gets the api_version of this V1Group. - APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources :return: The api_version of this V1Group. :rtype: str @@ -64,7 +64,7 @@ def api_version(self): def api_version(self, api_version): """ Sets the api_version of this V1Group. - APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources :param api_version: The api_version of this V1Group. :type: str @@ -76,7 +76,7 @@ def api_version(self, api_version): def kind(self): """ Gets the kind of this V1Group. - Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds :return: The kind of this V1Group. :rtype: str @@ -87,7 +87,7 @@ def kind(self): def kind(self, kind): """ Sets the kind of this V1Group. - Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds :param kind: The kind of this V1Group. :type: str diff --git a/openshift/client/models/v1_group_list.py b/openshift/client/models/v1_group_list.py index 5abc298c..9e7d7b77 100644 --- a/openshift/client/models/v1_group_list.py +++ b/openshift/client/models/v1_group_list.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -34,7 +34,7 @@ def __init__(self, api_version=None, items=None, kind=None, metadata=None): 'api_version': 'str', 'items': 'list[V1Group]', 'kind': 'str', - 'metadata': 'UnversionedListMeta' + 'metadata': 'V1ListMeta' } self.attribute_map = { @@ -53,7 +53,7 @@ def __init__(self, api_version=None, items=None, kind=None, metadata=None): def api_version(self): """ Gets the api_version of this V1GroupList. - APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources :return: The api_version of this V1GroupList. :rtype: str @@ -64,7 +64,7 @@ def api_version(self): def api_version(self, api_version): """ Sets the api_version of this V1GroupList. - APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources :param api_version: The api_version of this V1GroupList. :type: str @@ -101,7 +101,7 @@ def items(self, items): def kind(self): """ Gets the kind of this V1GroupList. - Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds :return: The kind of this V1GroupList. :rtype: str @@ -112,7 +112,7 @@ def kind(self): def kind(self, kind): """ Sets the kind of this V1GroupList. - Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds :param kind: The kind of this V1GroupList. :type: str @@ -127,7 +127,7 @@ def metadata(self): Standard object's metadata. :return: The metadata of this V1GroupList. - :rtype: UnversionedListMeta + :rtype: V1ListMeta """ return self._metadata @@ -138,7 +138,7 @@ def metadata(self, metadata): Standard object's metadata. :param metadata: The metadata of this V1GroupList. - :type: UnversionedListMeta + :type: V1ListMeta """ self._metadata = metadata diff --git a/openshift/client/models/v1_group_restriction.py b/openshift/client/models/v1_group_restriction.py index f622fccc..de54998e 100644 --- a/openshift/client/models/v1_group_restriction.py +++ b/openshift/client/models/v1_group_restriction.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -32,7 +32,7 @@ def __init__(self, groups=None, labels=None): """ self.swagger_types = { 'groups': 'list[str]', - 'labels': 'list[UnversionedLabelSelector]' + 'labels': 'list[V1LabelSelector]' } self.attribute_map = { @@ -75,7 +75,7 @@ def labels(self): Selectors specifies a list of label selectors over group labels. :return: The labels of this V1GroupRestriction. - :rtype: list[UnversionedLabelSelector] + :rtype: list[V1LabelSelector] """ return self._labels @@ -86,7 +86,7 @@ def labels(self, labels): Selectors specifies a list of label selectors over group labels. :param labels: The labels of this V1GroupRestriction. - :type: list[UnversionedLabelSelector] + :type: list[V1LabelSelector] """ if labels is None: raise ValueError("Invalid value for `labels`, must not be `None`") diff --git a/openshift/client/models/v1_host_subnet.py b/openshift/client/models/v1_host_subnet.py index 5e6728cf..52ef8fd7 100644 --- a/openshift/client/models/v1_host_subnet.py +++ b/openshift/client/models/v1_host_subnet.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -59,7 +59,7 @@ def __init__(self, api_version=None, host=None, host_ip=None, kind=None, metadat def api_version(self): """ Gets the api_version of this V1HostSubnet. - APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources :return: The api_version of this V1HostSubnet. :rtype: str @@ -70,7 +70,7 @@ def api_version(self): def api_version(self, api_version): """ Sets the api_version of this V1HostSubnet. - APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources :param api_version: The api_version of this V1HostSubnet. :type: str @@ -132,7 +132,7 @@ def host_ip(self, host_ip): def kind(self): """ Gets the kind of this V1HostSubnet. - Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds :return: The kind of this V1HostSubnet. :rtype: str @@ -143,7 +143,7 @@ def kind(self): def kind(self, kind): """ Sets the kind of this V1HostSubnet. - Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds :param kind: The kind of this V1HostSubnet. :type: str diff --git a/openshift/client/models/v1_host_subnet_list.py b/openshift/client/models/v1_host_subnet_list.py index 17ab827c..2d60fe0e 100644 --- a/openshift/client/models/v1_host_subnet_list.py +++ b/openshift/client/models/v1_host_subnet_list.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -34,7 +34,7 @@ def __init__(self, api_version=None, items=None, kind=None, metadata=None): 'api_version': 'str', 'items': 'list[V1HostSubnet]', 'kind': 'str', - 'metadata': 'UnversionedListMeta' + 'metadata': 'V1ListMeta' } self.attribute_map = { @@ -53,7 +53,7 @@ def __init__(self, api_version=None, items=None, kind=None, metadata=None): def api_version(self): """ Gets the api_version of this V1HostSubnetList. - APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources :return: The api_version of this V1HostSubnetList. :rtype: str @@ -64,7 +64,7 @@ def api_version(self): def api_version(self, api_version): """ Sets the api_version of this V1HostSubnetList. - APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources :param api_version: The api_version of this V1HostSubnetList. :type: str @@ -101,7 +101,7 @@ def items(self, items): def kind(self): """ Gets the kind of this V1HostSubnetList. - Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds :return: The kind of this V1HostSubnetList. :rtype: str @@ -112,7 +112,7 @@ def kind(self): def kind(self, kind): """ Sets the kind of this V1HostSubnetList. - Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds :param kind: The kind of this V1HostSubnetList. :type: str @@ -127,7 +127,7 @@ def metadata(self): Standard object's metadata. :return: The metadata of this V1HostSubnetList. - :rtype: UnversionedListMeta + :rtype: V1ListMeta """ return self._metadata @@ -138,7 +138,7 @@ def metadata(self, metadata): Standard object's metadata. :param metadata: The metadata of this V1HostSubnetList. - :type: UnversionedListMeta + :type: V1ListMeta """ self._metadata = metadata diff --git a/openshift/client/models/v1_id_range.py b/openshift/client/models/v1_id_range.py index f0e71015..a9e992be 100644 --- a/openshift/client/models/v1_id_range.py +++ b/openshift/client/models/v1_id_range.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openshift/client/models/v1_identity.py b/openshift/client/models/v1_identity.py index 38e86da1..b7d78ce1 100644 --- a/openshift/client/models/v1_identity.py +++ b/openshift/client/models/v1_identity.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -62,7 +62,7 @@ def __init__(self, api_version=None, extra=None, kind=None, metadata=None, provi def api_version(self): """ Gets the api_version of this V1Identity. - APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources :return: The api_version of this V1Identity. :rtype: str @@ -73,7 +73,7 @@ def api_version(self): def api_version(self, api_version): """ Sets the api_version of this V1Identity. - APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources :param api_version: The api_version of this V1Identity. :type: str @@ -108,7 +108,7 @@ def extra(self, extra): def kind(self): """ Gets the kind of this V1Identity. - Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds :return: The kind of this V1Identity. :rtype: str @@ -119,7 +119,7 @@ def kind(self): def kind(self, kind): """ Sets the kind of this V1Identity. - Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds :param kind: The kind of this V1Identity. :type: str diff --git a/openshift/client/models/v1_identity_list.py b/openshift/client/models/v1_identity_list.py index a09147f2..313c61cf 100644 --- a/openshift/client/models/v1_identity_list.py +++ b/openshift/client/models/v1_identity_list.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -34,7 +34,7 @@ def __init__(self, api_version=None, items=None, kind=None, metadata=None): 'api_version': 'str', 'items': 'list[V1Identity]', 'kind': 'str', - 'metadata': 'UnversionedListMeta' + 'metadata': 'V1ListMeta' } self.attribute_map = { @@ -53,7 +53,7 @@ def __init__(self, api_version=None, items=None, kind=None, metadata=None): def api_version(self): """ Gets the api_version of this V1IdentityList. - APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources :return: The api_version of this V1IdentityList. :rtype: str @@ -64,7 +64,7 @@ def api_version(self): def api_version(self, api_version): """ Sets the api_version of this V1IdentityList. - APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources :param api_version: The api_version of this V1IdentityList. :type: str @@ -101,7 +101,7 @@ def items(self, items): def kind(self): """ Gets the kind of this V1IdentityList. - Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds :return: The kind of this V1IdentityList. :rtype: str @@ -112,7 +112,7 @@ def kind(self): def kind(self, kind): """ Sets the kind of this V1IdentityList. - Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds :param kind: The kind of this V1IdentityList. :type: str @@ -127,7 +127,7 @@ def metadata(self): Standard object's metadata. :return: The metadata of this V1IdentityList. - :rtype: UnversionedListMeta + :rtype: V1ListMeta """ return self._metadata @@ -138,7 +138,7 @@ def metadata(self, metadata): Standard object's metadata. :param metadata: The metadata of this V1IdentityList. - :type: UnversionedListMeta + :type: V1ListMeta """ self._metadata = metadata diff --git a/openshift/client/models/v1_image.py b/openshift/client/models/v1_image.py index d69fa72f..05da874a 100644 --- a/openshift/client/models/v1_image.py +++ b/openshift/client/models/v1_image.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -77,7 +77,7 @@ def __init__(self, api_version=None, docker_image_config=None, docker_image_laye def api_version(self): """ Gets the api_version of this V1Image. - APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources :return: The api_version of this V1Image. :rtype: str @@ -88,7 +88,7 @@ def api_version(self): def api_version(self, api_version): """ Sets the api_version of this V1Image. - APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources :param api_version: The api_version of this V1Image. :type: str @@ -286,7 +286,7 @@ def docker_image_signatures(self, docker_image_signatures): def kind(self): """ Gets the kind of this V1Image. - Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds :return: The kind of this V1Image. :rtype: str @@ -297,7 +297,7 @@ def kind(self): def kind(self, kind): """ Sets the kind of this V1Image. - Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds :param kind: The kind of this V1Image. :type: str diff --git a/openshift/client/models/v1_image_change_cause.py b/openshift/client/models/v1_image_change_cause.py index 2fc69b70..e04dd685 100644 --- a/openshift/client/models/v1_image_change_cause.py +++ b/openshift/client/models/v1_image_change_cause.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openshift/client/models/v1_image_change_trigger.py b/openshift/client/models/v1_image_change_trigger.py index 0faacc63..03fbf97f 100644 --- a/openshift/client/models/v1_image_change_trigger.py +++ b/openshift/client/models/v1_image_change_trigger.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openshift/client/models/v1_image_import_spec.py b/openshift/client/models/v1_image_import_spec.py index 4c387ea2..6a1c5e72 100644 --- a/openshift/client/models/v1_image_import_spec.py +++ b/openshift/client/models/v1_image_import_spec.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openshift/client/models/v1_image_import_status.py b/openshift/client/models/v1_image_import_status.py index 4f18e0eb..5d07b4cd 100644 --- a/openshift/client/models/v1_image_import_status.py +++ b/openshift/client/models/v1_image_import_status.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -32,7 +32,7 @@ def __init__(self, image=None, status=None, tag=None): """ self.swagger_types = { 'image': 'V1Image', - 'status': 'UnversionedStatus', + 'status': 'V1Status', 'tag': 'str' } @@ -76,7 +76,7 @@ def status(self): Status is the status of the image import, including errors encountered while retrieving the image :return: The status of this V1ImageImportStatus. - :rtype: UnversionedStatus + :rtype: V1Status """ return self._status @@ -87,7 +87,7 @@ def status(self, status): Status is the status of the image import, including errors encountered while retrieving the image :param status: The status of this V1ImageImportStatus. - :type: UnversionedStatus + :type: V1Status """ if status is None: raise ValueError("Invalid value for `status`, must not be `None`") diff --git a/openshift/client/models/v1_image_label.py b/openshift/client/models/v1_image_label.py index ea735c61..6ca4454a 100644 --- a/openshift/client/models/v1_image_label.py +++ b/openshift/client/models/v1_image_label.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openshift/client/models/v1_image_layer.py b/openshift/client/models/v1_image_layer.py index 9f12bb45..e481bff0 100644 --- a/openshift/client/models/v1_image_layer.py +++ b/openshift/client/models/v1_image_layer.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openshift/client/models/v1_image_list.py b/openshift/client/models/v1_image_list.py index 5080c84b..32d644a9 100644 --- a/openshift/client/models/v1_image_list.py +++ b/openshift/client/models/v1_image_list.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -34,7 +34,7 @@ def __init__(self, api_version=None, items=None, kind=None, metadata=None): 'api_version': 'str', 'items': 'list[V1Image]', 'kind': 'str', - 'metadata': 'UnversionedListMeta' + 'metadata': 'V1ListMeta' } self.attribute_map = { @@ -53,7 +53,7 @@ def __init__(self, api_version=None, items=None, kind=None, metadata=None): def api_version(self): """ Gets the api_version of this V1ImageList. - APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources :return: The api_version of this V1ImageList. :rtype: str @@ -64,7 +64,7 @@ def api_version(self): def api_version(self, api_version): """ Sets the api_version of this V1ImageList. - APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources :param api_version: The api_version of this V1ImageList. :type: str @@ -101,7 +101,7 @@ def items(self, items): def kind(self): """ Gets the kind of this V1ImageList. - Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds :return: The kind of this V1ImageList. :rtype: str @@ -112,7 +112,7 @@ def kind(self): def kind(self, kind): """ Sets the kind of this V1ImageList. - Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds :param kind: The kind of this V1ImageList. :type: str @@ -127,7 +127,7 @@ def metadata(self): Standard object's metadata. :return: The metadata of this V1ImageList. - :rtype: UnversionedListMeta + :rtype: V1ListMeta """ return self._metadata @@ -138,7 +138,7 @@ def metadata(self, metadata): Standard object's metadata. :param metadata: The metadata of this V1ImageList. - :type: UnversionedListMeta + :type: V1ListMeta """ self._metadata = metadata diff --git a/openshift/client/models/v1_image_lookup_policy.py b/openshift/client/models/v1_image_lookup_policy.py new file mode 100644 index 00000000..b6f930fb --- /dev/null +++ b/openshift/client/models/v1_image_lookup_policy.py @@ -0,0 +1,119 @@ +# coding: utf-8 + +""" + OpenShift API (with Kubernetes) + + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + + OpenAPI spec version: latest + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from pprint import pformat +from six import iteritems +import re + + +class V1ImageLookupPolicy(object): + """ + NOTE: This class is auto generated by the swagger code generator program. + Do not edit the class manually. + """ + def __init__(self, local=None): + """ + V1ImageLookupPolicy - 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 = { + 'local': 'bool' + } + + self.attribute_map = { + 'local': 'local' + } + + self._local = local + + @property + def local(self): + """ + Gets the local of this V1ImageLookupPolicy. + local will change the docker short image references (like \"mysql\" or \"php:latest\") on objects in this namespace to the image ID whenever they match this image stream, instead of reaching out to a remote registry. The name will be fully qualified to an image ID if found. The tag's referencePolicy is taken into account on the replaced value. Only works within the current namespace. + + :return: The local of this V1ImageLookupPolicy. + :rtype: bool + """ + return self._local + + @local.setter + def local(self, local): + """ + Sets the local of this V1ImageLookupPolicy. + local will change the docker short image references (like \"mysql\" or \"php:latest\") on objects in this namespace to the image ID whenever they match this image stream, instead of reaching out to a remote registry. The name will be fully qualified to an image ID if found. The tag's referencePolicy is taken into account on the replaced value. Only works within the current namespace. + + :param local: The local of this V1ImageLookupPolicy. + :type: bool + """ + if local is None: + raise ValueError("Invalid value for `local`, must not be `None`") + + self._local = local + + 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 + """ + if not isinstance(other, V1ImageLookupPolicy): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """ + Returns true if both objects are not equal + """ + return not self == other diff --git a/openshift/client/models/v1_image_signature.py b/openshift/client/models/v1_image_signature.py index 9b20948d..157c471a 100644 --- a/openshift/client/models/v1_image_signature.py +++ b/openshift/client/models/v1_image_signature.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -34,7 +34,7 @@ def __init__(self, api_version=None, conditions=None, content=None, created=None 'api_version': 'str', 'conditions': 'list[V1SignatureCondition]', 'content': 'str', - 'created': 'UnversionedTime', + 'created': 'datetime', 'image_identity': 'str', 'issued_by': 'V1SignatureIssuer', 'issued_to': 'V1SignatureSubject', @@ -74,7 +74,7 @@ def __init__(self, api_version=None, conditions=None, content=None, created=None def api_version(self): """ Gets the api_version of this V1ImageSignature. - APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources :return: The api_version of this V1ImageSignature. :rtype: str @@ -85,7 +85,7 @@ def api_version(self): def api_version(self, api_version): """ Sets the api_version of this V1ImageSignature. - APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources :param api_version: The api_version of this V1ImageSignature. :type: str @@ -148,7 +148,7 @@ def created(self): If specified, it is the time of signature's creation. :return: The created of this V1ImageSignature. - :rtype: UnversionedTime + :rtype: datetime """ return self._created @@ -159,7 +159,7 @@ def created(self, created): If specified, it is the time of signature's creation. :param created: The created of this V1ImageSignature. - :type: UnversionedTime + :type: datetime """ self._created = created @@ -237,7 +237,7 @@ def issued_to(self, issued_to): def kind(self): """ Gets the kind of this V1ImageSignature. - Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds :return: The kind of this V1ImageSignature. :rtype: str @@ -248,7 +248,7 @@ def kind(self): def kind(self, kind): """ Sets the kind of this V1ImageSignature. - Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds :param kind: The kind of this V1ImageSignature. :type: str diff --git a/openshift/client/models/v1_image_source.py b/openshift/client/models/v1_image_source.py index 850c7548..440dfc04 100644 --- a/openshift/client/models/v1_image_source.py +++ b/openshift/client/models/v1_image_source.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openshift/client/models/v1_image_source_path.py b/openshift/client/models/v1_image_source_path.py index c0eb23f0..12e10a1e 100644 --- a/openshift/client/models/v1_image_source_path.py +++ b/openshift/client/models/v1_image_source_path.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -72,7 +72,7 @@ def destination_dir(self, destination_dir): def source_path(self): """ Gets the source_path of this V1ImageSourcePath. - sourcePath is the absolute path of the file or directory inside the image to copy to the build directory. + sourcePath is the absolute path of the file or directory inside the image to copy to the build directory. If the source path ends in /. then the content of the directory will be copied, but the directory itself will not be created at the destination. :return: The source_path of this V1ImageSourcePath. :rtype: str @@ -83,7 +83,7 @@ def source_path(self): def source_path(self, source_path): """ Sets the source_path of this V1ImageSourcePath. - sourcePath is the absolute path of the file or directory inside the image to copy to the build directory. + sourcePath is the absolute path of the file or directory inside the image to copy to the build directory. If the source path ends in /. then the content of the directory will be copied, but the directory itself will not be created at the destination. :param source_path: The source_path of this V1ImageSourcePath. :type: str diff --git a/openshift/client/models/v1_image_stream.py b/openshift/client/models/v1_image_stream.py index 2979a97b..55c3317d 100644 --- a/openshift/client/models/v1_image_stream.py +++ b/openshift/client/models/v1_image_stream.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -56,7 +56,7 @@ def __init__(self, api_version=None, kind=None, metadata=None, spec=None, status def api_version(self): """ Gets the api_version of this V1ImageStream. - APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources :return: The api_version of this V1ImageStream. :rtype: str @@ -67,7 +67,7 @@ def api_version(self): def api_version(self, api_version): """ Sets the api_version of this V1ImageStream. - APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources :param api_version: The api_version of this V1ImageStream. :type: str @@ -79,7 +79,7 @@ def api_version(self, api_version): def kind(self): """ Gets the kind of this V1ImageStream. - Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds :return: The kind of this V1ImageStream. :rtype: str @@ -90,7 +90,7 @@ def kind(self): def kind(self, kind): """ Sets the kind of this V1ImageStream. - Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds :param kind: The kind of this V1ImageStream. :type: str diff --git a/openshift/client/models/v1_image_stream_image.py b/openshift/client/models/v1_image_stream_image.py index bbadf9c7..b57d455e 100644 --- a/openshift/client/models/v1_image_stream_image.py +++ b/openshift/client/models/v1_image_stream_image.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -53,7 +53,7 @@ def __init__(self, api_version=None, image=None, kind=None, metadata=None): def api_version(self): """ Gets the api_version of this V1ImageStreamImage. - APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources :return: The api_version of this V1ImageStreamImage. :rtype: str @@ -64,7 +64,7 @@ def api_version(self): def api_version(self, api_version): """ Sets the api_version of this V1ImageStreamImage. - APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources :param api_version: The api_version of this V1ImageStreamImage. :type: str @@ -101,7 +101,7 @@ def image(self, image): def kind(self): """ Gets the kind of this V1ImageStreamImage. - Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds :return: The kind of this V1ImageStreamImage. :rtype: str @@ -112,7 +112,7 @@ def kind(self): def kind(self, kind): """ Sets the kind of this V1ImageStreamImage. - Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds :param kind: The kind of this V1ImageStreamImage. :type: str diff --git a/openshift/client/models/v1_image_stream_import.py b/openshift/client/models/v1_image_stream_import.py index b042e4aa..3f531666 100644 --- a/openshift/client/models/v1_image_stream_import.py +++ b/openshift/client/models/v1_image_stream_import.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -56,7 +56,7 @@ def __init__(self, api_version=None, kind=None, metadata=None, spec=None, status def api_version(self): """ Gets the api_version of this V1ImageStreamImport. - APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources :return: The api_version of this V1ImageStreamImport. :rtype: str @@ -67,7 +67,7 @@ def api_version(self): def api_version(self, api_version): """ Sets the api_version of this V1ImageStreamImport. - APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources :param api_version: The api_version of this V1ImageStreamImport. :type: str @@ -79,7 +79,7 @@ def api_version(self, api_version): def kind(self): """ Gets the kind of this V1ImageStreamImport. - Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds :return: The kind of this V1ImageStreamImport. :rtype: str @@ -90,7 +90,7 @@ def kind(self): def kind(self, kind): """ Sets the kind of this V1ImageStreamImport. - Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds :param kind: The kind of this V1ImageStreamImport. :type: str diff --git a/openshift/client/models/v1_image_stream_import_spec.py b/openshift/client/models/v1_image_stream_import_spec.py index 655db5fa..75e942ee 100644 --- a/openshift/client/models/v1_image_stream_import_spec.py +++ b/openshift/client/models/v1_image_stream_import_spec.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openshift/client/models/v1_image_stream_import_status.py b/openshift/client/models/v1_image_stream_import_status.py index c5ee9116..268e936b 100644 --- a/openshift/client/models/v1_image_stream_import_status.py +++ b/openshift/client/models/v1_image_stream_import_status.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openshift/client/models/v1_image_stream_list.py b/openshift/client/models/v1_image_stream_list.py index eaaf7f98..b253d689 100644 --- a/openshift/client/models/v1_image_stream_list.py +++ b/openshift/client/models/v1_image_stream_list.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -34,7 +34,7 @@ def __init__(self, api_version=None, items=None, kind=None, metadata=None): 'api_version': 'str', 'items': 'list[V1ImageStream]', 'kind': 'str', - 'metadata': 'UnversionedListMeta' + 'metadata': 'V1ListMeta' } self.attribute_map = { @@ -53,7 +53,7 @@ def __init__(self, api_version=None, items=None, kind=None, metadata=None): def api_version(self): """ Gets the api_version of this V1ImageStreamList. - APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources :return: The api_version of this V1ImageStreamList. :rtype: str @@ -64,7 +64,7 @@ def api_version(self): def api_version(self, api_version): """ Sets the api_version of this V1ImageStreamList. - APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources :param api_version: The api_version of this V1ImageStreamList. :type: str @@ -101,7 +101,7 @@ def items(self, items): def kind(self): """ Gets the kind of this V1ImageStreamList. - Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds :return: The kind of this V1ImageStreamList. :rtype: str @@ -112,7 +112,7 @@ def kind(self): def kind(self, kind): """ Sets the kind of this V1ImageStreamList. - Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds :param kind: The kind of this V1ImageStreamList. :type: str @@ -127,7 +127,7 @@ def metadata(self): Standard object's metadata. :return: The metadata of this V1ImageStreamList. - :rtype: UnversionedListMeta + :rtype: V1ListMeta """ return self._metadata @@ -138,7 +138,7 @@ def metadata(self, metadata): Standard object's metadata. :param metadata: The metadata of this V1ImageStreamList. - :type: UnversionedListMeta + :type: V1ListMeta """ self._metadata = metadata diff --git a/openshift/client/models/v1_image_stream_mapping.py b/openshift/client/models/v1_image_stream_mapping.py index 6b6f50d2..ef65e28a 100644 --- a/openshift/client/models/v1_image_stream_mapping.py +++ b/openshift/client/models/v1_image_stream_mapping.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -56,7 +56,7 @@ def __init__(self, api_version=None, image=None, kind=None, metadata=None, tag=N def api_version(self): """ Gets the api_version of this V1ImageStreamMapping. - APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources :return: The api_version of this V1ImageStreamMapping. :rtype: str @@ -67,7 +67,7 @@ def api_version(self): def api_version(self, api_version): """ Sets the api_version of this V1ImageStreamMapping. - APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources :param api_version: The api_version of this V1ImageStreamMapping. :type: str @@ -104,7 +104,7 @@ def image(self, image): def kind(self): """ Gets the kind of this V1ImageStreamMapping. - Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds :return: The kind of this V1ImageStreamMapping. :rtype: str @@ -115,7 +115,7 @@ def kind(self): def kind(self, kind): """ Sets the kind of this V1ImageStreamMapping. - Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds :param kind: The kind of this V1ImageStreamMapping. :type: str diff --git a/openshift/client/models/v1_image_stream_spec.py b/openshift/client/models/v1_image_stream_spec.py index 0abe25a8..03e3045a 100644 --- a/openshift/client/models/v1_image_stream_spec.py +++ b/openshift/client/models/v1_image_stream_spec.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -21,7 +21,7 @@ class V1ImageStreamSpec(object): NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. """ - def __init__(self, docker_image_repository=None, tags=None): + def __init__(self, docker_image_repository=None, lookup_policy=None, tags=None): """ V1ImageStreamSpec - a model defined in Swagger @@ -32,22 +32,25 @@ def __init__(self, docker_image_repository=None, tags=None): """ self.swagger_types = { 'docker_image_repository': 'str', + 'lookup_policy': 'V1ImageLookupPolicy', 'tags': 'list[V1TagReference]' } self.attribute_map = { 'docker_image_repository': 'dockerImageRepository', + 'lookup_policy': 'lookupPolicy', 'tags': 'tags' } self._docker_image_repository = docker_image_repository + self._lookup_policy = lookup_policy self._tags = tags @property def docker_image_repository(self): """ Gets the docker_image_repository of this V1ImageStreamSpec. - DockerImageRepository is optional, if specified this stream is backed by a Docker repository on this server + dockerImageRepository is optional, if specified this stream is backed by a Docker repository on this server Deprecated: This field is deprecated as of v3.7 and will be removed in a future release. Specify the source for the tags to be imported in each tag via the spec.tags.from reference instead. :return: The docker_image_repository of this V1ImageStreamSpec. :rtype: str @@ -58,7 +61,7 @@ def docker_image_repository(self): def docker_image_repository(self, docker_image_repository): """ Sets the docker_image_repository of this V1ImageStreamSpec. - DockerImageRepository is optional, if specified this stream is backed by a Docker repository on this server + dockerImageRepository is optional, if specified this stream is backed by a Docker repository on this server Deprecated: This field is deprecated as of v3.7 and will be removed in a future release. Specify the source for the tags to be imported in each tag via the spec.tags.from reference instead. :param docker_image_repository: The docker_image_repository of this V1ImageStreamSpec. :type: str @@ -66,11 +69,34 @@ def docker_image_repository(self, docker_image_repository): self._docker_image_repository = docker_image_repository + @property + def lookup_policy(self): + """ + Gets the lookup_policy of this V1ImageStreamSpec. + lookupPolicy controls how other resources reference images within this namespace. + + :return: The lookup_policy of this V1ImageStreamSpec. + :rtype: V1ImageLookupPolicy + """ + return self._lookup_policy + + @lookup_policy.setter + def lookup_policy(self, lookup_policy): + """ + Sets the lookup_policy of this V1ImageStreamSpec. + lookupPolicy controls how other resources reference images within this namespace. + + :param lookup_policy: The lookup_policy of this V1ImageStreamSpec. + :type: V1ImageLookupPolicy + """ + + self._lookup_policy = lookup_policy + @property def tags(self): """ Gets the tags of this V1ImageStreamSpec. - Tags map arbitrary string values to specific image locators + tags map arbitrary string values to specific image locators :return: The tags of this V1ImageStreamSpec. :rtype: list[V1TagReference] @@ -81,7 +107,7 @@ def tags(self): def tags(self, tags): """ Sets the tags of this V1ImageStreamSpec. - Tags map arbitrary string values to specific image locators + tags map arbitrary string values to specific image locators :param tags: The tags of this V1ImageStreamSpec. :type: list[V1TagReference] diff --git a/openshift/client/models/v1_image_stream_status.py b/openshift/client/models/v1_image_stream_status.py index eff6191f..847b71b1 100644 --- a/openshift/client/models/v1_image_stream_status.py +++ b/openshift/client/models/v1_image_stream_status.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -21,7 +21,7 @@ class V1ImageStreamStatus(object): NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. """ - def __init__(self, docker_image_repository=None, tags=None): + def __init__(self, docker_image_repository=None, public_docker_image_repository=None, tags=None): """ V1ImageStreamStatus - a model defined in Swagger @@ -32,15 +32,18 @@ def __init__(self, docker_image_repository=None, tags=None): """ self.swagger_types = { 'docker_image_repository': 'str', + 'public_docker_image_repository': 'str', 'tags': 'list[V1NamedTagEventList]' } self.attribute_map = { 'docker_image_repository': 'dockerImageRepository', + 'public_docker_image_repository': 'publicDockerImageRepository', 'tags': 'tags' } self._docker_image_repository = docker_image_repository + self._public_docker_image_repository = public_docker_image_repository self._tags = tags @property @@ -68,6 +71,29 @@ def docker_image_repository(self, docker_image_repository): self._docker_image_repository = docker_image_repository + @property + def public_docker_image_repository(self): + """ + Gets the public_docker_image_repository of this V1ImageStreamStatus. + PublicDockerImageRepository represents the public location from where the image can be pulled outside the cluster. This field may be empty if the administrator has not exposed the integrated registry externally. + + :return: The public_docker_image_repository of this V1ImageStreamStatus. + :rtype: str + """ + return self._public_docker_image_repository + + @public_docker_image_repository.setter + def public_docker_image_repository(self, public_docker_image_repository): + """ + Sets the public_docker_image_repository of this V1ImageStreamStatus. + PublicDockerImageRepository represents the public location from where the image can be pulled outside the cluster. This field may be empty if the administrator has not exposed the integrated registry externally. + + :param public_docker_image_repository: The public_docker_image_repository of this V1ImageStreamStatus. + :type: str + """ + + self._public_docker_image_repository = public_docker_image_repository + @property def tags(self): """ diff --git a/openshift/client/models/v1_image_stream_tag.py b/openshift/client/models/v1_image_stream_tag.py index 6dfa98bc..bdd4fef0 100644 --- a/openshift/client/models/v1_image_stream_tag.py +++ b/openshift/client/models/v1_image_stream_tag.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -21,7 +21,7 @@ class V1ImageStreamTag(object): NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. """ - def __init__(self, api_version=None, conditions=None, generation=None, image=None, kind=None, metadata=None, tag=None): + def __init__(self, api_version=None, conditions=None, generation=None, image=None, kind=None, lookup_policy=None, metadata=None, tag=None): """ V1ImageStreamTag - a model defined in Swagger @@ -36,6 +36,7 @@ def __init__(self, api_version=None, conditions=None, generation=None, image=Non 'generation': 'int', 'image': 'V1Image', 'kind': 'str', + 'lookup_policy': 'V1ImageLookupPolicy', 'metadata': 'V1ObjectMeta', 'tag': 'V1TagReference' } @@ -46,6 +47,7 @@ def __init__(self, api_version=None, conditions=None, generation=None, image=Non 'generation': 'generation', 'image': 'image', 'kind': 'kind', + 'lookup_policy': 'lookupPolicy', 'metadata': 'metadata', 'tag': 'tag' } @@ -55,6 +57,7 @@ def __init__(self, api_version=None, conditions=None, generation=None, image=Non self._generation = generation self._image = image self._kind = kind + self._lookup_policy = lookup_policy self._metadata = metadata self._tag = tag @@ -62,7 +65,7 @@ def __init__(self, api_version=None, conditions=None, generation=None, image=Non def api_version(self): """ Gets the api_version of this V1ImageStreamTag. - APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources :return: The api_version of this V1ImageStreamTag. :rtype: str @@ -73,7 +76,7 @@ def api_version(self): def api_version(self, api_version): """ Sets the api_version of this V1ImageStreamTag. - APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources :param api_version: The api_version of this V1ImageStreamTag. :type: str @@ -85,7 +88,7 @@ def api_version(self, api_version): def conditions(self): """ Gets the conditions of this V1ImageStreamTag. - Conditions is an array of conditions that apply to the image stream tag. + conditions is an array of conditions that apply to the image stream tag. :return: The conditions of this V1ImageStreamTag. :rtype: list[V1TagEventCondition] @@ -96,7 +99,7 @@ def conditions(self): def conditions(self, conditions): """ Sets the conditions of this V1ImageStreamTag. - Conditions is an array of conditions that apply to the image stream tag. + conditions is an array of conditions that apply to the image stream tag. :param conditions: The conditions of this V1ImageStreamTag. :type: list[V1TagEventCondition] @@ -108,7 +111,7 @@ def conditions(self, conditions): def generation(self): """ Gets the generation of this V1ImageStreamTag. - Generation is the current generation of the tagged image - if tag is provided and this value is not equal to the tag generation, a user has requested an import that has not completed, or Conditions will be filled out indicating any error. + generation is the current generation of the tagged image - if tag is provided and this value is not equal to the tag generation, a user has requested an import that has not completed, or conditions will be filled out indicating any error. :return: The generation of this V1ImageStreamTag. :rtype: int @@ -119,7 +122,7 @@ def generation(self): def generation(self, generation): """ Sets the generation of this V1ImageStreamTag. - Generation is the current generation of the tagged image - if tag is provided and this value is not equal to the tag generation, a user has requested an import that has not completed, or Conditions will be filled out indicating any error. + generation is the current generation of the tagged image - if tag is provided and this value is not equal to the tag generation, a user has requested an import that has not completed, or conditions will be filled out indicating any error. :param generation: The generation of this V1ImageStreamTag. :type: int @@ -133,7 +136,7 @@ def generation(self, generation): def image(self): """ Gets the image of this V1ImageStreamTag. - Image associated with the ImageStream and tag. + image associated with the ImageStream and tag. :return: The image of this V1ImageStreamTag. :rtype: V1Image @@ -144,7 +147,7 @@ def image(self): def image(self, image): """ Sets the image of this V1ImageStreamTag. - Image associated with the ImageStream and tag. + image associated with the ImageStream and tag. :param image: The image of this V1ImageStreamTag. :type: V1Image @@ -158,7 +161,7 @@ def image(self, image): def kind(self): """ Gets the kind of this V1ImageStreamTag. - Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds :return: The kind of this V1ImageStreamTag. :rtype: str @@ -169,7 +172,7 @@ def kind(self): def kind(self, kind): """ Sets the kind of this V1ImageStreamTag. - Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds :param kind: The kind of this V1ImageStreamTag. :type: str @@ -177,6 +180,31 @@ def kind(self, kind): self._kind = kind + @property + def lookup_policy(self): + """ + Gets the lookup_policy of this V1ImageStreamTag. + lookupPolicy indicates whether this tag will handle image references in this namespace. + + :return: The lookup_policy of this V1ImageStreamTag. + :rtype: V1ImageLookupPolicy + """ + return self._lookup_policy + + @lookup_policy.setter + def lookup_policy(self, lookup_policy): + """ + Sets the lookup_policy of this V1ImageStreamTag. + lookupPolicy indicates whether this tag will handle image references in this namespace. + + :param lookup_policy: The lookup_policy of this V1ImageStreamTag. + :type: V1ImageLookupPolicy + """ + if lookup_policy is None: + raise ValueError("Invalid value for `lookup_policy`, must not be `None`") + + self._lookup_policy = lookup_policy + @property def metadata(self): """ @@ -204,7 +232,7 @@ def metadata(self, metadata): def tag(self): """ Gets the tag of this V1ImageStreamTag. - Tag is the spec tag associated with this image stream tag, and it may be null if only pushes have occurred to this image stream. + tag is the spec tag associated with this image stream tag, and it may be null if only pushes have occurred to this image stream. :return: The tag of this V1ImageStreamTag. :rtype: V1TagReference @@ -215,7 +243,7 @@ def tag(self): def tag(self, tag): """ Sets the tag of this V1ImageStreamTag. - Tag is the spec tag associated with this image stream tag, and it may be null if only pushes have occurred to this image stream. + tag is the spec tag associated with this image stream tag, and it may be null if only pushes have occurred to this image stream. :param tag: The tag of this V1ImageStreamTag. :type: V1TagReference diff --git a/openshift/client/models/v1_image_stream_tag_list.py b/openshift/client/models/v1_image_stream_tag_list.py index 6fbae0b8..e6b4eb4f 100644 --- a/openshift/client/models/v1_image_stream_tag_list.py +++ b/openshift/client/models/v1_image_stream_tag_list.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -34,7 +34,7 @@ def __init__(self, api_version=None, items=None, kind=None, metadata=None): 'api_version': 'str', 'items': 'list[V1ImageStreamTag]', 'kind': 'str', - 'metadata': 'UnversionedListMeta' + 'metadata': 'V1ListMeta' } self.attribute_map = { @@ -53,7 +53,7 @@ def __init__(self, api_version=None, items=None, kind=None, metadata=None): def api_version(self): """ Gets the api_version of this V1ImageStreamTagList. - APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources :return: The api_version of this V1ImageStreamTagList. :rtype: str @@ -64,7 +64,7 @@ def api_version(self): def api_version(self, api_version): """ Sets the api_version of this V1ImageStreamTagList. - APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources :param api_version: The api_version of this V1ImageStreamTagList. :type: str @@ -101,7 +101,7 @@ def items(self, items): def kind(self): """ Gets the kind of this V1ImageStreamTagList. - Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds :return: The kind of this V1ImageStreamTagList. :rtype: str @@ -112,7 +112,7 @@ def kind(self): def kind(self, kind): """ Sets the kind of this V1ImageStreamTagList. - Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds :param kind: The kind of this V1ImageStreamTagList. :type: str @@ -127,7 +127,7 @@ def metadata(self): Standard object's metadata. :return: The metadata of this V1ImageStreamTagList. - :rtype: UnversionedListMeta + :rtype: V1ListMeta """ return self._metadata @@ -138,7 +138,7 @@ def metadata(self, metadata): Standard object's metadata. :param metadata: The metadata of this V1ImageStreamTagList. - :type: UnversionedListMeta + :type: V1ListMeta """ self._metadata = metadata diff --git a/openshift/client/models/v1_jenkins_pipeline_build_strategy.py b/openshift/client/models/v1_jenkins_pipeline_build_strategy.py index a29aeba0..885aead8 100644 --- a/openshift/client/models/v1_jenkins_pipeline_build_strategy.py +++ b/openshift/client/models/v1_jenkins_pipeline_build_strategy.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -50,7 +50,7 @@ def __init__(self, env=None, jenkinsfile=None, jenkinsfile_path=None): def env(self): """ Gets the env of this V1JenkinsPipelineBuildStrategy. - env contains additional environment variables you want to pass into a build pipeline. ValueFrom is not supported. + env contains additional environment variables you want to pass into a build pipeline. :return: The env of this V1JenkinsPipelineBuildStrategy. :rtype: list[V1EnvVar] @@ -61,7 +61,7 @@ def env(self): def env(self, env): """ Sets the env of this V1JenkinsPipelineBuildStrategy. - env contains additional environment variables you want to pass into a build pipeline. ValueFrom is not supported. + env contains additional environment variables you want to pass into a build pipeline. :param env: The env of this V1JenkinsPipelineBuildStrategy. :type: list[V1EnvVar] diff --git a/openshift/client/models/v1_lifecycle_hook.py b/openshift/client/models/v1_lifecycle_hook.py index a256640f..bc817458 100644 --- a/openshift/client/models/v1_lifecycle_hook.py +++ b/openshift/client/models/v1_lifecycle_hook.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openshift/client/models/v1_local_resource_access_review.py b/openshift/client/models/v1_local_resource_access_review.py index 79c40c5f..4c1ea22e 100644 --- a/openshift/client/models/v1_local_resource_access_review.py +++ b/openshift/client/models/v1_local_resource_access_review.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -74,7 +74,7 @@ def __init__(self, api_version=None, content=None, is_non_resource_url=None, kin def api_version(self): """ Gets the api_version of this V1LocalResourceAccessReview. - APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources :return: The api_version of this V1LocalResourceAccessReview. :rtype: str @@ -85,7 +85,7 @@ def api_version(self): def api_version(self, api_version): """ Sets the api_version of this V1LocalResourceAccessReview. - APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources :param api_version: The api_version of this V1LocalResourceAccessReview. :type: str @@ -145,7 +145,7 @@ def is_non_resource_url(self, is_non_resource_url): def kind(self): """ Gets the kind of this V1LocalResourceAccessReview. - Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds :return: The kind of this V1LocalResourceAccessReview. :rtype: str @@ -156,7 +156,7 @@ def kind(self): def kind(self, kind): """ Sets the kind of this V1LocalResourceAccessReview. - Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds :param kind: The kind of this V1LocalResourceAccessReview. :type: str diff --git a/openshift/client/models/v1_local_subject_access_review.py b/openshift/client/models/v1_local_subject_access_review.py deleted file mode 100644 index c9dbfaeb..00000000 --- a/openshift/client/models/v1_local_subject_access_review.py +++ /dev/null @@ -1,477 +0,0 @@ -# coding: utf-8 - -""" - OpenShift API (with Kubernetes) - - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - - OpenAPI spec version: v3.6.0-alpha.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from pprint import pformat -from six import iteritems -import re - - -class V1LocalSubjectAccessReview(object): - """ - NOTE: This class is auto generated by the swagger code generator program. - Do not edit the class manually. - """ - def __init__(self, api_version=None, content=None, groups=None, is_non_resource_url=None, kind=None, namespace=None, path=None, resource=None, resource_api_group=None, resource_api_version=None, resource_name=None, scopes=None, user=None, verb=None): - """ - V1LocalSubjectAccessReview - 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 = { - 'api_version': 'str', - 'content': 'RuntimeRawExtension', - 'groups': 'list[str]', - 'is_non_resource_url': 'bool', - 'kind': 'str', - 'namespace': 'str', - 'path': 'str', - 'resource': 'str', - 'resource_api_group': 'str', - 'resource_api_version': 'str', - 'resource_name': 'str', - 'scopes': 'list[str]', - 'user': 'str', - 'verb': 'str' - } - - self.attribute_map = { - 'api_version': 'apiVersion', - 'content': 'content', - 'groups': 'groups', - 'is_non_resource_url': 'isNonResourceURL', - 'kind': 'kind', - 'namespace': 'namespace', - 'path': 'path', - 'resource': 'resource', - 'resource_api_group': 'resourceAPIGroup', - 'resource_api_version': 'resourceAPIVersion', - 'resource_name': 'resourceName', - 'scopes': 'scopes', - 'user': 'user', - 'verb': 'verb' - } - - self._api_version = api_version - self._content = content - self._groups = groups - self._is_non_resource_url = is_non_resource_url - self._kind = kind - self._namespace = namespace - self._path = path - self._resource = resource - self._resource_api_group = resource_api_group - self._resource_api_version = resource_api_version - self._resource_name = resource_name - self._scopes = scopes - self._user = user - self._verb = verb - - @property - def api_version(self): - """ - Gets the api_version of this V1LocalSubjectAccessReview. - APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized 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 V1LocalSubjectAccessReview. - :rtype: str - """ - return self._api_version - - @api_version.setter - def api_version(self, api_version): - """ - Sets the api_version of this V1LocalSubjectAccessReview. - APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized 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 V1LocalSubjectAccessReview. - :type: str - """ - - self._api_version = api_version - - @property - def content(self): - """ - Gets the content of this V1LocalSubjectAccessReview. - Content is the actual content of the request for create and update - - :return: The content of this V1LocalSubjectAccessReview. - :rtype: RuntimeRawExtension - """ - return self._content - - @content.setter - def content(self, content): - """ - Sets the content of this V1LocalSubjectAccessReview. - Content is the actual content of the request for create and update - - :param content: The content of this V1LocalSubjectAccessReview. - :type: RuntimeRawExtension - """ - - self._content = content - - @property - def groups(self): - """ - Gets the groups of this V1LocalSubjectAccessReview. - Groups is optional. Groups is the list of groups to which the User belongs. - - :return: The groups of this V1LocalSubjectAccessReview. - :rtype: list[str] - """ - return self._groups - - @groups.setter - def groups(self, groups): - """ - Sets the groups of this V1LocalSubjectAccessReview. - Groups is optional. Groups is the list of groups to which the User belongs. - - :param groups: The groups of this V1LocalSubjectAccessReview. - :type: list[str] - """ - if groups is None: - raise ValueError("Invalid value for `groups`, must not be `None`") - - self._groups = groups - - @property - def is_non_resource_url(self): - """ - Gets the is_non_resource_url of this V1LocalSubjectAccessReview. - IsNonResourceURL is true if this is a request for a non-resource URL (outside of the resource hieraarchy) - - :return: The is_non_resource_url of this V1LocalSubjectAccessReview. - :rtype: bool - """ - return self._is_non_resource_url - - @is_non_resource_url.setter - def is_non_resource_url(self, is_non_resource_url): - """ - Sets the is_non_resource_url of this V1LocalSubjectAccessReview. - IsNonResourceURL is true if this is a request for a non-resource URL (outside of the resource hieraarchy) - - :param is_non_resource_url: The is_non_resource_url of this V1LocalSubjectAccessReview. - :type: bool - """ - if is_non_resource_url is None: - raise ValueError("Invalid value for `is_non_resource_url`, must not be `None`") - - self._is_non_resource_url = is_non_resource_url - - @property - def kind(self): - """ - Gets the kind of this V1LocalSubjectAccessReview. - Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint 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 V1LocalSubjectAccessReview. - :rtype: str - """ - return self._kind - - @kind.setter - def kind(self, kind): - """ - Sets the kind of this V1LocalSubjectAccessReview. - Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint 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 V1LocalSubjectAccessReview. - :type: str - """ - - self._kind = kind - - @property - def namespace(self): - """ - Gets the namespace of this V1LocalSubjectAccessReview. - Namespace is the namespace of the action being requested. Currently, there is no distinction between no namespace and all namespaces - - :return: The namespace of this V1LocalSubjectAccessReview. - :rtype: str - """ - return self._namespace - - @namespace.setter - def namespace(self, namespace): - """ - Sets the namespace of this V1LocalSubjectAccessReview. - Namespace is the namespace of the action being requested. Currently, there is no distinction between no namespace and all namespaces - - :param namespace: The namespace of this V1LocalSubjectAccessReview. - :type: str - """ - if namespace is None: - raise ValueError("Invalid value for `namespace`, must not be `None`") - - self._namespace = namespace - - @property - def path(self): - """ - Gets the path of this V1LocalSubjectAccessReview. - Path is the path of a non resource URL - - :return: The path of this V1LocalSubjectAccessReview. - :rtype: str - """ - return self._path - - @path.setter - def path(self, path): - """ - Sets the path of this V1LocalSubjectAccessReview. - Path is the path of a non resource URL - - :param path: The path of this V1LocalSubjectAccessReview. - :type: str - """ - if path is None: - raise ValueError("Invalid value for `path`, must not be `None`") - - self._path = path - - @property - def resource(self): - """ - Gets the resource of this V1LocalSubjectAccessReview. - Resource is one of the existing resource types - - :return: The resource of this V1LocalSubjectAccessReview. - :rtype: str - """ - return self._resource - - @resource.setter - def resource(self, resource): - """ - Sets the resource of this V1LocalSubjectAccessReview. - Resource is one of the existing resource types - - :param resource: The resource of this V1LocalSubjectAccessReview. - :type: str - """ - if resource is None: - raise ValueError("Invalid value for `resource`, must not be `None`") - - self._resource = resource - - @property - def resource_api_group(self): - """ - Gets the resource_api_group of this V1LocalSubjectAccessReview. - Group is the API group of the resource Serialized as resourceAPIGroup to avoid confusion with the 'groups' field when inlined - - :return: The resource_api_group of this V1LocalSubjectAccessReview. - :rtype: str - """ - return self._resource_api_group - - @resource_api_group.setter - def resource_api_group(self, resource_api_group): - """ - Sets the resource_api_group of this V1LocalSubjectAccessReview. - Group is the API group of the resource Serialized as resourceAPIGroup to avoid confusion with the 'groups' field when inlined - - :param resource_api_group: The resource_api_group of this V1LocalSubjectAccessReview. - :type: str - """ - if resource_api_group is None: - raise ValueError("Invalid value for `resource_api_group`, must not be `None`") - - self._resource_api_group = resource_api_group - - @property - def resource_api_version(self): - """ - Gets the resource_api_version of this V1LocalSubjectAccessReview. - Version is the API version of the resource Serialized as resourceAPIVersion to avoid confusion with TypeMeta.apiVersion and ObjectMeta.resourceVersion when inlined - - :return: The resource_api_version of this V1LocalSubjectAccessReview. - :rtype: str - """ - return self._resource_api_version - - @resource_api_version.setter - def resource_api_version(self, resource_api_version): - """ - Sets the resource_api_version of this V1LocalSubjectAccessReview. - Version is the API version of the resource Serialized as resourceAPIVersion to avoid confusion with TypeMeta.apiVersion and ObjectMeta.resourceVersion when inlined - - :param resource_api_version: The resource_api_version of this V1LocalSubjectAccessReview. - :type: str - """ - if resource_api_version is None: - raise ValueError("Invalid value for `resource_api_version`, must not be `None`") - - self._resource_api_version = resource_api_version - - @property - def resource_name(self): - """ - Gets the resource_name of this V1LocalSubjectAccessReview. - ResourceName is the name of the resource being requested for a \"get\" or deleted for a \"delete\" - - :return: The resource_name of this V1LocalSubjectAccessReview. - :rtype: str - """ - return self._resource_name - - @resource_name.setter - def resource_name(self, resource_name): - """ - Sets the resource_name of this V1LocalSubjectAccessReview. - ResourceName is the name of the resource being requested for a \"get\" or deleted for a \"delete\" - - :param resource_name: The resource_name of this V1LocalSubjectAccessReview. - :type: str - """ - if resource_name is None: - raise ValueError("Invalid value for `resource_name`, must not be `None`") - - self._resource_name = resource_name - - @property - def scopes(self): - """ - Gets the scopes of this V1LocalSubjectAccessReview. - Scopes to use for the evaluation. Empty means \"use the unscoped (full) permissions of the user/groups\". Nil for a self-SAR, means \"use the scopes on this request\". Nil for a regular SAR, means the same as empty. - - :return: The scopes of this V1LocalSubjectAccessReview. - :rtype: list[str] - """ - return self._scopes - - @scopes.setter - def scopes(self, scopes): - """ - Sets the scopes of this V1LocalSubjectAccessReview. - Scopes to use for the evaluation. Empty means \"use the unscoped (full) permissions of the user/groups\". Nil for a self-SAR, means \"use the scopes on this request\". Nil for a regular SAR, means the same as empty. - - :param scopes: The scopes of this V1LocalSubjectAccessReview. - :type: list[str] - """ - if scopes is None: - raise ValueError("Invalid value for `scopes`, must not be `None`") - - self._scopes = scopes - - @property - def user(self): - """ - Gets the user of this V1LocalSubjectAccessReview. - User is optional. If both User and Groups are empty, the current authenticated user is used. - - :return: The user of this V1LocalSubjectAccessReview. - :rtype: str - """ - return self._user - - @user.setter - def user(self, user): - """ - Sets the user of this V1LocalSubjectAccessReview. - User is optional. If both User and Groups are empty, the current authenticated user is used. - - :param user: The user of this V1LocalSubjectAccessReview. - :type: str - """ - if user is None: - raise ValueError("Invalid value for `user`, must not be `None`") - - self._user = user - - @property - def verb(self): - """ - Gets the verb of this V1LocalSubjectAccessReview. - Verb is one of: get, list, watch, create, update, delete - - :return: The verb of this V1LocalSubjectAccessReview. - :rtype: str - """ - return self._verb - - @verb.setter - def verb(self, verb): - """ - Sets the verb of this V1LocalSubjectAccessReview. - Verb is one of: get, list, watch, create, update, delete - - :param verb: The verb of this V1LocalSubjectAccessReview. - :type: str - """ - if verb is None: - raise ValueError("Invalid value for `verb`, must not be `None`") - - self._verb = verb - - 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 - """ - if not isinstance(other, V1LocalSubjectAccessReview): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """ - Returns true if both objects are not equal - """ - return not self == other diff --git a/openshift/client/models/v1_named_tag_event_list.py b/openshift/client/models/v1_named_tag_event_list.py index 734161b7..5bf14e31 100644 --- a/openshift/client/models/v1_named_tag_event_list.py +++ b/openshift/client/models/v1_named_tag_event_list.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openshift/client/models/v1_net_namespace.py b/openshift/client/models/v1_net_namespace.py index 5cfb9889..15c6369e 100644 --- a/openshift/client/models/v1_net_namespace.py +++ b/openshift/client/models/v1_net_namespace.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -56,7 +56,7 @@ def __init__(self, api_version=None, kind=None, metadata=None, netid=None, netna def api_version(self): """ Gets the api_version of this V1NetNamespace. - APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources :return: The api_version of this V1NetNamespace. :rtype: str @@ -67,7 +67,7 @@ def api_version(self): def api_version(self, api_version): """ Sets the api_version of this V1NetNamespace. - APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources :param api_version: The api_version of this V1NetNamespace. :type: str @@ -79,7 +79,7 @@ def api_version(self, api_version): def kind(self): """ Gets the kind of this V1NetNamespace. - Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds :return: The kind of this V1NetNamespace. :rtype: str @@ -90,7 +90,7 @@ def kind(self): def kind(self, kind): """ Sets the kind of this V1NetNamespace. - Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds :param kind: The kind of this V1NetNamespace. :type: str @@ -125,7 +125,7 @@ def metadata(self, metadata): def netid(self): """ Gets the netid of this V1NetNamespace. - NetID is the network identifier of the network namespace assigned to each overlay network packet. This can be manipulated with the \"oadm pod-network\" commands. + NetID is the network identifier of the network namespace assigned to each overlay network packet. This can be manipulated with the \"oc adm pod-network\" commands. :return: The netid of this V1NetNamespace. :rtype: int @@ -136,7 +136,7 @@ def netid(self): def netid(self, netid): """ Sets the netid of this V1NetNamespace. - NetID is the network identifier of the network namespace assigned to each overlay network packet. This can be manipulated with the \"oadm pod-network\" commands. + NetID is the network identifier of the network namespace assigned to each overlay network packet. This can be manipulated with the \"oc adm pod-network\" commands. :param netid: The netid of this V1NetNamespace. :type: int diff --git a/openshift/client/models/v1_net_namespace_list.py b/openshift/client/models/v1_net_namespace_list.py index a3d5ed0f..624311da 100644 --- a/openshift/client/models/v1_net_namespace_list.py +++ b/openshift/client/models/v1_net_namespace_list.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -34,7 +34,7 @@ def __init__(self, api_version=None, items=None, kind=None, metadata=None): 'api_version': 'str', 'items': 'list[V1NetNamespace]', 'kind': 'str', - 'metadata': 'UnversionedListMeta' + 'metadata': 'V1ListMeta' } self.attribute_map = { @@ -53,7 +53,7 @@ def __init__(self, api_version=None, items=None, kind=None, metadata=None): def api_version(self): """ Gets the api_version of this V1NetNamespaceList. - APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources :return: The api_version of this V1NetNamespaceList. :rtype: str @@ -64,7 +64,7 @@ def api_version(self): def api_version(self, api_version): """ Sets the api_version of this V1NetNamespaceList. - APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources :param api_version: The api_version of this V1NetNamespaceList. :type: str @@ -101,7 +101,7 @@ def items(self, items): def kind(self): """ Gets the kind of this V1NetNamespaceList. - Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds :return: The kind of this V1NetNamespaceList. :rtype: str @@ -112,7 +112,7 @@ def kind(self): def kind(self, kind): """ Sets the kind of this V1NetNamespaceList. - Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds :param kind: The kind of this V1NetNamespaceList. :type: str @@ -127,7 +127,7 @@ def metadata(self): Standard object's metadata. :return: The metadata of this V1NetNamespaceList. - :rtype: UnversionedListMeta + :rtype: V1ListMeta """ return self._metadata @@ -138,7 +138,7 @@ def metadata(self, metadata): Standard object's metadata. :param metadata: The metadata of this V1NetNamespaceList. - :type: UnversionedListMeta + :type: V1ListMeta """ self._metadata = metadata diff --git a/openshift/client/models/v1_o_auth_access_token.py b/openshift/client/models/v1_o_auth_access_token.py index fe827302..61608c3b 100644 --- a/openshift/client/models/v1_o_auth_access_token.py +++ b/openshift/client/models/v1_o_auth_access_token.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -74,7 +74,7 @@ def __init__(self, api_version=None, authorize_token=None, client_name=None, exp def api_version(self): """ Gets the api_version of this V1OAuthAccessToken. - APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources :return: The api_version of this V1OAuthAccessToken. :rtype: str @@ -85,7 +85,7 @@ def api_version(self): def api_version(self, api_version): """ Sets the api_version of this V1OAuthAccessToken. - APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources :param api_version: The api_version of this V1OAuthAccessToken. :type: str @@ -166,7 +166,7 @@ def expires_in(self, expires_in): def kind(self): """ Gets the kind of this V1OAuthAccessToken. - Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds :return: The kind of this V1OAuthAccessToken. :rtype: str @@ -177,7 +177,7 @@ def kind(self): def kind(self, kind): """ Sets the kind of this V1OAuthAccessToken. - Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds :param kind: The kind of this V1OAuthAccessToken. :type: str diff --git a/openshift/client/models/v1_o_auth_access_token_list.py b/openshift/client/models/v1_o_auth_access_token_list.py index 6fac28af..7496e0d3 100644 --- a/openshift/client/models/v1_o_auth_access_token_list.py +++ b/openshift/client/models/v1_o_auth_access_token_list.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -34,7 +34,7 @@ def __init__(self, api_version=None, items=None, kind=None, metadata=None): 'api_version': 'str', 'items': 'list[V1OAuthAccessToken]', 'kind': 'str', - 'metadata': 'UnversionedListMeta' + 'metadata': 'V1ListMeta' } self.attribute_map = { @@ -53,7 +53,7 @@ def __init__(self, api_version=None, items=None, kind=None, metadata=None): def api_version(self): """ Gets the api_version of this V1OAuthAccessTokenList. - APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources :return: The api_version of this V1OAuthAccessTokenList. :rtype: str @@ -64,7 +64,7 @@ def api_version(self): def api_version(self, api_version): """ Sets the api_version of this V1OAuthAccessTokenList. - APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources :param api_version: The api_version of this V1OAuthAccessTokenList. :type: str @@ -101,7 +101,7 @@ def items(self, items): def kind(self): """ Gets the kind of this V1OAuthAccessTokenList. - Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds :return: The kind of this V1OAuthAccessTokenList. :rtype: str @@ -112,7 +112,7 @@ def kind(self): def kind(self, kind): """ Sets the kind of this V1OAuthAccessTokenList. - Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds :param kind: The kind of this V1OAuthAccessTokenList. :type: str @@ -127,7 +127,7 @@ def metadata(self): Standard object's metadata. :return: The metadata of this V1OAuthAccessTokenList. - :rtype: UnversionedListMeta + :rtype: V1ListMeta """ return self._metadata @@ -138,7 +138,7 @@ def metadata(self, metadata): Standard object's metadata. :param metadata: The metadata of this V1OAuthAccessTokenList. - :type: UnversionedListMeta + :type: V1ListMeta """ self._metadata = metadata diff --git a/openshift/client/models/v1_o_auth_authorize_token.py b/openshift/client/models/v1_o_auth_authorize_token.py index 1a5047a9..300fe8f0 100644 --- a/openshift/client/models/v1_o_auth_authorize_token.py +++ b/openshift/client/models/v1_o_auth_authorize_token.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -77,7 +77,7 @@ def __init__(self, api_version=None, client_name=None, code_challenge=None, code def api_version(self): """ Gets the api_version of this V1OAuthAuthorizeToken. - APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources :return: The api_version of this V1OAuthAuthorizeToken. :rtype: str @@ -88,7 +88,7 @@ def api_version(self): def api_version(self, api_version): """ Sets the api_version of this V1OAuthAuthorizeToken. - APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources :param api_version: The api_version of this V1OAuthAuthorizeToken. :type: str @@ -192,7 +192,7 @@ def expires_in(self, expires_in): def kind(self): """ Gets the kind of this V1OAuthAuthorizeToken. - Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds :return: The kind of this V1OAuthAuthorizeToken. :rtype: str @@ -203,7 +203,7 @@ def kind(self): def kind(self, kind): """ Sets the kind of this V1OAuthAuthorizeToken. - Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds :param kind: The kind of this V1OAuthAuthorizeToken. :type: str diff --git a/openshift/client/models/v1_o_auth_authorize_token_list.py b/openshift/client/models/v1_o_auth_authorize_token_list.py index 26a1aaa9..cac301a4 100644 --- a/openshift/client/models/v1_o_auth_authorize_token_list.py +++ b/openshift/client/models/v1_o_auth_authorize_token_list.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -34,7 +34,7 @@ def __init__(self, api_version=None, items=None, kind=None, metadata=None): 'api_version': 'str', 'items': 'list[V1OAuthAuthorizeToken]', 'kind': 'str', - 'metadata': 'UnversionedListMeta' + 'metadata': 'V1ListMeta' } self.attribute_map = { @@ -53,7 +53,7 @@ def __init__(self, api_version=None, items=None, kind=None, metadata=None): def api_version(self): """ Gets the api_version of this V1OAuthAuthorizeTokenList. - APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources :return: The api_version of this V1OAuthAuthorizeTokenList. :rtype: str @@ -64,7 +64,7 @@ def api_version(self): def api_version(self, api_version): """ Sets the api_version of this V1OAuthAuthorizeTokenList. - APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources :param api_version: The api_version of this V1OAuthAuthorizeTokenList. :type: str @@ -101,7 +101,7 @@ def items(self, items): def kind(self): """ Gets the kind of this V1OAuthAuthorizeTokenList. - Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds :return: The kind of this V1OAuthAuthorizeTokenList. :rtype: str @@ -112,7 +112,7 @@ def kind(self): def kind(self, kind): """ Sets the kind of this V1OAuthAuthorizeTokenList. - Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds :param kind: The kind of this V1OAuthAuthorizeTokenList. :type: str @@ -127,7 +127,7 @@ def metadata(self): Standard object's metadata. :return: The metadata of this V1OAuthAuthorizeTokenList. - :rtype: UnversionedListMeta + :rtype: V1ListMeta """ return self._metadata @@ -138,7 +138,7 @@ def metadata(self, metadata): Standard object's metadata. :param metadata: The metadata of this V1OAuthAuthorizeTokenList. - :type: UnversionedListMeta + :type: V1ListMeta """ self._metadata = metadata diff --git a/openshift/client/models/v1_o_auth_client.py b/openshift/client/models/v1_o_auth_client.py index 057af0ab..f268356f 100644 --- a/openshift/client/models/v1_o_auth_client.py +++ b/openshift/client/models/v1_o_auth_client.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -21,7 +21,7 @@ class V1OAuthClient(object): NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. """ - def __init__(self, additional_secrets=None, api_version=None, grant_method=None, kind=None, metadata=None, redirect_ur_is=None, respond_with_challenges=None, scope_restrictions=None, secret=None): + def __init__(self, access_token_max_age_seconds=None, additional_secrets=None, api_version=None, grant_method=None, kind=None, metadata=None, redirect_ur_is=None, respond_with_challenges=None, scope_restrictions=None, secret=None): """ V1OAuthClient - a model defined in Swagger @@ -31,6 +31,7 @@ def __init__(self, additional_secrets=None, api_version=None, grant_method=None, and the value is json key in definition. """ self.swagger_types = { + 'access_token_max_age_seconds': 'int', 'additional_secrets': 'list[str]', 'api_version': 'str', 'grant_method': 'str', @@ -43,6 +44,7 @@ def __init__(self, additional_secrets=None, api_version=None, grant_method=None, } self.attribute_map = { + 'access_token_max_age_seconds': 'accessTokenMaxAgeSeconds', 'additional_secrets': 'additionalSecrets', 'api_version': 'apiVersion', 'grant_method': 'grantMethod', @@ -54,6 +56,7 @@ def __init__(self, additional_secrets=None, api_version=None, grant_method=None, 'secret': 'secret' } + self._access_token_max_age_seconds = access_token_max_age_seconds self._additional_secrets = additional_secrets self._api_version = api_version self._grant_method = grant_method @@ -64,6 +67,29 @@ def __init__(self, additional_secrets=None, api_version=None, grant_method=None, self._scope_restrictions = scope_restrictions self._secret = secret + @property + def access_token_max_age_seconds(self): + """ + Gets the access_token_max_age_seconds of this V1OAuthClient. + AccessTokenMaxAgeSeconds overrides the default access token max age for tokens granted to this client. 0 means no expiration. + + :return: The access_token_max_age_seconds of this V1OAuthClient. + :rtype: int + """ + return self._access_token_max_age_seconds + + @access_token_max_age_seconds.setter + def access_token_max_age_seconds(self, access_token_max_age_seconds): + """ + Sets the access_token_max_age_seconds of this V1OAuthClient. + AccessTokenMaxAgeSeconds overrides the default access token max age for tokens granted to this client. 0 means no expiration. + + :param access_token_max_age_seconds: The access_token_max_age_seconds of this V1OAuthClient. + :type: int + """ + + self._access_token_max_age_seconds = access_token_max_age_seconds + @property def additional_secrets(self): """ @@ -91,7 +117,7 @@ def additional_secrets(self, additional_secrets): def api_version(self): """ Gets the api_version of this V1OAuthClient. - APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources :return: The api_version of this V1OAuthClient. :rtype: str @@ -102,7 +128,7 @@ def api_version(self): def api_version(self, api_version): """ Sets the api_version of this V1OAuthClient. - APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources :param api_version: The api_version of this V1OAuthClient. :type: str @@ -137,7 +163,7 @@ def grant_method(self, grant_method): def kind(self): """ Gets the kind of this V1OAuthClient. - Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds :return: The kind of this V1OAuthClient. :rtype: str @@ -148,7 +174,7 @@ def kind(self): def kind(self, kind): """ Sets the kind of this V1OAuthClient. - Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds :param kind: The kind of this V1OAuthClient. :type: str diff --git a/openshift/client/models/v1_o_auth_client_authorization.py b/openshift/client/models/v1_o_auth_client_authorization.py index 98455b6f..4e810c22 100644 --- a/openshift/client/models/v1_o_auth_client_authorization.py +++ b/openshift/client/models/v1_o_auth_client_authorization.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -62,7 +62,7 @@ def __init__(self, api_version=None, client_name=None, kind=None, metadata=None, def api_version(self): """ Gets the api_version of this V1OAuthClientAuthorization. - APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources :return: The api_version of this V1OAuthClientAuthorization. :rtype: str @@ -73,7 +73,7 @@ def api_version(self): def api_version(self, api_version): """ Sets the api_version of this V1OAuthClientAuthorization. - APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources :param api_version: The api_version of this V1OAuthClientAuthorization. :type: str @@ -108,7 +108,7 @@ def client_name(self, client_name): def kind(self): """ Gets the kind of this V1OAuthClientAuthorization. - Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds :return: The kind of this V1OAuthClientAuthorization. :rtype: str @@ -119,7 +119,7 @@ def kind(self): def kind(self, kind): """ Sets the kind of this V1OAuthClientAuthorization. - Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds :param kind: The kind of this V1OAuthClientAuthorization. :type: str diff --git a/openshift/client/models/v1_o_auth_client_authorization_list.py b/openshift/client/models/v1_o_auth_client_authorization_list.py index 0cbbd30a..daeb67b2 100644 --- a/openshift/client/models/v1_o_auth_client_authorization_list.py +++ b/openshift/client/models/v1_o_auth_client_authorization_list.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -34,7 +34,7 @@ def __init__(self, api_version=None, items=None, kind=None, metadata=None): 'api_version': 'str', 'items': 'list[V1OAuthClientAuthorization]', 'kind': 'str', - 'metadata': 'UnversionedListMeta' + 'metadata': 'V1ListMeta' } self.attribute_map = { @@ -53,7 +53,7 @@ def __init__(self, api_version=None, items=None, kind=None, metadata=None): def api_version(self): """ Gets the api_version of this V1OAuthClientAuthorizationList. - APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources :return: The api_version of this V1OAuthClientAuthorizationList. :rtype: str @@ -64,7 +64,7 @@ def api_version(self): def api_version(self, api_version): """ Sets the api_version of this V1OAuthClientAuthorizationList. - APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources :param api_version: The api_version of this V1OAuthClientAuthorizationList. :type: str @@ -101,7 +101,7 @@ def items(self, items): def kind(self): """ Gets the kind of this V1OAuthClientAuthorizationList. - Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds :return: The kind of this V1OAuthClientAuthorizationList. :rtype: str @@ -112,7 +112,7 @@ def kind(self): def kind(self, kind): """ Sets the kind of this V1OAuthClientAuthorizationList. - Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds :param kind: The kind of this V1OAuthClientAuthorizationList. :type: str @@ -127,7 +127,7 @@ def metadata(self): Standard object's metadata. :return: The metadata of this V1OAuthClientAuthorizationList. - :rtype: UnversionedListMeta + :rtype: V1ListMeta """ return self._metadata @@ -138,7 +138,7 @@ def metadata(self, metadata): Standard object's metadata. :param metadata: The metadata of this V1OAuthClientAuthorizationList. - :type: UnversionedListMeta + :type: V1ListMeta """ self._metadata = metadata diff --git a/openshift/client/models/v1_o_auth_client_list.py b/openshift/client/models/v1_o_auth_client_list.py index 27656e33..5b91fe1e 100644 --- a/openshift/client/models/v1_o_auth_client_list.py +++ b/openshift/client/models/v1_o_auth_client_list.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -34,7 +34,7 @@ def __init__(self, api_version=None, items=None, kind=None, metadata=None): 'api_version': 'str', 'items': 'list[V1OAuthClient]', 'kind': 'str', - 'metadata': 'UnversionedListMeta' + 'metadata': 'V1ListMeta' } self.attribute_map = { @@ -53,7 +53,7 @@ def __init__(self, api_version=None, items=None, kind=None, metadata=None): def api_version(self): """ Gets the api_version of this V1OAuthClientList. - APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources :return: The api_version of this V1OAuthClientList. :rtype: str @@ -64,7 +64,7 @@ def api_version(self): def api_version(self, api_version): """ Sets the api_version of this V1OAuthClientList. - APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources :param api_version: The api_version of this V1OAuthClientList. :type: str @@ -101,7 +101,7 @@ def items(self, items): def kind(self): """ Gets the kind of this V1OAuthClientList. - Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds :return: The kind of this V1OAuthClientList. :rtype: str @@ -112,7 +112,7 @@ def kind(self): def kind(self, kind): """ Sets the kind of this V1OAuthClientList. - Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds :param kind: The kind of this V1OAuthClientList. :type: str @@ -127,7 +127,7 @@ def metadata(self): Standard object's metadata. :return: The metadata of this V1OAuthClientList. - :rtype: UnversionedListMeta + :rtype: V1ListMeta """ return self._metadata @@ -138,7 +138,7 @@ def metadata(self, metadata): Standard object's metadata. :param metadata: The metadata of this V1OAuthClientList. - :type: UnversionedListMeta + :type: V1ListMeta """ self._metadata = metadata diff --git a/openshift/client/models/v1_parameter.py b/openshift/client/models/v1_parameter.py index 8e2ed407..51628090 100644 --- a/openshift/client/models/v1_parameter.py +++ b/openshift/client/models/v1_parameter.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openshift/client/models/v1_pod_security_policy_review.py b/openshift/client/models/v1_pod_security_policy_review.py index f8f6514b..49ef452b 100644 --- a/openshift/client/models/v1_pod_security_policy_review.py +++ b/openshift/client/models/v1_pod_security_policy_review.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -53,7 +53,7 @@ def __init__(self, api_version=None, kind=None, spec=None, status=None): def api_version(self): """ Gets the api_version of this V1PodSecurityPolicyReview. - APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources :return: The api_version of this V1PodSecurityPolicyReview. :rtype: str @@ -64,7 +64,7 @@ def api_version(self): def api_version(self, api_version): """ Sets the api_version of this V1PodSecurityPolicyReview. - APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources :param api_version: The api_version of this V1PodSecurityPolicyReview. :type: str @@ -76,7 +76,7 @@ def api_version(self, api_version): def kind(self): """ Gets the kind of this V1PodSecurityPolicyReview. - Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds :return: The kind of this V1PodSecurityPolicyReview. :rtype: str @@ -87,7 +87,7 @@ def kind(self): def kind(self, kind): """ Sets the kind of this V1PodSecurityPolicyReview. - Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds :param kind: The kind of this V1PodSecurityPolicyReview. :type: str diff --git a/openshift/client/models/v1_pod_security_policy_review_spec.py b/openshift/client/models/v1_pod_security_policy_review_spec.py index 9e3607cd..7eb1de41 100644 --- a/openshift/client/models/v1_pod_security_policy_review_spec.py +++ b/openshift/client/models/v1_pod_security_policy_review_spec.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openshift/client/models/v1_pod_security_policy_review_status.py b/openshift/client/models/v1_pod_security_policy_review_status.py index cb12279d..929d5863 100644 --- a/openshift/client/models/v1_pod_security_policy_review_status.py +++ b/openshift/client/models/v1_pod_security_policy_review_status.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openshift/client/models/v1_pod_security_policy_self_subject_review.py b/openshift/client/models/v1_pod_security_policy_self_subject_review.py index 3c1f332a..8afc5c8d 100644 --- a/openshift/client/models/v1_pod_security_policy_self_subject_review.py +++ b/openshift/client/models/v1_pod_security_policy_self_subject_review.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -53,7 +53,7 @@ def __init__(self, api_version=None, kind=None, spec=None, status=None): def api_version(self): """ Gets the api_version of this V1PodSecurityPolicySelfSubjectReview. - APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources :return: The api_version of this V1PodSecurityPolicySelfSubjectReview. :rtype: str @@ -64,7 +64,7 @@ def api_version(self): def api_version(self, api_version): """ Sets the api_version of this V1PodSecurityPolicySelfSubjectReview. - APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources :param api_version: The api_version of this V1PodSecurityPolicySelfSubjectReview. :type: str @@ -76,7 +76,7 @@ def api_version(self, api_version): def kind(self): """ Gets the kind of this V1PodSecurityPolicySelfSubjectReview. - Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds :return: The kind of this V1PodSecurityPolicySelfSubjectReview. :rtype: str @@ -87,7 +87,7 @@ def kind(self): def kind(self, kind): """ Sets the kind of this V1PodSecurityPolicySelfSubjectReview. - Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds :param kind: The kind of this V1PodSecurityPolicySelfSubjectReview. :type: str diff --git a/openshift/client/models/v1_pod_security_policy_self_subject_review_spec.py b/openshift/client/models/v1_pod_security_policy_self_subject_review_spec.py index 2e7c6371..6819fce4 100644 --- a/openshift/client/models/v1_pod_security_policy_self_subject_review_spec.py +++ b/openshift/client/models/v1_pod_security_policy_self_subject_review_spec.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openshift/client/models/v1_pod_security_policy_subject_review.py b/openshift/client/models/v1_pod_security_policy_subject_review.py index f0e25c26..df1833f4 100644 --- a/openshift/client/models/v1_pod_security_policy_subject_review.py +++ b/openshift/client/models/v1_pod_security_policy_subject_review.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -53,7 +53,7 @@ def __init__(self, api_version=None, kind=None, spec=None, status=None): def api_version(self): """ Gets the api_version of this V1PodSecurityPolicySubjectReview. - APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources :return: The api_version of this V1PodSecurityPolicySubjectReview. :rtype: str @@ -64,7 +64,7 @@ def api_version(self): def api_version(self, api_version): """ Sets the api_version of this V1PodSecurityPolicySubjectReview. - APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources :param api_version: The api_version of this V1PodSecurityPolicySubjectReview. :type: str @@ -76,7 +76,7 @@ def api_version(self, api_version): def kind(self): """ Gets the kind of this V1PodSecurityPolicySubjectReview. - Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds :return: The kind of this V1PodSecurityPolicySubjectReview. :rtype: str @@ -87,7 +87,7 @@ def kind(self): def kind(self, kind): """ Sets the kind of this V1PodSecurityPolicySubjectReview. - Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds :param kind: The kind of this V1PodSecurityPolicySubjectReview. :type: str diff --git a/openshift/client/models/v1_pod_security_policy_subject_review_spec.py b/openshift/client/models/v1_pod_security_policy_subject_review_spec.py index 8f1d3715..c67da9d9 100644 --- a/openshift/client/models/v1_pod_security_policy_subject_review_spec.py +++ b/openshift/client/models/v1_pod_security_policy_subject_review_spec.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openshift/client/models/v1_pod_security_policy_subject_review_status.py b/openshift/client/models/v1_pod_security_policy_subject_review_status.py index 086b8db3..916176de 100644 --- a/openshift/client/models/v1_pod_security_policy_subject_review_status.py +++ b/openshift/client/models/v1_pod_security_policy_subject_review_status.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openshift/client/models/v1_policy_binding.py b/openshift/client/models/v1_policy_binding.py deleted file mode 100644 index 4f834f91..00000000 --- a/openshift/client/models/v1_policy_binding.py +++ /dev/null @@ -1,253 +0,0 @@ -# coding: utf-8 - -""" - OpenShift API (with Kubernetes) - - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - - OpenAPI spec version: v3.6.0-alpha.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from pprint import pformat -from six import iteritems -import re - - -class V1PolicyBinding(object): - """ - NOTE: This class is auto generated by the swagger code generator program. - Do not edit the class manually. - """ - def __init__(self, api_version=None, kind=None, last_modified=None, metadata=None, policy_ref=None, role_bindings=None): - """ - V1PolicyBinding - 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 = { - 'api_version': 'str', - 'kind': 'str', - 'last_modified': 'UnversionedTime', - 'metadata': 'V1ObjectMeta', - 'policy_ref': 'V1ObjectReference', - 'role_bindings': 'list[V1NamedRoleBinding]' - } - - self.attribute_map = { - 'api_version': 'apiVersion', - 'kind': 'kind', - 'last_modified': 'lastModified', - 'metadata': 'metadata', - 'policy_ref': 'policyRef', - 'role_bindings': 'roleBindings' - } - - self._api_version = api_version - self._kind = kind - self._last_modified = last_modified - self._metadata = metadata - self._policy_ref = policy_ref - self._role_bindings = role_bindings - - @property - def api_version(self): - """ - Gets the api_version of this V1PolicyBinding. - APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized 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 V1PolicyBinding. - :rtype: str - """ - return self._api_version - - @api_version.setter - def api_version(self, api_version): - """ - Sets the api_version of this V1PolicyBinding. - APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized 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 V1PolicyBinding. - :type: str - """ - - self._api_version = api_version - - @property - def kind(self): - """ - Gets the kind of this V1PolicyBinding. - Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint 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 V1PolicyBinding. - :rtype: str - """ - return self._kind - - @kind.setter - def kind(self, kind): - """ - Sets the kind of this V1PolicyBinding. - Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint 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 V1PolicyBinding. - :type: str - """ - - self._kind = kind - - @property - def last_modified(self): - """ - Gets the last_modified of this V1PolicyBinding. - LastModified is the last time that any part of the PolicyBinding was created, updated, or deleted - - :return: The last_modified of this V1PolicyBinding. - :rtype: UnversionedTime - """ - return self._last_modified - - @last_modified.setter - def last_modified(self, last_modified): - """ - Sets the last_modified of this V1PolicyBinding. - LastModified is the last time that any part of the PolicyBinding was created, updated, or deleted - - :param last_modified: The last_modified of this V1PolicyBinding. - :type: UnversionedTime - """ - if last_modified is None: - raise ValueError("Invalid value for `last_modified`, must not be `None`") - - self._last_modified = last_modified - - @property - def metadata(self): - """ - Gets the metadata of this V1PolicyBinding. - Standard object's metadata. - - :return: The metadata of this V1PolicyBinding. - :rtype: V1ObjectMeta - """ - return self._metadata - - @metadata.setter - def metadata(self, metadata): - """ - Sets the metadata of this V1PolicyBinding. - Standard object's metadata. - - :param metadata: The metadata of this V1PolicyBinding. - :type: V1ObjectMeta - """ - - self._metadata = metadata - - @property - def policy_ref(self): - """ - Gets the policy_ref of this V1PolicyBinding. - PolicyRef is a reference to the Policy that contains all the Roles that this PolicyBinding's RoleBindings may reference - - :return: The policy_ref of this V1PolicyBinding. - :rtype: V1ObjectReference - """ - return self._policy_ref - - @policy_ref.setter - def policy_ref(self, policy_ref): - """ - Sets the policy_ref of this V1PolicyBinding. - PolicyRef is a reference to the Policy that contains all the Roles that this PolicyBinding's RoleBindings may reference - - :param policy_ref: The policy_ref of this V1PolicyBinding. - :type: V1ObjectReference - """ - if policy_ref is None: - raise ValueError("Invalid value for `policy_ref`, must not be `None`") - - self._policy_ref = policy_ref - - @property - def role_bindings(self): - """ - Gets the role_bindings of this V1PolicyBinding. - RoleBindings holds all the RoleBindings held by this PolicyBinding, mapped by RoleBinding.Name - - :return: The role_bindings of this V1PolicyBinding. - :rtype: list[V1NamedRoleBinding] - """ - return self._role_bindings - - @role_bindings.setter - def role_bindings(self, role_bindings): - """ - Sets the role_bindings of this V1PolicyBinding. - RoleBindings holds all the RoleBindings held by this PolicyBinding, mapped by RoleBinding.Name - - :param role_bindings: The role_bindings of this V1PolicyBinding. - :type: list[V1NamedRoleBinding] - """ - if role_bindings is None: - raise ValueError("Invalid value for `role_bindings`, must not be `None`") - - self._role_bindings = role_bindings - - 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 - """ - if not isinstance(other, V1PolicyBinding): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """ - Returns true if both objects are not equal - """ - return not self == other diff --git a/openshift/client/models/v1_policy_binding_list.py b/openshift/client/models/v1_policy_binding_list.py deleted file mode 100644 index 2002db38..00000000 --- a/openshift/client/models/v1_policy_binding_list.py +++ /dev/null @@ -1,197 +0,0 @@ -# coding: utf-8 - -""" - OpenShift API (with Kubernetes) - - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - - OpenAPI spec version: v3.6.0-alpha.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from pprint import pformat -from six import iteritems -import re - - -class V1PolicyBindingList(object): - """ - NOTE: This class is auto generated by the swagger code generator program. - Do not edit the class manually. - """ - def __init__(self, api_version=None, items=None, kind=None, metadata=None): - """ - V1PolicyBindingList - 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 = { - 'api_version': 'str', - 'items': 'list[V1PolicyBinding]', - '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 V1PolicyBindingList. - APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized 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 V1PolicyBindingList. - :rtype: str - """ - return self._api_version - - @api_version.setter - def api_version(self, api_version): - """ - Sets the api_version of this V1PolicyBindingList. - APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized 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 V1PolicyBindingList. - :type: str - """ - - self._api_version = api_version - - @property - def items(self): - """ - Gets the items of this V1PolicyBindingList. - Items is a list of PolicyBindings - - :return: The items of this V1PolicyBindingList. - :rtype: list[V1PolicyBinding] - """ - return self._items - - @items.setter - def items(self, items): - """ - Sets the items of this V1PolicyBindingList. - Items is a list of PolicyBindings - - :param items: The items of this V1PolicyBindingList. - :type: list[V1PolicyBinding] - """ - if items is None: - raise ValueError("Invalid value for `items`, must not be `None`") - - self._items = items - - @property - def kind(self): - """ - Gets the kind of this V1PolicyBindingList. - Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint 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 V1PolicyBindingList. - :rtype: str - """ - return self._kind - - @kind.setter - def kind(self, kind): - """ - Sets the kind of this V1PolicyBindingList. - Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint 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 V1PolicyBindingList. - :type: str - """ - - self._kind = kind - - @property - def metadata(self): - """ - Gets the metadata of this V1PolicyBindingList. - Standard object's metadata. - - :return: The metadata of this V1PolicyBindingList. - :rtype: UnversionedListMeta - """ - return self._metadata - - @metadata.setter - def metadata(self, metadata): - """ - Sets the metadata of this V1PolicyBindingList. - Standard object's metadata. - - :param metadata: The metadata of this V1PolicyBindingList. - :type: UnversionedListMeta - """ - - self._metadata = metadata - - 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 - """ - if not isinstance(other, V1PolicyBindingList): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """ - Returns true if both objects are not equal - """ - return not self == other diff --git a/openshift/client/models/v1_policy_list.py b/openshift/client/models/v1_policy_list.py deleted file mode 100644 index f8b2487a..00000000 --- a/openshift/client/models/v1_policy_list.py +++ /dev/null @@ -1,197 +0,0 @@ -# coding: utf-8 - -""" - OpenShift API (with Kubernetes) - - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - - OpenAPI spec version: v3.6.0-alpha.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from pprint import pformat -from six import iteritems -import re - - -class V1PolicyList(object): - """ - NOTE: This class is auto generated by the swagger code generator program. - Do not edit the class manually. - """ - def __init__(self, api_version=None, items=None, kind=None, metadata=None): - """ - V1PolicyList - 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 = { - 'api_version': 'str', - 'items': 'list[V1Policy]', - '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 V1PolicyList. - APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized 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 V1PolicyList. - :rtype: str - """ - return self._api_version - - @api_version.setter - def api_version(self, api_version): - """ - Sets the api_version of this V1PolicyList. - APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized 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 V1PolicyList. - :type: str - """ - - self._api_version = api_version - - @property - def items(self): - """ - Gets the items of this V1PolicyList. - Items is a list of Policies - - :return: The items of this V1PolicyList. - :rtype: list[V1Policy] - """ - return self._items - - @items.setter - def items(self, items): - """ - Sets the items of this V1PolicyList. - Items is a list of Policies - - :param items: The items of this V1PolicyList. - :type: list[V1Policy] - """ - if items is None: - raise ValueError("Invalid value for `items`, must not be `None`") - - self._items = items - - @property - def kind(self): - """ - Gets the kind of this V1PolicyList. - Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint 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 V1PolicyList. - :rtype: str - """ - return self._kind - - @kind.setter - def kind(self, kind): - """ - Sets the kind of this V1PolicyList. - Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint 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 V1PolicyList. - :type: str - """ - - self._kind = kind - - @property - def metadata(self): - """ - Gets the metadata of this V1PolicyList. - Standard object's metadata. - - :return: The metadata of this V1PolicyList. - :rtype: UnversionedListMeta - """ - return self._metadata - - @metadata.setter - def metadata(self, metadata): - """ - Sets the metadata of this V1PolicyList. - Standard object's metadata. - - :param metadata: The metadata of this V1PolicyList. - :type: UnversionedListMeta - """ - - self._metadata = metadata - - 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 - """ - if not isinstance(other, V1PolicyList): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """ - Returns true if both objects are not equal - """ - return not self == other diff --git a/openshift/client/models/v1_policy_rule.py b/openshift/client/models/v1_policy_rule.py index 459ed420..3db4907f 100644 --- a/openshift/client/models/v1_policy_rule.py +++ b/openshift/client/models/v1_policy_rule.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openshift/client/models/v1_project.py b/openshift/client/models/v1_project.py index c90a06cd..7f04e2dd 100644 --- a/openshift/client/models/v1_project.py +++ b/openshift/client/models/v1_project.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -56,7 +56,7 @@ def __init__(self, api_version=None, kind=None, metadata=None, spec=None, status def api_version(self): """ Gets the api_version of this V1Project. - APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources :return: The api_version of this V1Project. :rtype: str @@ -67,7 +67,7 @@ def api_version(self): def api_version(self, api_version): """ Sets the api_version of this V1Project. - APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources :param api_version: The api_version of this V1Project. :type: str @@ -79,7 +79,7 @@ def api_version(self, api_version): def kind(self): """ Gets the kind of this V1Project. - Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds :return: The kind of this V1Project. :rtype: str @@ -90,7 +90,7 @@ def kind(self): def kind(self, kind): """ Sets the kind of this V1Project. - Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds :param kind: The kind of this V1Project. :type: str diff --git a/openshift/client/models/v1_project_list.py b/openshift/client/models/v1_project_list.py index db90b361..b523a288 100644 --- a/openshift/client/models/v1_project_list.py +++ b/openshift/client/models/v1_project_list.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -34,7 +34,7 @@ def __init__(self, api_version=None, items=None, kind=None, metadata=None): 'api_version': 'str', 'items': 'list[V1Project]', 'kind': 'str', - 'metadata': 'UnversionedListMeta' + 'metadata': 'V1ListMeta' } self.attribute_map = { @@ -53,7 +53,7 @@ def __init__(self, api_version=None, items=None, kind=None, metadata=None): def api_version(self): """ Gets the api_version of this V1ProjectList. - APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources :return: The api_version of this V1ProjectList. :rtype: str @@ -64,7 +64,7 @@ def api_version(self): def api_version(self, api_version): """ Sets the api_version of this V1ProjectList. - APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources :param api_version: The api_version of this V1ProjectList. :type: str @@ -101,7 +101,7 @@ def items(self, items): def kind(self): """ Gets the kind of this V1ProjectList. - Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds :return: The kind of this V1ProjectList. :rtype: str @@ -112,7 +112,7 @@ def kind(self): def kind(self, kind): """ Sets the kind of this V1ProjectList. - Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds :param kind: The kind of this V1ProjectList. :type: str @@ -127,7 +127,7 @@ def metadata(self): Standard object's metadata. :return: The metadata of this V1ProjectList. - :rtype: UnversionedListMeta + :rtype: V1ListMeta """ return self._metadata @@ -138,7 +138,7 @@ def metadata(self, metadata): Standard object's metadata. :param metadata: The metadata of this V1ProjectList. - :type: UnversionedListMeta + :type: V1ListMeta """ self._metadata = metadata diff --git a/openshift/client/models/v1_project_request.py b/openshift/client/models/v1_project_request.py index 19c6328d..e1ba0030 100644 --- a/openshift/client/models/v1_project_request.py +++ b/openshift/client/models/v1_project_request.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -56,7 +56,7 @@ def __init__(self, api_version=None, description=None, display_name=None, kind=N def api_version(self): """ Gets the api_version of this V1ProjectRequest. - APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources :return: The api_version of this V1ProjectRequest. :rtype: str @@ -67,7 +67,7 @@ def api_version(self): def api_version(self, api_version): """ Sets the api_version of this V1ProjectRequest. - APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources :param api_version: The api_version of this V1ProjectRequest. :type: str @@ -125,7 +125,7 @@ def display_name(self, display_name): def kind(self): """ Gets the kind of this V1ProjectRequest. - Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds :return: The kind of this V1ProjectRequest. :rtype: str @@ -136,7 +136,7 @@ def kind(self): def kind(self, kind): """ Sets the kind of this V1ProjectRequest. - Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds :param kind: The kind of this V1ProjectRequest. :type: str diff --git a/openshift/client/models/v1_project_spec.py b/openshift/client/models/v1_project_spec.py index 358e5689..872c55fc 100644 --- a/openshift/client/models/v1_project_spec.py +++ b/openshift/client/models/v1_project_spec.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openshift/client/models/v1_project_status.py b/openshift/client/models/v1_project_status.py index fbe7f434..d0c2bdcd 100644 --- a/openshift/client/models/v1_project_status.py +++ b/openshift/client/models/v1_project_status.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openshift/client/models/v1_recreate_deployment_strategy_params.py b/openshift/client/models/v1_recreate_deployment_strategy_params.py index 60b59dda..b60c4462 100644 --- a/openshift/client/models/v1_recreate_deployment_strategy_params.py +++ b/openshift/client/models/v1_recreate_deployment_strategy_params.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openshift/client/models/v1_repository_import_spec.py b/openshift/client/models/v1_repository_import_spec.py index 52b0eb68..29a9749d 100644 --- a/openshift/client/models/v1_repository_import_spec.py +++ b/openshift/client/models/v1_repository_import_spec.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openshift/client/models/v1_repository_import_status.py b/openshift/client/models/v1_repository_import_status.py index d1e26857..cc35817b 100644 --- a/openshift/client/models/v1_repository_import_status.py +++ b/openshift/client/models/v1_repository_import_status.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -33,7 +33,7 @@ def __init__(self, additional_tags=None, images=None, status=None): self.swagger_types = { 'additional_tags': 'list[str]', 'images': 'list[V1ImageImportStatus]', - 'status': 'UnversionedStatus' + 'status': 'V1Status' } self.attribute_map = { @@ -99,7 +99,7 @@ def status(self): Status reflects whether any failure occurred during import :return: The status of this V1RepositoryImportStatus. - :rtype: UnversionedStatus + :rtype: V1Status """ return self._status @@ -110,7 +110,7 @@ def status(self, status): Status reflects whether any failure occurred during import :param status: The status of this V1RepositoryImportStatus. - :type: UnversionedStatus + :type: V1Status """ self._status = status diff --git a/openshift/client/models/v1_resource_access_review.py b/openshift/client/models/v1_resource_access_review.py index a328bfed..7db473bd 100644 --- a/openshift/client/models/v1_resource_access_review.py +++ b/openshift/client/models/v1_resource_access_review.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -74,7 +74,7 @@ def __init__(self, api_version=None, content=None, is_non_resource_url=None, kin def api_version(self): """ Gets the api_version of this V1ResourceAccessReview. - APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources :return: The api_version of this V1ResourceAccessReview. :rtype: str @@ -85,7 +85,7 @@ def api_version(self): def api_version(self, api_version): """ Sets the api_version of this V1ResourceAccessReview. - APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources :param api_version: The api_version of this V1ResourceAccessReview. :type: str @@ -145,7 +145,7 @@ def is_non_resource_url(self, is_non_resource_url): def kind(self): """ Gets the kind of this V1ResourceAccessReview. - Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds :return: The kind of this V1ResourceAccessReview. :rtype: str @@ -156,7 +156,7 @@ def kind(self): def kind(self, kind): """ Sets the kind of this V1ResourceAccessReview. - Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds :param kind: The kind of this V1ResourceAccessReview. :type: str diff --git a/openshift/client/models/v1_resource_quota_status_by_namespace.py b/openshift/client/models/v1_resource_quota_status_by_namespace.py index 11f14e10..2eb9f62b 100644 --- a/openshift/client/models/v1_resource_quota_status_by_namespace.py +++ b/openshift/client/models/v1_resource_quota_status_by_namespace.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openshift/client/models/v1_role.py b/openshift/client/models/v1_role.py index dbebce4c..f5d5342e 100644 --- a/openshift/client/models/v1_role.py +++ b/openshift/client/models/v1_role.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -53,7 +53,7 @@ def __init__(self, api_version=None, kind=None, metadata=None, rules=None): def api_version(self): """ Gets the api_version of this V1Role. - APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources :return: The api_version of this V1Role. :rtype: str @@ -64,7 +64,7 @@ def api_version(self): def api_version(self, api_version): """ Sets the api_version of this V1Role. - APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources :param api_version: The api_version of this V1Role. :type: str @@ -76,7 +76,7 @@ def api_version(self, api_version): def kind(self): """ Gets the kind of this V1Role. - Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds :return: The kind of this V1Role. :rtype: str @@ -87,7 +87,7 @@ def kind(self): def kind(self, kind): """ Sets the kind of this V1Role. - Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds :param kind: The kind of this V1Role. :type: str diff --git a/openshift/client/models/v1_role_binding.py b/openshift/client/models/v1_role_binding.py index 61afcfb4..ed6c145c 100644 --- a/openshift/client/models/v1_role_binding.py +++ b/openshift/client/models/v1_role_binding.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -62,7 +62,7 @@ def __init__(self, api_version=None, group_names=None, kind=None, metadata=None, def api_version(self): """ Gets the api_version of this V1RoleBinding. - APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources :return: The api_version of this V1RoleBinding. :rtype: str @@ -73,7 +73,7 @@ def api_version(self): def api_version(self, api_version): """ Sets the api_version of this V1RoleBinding. - APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources :param api_version: The api_version of this V1RoleBinding. :type: str @@ -110,7 +110,7 @@ def group_names(self, group_names): def kind(self): """ Gets the kind of this V1RoleBinding. - Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds :return: The kind of this V1RoleBinding. :rtype: str @@ -121,7 +121,7 @@ def kind(self): def kind(self, kind): """ Sets the kind of this V1RoleBinding. - Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds :param kind: The kind of this V1RoleBinding. :type: str diff --git a/openshift/client/models/v1_role_binding_list.py b/openshift/client/models/v1_role_binding_list.py index beab4a57..fd482b4c 100644 --- a/openshift/client/models/v1_role_binding_list.py +++ b/openshift/client/models/v1_role_binding_list.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -34,7 +34,7 @@ def __init__(self, api_version=None, items=None, kind=None, metadata=None): 'api_version': 'str', 'items': 'list[V1RoleBinding]', 'kind': 'str', - 'metadata': 'UnversionedListMeta' + 'metadata': 'V1ListMeta' } self.attribute_map = { @@ -53,7 +53,7 @@ def __init__(self, api_version=None, items=None, kind=None, metadata=None): def api_version(self): """ Gets the api_version of this V1RoleBindingList. - APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources :return: The api_version of this V1RoleBindingList. :rtype: str @@ -64,7 +64,7 @@ def api_version(self): def api_version(self, api_version): """ Sets the api_version of this V1RoleBindingList. - APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources :param api_version: The api_version of this V1RoleBindingList. :type: str @@ -101,7 +101,7 @@ def items(self, items): def kind(self): """ Gets the kind of this V1RoleBindingList. - Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds :return: The kind of this V1RoleBindingList. :rtype: str @@ -112,7 +112,7 @@ def kind(self): def kind(self, kind): """ Sets the kind of this V1RoleBindingList. - Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds :param kind: The kind of this V1RoleBindingList. :type: str @@ -127,7 +127,7 @@ def metadata(self): Standard object's metadata. :return: The metadata of this V1RoleBindingList. - :rtype: UnversionedListMeta + :rtype: V1ListMeta """ return self._metadata @@ -138,7 +138,7 @@ def metadata(self, metadata): Standard object's metadata. :param metadata: The metadata of this V1RoleBindingList. - :type: UnversionedListMeta + :type: V1ListMeta """ self._metadata = metadata diff --git a/openshift/client/models/v1_role_binding_restriction.py b/openshift/client/models/v1_role_binding_restriction.py index a4b728a3..1a8c89d7 100644 --- a/openshift/client/models/v1_role_binding_restriction.py +++ b/openshift/client/models/v1_role_binding_restriction.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -53,7 +53,7 @@ def __init__(self, api_version=None, kind=None, metadata=None, spec=None): def api_version(self): """ Gets the api_version of this V1RoleBindingRestriction. - APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources :return: The api_version of this V1RoleBindingRestriction. :rtype: str @@ -64,7 +64,7 @@ def api_version(self): def api_version(self, api_version): """ Sets the api_version of this V1RoleBindingRestriction. - APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources :param api_version: The api_version of this V1RoleBindingRestriction. :type: str @@ -76,7 +76,7 @@ def api_version(self, api_version): def kind(self): """ Gets the kind of this V1RoleBindingRestriction. - Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds :return: The kind of this V1RoleBindingRestriction. :rtype: str @@ -87,7 +87,7 @@ def kind(self): def kind(self, kind): """ Sets the kind of this V1RoleBindingRestriction. - Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds :param kind: The kind of this V1RoleBindingRestriction. :type: str diff --git a/openshift/client/models/v1_role_binding_restriction_list.py b/openshift/client/models/v1_role_binding_restriction_list.py index 84758082..e5d00c60 100644 --- a/openshift/client/models/v1_role_binding_restriction_list.py +++ b/openshift/client/models/v1_role_binding_restriction_list.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -34,7 +34,7 @@ def __init__(self, api_version=None, items=None, kind=None, metadata=None): 'api_version': 'str', 'items': 'list[V1RoleBindingRestriction]', 'kind': 'str', - 'metadata': 'UnversionedListMeta' + 'metadata': 'V1ListMeta' } self.attribute_map = { @@ -53,7 +53,7 @@ def __init__(self, api_version=None, items=None, kind=None, metadata=None): def api_version(self): """ Gets the api_version of this V1RoleBindingRestrictionList. - APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources :return: The api_version of this V1RoleBindingRestrictionList. :rtype: str @@ -64,7 +64,7 @@ def api_version(self): def api_version(self, api_version): """ Sets the api_version of this V1RoleBindingRestrictionList. - APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources :param api_version: The api_version of this V1RoleBindingRestrictionList. :type: str @@ -101,7 +101,7 @@ def items(self, items): def kind(self): """ Gets the kind of this V1RoleBindingRestrictionList. - Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds :return: The kind of this V1RoleBindingRestrictionList. :rtype: str @@ -112,7 +112,7 @@ def kind(self): def kind(self, kind): """ Sets the kind of this V1RoleBindingRestrictionList. - Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds :param kind: The kind of this V1RoleBindingRestrictionList. :type: str @@ -127,7 +127,7 @@ def metadata(self): Standard object's metadata. :return: The metadata of this V1RoleBindingRestrictionList. - :rtype: UnversionedListMeta + :rtype: V1ListMeta """ return self._metadata @@ -138,7 +138,7 @@ def metadata(self, metadata): Standard object's metadata. :param metadata: The metadata of this V1RoleBindingRestrictionList. - :type: UnversionedListMeta + :type: V1ListMeta """ self._metadata = metadata diff --git a/openshift/client/models/v1_role_binding_restriction_spec.py b/openshift/client/models/v1_role_binding_restriction_spec.py index 6a475048..b1cce9e8 100644 --- a/openshift/client/models/v1_role_binding_restriction_spec.py +++ b/openshift/client/models/v1_role_binding_restriction_spec.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openshift/client/models/v1_role_list.py b/openshift/client/models/v1_role_list.py index a658c2a2..7ea98930 100644 --- a/openshift/client/models/v1_role_list.py +++ b/openshift/client/models/v1_role_list.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -34,7 +34,7 @@ def __init__(self, api_version=None, items=None, kind=None, metadata=None): 'api_version': 'str', 'items': 'list[V1Role]', 'kind': 'str', - 'metadata': 'UnversionedListMeta' + 'metadata': 'V1ListMeta' } self.attribute_map = { @@ -53,7 +53,7 @@ def __init__(self, api_version=None, items=None, kind=None, metadata=None): def api_version(self): """ Gets the api_version of this V1RoleList. - APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources :return: The api_version of this V1RoleList. :rtype: str @@ -64,7 +64,7 @@ def api_version(self): def api_version(self, api_version): """ Sets the api_version of this V1RoleList. - APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources :param api_version: The api_version of this V1RoleList. :type: str @@ -101,7 +101,7 @@ def items(self, items): def kind(self): """ Gets the kind of this V1RoleList. - Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds :return: The kind of this V1RoleList. :rtype: str @@ -112,7 +112,7 @@ def kind(self): def kind(self, kind): """ Sets the kind of this V1RoleList. - Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds :param kind: The kind of this V1RoleList. :type: str @@ -127,7 +127,7 @@ def metadata(self): Standard object's metadata. :return: The metadata of this V1RoleList. - :rtype: UnversionedListMeta + :rtype: V1ListMeta """ return self._metadata @@ -138,7 +138,7 @@ def metadata(self, metadata): Standard object's metadata. :param metadata: The metadata of this V1RoleList. - :type: UnversionedListMeta + :type: V1ListMeta """ self._metadata = metadata diff --git a/openshift/client/models/v1_rolling_deployment_strategy_params.py b/openshift/client/models/v1_rolling_deployment_strategy_params.py index a3684c50..28a95b38 100644 --- a/openshift/client/models/v1_rolling_deployment_strategy_params.py +++ b/openshift/client/models/v1_rolling_deployment_strategy_params.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -32,8 +32,8 @@ def __init__(self, interval_seconds=None, max_surge=None, max_unavailable=None, """ self.swagger_types = { 'interval_seconds': 'int', - 'max_surge': 'IntstrIntOrString', - 'max_unavailable': 'IntstrIntOrString', + 'max_surge': 'str', + 'max_unavailable': 'str', 'post': 'V1LifecycleHook', 'pre': 'V1LifecycleHook', 'timeout_seconds': 'int', @@ -88,7 +88,7 @@ def max_surge(self): MaxSurge is the maximum number of pods that can be scheduled above the original number of pods. Value can be an absolute number (ex: 5) or a percentage of total pods at the start of the update (ex: 10%). Absolute number is calculated from percentage by rounding up. This cannot be 0 if MaxUnavailable is 0. By default, 25% is used. Example: when this is set to 30%, the new RC can be scaled up by 30% immediately when the rolling update starts. Once old pods have been killed, new RC can be scaled up further, ensuring that total number of pods running at any time during the update is atmost 130% of original pods. :return: The max_surge of this V1RollingDeploymentStrategyParams. - :rtype: IntstrIntOrString + :rtype: str """ return self._max_surge @@ -99,7 +99,7 @@ def max_surge(self, max_surge): MaxSurge is the maximum number of pods that can be scheduled above the original number of pods. Value can be an absolute number (ex: 5) or a percentage of total pods at the start of the update (ex: 10%). Absolute number is calculated from percentage by rounding up. This cannot be 0 if MaxUnavailable is 0. By default, 25% is used. Example: when this is set to 30%, the new RC can be scaled up by 30% immediately when the rolling update starts. Once old pods have been killed, new RC can be scaled up further, ensuring that total number of pods running at any time during the update is atmost 130% of original pods. :param max_surge: The max_surge of this V1RollingDeploymentStrategyParams. - :type: IntstrIntOrString + :type: str """ self._max_surge = max_surge @@ -111,7 +111,7 @@ def max_unavailable(self): MaxUnavailable is the maximum number of pods that can be unavailable during the update. Value can be an absolute number (ex: 5) or a percentage of total pods at the start of update (ex: 10%). Absolute number is calculated from percentage by rounding down. This cannot be 0 if MaxSurge is 0. By default, 25% is used. Example: when this is set to 30%, the old RC can be scaled down by 30% immediately when the rolling update starts. Once new pods are ready, old RC can be scaled down further, followed by scaling up the new RC, ensuring that at least 70% of original number of pods are available at all times during the update. :return: The max_unavailable of this V1RollingDeploymentStrategyParams. - :rtype: IntstrIntOrString + :rtype: str """ return self._max_unavailable @@ -122,7 +122,7 @@ def max_unavailable(self, max_unavailable): MaxUnavailable is the maximum number of pods that can be unavailable during the update. Value can be an absolute number (ex: 5) or a percentage of total pods at the start of update (ex: 10%). Absolute number is calculated from percentage by rounding down. This cannot be 0 if MaxSurge is 0. By default, 25% is used. Example: when this is set to 30%, the old RC can be scaled down by 30% immediately when the rolling update starts. Once new pods are ready, old RC can be scaled down further, followed by scaling up the new RC, ensuring that at least 70% of original number of pods are available at all times during the update. :param max_unavailable: The max_unavailable of this V1RollingDeploymentStrategyParams. - :type: IntstrIntOrString + :type: str """ self._max_unavailable = max_unavailable diff --git a/openshift/client/models/v1_route.py b/openshift/client/models/v1_route.py index 72bc981a..e6c57c63 100644 --- a/openshift/client/models/v1_route.py +++ b/openshift/client/models/v1_route.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -56,7 +56,7 @@ def __init__(self, api_version=None, kind=None, metadata=None, spec=None, status def api_version(self): """ Gets the api_version of this V1Route. - APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources :return: The api_version of this V1Route. :rtype: str @@ -67,7 +67,7 @@ def api_version(self): def api_version(self, api_version): """ Sets the api_version of this V1Route. - APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources :param api_version: The api_version of this V1Route. :type: str @@ -79,7 +79,7 @@ def api_version(self, api_version): def kind(self): """ Gets the kind of this V1Route. - Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds :return: The kind of this V1Route. :rtype: str @@ -90,7 +90,7 @@ def kind(self): def kind(self, kind): """ Sets the kind of this V1Route. - Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds :param kind: The kind of this V1Route. :type: str diff --git a/openshift/client/models/v1_route_ingress.py b/openshift/client/models/v1_route_ingress.py index 758a5ad7..2ac7cc95 100644 --- a/openshift/client/models/v1_route_ingress.py +++ b/openshift/client/models/v1_route_ingress.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openshift/client/models/v1_route_ingress_condition.py b/openshift/client/models/v1_route_ingress_condition.py index c51826c6..75b4bcf6 100644 --- a/openshift/client/models/v1_route_ingress_condition.py +++ b/openshift/client/models/v1_route_ingress_condition.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -31,7 +31,7 @@ def __init__(self, last_transition_time=None, message=None, reason=None, status= and the value is json key in definition. """ self.swagger_types = { - 'last_transition_time': 'UnversionedTime', + 'last_transition_time': 'datetime', 'message': 'str', 'reason': 'str', 'status': 'str', @@ -59,7 +59,7 @@ def last_transition_time(self): RFC 3339 date and time when this condition last transitioned :return: The last_transition_time of this V1RouteIngressCondition. - :rtype: UnversionedTime + :rtype: datetime """ return self._last_transition_time @@ -70,7 +70,7 @@ def last_transition_time(self, last_transition_time): RFC 3339 date and time when this condition last transitioned :param last_transition_time: The last_transition_time of this V1RouteIngressCondition. - :type: UnversionedTime + :type: datetime """ self._last_transition_time = last_transition_time diff --git a/openshift/client/models/v1_route_list.py b/openshift/client/models/v1_route_list.py index c39bcd9d..352013f7 100644 --- a/openshift/client/models/v1_route_list.py +++ b/openshift/client/models/v1_route_list.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -34,7 +34,7 @@ def __init__(self, api_version=None, items=None, kind=None, metadata=None): 'api_version': 'str', 'items': 'list[V1Route]', 'kind': 'str', - 'metadata': 'UnversionedListMeta' + 'metadata': 'V1ListMeta' } self.attribute_map = { @@ -53,7 +53,7 @@ def __init__(self, api_version=None, items=None, kind=None, metadata=None): def api_version(self): """ Gets the api_version of this V1RouteList. - APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources :return: The api_version of this V1RouteList. :rtype: str @@ -64,7 +64,7 @@ def api_version(self): def api_version(self, api_version): """ Sets the api_version of this V1RouteList. - APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources :param api_version: The api_version of this V1RouteList. :type: str @@ -101,7 +101,7 @@ def items(self, items): def kind(self): """ Gets the kind of this V1RouteList. - Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds :return: The kind of this V1RouteList. :rtype: str @@ -112,7 +112,7 @@ def kind(self): def kind(self, kind): """ Sets the kind of this V1RouteList. - Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds :param kind: The kind of this V1RouteList. :type: str @@ -127,7 +127,7 @@ def metadata(self): Standard object metadata. :return: The metadata of this V1RouteList. - :rtype: UnversionedListMeta + :rtype: V1ListMeta """ return self._metadata @@ -138,7 +138,7 @@ def metadata(self, metadata): Standard object metadata. :param metadata: The metadata of this V1RouteList. - :type: UnversionedListMeta + :type: V1ListMeta """ self._metadata = metadata diff --git a/openshift/client/models/v1_route_port.py b/openshift/client/models/v1_route_port.py index a51e6967..c78c4ae1 100644 --- a/openshift/client/models/v1_route_port.py +++ b/openshift/client/models/v1_route_port.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -31,7 +31,7 @@ def __init__(self, target_port=None): and the value is json key in definition. """ self.swagger_types = { - 'target_port': 'IntstrIntOrString' + 'target_port': 'str' } self.attribute_map = { @@ -47,7 +47,7 @@ def target_port(self): The target port on pods selected by the service this route points to. If this is a string, it will be looked up as a named port in the target endpoints port list. Required :return: The target_port of this V1RoutePort. - :rtype: IntstrIntOrString + :rtype: str """ return self._target_port @@ -58,7 +58,7 @@ def target_port(self, target_port): The target port on pods selected by the service this route points to. If this is a string, it will be looked up as a named port in the target endpoints port list. Required :param target_port: The target_port of this V1RoutePort. - :type: IntstrIntOrString + :type: str """ if target_port is None: raise ValueError("Invalid value for `target_port`, must not be `None`") diff --git a/openshift/client/models/v1_route_spec.py b/openshift/client/models/v1_route_spec.py index 26d66813..c0c24256 100644 --- a/openshift/client/models/v1_route_spec.py +++ b/openshift/client/models/v1_route_spec.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -62,7 +62,7 @@ def __init__(self, alternate_backends=None, host=None, path=None, port=None, tls def alternate_backends(self): """ Gets the alternate_backends of this V1RouteSpec. - alternateBackends is an extension of the 'to' field. If more than one service needs to be pointed to, then use this field. Use the weight field in RouteTargetReference object to specify relative preference. If the weight field is zero, the backend is ignored. + alternateBackends allows up to 3 additional backends to be assigned to the route. Only the Service kind is allowed, and it will be defaulted to Service. Use the weight field in RouteTargetReference object to specify relative preference. :return: The alternate_backends of this V1RouteSpec. :rtype: list[V1RouteTargetReference] @@ -73,7 +73,7 @@ def alternate_backends(self): def alternate_backends(self, alternate_backends): """ Sets the alternate_backends of this V1RouteSpec. - alternateBackends is an extension of the 'to' field. If more than one service needs to be pointed to, then use this field. Use the weight field in RouteTargetReference object to specify relative preference. If the weight field is zero, the backend is ignored. + alternateBackends allows up to 3 additional backends to be assigned to the route. Only the Service kind is allowed, and it will be defaulted to Service. Use the weight field in RouteTargetReference object to specify relative preference. :param alternate_backends: The alternate_backends of this V1RouteSpec. :type: list[V1RouteTargetReference] @@ -179,7 +179,7 @@ def tls(self, tls): def to(self): """ Gets the to of this V1RouteSpec. - to is an object the route should use as the primary backend. Only the Service kind is allowed, and it will be defaulted to Service. If the weight field is set to zero, no traffic will be sent to this service. + to is an object the route should use as the primary backend. Only the Service kind is allowed, and it will be defaulted to Service. If the weight field (0-256 default 1) is set to zero, no traffic will be sent to this backend. :return: The to of this V1RouteSpec. :rtype: V1RouteTargetReference @@ -190,7 +190,7 @@ def to(self): def to(self, to): """ Sets the to of this V1RouteSpec. - to is an object the route should use as the primary backend. Only the Service kind is allowed, and it will be defaulted to Service. If the weight field is set to zero, no traffic will be sent to this service. + to is an object the route should use as the primary backend. Only the Service kind is allowed, and it will be defaulted to Service. If the weight field (0-256 default 1) is set to zero, no traffic will be sent to this backend. :param to: The to of this V1RouteSpec. :type: V1RouteTargetReference diff --git a/openshift/client/models/v1_route_status.py b/openshift/client/models/v1_route_status.py index 3accfa69..d31ac50f 100644 --- a/openshift/client/models/v1_route_status.py +++ b/openshift/client/models/v1_route_status.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openshift/client/models/v1_route_target_reference.py b/openshift/client/models/v1_route_target_reference.py index 51230ddf..480b4cac 100644 --- a/openshift/client/models/v1_route_target_reference.py +++ b/openshift/client/models/v1_route_target_reference.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -100,7 +100,7 @@ def name(self, name): def weight(self): """ Gets the weight of this V1RouteTargetReference. - weight as an integer between 1 and 256 that specifies the target's relative weight against other target reference objects + weight as an integer between 0 and 256, default 1, that specifies the target's relative weight against other target reference objects. 0 suppresses requests to this backend. :return: The weight of this V1RouteTargetReference. :rtype: int @@ -111,7 +111,7 @@ def weight(self): def weight(self, weight): """ Sets the weight of this V1RouteTargetReference. - weight as an integer between 1 and 256 that specifies the target's relative weight against other target reference objects + weight as an integer between 0 and 256, default 1, that specifies the target's relative weight against other target reference objects. 0 suppresses requests to this backend. :param weight: The weight of this V1RouteTargetReference. :type: int diff --git a/openshift/client/models/v1_run_as_user_strategy_options.py b/openshift/client/models/v1_run_as_user_strategy_options.py index e4460cba..4e752729 100644 --- a/openshift/client/models/v1_run_as_user_strategy_options.py +++ b/openshift/client/models/v1_run_as_user_strategy_options.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openshift/client/models/v1_scope_restriction.py b/openshift/client/models/v1_scope_restriction.py index 3c57bfb0..aa5da8a6 100644 --- a/openshift/client/models/v1_scope_restriction.py +++ b/openshift/client/models/v1_scope_restriction.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openshift/client/models/v1_se_linux_context_strategy_options.py b/openshift/client/models/v1_se_linux_context_strategy_options.py index de2b41a1..ae18a849 100644 --- a/openshift/client/models/v1_se_linux_context_strategy_options.py +++ b/openshift/client/models/v1_se_linux_context_strategy_options.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openshift/client/models/v1_secret_build_source.py b/openshift/client/models/v1_secret_build_source.py index 105533e2..2a3895ad 100644 --- a/openshift/client/models/v1_secret_build_source.py +++ b/openshift/client/models/v1_secret_build_source.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openshift/client/models/v1_secret_spec.py b/openshift/client/models/v1_secret_spec.py index 0a50c81f..23ddbd0c 100644 --- a/openshift/client/models/v1_secret_spec.py +++ b/openshift/client/models/v1_secret_spec.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openshift/client/models/v1_security_context_constraints.py b/openshift/client/models/v1_security_context_constraints.py index 7c16305a..3be2e52b 100644 --- a/openshift/client/models/v1_security_context_constraints.py +++ b/openshift/client/models/v1_security_context_constraints.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -21,7 +21,7 @@ class V1SecurityContextConstraints(object): NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. """ - def __init__(self, allow_host_dir_volume_plugin=None, allow_host_ipc=None, allow_host_network=None, allow_host_pid=None, allow_host_ports=None, allow_privileged_container=None, allowed_capabilities=None, api_version=None, default_add_capabilities=None, fs_group=None, groups=None, kind=None, metadata=None, priority=None, read_only_root_filesystem=None, required_drop_capabilities=None, run_as_user=None, se_linux_context=None, seccomp_profiles=None, supplemental_groups=None, users=None, volumes=None): + def __init__(self, allow_host_dir_volume_plugin=None, allow_host_ipc=None, allow_host_network=None, allow_host_pid=None, allow_host_ports=None, allow_privileged_container=None, allowed_capabilities=None, allowed_flex_volumes=None, api_version=None, default_add_capabilities=None, fs_group=None, groups=None, kind=None, metadata=None, priority=None, read_only_root_filesystem=None, required_drop_capabilities=None, run_as_user=None, se_linux_context=None, seccomp_profiles=None, supplemental_groups=None, users=None, volumes=None): """ V1SecurityContextConstraints - a model defined in Swagger @@ -38,6 +38,7 @@ def __init__(self, allow_host_dir_volume_plugin=None, allow_host_ipc=None, allow 'allow_host_ports': 'bool', 'allow_privileged_container': 'bool', 'allowed_capabilities': 'list[str]', + 'allowed_flex_volumes': 'list[V1AllowedFlexVolume]', 'api_version': 'str', 'default_add_capabilities': 'list[str]', 'fs_group': 'V1FSGroupStrategyOptions', @@ -63,6 +64,7 @@ def __init__(self, allow_host_dir_volume_plugin=None, allow_host_ipc=None, allow 'allow_host_ports': 'allowHostPorts', 'allow_privileged_container': 'allowPrivilegedContainer', 'allowed_capabilities': 'allowedCapabilities', + 'allowed_flex_volumes': 'allowedFlexVolumes', 'api_version': 'apiVersion', 'default_add_capabilities': 'defaultAddCapabilities', 'fs_group': 'fsGroup', @@ -87,6 +89,7 @@ def __init__(self, allow_host_dir_volume_plugin=None, allow_host_ipc=None, allow self._allow_host_ports = allow_host_ports self._allow_privileged_container = allow_privileged_container self._allowed_capabilities = allowed_capabilities + self._allowed_flex_volumes = allowed_flex_volumes self._api_version = api_version self._default_add_capabilities = default_add_capabilities self._fs_group = fs_group @@ -278,11 +281,36 @@ def allowed_capabilities(self, allowed_capabilities): self._allowed_capabilities = allowed_capabilities + @property + def allowed_flex_volumes(self): + """ + Gets the allowed_flex_volumes of this V1SecurityContextConstraints. + AllowedFlexVolumes is a whitelist of allowed Flexvolumes. Empty or nil indicates that all Flexvolumes may be used. This parameter is effective only when the usage of the Flexvolumes is allowed in the \"Volumes\" field. + + :return: The allowed_flex_volumes of this V1SecurityContextConstraints. + :rtype: list[V1AllowedFlexVolume] + """ + return self._allowed_flex_volumes + + @allowed_flex_volumes.setter + def allowed_flex_volumes(self, allowed_flex_volumes): + """ + Sets the allowed_flex_volumes of this V1SecurityContextConstraints. + AllowedFlexVolumes is a whitelist of allowed Flexvolumes. Empty or nil indicates that all Flexvolumes may be used. This parameter is effective only when the usage of the Flexvolumes is allowed in the \"Volumes\" field. + + :param allowed_flex_volumes: The allowed_flex_volumes of this V1SecurityContextConstraints. + :type: list[V1AllowedFlexVolume] + """ + if allowed_flex_volumes is None: + raise ValueError("Invalid value for `allowed_flex_volumes`, must not be `None`") + + self._allowed_flex_volumes = allowed_flex_volumes + @property def api_version(self): """ Gets the api_version of this V1SecurityContextConstraints. - APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources :return: The api_version of this V1SecurityContextConstraints. :rtype: str @@ -293,7 +321,7 @@ def api_version(self): def api_version(self, api_version): """ Sets the api_version of this V1SecurityContextConstraints. - APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources :param api_version: The api_version of this V1SecurityContextConstraints. :type: str @@ -376,7 +404,7 @@ def groups(self, groups): def kind(self): """ Gets the kind of this V1SecurityContextConstraints. - Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds :return: The kind of this V1SecurityContextConstraints. :rtype: str @@ -387,7 +415,7 @@ def kind(self): def kind(self, kind): """ Sets the kind of this V1SecurityContextConstraints. - Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds :param kind: The kind of this V1SecurityContextConstraints. :type: str @@ -422,7 +450,7 @@ def metadata(self, metadata): def priority(self): """ Gets the priority of this V1SecurityContextConstraints. - Priority influences the sort order of SCCs when evaluating which SCCs to try first for a given pod request based on access in the Users and Groups fields. The higher the int, the higher priority. If scores for multiple SCCs are equal they will be sorted by name. + Priority influences the sort order of SCCs when evaluating which SCCs to try first for a given pod request based on access in the Users and Groups fields. The higher the int, the higher priority. An unset value is considered a 0 priority. If scores for multiple SCCs are equal they will be sorted from most restrictive to least restrictive. If both priorities and restrictions are equal the SCCs will be sorted by name. :return: The priority of this V1SecurityContextConstraints. :rtype: int @@ -433,7 +461,7 @@ def priority(self): def priority(self, priority): """ Sets the priority of this V1SecurityContextConstraints. - Priority influences the sort order of SCCs when evaluating which SCCs to try first for a given pod request based on access in the Users and Groups fields. The higher the int, the higher priority. If scores for multiple SCCs are equal they will be sorted by name. + Priority influences the sort order of SCCs when evaluating which SCCs to try first for a given pod request based on access in the Users and Groups fields. The higher the int, the higher priority. An unset value is considered a 0 priority. If scores for multiple SCCs are equal they will be sorted from most restrictive to least restrictive. If both priorities and restrictions are equal the SCCs will be sorted by name. :param priority: The priority of this V1SecurityContextConstraints. :type: int @@ -612,7 +640,7 @@ def users(self, users): def volumes(self): """ Gets the volumes of this V1SecurityContextConstraints. - Volumes is a white list of allowed volume plugins. FSType corresponds directly with the field names of a VolumeSource (azureFile, configMap, emptyDir). To allow all volumes you may use '*'. + Volumes is a white list of allowed volume plugins. FSType corresponds directly with the field names of a VolumeSource (azureFile, configMap, emptyDir). To allow all volumes you may use \"*\". To allow no volumes, set to [\"none\"]. :return: The volumes of this V1SecurityContextConstraints. :rtype: list[str] @@ -623,7 +651,7 @@ def volumes(self): def volumes(self, volumes): """ Sets the volumes of this V1SecurityContextConstraints. - Volumes is a white list of allowed volume plugins. FSType corresponds directly with the field names of a VolumeSource (azureFile, configMap, emptyDir). To allow all volumes you may use '*'. + Volumes is a white list of allowed volume plugins. FSType corresponds directly with the field names of a VolumeSource (azureFile, configMap, emptyDir). To allow all volumes you may use \"*\". To allow no volumes, set to [\"none\"]. :param volumes: The volumes of this V1SecurityContextConstraints. :type: list[str] diff --git a/openshift/client/models/v1_security_context_constraints_list.py b/openshift/client/models/v1_security_context_constraints_list.py index 48fe0e93..d89586bd 100644 --- a/openshift/client/models/v1_security_context_constraints_list.py +++ b/openshift/client/models/v1_security_context_constraints_list.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -34,7 +34,7 @@ def __init__(self, api_version=None, items=None, kind=None, metadata=None): 'api_version': 'str', 'items': 'list[V1SecurityContextConstraints]', 'kind': 'str', - 'metadata': 'UnversionedListMeta' + 'metadata': 'V1ListMeta' } self.attribute_map = { @@ -53,7 +53,7 @@ def __init__(self, api_version=None, items=None, kind=None, metadata=None): def api_version(self): """ Gets the api_version of this V1SecurityContextConstraintsList. - APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources :return: The api_version of this V1SecurityContextConstraintsList. :rtype: str @@ -64,7 +64,7 @@ def api_version(self): def api_version(self, api_version): """ Sets the api_version of this V1SecurityContextConstraintsList. - APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources :param api_version: The api_version of this V1SecurityContextConstraintsList. :type: str @@ -101,7 +101,7 @@ def items(self, items): def kind(self): """ Gets the kind of this V1SecurityContextConstraintsList. - Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds :return: The kind of this V1SecurityContextConstraintsList. :rtype: str @@ -112,7 +112,7 @@ def kind(self): def kind(self, kind): """ Sets the kind of this V1SecurityContextConstraintsList. - Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds :param kind: The kind of this V1SecurityContextConstraintsList. :type: str @@ -127,7 +127,7 @@ def metadata(self): More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata :return: The metadata of this V1SecurityContextConstraintsList. - :rtype: UnversionedListMeta + :rtype: V1ListMeta """ return self._metadata @@ -138,7 +138,7 @@ def metadata(self, metadata): More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata :param metadata: The metadata of this V1SecurityContextConstraintsList. - :type: UnversionedListMeta + :type: V1ListMeta """ self._metadata = metadata diff --git a/openshift/client/models/v1_self_subject_rules_review.py b/openshift/client/models/v1_self_subject_rules_review.py index 47a9410c..a3abf593 100644 --- a/openshift/client/models/v1_self_subject_rules_review.py +++ b/openshift/client/models/v1_self_subject_rules_review.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -53,7 +53,7 @@ def __init__(self, api_version=None, kind=None, spec=None, status=None): def api_version(self): """ Gets the api_version of this V1SelfSubjectRulesReview. - APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources :return: The api_version of this V1SelfSubjectRulesReview. :rtype: str @@ -64,7 +64,7 @@ def api_version(self): def api_version(self, api_version): """ Sets the api_version of this V1SelfSubjectRulesReview. - APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources :param api_version: The api_version of this V1SelfSubjectRulesReview. :type: str @@ -76,7 +76,7 @@ def api_version(self, api_version): def kind(self): """ Gets the kind of this V1SelfSubjectRulesReview. - Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds :return: The kind of this V1SelfSubjectRulesReview. :rtype: str @@ -87,7 +87,7 @@ def kind(self): def kind(self, kind): """ Sets the kind of this V1SelfSubjectRulesReview. - Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds :param kind: The kind of this V1SelfSubjectRulesReview. :type: str diff --git a/openshift/client/models/v1_self_subject_rules_review_spec.py b/openshift/client/models/v1_self_subject_rules_review_spec.py index d9983725..459b3911 100644 --- a/openshift/client/models/v1_self_subject_rules_review_spec.py +++ b/openshift/client/models/v1_self_subject_rules_review_spec.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openshift/client/models/unversioned_server_address_by_client_cidr.py b/openshift/client/models/v1_server_address_by_client_cidr.py similarity index 79% rename from openshift/client/models/unversioned_server_address_by_client_cidr.py rename to openshift/client/models/v1_server_address_by_client_cidr.py index 723220b2..ea32cbf1 100644 --- a/openshift/client/models/unversioned_server_address_by_client_cidr.py +++ b/openshift/client/models/v1_server_address_by_client_cidr.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -16,14 +16,14 @@ import re -class UnversionedServerAddressByClientCIDR(object): +class V1ServerAddressByClientCIDR(object): """ NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. """ def __init__(self, client_cidr=None, server_address=None): """ - UnversionedServerAddressByClientCIDR - a model defined in Swagger + V1ServerAddressByClientCIDR - a model defined in Swagger :param dict swaggerTypes: The key is attribute name and the value is attribute type. @@ -46,10 +46,10 @@ def __init__(self, client_cidr=None, server_address=None): @property def client_cidr(self): """ - Gets the client_cidr of this UnversionedServerAddressByClientCIDR. + Gets the client_cidr of this V1ServerAddressByClientCIDR. The CIDR with which clients can match their IP to figure out the server address that they should use. - :return: The client_cidr of this UnversionedServerAddressByClientCIDR. + :return: The client_cidr of this V1ServerAddressByClientCIDR. :rtype: str """ return self._client_cidr @@ -57,10 +57,10 @@ def client_cidr(self): @client_cidr.setter def client_cidr(self, client_cidr): """ - Sets the client_cidr of this UnversionedServerAddressByClientCIDR. + Sets the client_cidr of this V1ServerAddressByClientCIDR. The CIDR with which clients can match their IP to figure out the server address that they should use. - :param client_cidr: The client_cidr of this UnversionedServerAddressByClientCIDR. + :param client_cidr: The client_cidr of this V1ServerAddressByClientCIDR. :type: str """ if client_cidr is None: @@ -71,10 +71,10 @@ def client_cidr(self, client_cidr): @property def server_address(self): """ - Gets the server_address of this UnversionedServerAddressByClientCIDR. + Gets the server_address of this V1ServerAddressByClientCIDR. Address of this server, suitable for a client that matches the above CIDR. This can be a hostname, hostname:port, IP or IP:port. - :return: The server_address of this UnversionedServerAddressByClientCIDR. + :return: The server_address of this V1ServerAddressByClientCIDR. :rtype: str """ return self._server_address @@ -82,10 +82,10 @@ def server_address(self): @server_address.setter def server_address(self, server_address): """ - Sets the server_address of this UnversionedServerAddressByClientCIDR. + Sets the server_address of this V1ServerAddressByClientCIDR. Address of this server, suitable for a client that matches the above CIDR. This can be a hostname, hostname:port, IP or IP:port. - :param server_address: The server_address of this UnversionedServerAddressByClientCIDR. + :param server_address: The server_address of this V1ServerAddressByClientCIDR. :type: str """ if server_address is None: @@ -135,7 +135,7 @@ def __eq__(self, other): """ Returns true if both objects are equal """ - if not isinstance(other, UnversionedServerAddressByClientCIDR): + if not isinstance(other, V1ServerAddressByClientCIDR): return False return self.__dict__ == other.__dict__ diff --git a/openshift/client/models/v1_service_account_pod_security_policy_review_status.py b/openshift/client/models/v1_service_account_pod_security_policy_review_status.py index 39642a27..3a91408c 100644 --- a/openshift/client/models/v1_service_account_pod_security_policy_review_status.py +++ b/openshift/client/models/v1_service_account_pod_security_policy_review_status.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openshift/client/models/v1_service_account_reference.py b/openshift/client/models/v1_service_account_reference.py index bdcf7213..55126cc2 100644 --- a/openshift/client/models/v1_service_account_reference.py +++ b/openshift/client/models/v1_service_account_reference.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openshift/client/models/v1_service_account_restriction.py b/openshift/client/models/v1_service_account_restriction.py index 05dfaad7..5b8e74d6 100644 --- a/openshift/client/models/v1_service_account_restriction.py +++ b/openshift/client/models/v1_service_account_restriction.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openshift/client/models/v1_signature_condition.py b/openshift/client/models/v1_signature_condition.py index 985c7219..35b2af15 100644 --- a/openshift/client/models/v1_signature_condition.py +++ b/openshift/client/models/v1_signature_condition.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -31,8 +31,8 @@ def __init__(self, last_probe_time=None, last_transition_time=None, message=None and the value is json key in definition. """ self.swagger_types = { - 'last_probe_time': 'UnversionedTime', - 'last_transition_time': 'UnversionedTime', + 'last_probe_time': 'datetime', + 'last_transition_time': 'datetime', 'message': 'str', 'reason': 'str', 'status': 'str', @@ -62,7 +62,7 @@ def last_probe_time(self): Last time the condition was checked. :return: The last_probe_time of this V1SignatureCondition. - :rtype: UnversionedTime + :rtype: datetime """ return self._last_probe_time @@ -73,7 +73,7 @@ def last_probe_time(self, last_probe_time): Last time the condition was checked. :param last_probe_time: The last_probe_time of this V1SignatureCondition. - :type: UnversionedTime + :type: datetime """ self._last_probe_time = last_probe_time @@ -85,7 +85,7 @@ def last_transition_time(self): Last time the condition transit from one status to another. :return: The last_transition_time of this V1SignatureCondition. - :rtype: UnversionedTime + :rtype: datetime """ return self._last_transition_time @@ -96,7 +96,7 @@ def last_transition_time(self, last_transition_time): Last time the condition transit from one status to another. :param last_transition_time: The last_transition_time of this V1SignatureCondition. - :type: UnversionedTime + :type: datetime """ self._last_transition_time = last_transition_time diff --git a/openshift/client/models/v1_signature_issuer.py b/openshift/client/models/v1_signature_issuer.py index 12e12c51..38ccfd93 100644 --- a/openshift/client/models/v1_signature_issuer.py +++ b/openshift/client/models/v1_signature_issuer.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openshift/client/models/v1_signature_subject.py b/openshift/client/models/v1_signature_subject.py index 480106da..3eee465b 100644 --- a/openshift/client/models/v1_signature_subject.py +++ b/openshift/client/models/v1_signature_subject.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openshift/client/models/v1_source_build_strategy.py b/openshift/client/models/v1_source_build_strategy.py index 5eaf2a8e..59461732 100644 --- a/openshift/client/models/v1_source_build_strategy.py +++ b/openshift/client/models/v1_source_build_strategy.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -65,7 +65,7 @@ def __init__(self, env=None, force_pull=None, _from=None, incremental=None, pull def env(self): """ Gets the env of this V1SourceBuildStrategy. - env contains additional environment variables you want to pass into a builder container. ValueFrom is not supported. + env contains additional environment variables you want to pass into a builder container. :return: The env of this V1SourceBuildStrategy. :rtype: list[V1EnvVar] @@ -76,7 +76,7 @@ def env(self): def env(self, env): """ Sets the env of this V1SourceBuildStrategy. - env contains additional environment variables you want to pass into a builder container. ValueFrom is not supported. + env contains additional environment variables you want to pass into a builder container. :param env: The env of this V1SourceBuildStrategy. :type: list[V1EnvVar] diff --git a/openshift/client/models/v1_source_control_user.py b/openshift/client/models/v1_source_control_user.py index 6a1a37a6..1a200ce8 100644 --- a/openshift/client/models/v1_source_control_user.py +++ b/openshift/client/models/v1_source_control_user.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openshift/client/models/v1_source_revision.py b/openshift/client/models/v1_source_revision.py index 1a1ba8b1..29227bb1 100644 --- a/openshift/client/models/v1_source_revision.py +++ b/openshift/client/models/v1_source_revision.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openshift/client/models/v1beta1_id_range.py b/openshift/client/models/v1_source_strategy_options.py similarity index 68% rename from openshift/client/models/v1beta1_id_range.py rename to openshift/client/models/v1_source_strategy_options.py index d10a5cc9..5193d20f 100644 --- a/openshift/client/models/v1beta1_id_range.py +++ b/openshift/client/models/v1_source_strategy_options.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -16,14 +16,14 @@ import re -class V1beta1IDRange(object): +class V1SourceStrategyOptions(object): """ NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. """ - def __init__(self, max=None, min=None): + def __init__(self, incremental=None): """ - V1beta1IDRange - a model defined in Swagger + V1SourceStrategyOptions - a model defined in Swagger :param dict swaggerTypes: The key is attribute name and the value is attribute type. @@ -31,67 +31,37 @@ def __init__(self, max=None, min=None): and the value is json key in definition. """ self.swagger_types = { - 'max': 'int', - 'min': 'int' + 'incremental': 'bool' } self.attribute_map = { - 'max': 'max', - 'min': 'min' + 'incremental': 'incremental' } - self._max = max - self._min = min + self._incremental = incremental @property - def max(self): + def incremental(self): """ - Gets the max of this V1beta1IDRange. - Max is the end of the range, inclusive. + Gets the incremental of this V1SourceStrategyOptions. + incremental overrides the source-strategy incremental option in the build config - :return: The max of this V1beta1IDRange. - :rtype: int + :return: The incremental of this V1SourceStrategyOptions. + :rtype: bool """ - return self._max + return self._incremental - @max.setter - def max(self, max): + @incremental.setter + def incremental(self, incremental): """ - Sets the max of this V1beta1IDRange. - Max is the end of the range, inclusive. + Sets the incremental of this V1SourceStrategyOptions. + incremental overrides the source-strategy incremental option in the build config - :param max: The max of this V1beta1IDRange. - :type: int + :param incremental: The incremental of this V1SourceStrategyOptions. + :type: bool """ - if max is None: - raise ValueError("Invalid value for `max`, must not be `None`") - self._max = max - - @property - def min(self): - """ - Gets the min of this V1beta1IDRange. - Min is the start of the range, inclusive. - - :return: The min of this V1beta1IDRange. - :rtype: int - """ - return self._min - - @min.setter - def min(self, min): - """ - Sets the min of this V1beta1IDRange. - Min is the start of the range, inclusive. - - :param min: The min of this V1beta1IDRange. - :type: int - """ - if min is None: - raise ValueError("Invalid value for `min`, must not be `None`") - - self._min = min + self._incremental = incremental def to_dict(self): """ @@ -135,7 +105,7 @@ def __eq__(self, other): """ Returns true if both objects are equal """ - if not isinstance(other, V1beta1IDRange): + if not isinstance(other, V1SourceStrategyOptions): return False return self.__dict__ == other.__dict__ diff --git a/openshift/client/models/v1_stage_info.py b/openshift/client/models/v1_stage_info.py new file mode 100644 index 00000000..f67850c3 --- /dev/null +++ b/openshift/client/models/v1_stage_info.py @@ -0,0 +1,195 @@ +# coding: utf-8 + +""" + OpenShift API (with Kubernetes) + + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + + OpenAPI spec version: latest + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from pprint import pformat +from six import iteritems +import re + + +class V1StageInfo(object): + """ + NOTE: This class is auto generated by the swagger code generator program. + Do not edit the class manually. + """ + def __init__(self, duration_milliseconds=None, name=None, start_time=None, steps=None): + """ + V1StageInfo - 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 = { + 'duration_milliseconds': 'int', + 'name': 'str', + 'start_time': 'datetime', + 'steps': 'list[V1StepInfo]' + } + + self.attribute_map = { + 'duration_milliseconds': 'durationMilliseconds', + 'name': 'name', + 'start_time': 'startTime', + 'steps': 'steps' + } + + self._duration_milliseconds = duration_milliseconds + self._name = name + self._start_time = start_time + self._steps = steps + + @property + def duration_milliseconds(self): + """ + Gets the duration_milliseconds of this V1StageInfo. + durationMilliseconds identifies how long the stage took to complete in milliseconds. Note: the duration of a stage can exceed the sum of the duration of the steps within the stage as not all actions are accounted for in explicit build steps. + + :return: The duration_milliseconds of this V1StageInfo. + :rtype: int + """ + return self._duration_milliseconds + + @duration_milliseconds.setter + def duration_milliseconds(self, duration_milliseconds): + """ + Sets the duration_milliseconds of this V1StageInfo. + durationMilliseconds identifies how long the stage took to complete in milliseconds. Note: the duration of a stage can exceed the sum of the duration of the steps within the stage as not all actions are accounted for in explicit build steps. + + :param duration_milliseconds: The duration_milliseconds of this V1StageInfo. + :type: int + """ + + self._duration_milliseconds = duration_milliseconds + + @property + def name(self): + """ + Gets the name of this V1StageInfo. + name is a unique identifier for each build stage that occurs. + + :return: The name of this V1StageInfo. + :rtype: str + """ + return self._name + + @name.setter + def name(self, name): + """ + Sets the name of this V1StageInfo. + name is a unique identifier for each build stage that occurs. + + :param name: The name of this V1StageInfo. + :type: str + """ + + self._name = name + + @property + def start_time(self): + """ + Gets the start_time of this V1StageInfo. + startTime is a timestamp representing the server time when this Stage started. It is represented in RFC3339 form and is in UTC. + + :return: The start_time of this V1StageInfo. + :rtype: datetime + """ + return self._start_time + + @start_time.setter + def start_time(self, start_time): + """ + Sets the start_time of this V1StageInfo. + startTime is a timestamp representing the server time when this Stage started. It is represented in RFC3339 form and is in UTC. + + :param start_time: The start_time of this V1StageInfo. + :type: datetime + """ + + self._start_time = start_time + + @property + def steps(self): + """ + Gets the steps of this V1StageInfo. + steps contains details about each step that occurs during a build stage including start time and duration in milliseconds. + + :return: The steps of this V1StageInfo. + :rtype: list[V1StepInfo] + """ + return self._steps + + @steps.setter + def steps(self, steps): + """ + Sets the steps of this V1StageInfo. + steps contains details about each step that occurs during a build stage including start time and duration in milliseconds. + + :param steps: The steps of this V1StageInfo. + :type: list[V1StepInfo] + """ + + self._steps = steps + + 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 + """ + if not isinstance(other, V1StageInfo): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """ + Returns true if both objects are not equal + """ + return not self == other diff --git a/openshift/client/models/v1_named_cluster_role_binding.py b/openshift/client/models/v1_step_info.py similarity index 63% rename from openshift/client/models/v1_named_cluster_role_binding.py rename to openshift/client/models/v1_step_info.py index 229b9b7a..6d34c544 100644 --- a/openshift/client/models/v1_named_cluster_role_binding.py +++ b/openshift/client/models/v1_step_info.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -16,14 +16,14 @@ import re -class V1NamedClusterRoleBinding(object): +class V1StepInfo(object): """ NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. """ - def __init__(self, name=None, role_binding=None): + def __init__(self, duration_milliseconds=None, name=None, start_time=None): """ - V1NamedClusterRoleBinding - a model defined in Swagger + V1StepInfo - a model defined in Swagger :param dict swaggerTypes: The key is attribute name and the value is attribute type. @@ -31,25 +31,51 @@ def __init__(self, name=None, role_binding=None): and the value is json key in definition. """ self.swagger_types = { + 'duration_milliseconds': 'int', 'name': 'str', - 'role_binding': 'V1ClusterRoleBinding' + 'start_time': 'datetime' } self.attribute_map = { + 'duration_milliseconds': 'durationMilliseconds', 'name': 'name', - 'role_binding': 'roleBinding' + 'start_time': 'startTime' } + self._duration_milliseconds = duration_milliseconds self._name = name - self._role_binding = role_binding + self._start_time = start_time + + @property + def duration_milliseconds(self): + """ + Gets the duration_milliseconds of this V1StepInfo. + durationMilliseconds identifies how long the step took to complete in milliseconds. + + :return: The duration_milliseconds of this V1StepInfo. + :rtype: int + """ + return self._duration_milliseconds + + @duration_milliseconds.setter + def duration_milliseconds(self, duration_milliseconds): + """ + Sets the duration_milliseconds of this V1StepInfo. + durationMilliseconds identifies how long the step took to complete in milliseconds. + + :param duration_milliseconds: The duration_milliseconds of this V1StepInfo. + :type: int + """ + + self._duration_milliseconds = duration_milliseconds @property def name(self): """ - Gets the name of this V1NamedClusterRoleBinding. - Name is the name of the cluster role binding + Gets the name of this V1StepInfo. + name is a unique identifier for each build step. - :return: The name of this V1NamedClusterRoleBinding. + :return: The name of this V1StepInfo. :rtype: str """ return self._name @@ -57,41 +83,37 @@ def name(self): @name.setter def name(self, name): """ - Sets the name of this V1NamedClusterRoleBinding. - Name is the name of the cluster role binding + Sets the name of this V1StepInfo. + name is a unique identifier for each build step. - :param name: The name of this V1NamedClusterRoleBinding. + :param name: The name of this V1StepInfo. :type: str """ - if name is None: - raise ValueError("Invalid value for `name`, must not be `None`") self._name = name @property - def role_binding(self): + def start_time(self): """ - Gets the role_binding of this V1NamedClusterRoleBinding. - RoleBinding is the cluster role binding being named + Gets the start_time of this V1StepInfo. + startTime is a timestamp representing the server time when this Step started. it is represented in RFC3339 form and is in UTC. - :return: The role_binding of this V1NamedClusterRoleBinding. - :rtype: V1ClusterRoleBinding + :return: The start_time of this V1StepInfo. + :rtype: datetime """ - return self._role_binding + return self._start_time - @role_binding.setter - def role_binding(self, role_binding): + @start_time.setter + def start_time(self, start_time): """ - Sets the role_binding of this V1NamedClusterRoleBinding. - RoleBinding is the cluster role binding being named + Sets the start_time of this V1StepInfo. + startTime is a timestamp representing the server time when this Step started. it is represented in RFC3339 form and is in UTC. - :param role_binding: The role_binding of this V1NamedClusterRoleBinding. - :type: V1ClusterRoleBinding + :param start_time: The start_time of this V1StepInfo. + :type: datetime """ - if role_binding is None: - raise ValueError("Invalid value for `role_binding`, must not be `None`") - self._role_binding = role_binding + self._start_time = start_time def to_dict(self): """ @@ -135,7 +157,7 @@ def __eq__(self, other): """ Returns true if both objects are equal """ - if not isinstance(other, V1NamedClusterRoleBinding): + if not isinstance(other, V1StepInfo): return False return self.__dict__ == other.__dict__ diff --git a/openshift/client/models/v1_subject_access_review.py b/openshift/client/models/v1_subject_access_review.py deleted file mode 100644 index 13b19018..00000000 --- a/openshift/client/models/v1_subject_access_review.py +++ /dev/null @@ -1,477 +0,0 @@ -# coding: utf-8 - -""" - OpenShift API (with Kubernetes) - - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - - OpenAPI spec version: v3.6.0-alpha.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from pprint import pformat -from six import iteritems -import re - - -class V1SubjectAccessReview(object): - """ - NOTE: This class is auto generated by the swagger code generator program. - Do not edit the class manually. - """ - def __init__(self, api_version=None, content=None, groups=None, is_non_resource_url=None, kind=None, namespace=None, path=None, resource=None, resource_api_group=None, resource_api_version=None, resource_name=None, scopes=None, user=None, verb=None): - """ - V1SubjectAccessReview - 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 = { - 'api_version': 'str', - 'content': 'RuntimeRawExtension', - 'groups': 'list[str]', - 'is_non_resource_url': 'bool', - 'kind': 'str', - 'namespace': 'str', - 'path': 'str', - 'resource': 'str', - 'resource_api_group': 'str', - 'resource_api_version': 'str', - 'resource_name': 'str', - 'scopes': 'list[str]', - 'user': 'str', - 'verb': 'str' - } - - self.attribute_map = { - 'api_version': 'apiVersion', - 'content': 'content', - 'groups': 'groups', - 'is_non_resource_url': 'isNonResourceURL', - 'kind': 'kind', - 'namespace': 'namespace', - 'path': 'path', - 'resource': 'resource', - 'resource_api_group': 'resourceAPIGroup', - 'resource_api_version': 'resourceAPIVersion', - 'resource_name': 'resourceName', - 'scopes': 'scopes', - 'user': 'user', - 'verb': 'verb' - } - - self._api_version = api_version - self._content = content - self._groups = groups - self._is_non_resource_url = is_non_resource_url - self._kind = kind - self._namespace = namespace - self._path = path - self._resource = resource - self._resource_api_group = resource_api_group - self._resource_api_version = resource_api_version - self._resource_name = resource_name - self._scopes = scopes - self._user = user - self._verb = verb - - @property - def api_version(self): - """ - Gets the api_version of this V1SubjectAccessReview. - APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized 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 V1SubjectAccessReview. - :rtype: str - """ - return self._api_version - - @api_version.setter - def api_version(self, api_version): - """ - Sets the api_version of this V1SubjectAccessReview. - APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized 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 V1SubjectAccessReview. - :type: str - """ - - self._api_version = api_version - - @property - def content(self): - """ - Gets the content of this V1SubjectAccessReview. - Content is the actual content of the request for create and update - - :return: The content of this V1SubjectAccessReview. - :rtype: RuntimeRawExtension - """ - return self._content - - @content.setter - def content(self, content): - """ - Sets the content of this V1SubjectAccessReview. - Content is the actual content of the request for create and update - - :param content: The content of this V1SubjectAccessReview. - :type: RuntimeRawExtension - """ - - self._content = content - - @property - def groups(self): - """ - Gets the groups of this V1SubjectAccessReview. - GroupsSlice is optional. Groups is the list of groups to which the User belongs. - - :return: The groups of this V1SubjectAccessReview. - :rtype: list[str] - """ - return self._groups - - @groups.setter - def groups(self, groups): - """ - Sets the groups of this V1SubjectAccessReview. - GroupsSlice is optional. Groups is the list of groups to which the User belongs. - - :param groups: The groups of this V1SubjectAccessReview. - :type: list[str] - """ - if groups is None: - raise ValueError("Invalid value for `groups`, must not be `None`") - - self._groups = groups - - @property - def is_non_resource_url(self): - """ - Gets the is_non_resource_url of this V1SubjectAccessReview. - IsNonResourceURL is true if this is a request for a non-resource URL (outside of the resource hieraarchy) - - :return: The is_non_resource_url of this V1SubjectAccessReview. - :rtype: bool - """ - return self._is_non_resource_url - - @is_non_resource_url.setter - def is_non_resource_url(self, is_non_resource_url): - """ - Sets the is_non_resource_url of this V1SubjectAccessReview. - IsNonResourceURL is true if this is a request for a non-resource URL (outside of the resource hieraarchy) - - :param is_non_resource_url: The is_non_resource_url of this V1SubjectAccessReview. - :type: bool - """ - if is_non_resource_url is None: - raise ValueError("Invalid value for `is_non_resource_url`, must not be `None`") - - self._is_non_resource_url = is_non_resource_url - - @property - def kind(self): - """ - Gets the kind of this V1SubjectAccessReview. - Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint 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 V1SubjectAccessReview. - :rtype: str - """ - return self._kind - - @kind.setter - def kind(self, kind): - """ - Sets the kind of this V1SubjectAccessReview. - Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint 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 V1SubjectAccessReview. - :type: str - """ - - self._kind = kind - - @property - def namespace(self): - """ - Gets the namespace of this V1SubjectAccessReview. - Namespace is the namespace of the action being requested. Currently, there is no distinction between no namespace and all namespaces - - :return: The namespace of this V1SubjectAccessReview. - :rtype: str - """ - return self._namespace - - @namespace.setter - def namespace(self, namespace): - """ - Sets the namespace of this V1SubjectAccessReview. - Namespace is the namespace of the action being requested. Currently, there is no distinction between no namespace and all namespaces - - :param namespace: The namespace of this V1SubjectAccessReview. - :type: str - """ - if namespace is None: - raise ValueError("Invalid value for `namespace`, must not be `None`") - - self._namespace = namespace - - @property - def path(self): - """ - Gets the path of this V1SubjectAccessReview. - Path is the path of a non resource URL - - :return: The path of this V1SubjectAccessReview. - :rtype: str - """ - return self._path - - @path.setter - def path(self, path): - """ - Sets the path of this V1SubjectAccessReview. - Path is the path of a non resource URL - - :param path: The path of this V1SubjectAccessReview. - :type: str - """ - if path is None: - raise ValueError("Invalid value for `path`, must not be `None`") - - self._path = path - - @property - def resource(self): - """ - Gets the resource of this V1SubjectAccessReview. - Resource is one of the existing resource types - - :return: The resource of this V1SubjectAccessReview. - :rtype: str - """ - return self._resource - - @resource.setter - def resource(self, resource): - """ - Sets the resource of this V1SubjectAccessReview. - Resource is one of the existing resource types - - :param resource: The resource of this V1SubjectAccessReview. - :type: str - """ - if resource is None: - raise ValueError("Invalid value for `resource`, must not be `None`") - - self._resource = resource - - @property - def resource_api_group(self): - """ - Gets the resource_api_group of this V1SubjectAccessReview. - Group is the API group of the resource Serialized as resourceAPIGroup to avoid confusion with the 'groups' field when inlined - - :return: The resource_api_group of this V1SubjectAccessReview. - :rtype: str - """ - return self._resource_api_group - - @resource_api_group.setter - def resource_api_group(self, resource_api_group): - """ - Sets the resource_api_group of this V1SubjectAccessReview. - Group is the API group of the resource Serialized as resourceAPIGroup to avoid confusion with the 'groups' field when inlined - - :param resource_api_group: The resource_api_group of this V1SubjectAccessReview. - :type: str - """ - if resource_api_group is None: - raise ValueError("Invalid value for `resource_api_group`, must not be `None`") - - self._resource_api_group = resource_api_group - - @property - def resource_api_version(self): - """ - Gets the resource_api_version of this V1SubjectAccessReview. - Version is the API version of the resource Serialized as resourceAPIVersion to avoid confusion with TypeMeta.apiVersion and ObjectMeta.resourceVersion when inlined - - :return: The resource_api_version of this V1SubjectAccessReview. - :rtype: str - """ - return self._resource_api_version - - @resource_api_version.setter - def resource_api_version(self, resource_api_version): - """ - Sets the resource_api_version of this V1SubjectAccessReview. - Version is the API version of the resource Serialized as resourceAPIVersion to avoid confusion with TypeMeta.apiVersion and ObjectMeta.resourceVersion when inlined - - :param resource_api_version: The resource_api_version of this V1SubjectAccessReview. - :type: str - """ - if resource_api_version is None: - raise ValueError("Invalid value for `resource_api_version`, must not be `None`") - - self._resource_api_version = resource_api_version - - @property - def resource_name(self): - """ - Gets the resource_name of this V1SubjectAccessReview. - ResourceName is the name of the resource being requested for a \"get\" or deleted for a \"delete\" - - :return: The resource_name of this V1SubjectAccessReview. - :rtype: str - """ - return self._resource_name - - @resource_name.setter - def resource_name(self, resource_name): - """ - Sets the resource_name of this V1SubjectAccessReview. - ResourceName is the name of the resource being requested for a \"get\" or deleted for a \"delete\" - - :param resource_name: The resource_name of this V1SubjectAccessReview. - :type: str - """ - if resource_name is None: - raise ValueError("Invalid value for `resource_name`, must not be `None`") - - self._resource_name = resource_name - - @property - def scopes(self): - """ - Gets the scopes of this V1SubjectAccessReview. - Scopes to use for the evaluation. Empty means \"use the unscoped (full) permissions of the user/groups\". Nil for a self-SAR, means \"use the scopes on this request\". Nil for a regular SAR, means the same as empty. - - :return: The scopes of this V1SubjectAccessReview. - :rtype: list[str] - """ - return self._scopes - - @scopes.setter - def scopes(self, scopes): - """ - Sets the scopes of this V1SubjectAccessReview. - Scopes to use for the evaluation. Empty means \"use the unscoped (full) permissions of the user/groups\". Nil for a self-SAR, means \"use the scopes on this request\". Nil for a regular SAR, means the same as empty. - - :param scopes: The scopes of this V1SubjectAccessReview. - :type: list[str] - """ - if scopes is None: - raise ValueError("Invalid value for `scopes`, must not be `None`") - - self._scopes = scopes - - @property - def user(self): - """ - Gets the user of this V1SubjectAccessReview. - User is optional. If both User and Groups are empty, the current authenticated user is used. - - :return: The user of this V1SubjectAccessReview. - :rtype: str - """ - return self._user - - @user.setter - def user(self, user): - """ - Sets the user of this V1SubjectAccessReview. - User is optional. If both User and Groups are empty, the current authenticated user is used. - - :param user: The user of this V1SubjectAccessReview. - :type: str - """ - if user is None: - raise ValueError("Invalid value for `user`, must not be `None`") - - self._user = user - - @property - def verb(self): - """ - Gets the verb of this V1SubjectAccessReview. - Verb is one of: get, list, watch, create, update, delete - - :return: The verb of this V1SubjectAccessReview. - :rtype: str - """ - return self._verb - - @verb.setter - def verb(self, verb): - """ - Sets the verb of this V1SubjectAccessReview. - Verb is one of: get, list, watch, create, update, delete - - :param verb: The verb of this V1SubjectAccessReview. - :type: str - """ - if verb is None: - raise ValueError("Invalid value for `verb`, must not be `None`") - - self._verb = verb - - 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 - """ - if not isinstance(other, V1SubjectAccessReview): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """ - Returns true if both objects are not equal - """ - return not self == other diff --git a/openshift/client/models/v1_subject_rules_review.py b/openshift/client/models/v1_subject_rules_review.py index 8a6c8db4..8ef70c93 100644 --- a/openshift/client/models/v1_subject_rules_review.py +++ b/openshift/client/models/v1_subject_rules_review.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -53,7 +53,7 @@ def __init__(self, api_version=None, kind=None, spec=None, status=None): def api_version(self): """ Gets the api_version of this V1SubjectRulesReview. - APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources :return: The api_version of this V1SubjectRulesReview. :rtype: str @@ -64,7 +64,7 @@ def api_version(self): def api_version(self, api_version): """ Sets the api_version of this V1SubjectRulesReview. - APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources :param api_version: The api_version of this V1SubjectRulesReview. :type: str @@ -76,7 +76,7 @@ def api_version(self, api_version): def kind(self): """ Gets the kind of this V1SubjectRulesReview. - Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds :return: The kind of this V1SubjectRulesReview. :rtype: str @@ -87,7 +87,7 @@ def kind(self): def kind(self, kind): """ Sets the kind of this V1SubjectRulesReview. - Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds :param kind: The kind of this V1SubjectRulesReview. :type: str diff --git a/openshift/client/models/v1_subject_rules_review_spec.py b/openshift/client/models/v1_subject_rules_review_spec.py index 2dc6723c..f4754c5d 100644 --- a/openshift/client/models/v1_subject_rules_review_spec.py +++ b/openshift/client/models/v1_subject_rules_review_spec.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openshift/client/models/v1_subject_rules_review_status.py b/openshift/client/models/v1_subject_rules_review_status.py index a5a008d4..4b6740a2 100644 --- a/openshift/client/models/v1_subject_rules_review_status.py +++ b/openshift/client/models/v1_subject_rules_review_status.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openshift/client/models/v1_supplemental_groups_strategy_options.py b/openshift/client/models/v1_supplemental_groups_strategy_options.py index a820c80a..5cfdee17 100644 --- a/openshift/client/models/v1_supplemental_groups_strategy_options.py +++ b/openshift/client/models/v1_supplemental_groups_strategy_options.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openshift/client/models/v1_tag_event.py b/openshift/client/models/v1_tag_event.py index c85c0d3a..e084372d 100644 --- a/openshift/client/models/v1_tag_event.py +++ b/openshift/client/models/v1_tag_event.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -31,7 +31,7 @@ def __init__(self, created=None, docker_image_reference=None, generation=None, i and the value is json key in definition. """ self.swagger_types = { - 'created': 'UnversionedTime', + 'created': 'datetime', 'docker_image_reference': 'str', 'generation': 'int', 'image': 'str' @@ -56,7 +56,7 @@ def created(self): Created holds the time the TagEvent was created :return: The created of this V1TagEvent. - :rtype: UnversionedTime + :rtype: datetime """ return self._created @@ -67,7 +67,7 @@ def created(self, created): Created holds the time the TagEvent was created :param created: The created of this V1TagEvent. - :type: UnversionedTime + :type: datetime """ if created is None: raise ValueError("Invalid value for `created`, must not be `None`") diff --git a/openshift/client/models/v1_tag_event_condition.py b/openshift/client/models/v1_tag_event_condition.py index af6a2f9b..040e242d 100644 --- a/openshift/client/models/v1_tag_event_condition.py +++ b/openshift/client/models/v1_tag_event_condition.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -32,7 +32,7 @@ def __init__(self, generation=None, last_transition_time=None, message=None, rea """ self.swagger_types = { 'generation': 'int', - 'last_transition_time': 'UnversionedTime', + 'last_transition_time': 'datetime', 'message': 'str', 'reason': 'str', 'status': 'str', @@ -87,7 +87,7 @@ def last_transition_time(self): LastTransitionTIme is the time the condition transitioned from one status to another. :return: The last_transition_time of this V1TagEventCondition. - :rtype: UnversionedTime + :rtype: datetime """ return self._last_transition_time @@ -98,7 +98,7 @@ def last_transition_time(self, last_transition_time): LastTransitionTIme is the time the condition transitioned from one status to another. :param last_transition_time: The last_transition_time of this V1TagEventCondition. - :type: UnversionedTime + :type: datetime """ self._last_transition_time = last_transition_time diff --git a/openshift/client/models/v1_tag_image_hook.py b/openshift/client/models/v1_tag_image_hook.py index 2e163ae1..6e5a4cf0 100644 --- a/openshift/client/models/v1_tag_image_hook.py +++ b/openshift/client/models/v1_tag_image_hook.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openshift/client/models/v1_tag_import_policy.py b/openshift/client/models/v1_tag_import_policy.py index 793da39e..27337bf1 100644 --- a/openshift/client/models/v1_tag_import_policy.py +++ b/openshift/client/models/v1_tag_import_policy.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openshift/client/models/v1_tag_reference.py b/openshift/client/models/v1_tag_reference.py index 9a8b8f2a..89f7b6c9 100644 --- a/openshift/client/models/v1_tag_reference.py +++ b/openshift/client/models/v1_tag_reference.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -62,7 +62,7 @@ def __init__(self, annotations=None, _from=None, generation=None, import_policy= def annotations(self): """ Gets the annotations of this V1TagReference. - Annotations associated with images using this tag + Optional; if specified, annotations that are applied to images retrieved via ImageStreamTags. :return: The annotations of this V1TagReference. :rtype: dict(str, str) @@ -73,7 +73,7 @@ def annotations(self): def annotations(self, annotations): """ Sets the annotations of this V1TagReference. - Annotations associated with images using this tag + Optional; if specified, annotations that are applied to images retrieved via ImageStreamTags. :param annotations: The annotations of this V1TagReference. :type: dict(str, str) @@ -87,7 +87,7 @@ def annotations(self, annotations): def _from(self): """ Gets the _from of this V1TagReference. - From is a reference to an image stream tag or image stream this tag should track + Optional; if specified, a reference to another image that this tag should point to. Valid values are ImageStreamTag, ImageStreamImage, and DockerImage. :return: The _from of this V1TagReference. :rtype: V1ObjectReference @@ -98,7 +98,7 @@ def _from(self): def _from(self, _from): """ Sets the _from of this V1TagReference. - From is a reference to an image stream tag or image stream this tag should track + Optional; if specified, a reference to another image that this tag should point to. Valid values are ImageStreamTag, ImageStreamImage, and DockerImage. :param _from: The _from of this V1TagReference. :type: V1ObjectReference @@ -110,7 +110,7 @@ def _from(self, _from): def generation(self): """ Gets the generation of this V1TagReference. - Generation is the image stream generation that updated this tag - setting it to 0 is an indication that the generation must be updated. Legacy clients will send this as nil, which means the client doesn't know or care. + Generation is a counter that tracks mutations to the spec tag (user intent). When a tag reference is changed the generation is set to match the current stream generation (which is incremented every time spec is changed). Other processes in the system like the image importer observe that the generation of spec tag is newer than the generation recorded in the status and use that as a trigger to import the newest remote tag. To trigger a new import, clients may set this value to zero which will reset the generation to the latest stream generation. Legacy clients will send this value as nil which will be merged with the current tag generation. :return: The generation of this V1TagReference. :rtype: int @@ -121,7 +121,7 @@ def generation(self): def generation(self, generation): """ Sets the generation of this V1TagReference. - Generation is the image stream generation that updated this tag - setting it to 0 is an indication that the generation must be updated. Legacy clients will send this as nil, which means the client doesn't know or care. + Generation is a counter that tracks mutations to the spec tag (user intent). When a tag reference is changed the generation is set to match the current stream generation (which is incremented every time spec is changed). Other processes in the system like the image importer observe that the generation of spec tag is newer than the generation recorded in the status and use that as a trigger to import the newest remote tag. To trigger a new import, clients may set this value to zero which will reset the generation to the latest stream generation. Legacy clients will send this value as nil which will be merged with the current tag generation. :param generation: The generation of this V1TagReference. :type: int @@ -135,7 +135,7 @@ def generation(self, generation): def import_policy(self): """ Gets the import_policy of this V1TagReference. - Import is information that controls how images may be imported by the server. + ImportPolicy is information that controls how images may be imported by the server. :return: The import_policy of this V1TagReference. :rtype: V1TagImportPolicy @@ -146,7 +146,7 @@ def import_policy(self): def import_policy(self, import_policy): """ Sets the import_policy of this V1TagReference. - Import is information that controls how images may be imported by the server. + ImportPolicy is information that controls how images may be imported by the server. :param import_policy: The import_policy of this V1TagReference. :type: V1TagImportPolicy @@ -206,7 +206,7 @@ def reference(self, reference): def reference_policy(self): """ Gets the reference_policy of this V1TagReference. - ReferencePolicy defines how other components should consume the image + ReferencePolicy defines how other components should consume the image. :return: The reference_policy of this V1TagReference. :rtype: V1TagReferencePolicy @@ -217,7 +217,7 @@ def reference_policy(self): def reference_policy(self, reference_policy): """ Sets the reference_policy of this V1TagReference. - ReferencePolicy defines how other components should consume the image + ReferencePolicy defines how other components should consume the image. :param reference_policy: The reference_policy of this V1TagReference. :type: V1TagReferencePolicy diff --git a/openshift/client/models/v1_tag_reference_policy.py b/openshift/client/models/v1_tag_reference_policy.py index 0715a542..ba5c0637 100644 --- a/openshift/client/models/v1_tag_reference_policy.py +++ b/openshift/client/models/v1_tag_reference_policy.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openshift/client/models/v1_template.py b/openshift/client/models/v1_template.py index 7cba59ae..abff8ed8 100644 --- a/openshift/client/models/v1_template.py +++ b/openshift/client/models/v1_template.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -62,7 +62,7 @@ def __init__(self, api_version=None, kind=None, labels=None, message=None, metad def api_version(self): """ Gets the api_version of this V1Template. - APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources :return: The api_version of this V1Template. :rtype: str @@ -73,7 +73,7 @@ def api_version(self): def api_version(self, api_version): """ Sets the api_version of this V1Template. - APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources :param api_version: The api_version of this V1Template. :type: str @@ -85,7 +85,7 @@ def api_version(self, api_version): def kind(self): """ Gets the kind of this V1Template. - Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds :return: The kind of this V1Template. :rtype: str @@ -96,7 +96,7 @@ def kind(self): def kind(self, kind): """ Sets the kind of this V1Template. - Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds :param kind: The kind of this V1Template. :type: str diff --git a/openshift/client/models/v1_policy.py b/openshift/client/models/v1_template_instance.py similarity index 64% rename from openshift/client/models/v1_policy.py rename to openshift/client/models/v1_template_instance.py index b9f6ea73..ab1eb6a3 100644 --- a/openshift/client/models/v1_policy.py +++ b/openshift/client/models/v1_template_instance.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -16,14 +16,14 @@ import re -class V1Policy(object): +class V1TemplateInstance(object): """ NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. """ - def __init__(self, api_version=None, kind=None, last_modified=None, metadata=None, roles=None): + def __init__(self, api_version=None, kind=None, metadata=None, spec=None, status=None): """ - V1Policy - a model defined in Swagger + V1TemplateInstance - a model defined in Swagger :param dict swaggerTypes: The key is attribute name and the value is attribute type. @@ -33,32 +33,32 @@ def __init__(self, api_version=None, kind=None, last_modified=None, metadata=Non self.swagger_types = { 'api_version': 'str', 'kind': 'str', - 'last_modified': 'UnversionedTime', 'metadata': 'V1ObjectMeta', - 'roles': 'list[V1NamedRole]' + 'spec': 'V1TemplateInstanceSpec', + 'status': 'V1TemplateInstanceStatus' } self.attribute_map = { 'api_version': 'apiVersion', 'kind': 'kind', - 'last_modified': 'lastModified', 'metadata': 'metadata', - 'roles': 'roles' + 'spec': 'spec', + 'status': 'status' } self._api_version = api_version self._kind = kind - self._last_modified = last_modified self._metadata = metadata - self._roles = roles + self._spec = spec + self._status = status @property def api_version(self): """ - Gets the api_version of this V1Policy. - APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + Gets the api_version of this V1TemplateInstance. + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources - :return: The api_version of this V1Policy. + :return: The api_version of this V1TemplateInstance. :rtype: str """ return self._api_version @@ -66,10 +66,10 @@ def api_version(self): @api_version.setter def api_version(self, api_version): """ - Sets the api_version of this V1Policy. - APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + Sets the api_version of this V1TemplateInstance. + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources - :param api_version: The api_version of this V1Policy. + :param api_version: The api_version of this V1TemplateInstance. :type: str """ @@ -78,10 +78,10 @@ def api_version(self, api_version): @property def kind(self): """ - Gets the kind of this V1Policy. - Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + Gets the kind of this V1TemplateInstance. + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds - :return: The kind of this V1Policy. + :return: The kind of this V1TemplateInstance. :rtype: str """ return self._kind @@ -89,87 +89,87 @@ def kind(self): @kind.setter def kind(self, kind): """ - Sets the kind of this V1Policy. - Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + Sets the kind of this V1TemplateInstance. + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds - :param kind: The kind of this V1Policy. + :param kind: The kind of this V1TemplateInstance. :type: str """ self._kind = kind @property - def last_modified(self): + def metadata(self): """ - Gets the last_modified of this V1Policy. - LastModified is the last time that any part of the Policy was created, updated, or deleted + Gets the metadata of this V1TemplateInstance. + Standard object metadata. - :return: The last_modified of this V1Policy. - :rtype: UnversionedTime + :return: The metadata of this V1TemplateInstance. + :rtype: V1ObjectMeta """ - return self._last_modified + return self._metadata - @last_modified.setter - def last_modified(self, last_modified): + @metadata.setter + def metadata(self, metadata): """ - Sets the last_modified of this V1Policy. - LastModified is the last time that any part of the Policy was created, updated, or deleted + Sets the metadata of this V1TemplateInstance. + Standard object metadata. - :param last_modified: The last_modified of this V1Policy. - :type: UnversionedTime + :param metadata: The metadata of this V1TemplateInstance. + :type: V1ObjectMeta """ - if last_modified is None: - raise ValueError("Invalid value for `last_modified`, must not be `None`") - self._last_modified = last_modified + self._metadata = metadata @property - def metadata(self): + def spec(self): """ - Gets the metadata of this V1Policy. - Standard object's metadata. + Gets the spec of this V1TemplateInstance. + spec describes the desired state of this TemplateInstance. - :return: The metadata of this V1Policy. - :rtype: V1ObjectMeta + :return: The spec of this V1TemplateInstance. + :rtype: V1TemplateInstanceSpec """ - return self._metadata + return self._spec - @metadata.setter - def metadata(self, metadata): + @spec.setter + def spec(self, spec): """ - Sets the metadata of this V1Policy. - Standard object's metadata. + Sets the spec of this V1TemplateInstance. + spec describes the desired state of this TemplateInstance. - :param metadata: The metadata of this V1Policy. - :type: V1ObjectMeta + :param spec: The spec of this V1TemplateInstance. + :type: V1TemplateInstanceSpec """ + if spec is None: + raise ValueError("Invalid value for `spec`, must not be `None`") - self._metadata = metadata + self._spec = spec @property - def roles(self): + def status(self): """ - Gets the roles of this V1Policy. - Roles holds all the Roles held by this Policy, mapped by Role.Name + Gets the status of this V1TemplateInstance. + status describes the current state of this TemplateInstance. - :return: The roles of this V1Policy. - :rtype: list[V1NamedRole] + :return: The status of this V1TemplateInstance. + :rtype: V1TemplateInstanceStatus """ - return self._roles + return self._status - @roles.setter - def roles(self, roles): + @status.setter + def status(self, status): """ - Sets the roles of this V1Policy. - Roles holds all the Roles held by this Policy, mapped by Role.Name + Sets the status of this V1TemplateInstance. + status describes the current state of this TemplateInstance. - :param roles: The roles of this V1Policy. - :type: list[V1NamedRole] + :param status: The status of this V1TemplateInstance. + :type: V1TemplateInstanceStatus """ - if roles is None: - raise ValueError("Invalid value for `roles`, must not be `None`") + if status is None: + raise ValueError("Invalid value for `status`, must not be `None`") - self._roles = roles + self._status = status def to_dict(self): """ @@ -213,7 +213,7 @@ def __eq__(self, other): """ Returns true if both objects are equal """ - if not isinstance(other, V1Policy): + if not isinstance(other, V1TemplateInstance): return False return self.__dict__ == other.__dict__ diff --git a/openshift/client/models/v1_template_instance_condition.py b/openshift/client/models/v1_template_instance_condition.py new file mode 100644 index 00000000..b4e36324 --- /dev/null +++ b/openshift/client/models/v1_template_instance_condition.py @@ -0,0 +1,231 @@ +# coding: utf-8 + +""" + OpenShift API (with Kubernetes) + + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + + OpenAPI spec version: latest + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from pprint import pformat +from six import iteritems +import re + + +class V1TemplateInstanceCondition(object): + """ + NOTE: This class is auto generated by the swagger code generator program. + Do not edit the class manually. + """ + def __init__(self, last_transition_time=None, message=None, reason=None, status=None, type=None): + """ + V1TemplateInstanceCondition - 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 = { + 'last_transition_time': 'datetime', + 'message': 'str', + 'reason': 'str', + 'status': 'str', + 'type': 'str' + } + + self.attribute_map = { + 'last_transition_time': 'lastTransitionTime', + 'message': 'message', + 'reason': 'reason', + 'status': 'status', + 'type': 'type' + } + + self._last_transition_time = last_transition_time + self._message = message + self._reason = reason + self._status = status + self._type = type + + @property + def last_transition_time(self): + """ + Gets the last_transition_time of this V1TemplateInstanceCondition. + LastTransitionTime is the last time a condition status transitioned from one state to another. + + :return: The last_transition_time of this V1TemplateInstanceCondition. + :rtype: datetime + """ + return self._last_transition_time + + @last_transition_time.setter + def last_transition_time(self, last_transition_time): + """ + Sets the last_transition_time of this V1TemplateInstanceCondition. + LastTransitionTime is the last time a condition status transitioned from one state to another. + + :param last_transition_time: The last_transition_time of this V1TemplateInstanceCondition. + :type: datetime + """ + if last_transition_time is None: + raise ValueError("Invalid value for `last_transition_time`, must not be `None`") + + self._last_transition_time = last_transition_time + + @property + def message(self): + """ + Gets the message of this V1TemplateInstanceCondition. + Message is a human readable description of the details of the last transition, complementing reason. + + :return: The message of this V1TemplateInstanceCondition. + :rtype: str + """ + return self._message + + @message.setter + def message(self, message): + """ + Sets the message of this V1TemplateInstanceCondition. + Message is a human readable description of the details of the last transition, complementing reason. + + :param message: The message of this V1TemplateInstanceCondition. + :type: str + """ + if message is None: + raise ValueError("Invalid value for `message`, must not be `None`") + + self._message = message + + @property + def reason(self): + """ + Gets the reason of this V1TemplateInstanceCondition. + Reason is a brief machine readable explanation for the condition's last transition. + + :return: The reason of this V1TemplateInstanceCondition. + :rtype: str + """ + return self._reason + + @reason.setter + def reason(self, reason): + """ + Sets the reason of this V1TemplateInstanceCondition. + Reason is a brief machine readable explanation for the condition's last transition. + + :param reason: The reason of this V1TemplateInstanceCondition. + :type: str + """ + if reason is None: + raise ValueError("Invalid value for `reason`, must not be `None`") + + self._reason = reason + + @property + def status(self): + """ + Gets the status of this V1TemplateInstanceCondition. + Status of the condition, one of True, False or Unknown. + + :return: The status of this V1TemplateInstanceCondition. + :rtype: str + """ + return self._status + + @status.setter + def status(self, status): + """ + Sets the status of this V1TemplateInstanceCondition. + Status of the condition, one of True, False or Unknown. + + :param status: The status of this V1TemplateInstanceCondition. + :type: str + """ + if status is None: + raise ValueError("Invalid value for `status`, must not be `None`") + + self._status = status + + @property + def type(self): + """ + Gets the type of this V1TemplateInstanceCondition. + Type of the condition, currently Ready or InstantiateFailure. + + :return: The type of this V1TemplateInstanceCondition. + :rtype: str + """ + return self._type + + @type.setter + def type(self, type): + """ + Sets the type of this V1TemplateInstanceCondition. + Type of the condition, currently Ready or InstantiateFailure. + + :param type: The type of this V1TemplateInstanceCondition. + :type: str + """ + if type is None: + raise ValueError("Invalid value for `type`, must not be `None`") + + self._type = type + + 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 + """ + if not isinstance(other, V1TemplateInstanceCondition): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """ + Returns true if both objects are not equal + """ + return not self == other diff --git a/openshift/client/models/v1_cluster_policy_list.py b/openshift/client/models/v1_template_instance_list.py similarity index 72% rename from openshift/client/models/v1_cluster_policy_list.py rename to openshift/client/models/v1_template_instance_list.py index 8ac28e0c..192f9ac5 100644 --- a/openshift/client/models/v1_cluster_policy_list.py +++ b/openshift/client/models/v1_template_instance_list.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -16,14 +16,14 @@ import re -class V1ClusterPolicyList(object): +class V1TemplateInstanceList(object): """ NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. """ def __init__(self, api_version=None, items=None, kind=None, metadata=None): """ - V1ClusterPolicyList - a model defined in Swagger + V1TemplateInstanceList - a model defined in Swagger :param dict swaggerTypes: The key is attribute name and the value is attribute type. @@ -32,9 +32,9 @@ def __init__(self, api_version=None, items=None, kind=None, metadata=None): """ self.swagger_types = { 'api_version': 'str', - 'items': 'list[V1ClusterPolicy]', + 'items': 'list[V1TemplateInstance]', 'kind': 'str', - 'metadata': 'UnversionedListMeta' + 'metadata': 'V1ListMeta' } self.attribute_map = { @@ -52,10 +52,10 @@ def __init__(self, api_version=None, items=None, kind=None, metadata=None): @property def api_version(self): """ - Gets the api_version of this V1ClusterPolicyList. - APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + Gets the api_version of this V1TemplateInstanceList. + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources - :return: The api_version of this V1ClusterPolicyList. + :return: The api_version of this V1TemplateInstanceList. :rtype: str """ return self._api_version @@ -63,10 +63,10 @@ def api_version(self): @api_version.setter def api_version(self, api_version): """ - Sets the api_version of this V1ClusterPolicyList. - APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + Sets the api_version of this V1TemplateInstanceList. + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources - :param api_version: The api_version of this V1ClusterPolicyList. + :param api_version: The api_version of this V1TemplateInstanceList. :type: str """ @@ -75,22 +75,22 @@ def api_version(self, api_version): @property def items(self): """ - Gets the items of this V1ClusterPolicyList. - Items is a list of ClusterPolicies + Gets the items of this V1TemplateInstanceList. + items is a list of Templateinstances - :return: The items of this V1ClusterPolicyList. - :rtype: list[V1ClusterPolicy] + :return: The items of this V1TemplateInstanceList. + :rtype: list[V1TemplateInstance] """ return self._items @items.setter def items(self, items): """ - Sets the items of this V1ClusterPolicyList. - Items is a list of ClusterPolicies + Sets the items of this V1TemplateInstanceList. + items is a list of Templateinstances - :param items: The items of this V1ClusterPolicyList. - :type: list[V1ClusterPolicy] + :param items: The items of this V1TemplateInstanceList. + :type: list[V1TemplateInstance] """ if items is None: raise ValueError("Invalid value for `items`, must not be `None`") @@ -100,10 +100,10 @@ def items(self, items): @property def kind(self): """ - Gets the kind of this V1ClusterPolicyList. - Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + Gets the kind of this V1TemplateInstanceList. + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds - :return: The kind of this V1ClusterPolicyList. + :return: The kind of this V1TemplateInstanceList. :rtype: str """ return self._kind @@ -111,10 +111,10 @@ def kind(self): @kind.setter def kind(self, kind): """ - Sets the kind of this V1ClusterPolicyList. - Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + Sets the kind of this V1TemplateInstanceList. + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds - :param kind: The kind of this V1ClusterPolicyList. + :param kind: The kind of this V1TemplateInstanceList. :type: str """ @@ -123,22 +123,22 @@ def kind(self, kind): @property def metadata(self): """ - Gets the metadata of this V1ClusterPolicyList. - Standard object's metadata. + Gets the metadata of this V1TemplateInstanceList. + Standard object metadata. - :return: The metadata of this V1ClusterPolicyList. - :rtype: UnversionedListMeta + :return: The metadata of this V1TemplateInstanceList. + :rtype: V1ListMeta """ return self._metadata @metadata.setter def metadata(self, metadata): """ - Sets the metadata of this V1ClusterPolicyList. - Standard object's metadata. + Sets the metadata of this V1TemplateInstanceList. + Standard object metadata. - :param metadata: The metadata of this V1ClusterPolicyList. - :type: UnversionedListMeta + :param metadata: The metadata of this V1TemplateInstanceList. + :type: V1ListMeta """ self._metadata = metadata @@ -185,7 +185,7 @@ def __eq__(self, other): """ Returns true if both objects are equal """ - if not isinstance(other, V1ClusterPolicyList): + if not isinstance(other, V1TemplateInstanceList): return False return self.__dict__ == other.__dict__ diff --git a/openshift/client/models/v1_template_instance_object.py b/openshift/client/models/v1_template_instance_object.py new file mode 100644 index 00000000..1af98515 --- /dev/null +++ b/openshift/client/models/v1_template_instance_object.py @@ -0,0 +1,117 @@ +# coding: utf-8 + +""" + OpenShift API (with Kubernetes) + + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + + OpenAPI spec version: latest + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from pprint import pformat +from six import iteritems +import re + + +class V1TemplateInstanceObject(object): + """ + NOTE: This class is auto generated by the swagger code generator program. + Do not edit the class manually. + """ + def __init__(self, ref=None): + """ + V1TemplateInstanceObject - 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 = { + 'ref': 'V1ObjectReference' + } + + self.attribute_map = { + 'ref': 'ref' + } + + self._ref = ref + + @property + def ref(self): + """ + Gets the ref of this V1TemplateInstanceObject. + ref is a reference to the created object. When used under .spec, only name and namespace are used; these can contain references to parameters which will be substituted following the usual rules. + + :return: The ref of this V1TemplateInstanceObject. + :rtype: V1ObjectReference + """ + return self._ref + + @ref.setter + def ref(self, ref): + """ + Sets the ref of this V1TemplateInstanceObject. + ref is a reference to the created object. When used under .spec, only name and namespace are used; these can contain references to parameters which will be substituted following the usual rules. + + :param ref: The ref of this V1TemplateInstanceObject. + :type: V1ObjectReference + """ + + self._ref = 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 + """ + if not isinstance(other, V1TemplateInstanceObject): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """ + Returns true if both objects are not equal + """ + return not self == other diff --git a/openshift/client/models/v1beta1_run_as_user_strategy_options.py b/openshift/client/models/v1_template_instance_requester.py similarity index 55% rename from openshift/client/models/v1beta1_run_as_user_strategy_options.py rename to openshift/client/models/v1_template_instance_requester.py index 4b5cb060..8c5b7cec 100644 --- a/openshift/client/models/v1beta1_run_as_user_strategy_options.py +++ b/openshift/client/models/v1_template_instance_requester.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -16,14 +16,14 @@ import re -class V1beta1RunAsUserStrategyOptions(object): +class V1TemplateInstanceRequester(object): """ NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. """ - def __init__(self, ranges=None, rule=None): + def __init__(self, extra=None, groups=None, uid=None, username=None): """ - V1beta1RunAsUserStrategyOptions - a model defined in Swagger + V1TemplateInstanceRequester - a model defined in Swagger :param dict swaggerTypes: The key is attribute name and the value is attribute type. @@ -31,65 +31,115 @@ def __init__(self, ranges=None, rule=None): and the value is json key in definition. """ self.swagger_types = { - 'ranges': 'list[V1beta1IDRange]', - 'rule': 'str' + 'extra': 'dict(str, list[str])', + 'groups': 'list[str]', + 'uid': 'str', + 'username': 'str' } self.attribute_map = { - 'ranges': 'ranges', - 'rule': 'rule' + 'extra': 'extra', + 'groups': 'groups', + 'uid': 'uid', + 'username': 'username' } - self._ranges = ranges - self._rule = rule + self._extra = extra + self._groups = groups + self._uid = uid + self._username = username @property - def ranges(self): + def extra(self): """ - Gets the ranges of this V1beta1RunAsUserStrategyOptions. - Ranges are the allowed ranges of uids that may be used. + Gets the extra of this V1TemplateInstanceRequester. + extra holds additional information provided by the authenticator. - :return: The ranges of this V1beta1RunAsUserStrategyOptions. - :rtype: list[V1beta1IDRange] + :return: The extra of this V1TemplateInstanceRequester. + :rtype: dict(str, list[str]) """ - return self._ranges + return self._extra - @ranges.setter - def ranges(self, ranges): + @extra.setter + def extra(self, extra): """ - Sets the ranges of this V1beta1RunAsUserStrategyOptions. - Ranges are the allowed ranges of uids that may be used. + Sets the extra of this V1TemplateInstanceRequester. + extra holds additional information provided by the authenticator. - :param ranges: The ranges of this V1beta1RunAsUserStrategyOptions. - :type: list[V1beta1IDRange] + :param extra: The extra of this V1TemplateInstanceRequester. + :type: dict(str, list[str]) """ - self._ranges = ranges + self._extra = extra @property - def rule(self): + def groups(self): """ - Gets the rule of this V1beta1RunAsUserStrategyOptions. - Rule is the strategy that will dictate the allowable RunAsUser values that may be set. + Gets the groups of this V1TemplateInstanceRequester. + groups represent the groups this user is a part of. - :return: The rule of this V1beta1RunAsUserStrategyOptions. + :return: The groups of this V1TemplateInstanceRequester. + :rtype: list[str] + """ + return self._groups + + @groups.setter + def groups(self, groups): + """ + Sets the groups of this V1TemplateInstanceRequester. + groups represent the groups this user is a part of. + + :param groups: The groups of this V1TemplateInstanceRequester. + :type: list[str] + """ + + self._groups = groups + + @property + def uid(self): + """ + Gets the uid of this V1TemplateInstanceRequester. + uid is a unique value that identifies this user across time; if this user is deleted and another user by the same name is added, they will have different UIDs. + + :return: The uid of this V1TemplateInstanceRequester. + :rtype: str + """ + return self._uid + + @uid.setter + def uid(self, uid): + """ + Sets the uid of this V1TemplateInstanceRequester. + uid is a unique value that identifies this user across time; if this user is deleted and another user by the same name is added, they will have different UIDs. + + :param uid: The uid of this V1TemplateInstanceRequester. + :type: str + """ + + self._uid = uid + + @property + def username(self): + """ + Gets the username of this V1TemplateInstanceRequester. + username uniquely identifies this user among all active users. + + :return: The username of this V1TemplateInstanceRequester. :rtype: str """ - return self._rule + return self._username - @rule.setter - def rule(self, rule): + @username.setter + def username(self, username): """ - Sets the rule of this V1beta1RunAsUserStrategyOptions. - Rule is the strategy that will dictate the allowable RunAsUser values that may be set. + Sets the username of this V1TemplateInstanceRequester. + username uniquely identifies this user among all active users. - :param rule: The rule of this V1beta1RunAsUserStrategyOptions. + :param username: The username of this V1TemplateInstanceRequester. :type: str """ - if rule is None: - raise ValueError("Invalid value for `rule`, must not be `None`") - self._rule = rule + self._username = username def to_dict(self): """ @@ -133,7 +183,7 @@ def __eq__(self, other): """ Returns true if both objects are equal """ - if not isinstance(other, V1beta1RunAsUserStrategyOptions): + if not isinstance(other, V1TemplateInstanceRequester): return False return self.__dict__ == other.__dict__ diff --git a/openshift/client/models/v1beta1_fs_group_strategy_options.py b/openshift/client/models/v1_template_instance_spec.py similarity index 58% rename from openshift/client/models/v1beta1_fs_group_strategy_options.py rename to openshift/client/models/v1_template_instance_spec.py index b23167f7..9d43c3cd 100644 --- a/openshift/client/models/v1beta1_fs_group_strategy_options.py +++ b/openshift/client/models/v1_template_instance_spec.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -16,14 +16,14 @@ import re -class V1beta1FSGroupStrategyOptions(object): +class V1TemplateInstanceSpec(object): """ NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. """ - def __init__(self, ranges=None, rule=None): + def __init__(self, requester=None, secret=None, template=None): """ - V1beta1FSGroupStrategyOptions - a model defined in Swagger + V1TemplateInstanceSpec - a model defined in Swagger :param dict swaggerTypes: The key is attribute name and the value is attribute type. @@ -31,63 +31,93 @@ def __init__(self, ranges=None, rule=None): and the value is json key in definition. """ self.swagger_types = { - 'ranges': 'list[V1beta1IDRange]', - 'rule': 'str' + 'requester': 'V1TemplateInstanceRequester', + 'secret': 'V1LocalObjectReference', + 'template': 'V1Template' } self.attribute_map = { - 'ranges': 'ranges', - 'rule': 'rule' + 'requester': 'requester', + 'secret': 'secret', + 'template': 'template' } - self._ranges = ranges - self._rule = rule + self._requester = requester + self._secret = secret + self._template = template @property - def ranges(self): + def requester(self): """ - Gets the ranges of this V1beta1FSGroupStrategyOptions. - Ranges are the allowed ranges of fs groups. If you would like to force a single fs group then supply a single range with the same start and end. + Gets the requester of this V1TemplateInstanceSpec. + requester holds the identity of the agent requesting the template instantiation. - :return: The ranges of this V1beta1FSGroupStrategyOptions. - :rtype: list[V1beta1IDRange] + :return: The requester of this V1TemplateInstanceSpec. + :rtype: V1TemplateInstanceRequester """ - return self._ranges + return self._requester - @ranges.setter - def ranges(self, ranges): + @requester.setter + def requester(self, requester): """ - Sets the ranges of this V1beta1FSGroupStrategyOptions. - Ranges are the allowed ranges of fs groups. If you would like to force a single fs group then supply a single range with the same start and end. + Sets the requester of this V1TemplateInstanceSpec. + requester holds the identity of the agent requesting the template instantiation. - :param ranges: The ranges of this V1beta1FSGroupStrategyOptions. - :type: list[V1beta1IDRange] + :param requester: The requester of this V1TemplateInstanceSpec. + :type: V1TemplateInstanceRequester """ + if requester is None: + raise ValueError("Invalid value for `requester`, must not be `None`") - self._ranges = ranges + self._requester = requester @property - def rule(self): + def secret(self): """ - Gets the rule of this V1beta1FSGroupStrategyOptions. - Rule is the strategy that will dictate what FSGroup is used in the SecurityContext. + Gets the secret of this V1TemplateInstanceSpec. + secret is a reference to a Secret object containing the necessary template parameters. - :return: The rule of this V1beta1FSGroupStrategyOptions. - :rtype: str + :return: The secret of this V1TemplateInstanceSpec. + :rtype: V1LocalObjectReference """ - return self._rule + return self._secret - @rule.setter - def rule(self, rule): + @secret.setter + def secret(self, secret): """ - Sets the rule of this V1beta1FSGroupStrategyOptions. - Rule is the strategy that will dictate what FSGroup is used in the SecurityContext. + Sets the secret of this V1TemplateInstanceSpec. + secret is a reference to a Secret object containing the necessary template parameters. - :param rule: The rule of this V1beta1FSGroupStrategyOptions. - :type: str + :param secret: The secret of this V1TemplateInstanceSpec. + :type: V1LocalObjectReference """ - self._rule = rule + self._secret = secret + + @property + def template(self): + """ + Gets the template of this V1TemplateInstanceSpec. + template is a full copy of the template for instantiation. + + :return: The template of this V1TemplateInstanceSpec. + :rtype: V1Template + """ + return self._template + + @template.setter + def template(self, template): + """ + Sets the template of this V1TemplateInstanceSpec. + template is a full copy of the template for instantiation. + + :param template: The template of this V1TemplateInstanceSpec. + :type: V1Template + """ + if template is None: + raise ValueError("Invalid value for `template`, must not be `None`") + + self._template = template def to_dict(self): """ @@ -131,7 +161,7 @@ def __eq__(self, other): """ Returns true if both objects are equal """ - if not isinstance(other, V1beta1FSGroupStrategyOptions): + if not isinstance(other, V1TemplateInstanceSpec): return False return self.__dict__ == other.__dict__ diff --git a/openshift/client/models/v1_named_role_binding.py b/openshift/client/models/v1_template_instance_status.py similarity index 65% rename from openshift/client/models/v1_named_role_binding.py rename to openshift/client/models/v1_template_instance_status.py index f65febab..e7d6b5c8 100644 --- a/openshift/client/models/v1_named_role_binding.py +++ b/openshift/client/models/v1_template_instance_status.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -16,14 +16,14 @@ import re -class V1NamedRoleBinding(object): +class V1TemplateInstanceStatus(object): """ NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. """ - def __init__(self, name=None, role_binding=None): + def __init__(self, conditions=None, objects=None): """ - V1NamedRoleBinding - a model defined in Swagger + V1TemplateInstanceStatus - a model defined in Swagger :param dict swaggerTypes: The key is attribute name and the value is attribute type. @@ -31,67 +31,63 @@ def __init__(self, name=None, role_binding=None): and the value is json key in definition. """ self.swagger_types = { - 'name': 'str', - 'role_binding': 'V1RoleBinding' + 'conditions': 'list[V1TemplateInstanceCondition]', + 'objects': 'list[V1TemplateInstanceObject]' } self.attribute_map = { - 'name': 'name', - 'role_binding': 'roleBinding' + 'conditions': 'conditions', + 'objects': 'objects' } - self._name = name - self._role_binding = role_binding + self._conditions = conditions + self._objects = objects @property - def name(self): + def conditions(self): """ - Gets the name of this V1NamedRoleBinding. - Name is the name of the role binding + Gets the conditions of this V1TemplateInstanceStatus. + conditions represent the latest available observations of a TemplateInstance's current state. - :return: The name of this V1NamedRoleBinding. - :rtype: str + :return: The conditions of this V1TemplateInstanceStatus. + :rtype: list[V1TemplateInstanceCondition] """ - return self._name + return self._conditions - @name.setter - def name(self, name): + @conditions.setter + def conditions(self, conditions): """ - Sets the name of this V1NamedRoleBinding. - Name is the name of the role binding + Sets the conditions of this V1TemplateInstanceStatus. + conditions represent the latest available observations of a TemplateInstance's current state. - :param name: The name of this V1NamedRoleBinding. - :type: str + :param conditions: The conditions of this V1TemplateInstanceStatus. + :type: list[V1TemplateInstanceCondition] """ - if name is None: - raise ValueError("Invalid value for `name`, must not be `None`") - self._name = name + self._conditions = conditions @property - def role_binding(self): + def objects(self): """ - Gets the role_binding of this V1NamedRoleBinding. - RoleBinding is the role binding being named + Gets the objects of this V1TemplateInstanceStatus. + Objects references the objects created by the TemplateInstance. - :return: The role_binding of this V1NamedRoleBinding. - :rtype: V1RoleBinding + :return: The objects of this V1TemplateInstanceStatus. + :rtype: list[V1TemplateInstanceObject] """ - return self._role_binding + return self._objects - @role_binding.setter - def role_binding(self, role_binding): + @objects.setter + def objects(self, objects): """ - Sets the role_binding of this V1NamedRoleBinding. - RoleBinding is the role binding being named + Sets the objects of this V1TemplateInstanceStatus. + Objects references the objects created by the TemplateInstance. - :param role_binding: The role_binding of this V1NamedRoleBinding. - :type: V1RoleBinding + :param objects: The objects of this V1TemplateInstanceStatus. + :type: list[V1TemplateInstanceObject] """ - if role_binding is None: - raise ValueError("Invalid value for `role_binding`, must not be `None`") - self._role_binding = role_binding + self._objects = objects def to_dict(self): """ @@ -135,7 +131,7 @@ def __eq__(self, other): """ Returns true if both objects are equal """ - if not isinstance(other, V1NamedRoleBinding): + if not isinstance(other, V1TemplateInstanceStatus): return False return self.__dict__ == other.__dict__ diff --git a/openshift/client/models/v1_template_list.py b/openshift/client/models/v1_template_list.py index eaa7905b..7e8b59a3 100644 --- a/openshift/client/models/v1_template_list.py +++ b/openshift/client/models/v1_template_list.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -34,7 +34,7 @@ def __init__(self, api_version=None, items=None, kind=None, metadata=None): 'api_version': 'str', 'items': 'list[V1Template]', 'kind': 'str', - 'metadata': 'UnversionedListMeta' + 'metadata': 'V1ListMeta' } self.attribute_map = { @@ -53,7 +53,7 @@ def __init__(self, api_version=None, items=None, kind=None, metadata=None): def api_version(self): """ Gets the api_version of this V1TemplateList. - APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources :return: The api_version of this V1TemplateList. :rtype: str @@ -64,7 +64,7 @@ def api_version(self): def api_version(self, api_version): """ Sets the api_version of this V1TemplateList. - APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources :param api_version: The api_version of this V1TemplateList. :type: str @@ -101,7 +101,7 @@ def items(self, items): def kind(self): """ Gets the kind of this V1TemplateList. - Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds :return: The kind of this V1TemplateList. :rtype: str @@ -112,7 +112,7 @@ def kind(self): def kind(self, kind): """ Sets the kind of this V1TemplateList. - Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds :param kind: The kind of this V1TemplateList. :type: str @@ -127,7 +127,7 @@ def metadata(self): Standard object's metadata. :return: The metadata of this V1TemplateList. - :rtype: UnversionedListMeta + :rtype: V1ListMeta """ return self._metadata @@ -138,7 +138,7 @@ def metadata(self, metadata): Standard object's metadata. :param metadata: The metadata of this V1TemplateList. - :type: UnversionedListMeta + :type: V1ListMeta """ self._metadata = metadata diff --git a/openshift/client/models/v1_tls_config.py b/openshift/client/models/v1_tls_config.py index d3e04ced..0dbb66c8 100644 --- a/openshift/client/models/v1_tls_config.py +++ b/openshift/client/models/v1_tls_config.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -105,7 +105,7 @@ def certificate(self, certificate): def destination_ca_certificate(self): """ Gets the destination_ca_certificate of this V1TLSConfig. - destinationCACertificate provides the contents of the ca certificate of the final destination. When using reencrypt termination this file should be provided in order to have routers use it for health checks on the secure connection + destinationCACertificate provides the contents of the ca certificate of the final destination. When using reencrypt termination this file should be provided in order to have routers use it for health checks on the secure connection. If this field is not specified, the router may provide its own destination CA and perform hostname validation using the short service name (service.namespace.svc), which allows infrastructure generated certificates to automatically verify. :return: The destination_ca_certificate of this V1TLSConfig. :rtype: str @@ -116,7 +116,7 @@ def destination_ca_certificate(self): def destination_ca_certificate(self, destination_ca_certificate): """ Sets the destination_ca_certificate of this V1TLSConfig. - destinationCACertificate provides the contents of the ca certificate of the final destination. When using reencrypt termination this file should be provided in order to have routers use it for health checks on the secure connection + destinationCACertificate provides the contents of the ca certificate of the final destination. When using reencrypt termination this file should be provided in order to have routers use it for health checks on the secure connection. If this field is not specified, the router may provide its own destination CA and perform hostname validation using the short service name (service.namespace.svc), which allows infrastructure generated certificates to automatically verify. :param destination_ca_certificate: The destination_ca_certificate of this V1TLSConfig. :type: str diff --git a/openshift/client/models/v1_user.py b/openshift/client/models/v1_user.py index 6040a679..1df0f593 100644 --- a/openshift/client/models/v1_user.py +++ b/openshift/client/models/v1_user.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -59,7 +59,7 @@ def __init__(self, api_version=None, full_name=None, groups=None, identities=Non def api_version(self): """ Gets the api_version of this V1User. - APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources :return: The api_version of this V1User. :rtype: str @@ -70,7 +70,7 @@ def api_version(self): def api_version(self, api_version): """ Sets the api_version of this V1User. - APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources :param api_version: The api_version of this V1User. :type: str @@ -155,7 +155,7 @@ def identities(self, identities): def kind(self): """ Gets the kind of this V1User. - Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds :return: The kind of this V1User. :rtype: str @@ -166,7 +166,7 @@ def kind(self): def kind(self, kind): """ Sets the kind of this V1User. - Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds :param kind: The kind of this V1User. :type: str diff --git a/openshift/client/models/v1_user_identity_mapping.py b/openshift/client/models/v1_user_identity_mapping.py index 8816111a..d725ebd7 100644 --- a/openshift/client/models/v1_user_identity_mapping.py +++ b/openshift/client/models/v1_user_identity_mapping.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -56,7 +56,7 @@ def __init__(self, api_version=None, identity=None, kind=None, metadata=None, us def api_version(self): """ Gets the api_version of this V1UserIdentityMapping. - APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources :return: The api_version of this V1UserIdentityMapping. :rtype: str @@ -67,7 +67,7 @@ def api_version(self): def api_version(self, api_version): """ Sets the api_version of this V1UserIdentityMapping. - APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources :param api_version: The api_version of this V1UserIdentityMapping. :type: str @@ -102,7 +102,7 @@ def identity(self, identity): def kind(self): """ Gets the kind of this V1UserIdentityMapping. - Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds :return: The kind of this V1UserIdentityMapping. :rtype: str @@ -113,7 +113,7 @@ def kind(self): def kind(self, kind): """ Sets the kind of this V1UserIdentityMapping. - Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds :param kind: The kind of this V1UserIdentityMapping. :type: str diff --git a/openshift/client/models/v1_user_list.py b/openshift/client/models/v1_user_list.py index 1be1ef27..1db560c7 100644 --- a/openshift/client/models/v1_user_list.py +++ b/openshift/client/models/v1_user_list.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -34,7 +34,7 @@ def __init__(self, api_version=None, items=None, kind=None, metadata=None): 'api_version': 'str', 'items': 'list[V1User]', 'kind': 'str', - 'metadata': 'UnversionedListMeta' + 'metadata': 'V1ListMeta' } self.attribute_map = { @@ -53,7 +53,7 @@ def __init__(self, api_version=None, items=None, kind=None, metadata=None): def api_version(self): """ Gets the api_version of this V1UserList. - APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources :return: The api_version of this V1UserList. :rtype: str @@ -64,7 +64,7 @@ def api_version(self): def api_version(self, api_version): """ Sets the api_version of this V1UserList. - APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources :param api_version: The api_version of this V1UserList. :type: str @@ -101,7 +101,7 @@ def items(self, items): def kind(self): """ Gets the kind of this V1UserList. - Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds :return: The kind of this V1UserList. :rtype: str @@ -112,7 +112,7 @@ def kind(self): def kind(self, kind): """ Sets the kind of this V1UserList. - Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds :param kind: The kind of this V1UserList. :type: str @@ -127,7 +127,7 @@ def metadata(self): Standard object's metadata. :return: The metadata of this V1UserList. - :rtype: UnversionedListMeta + :rtype: V1ListMeta """ return self._metadata @@ -138,7 +138,7 @@ def metadata(self, metadata): Standard object's metadata. :param metadata: The metadata of this V1UserList. - :type: UnversionedListMeta + :type: V1ListMeta """ self._metadata = metadata diff --git a/openshift/client/models/v1_user_restriction.py b/openshift/client/models/v1_user_restriction.py index 84137974..81151d66 100644 --- a/openshift/client/models/v1_user_restriction.py +++ b/openshift/client/models/v1_user_restriction.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -32,7 +32,7 @@ def __init__(self, groups=None, labels=None, users=None): """ self.swagger_types = { 'groups': 'list[str]', - 'labels': 'list[UnversionedLabelSelector]', + 'labels': 'list[V1LabelSelector]', 'users': 'list[str]' } @@ -78,7 +78,7 @@ def labels(self): Selectors specifies a list of label selectors over user labels. :return: The labels of this V1UserRestriction. - :rtype: list[UnversionedLabelSelector] + :rtype: list[V1LabelSelector] """ return self._labels @@ -89,7 +89,7 @@ def labels(self, labels): Selectors specifies a list of label selectors over user labels. :param labels: The labels of this V1UserRestriction. - :type: list[UnversionedLabelSelector] + :type: list[V1LabelSelector] """ if labels is None: raise ValueError("Invalid value for `labels`, must not be `None`") diff --git a/openshift/client/models/v1_web_hook_trigger.py b/openshift/client/models/v1_web_hook_trigger.py index b4d75d42..c690b72c 100644 --- a/openshift/client/models/v1_web_hook_trigger.py +++ b/openshift/client/models/v1_web_hook_trigger.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openshift/client/models/v1beta1_ingress_tls.py b/openshift/client/models/v1beta1_ingress_tls.py index fac15e1a..471ab171 100644 --- a/openshift/client/models/v1beta1_ingress_tls.py +++ b/openshift/client/models/v1beta1_ingress_tls.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openshift/client/models/v1beta1_pod_security_policy_list.py b/openshift/client/models/v1beta1_pod_security_policy_list.py deleted file mode 100644 index 3bcb62e1..00000000 --- a/openshift/client/models/v1beta1_pod_security_policy_list.py +++ /dev/null @@ -1,197 +0,0 @@ -# coding: utf-8 - -""" - OpenShift API (with Kubernetes) - - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - - OpenAPI spec version: v3.6.0-alpha.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from pprint import pformat -from six import iteritems -import re - - -class V1beta1PodSecurityPolicyList(object): - """ - NOTE: This class is auto generated by the swagger code generator program. - Do not edit the class manually. - """ - def __init__(self, api_version=None, items=None, kind=None, metadata=None): - """ - V1beta1PodSecurityPolicyList - 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 = { - 'api_version': 'str', - 'items': 'list[V1beta1PodSecurityPolicy]', - '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 V1beta1PodSecurityPolicyList. - APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized 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 V1beta1PodSecurityPolicyList. - :rtype: str - """ - return self._api_version - - @api_version.setter - def api_version(self, api_version): - """ - Sets the api_version of this V1beta1PodSecurityPolicyList. - APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized 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 V1beta1PodSecurityPolicyList. - :type: str - """ - - self._api_version = api_version - - @property - def items(self): - """ - Gets the items of this V1beta1PodSecurityPolicyList. - Items is a list of schema objects. - - :return: The items of this V1beta1PodSecurityPolicyList. - :rtype: list[V1beta1PodSecurityPolicy] - """ - return self._items - - @items.setter - def items(self, items): - """ - Sets the items of this V1beta1PodSecurityPolicyList. - Items is a list of schema objects. - - :param items: The items of this V1beta1PodSecurityPolicyList. - :type: list[V1beta1PodSecurityPolicy] - """ - if items is None: - raise ValueError("Invalid value for `items`, must not be `None`") - - self._items = items - - @property - def kind(self): - """ - Gets the kind of this V1beta1PodSecurityPolicyList. - Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint 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 V1beta1PodSecurityPolicyList. - :rtype: str - """ - return self._kind - - @kind.setter - def kind(self, kind): - """ - Sets the kind of this V1beta1PodSecurityPolicyList. - Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint 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 V1beta1PodSecurityPolicyList. - :type: str - """ - - self._kind = kind - - @property - def metadata(self): - """ - Gets the metadata of this V1beta1PodSecurityPolicyList. - Standard list metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata - - :return: The metadata of this V1beta1PodSecurityPolicyList. - :rtype: UnversionedListMeta - """ - return self._metadata - - @metadata.setter - def metadata(self, metadata): - """ - Sets the metadata of this V1beta1PodSecurityPolicyList. - Standard list metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata - - :param metadata: The metadata of this V1beta1PodSecurityPolicyList. - :type: UnversionedListMeta - """ - - self._metadata = metadata - - 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 - """ - if not isinstance(other, V1beta1PodSecurityPolicyList): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """ - Returns true if both objects are not equal - """ - return not self == other diff --git a/openshift/client/models/v1beta1_pod_security_policy_spec.py b/openshift/client/models/v1beta1_pod_security_policy_spec.py deleted file mode 100644 index acc04989..00000000 --- a/openshift/client/models/v1beta1_pod_security_policy_spec.py +++ /dev/null @@ -1,463 +0,0 @@ -# coding: utf-8 - -""" - OpenShift API (with Kubernetes) - - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - - OpenAPI spec version: v3.6.0-alpha.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from pprint import pformat -from six import iteritems -import re - - -class V1beta1PodSecurityPolicySpec(object): - """ - NOTE: This class is auto generated by the swagger code generator program. - Do not edit the class manually. - """ - def __init__(self, allowed_capabilities=None, default_add_capabilities=None, fs_group=None, host_ipc=None, host_network=None, host_pid=None, host_ports=None, privileged=None, read_only_root_filesystem=None, required_drop_capabilities=None, run_as_user=None, se_linux=None, supplemental_groups=None, volumes=None): - """ - V1beta1PodSecurityPolicySpec - 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 = { - 'allowed_capabilities': 'list[str]', - 'default_add_capabilities': 'list[str]', - 'fs_group': 'V1beta1FSGroupStrategyOptions', - 'host_ipc': 'bool', - 'host_network': 'bool', - 'host_pid': 'bool', - 'host_ports': 'list[V1beta1HostPortRange]', - 'privileged': 'bool', - 'read_only_root_filesystem': 'bool', - 'required_drop_capabilities': 'list[str]', - 'run_as_user': 'V1beta1RunAsUserStrategyOptions', - 'se_linux': 'V1beta1SELinuxStrategyOptions', - 'supplemental_groups': 'V1beta1SupplementalGroupsStrategyOptions', - 'volumes': 'list[str]' - } - - self.attribute_map = { - 'allowed_capabilities': 'allowedCapabilities', - 'default_add_capabilities': 'defaultAddCapabilities', - 'fs_group': 'fsGroup', - 'host_ipc': 'hostIPC', - 'host_network': 'hostNetwork', - 'host_pid': 'hostPID', - 'host_ports': 'hostPorts', - 'privileged': 'privileged', - 'read_only_root_filesystem': 'readOnlyRootFilesystem', - 'required_drop_capabilities': 'requiredDropCapabilities', - 'run_as_user': 'runAsUser', - 'se_linux': 'seLinux', - 'supplemental_groups': 'supplementalGroups', - 'volumes': 'volumes' - } - - self._allowed_capabilities = allowed_capabilities - self._default_add_capabilities = default_add_capabilities - self._fs_group = fs_group - self._host_ipc = host_ipc - self._host_network = host_network - self._host_pid = host_pid - self._host_ports = host_ports - self._privileged = privileged - self._read_only_root_filesystem = read_only_root_filesystem - self._required_drop_capabilities = required_drop_capabilities - self._run_as_user = run_as_user - self._se_linux = se_linux - self._supplemental_groups = supplemental_groups - self._volumes = volumes - - @property - def allowed_capabilities(self): - """ - Gets the allowed_capabilities of this V1beta1PodSecurityPolicySpec. - AllowedCapabilities is a list of capabilities that can be requested to add to the container. Capabilities in this field may be added at the pod author's discretion. You must not list a capability in both AllowedCapabilities and RequiredDropCapabilities. - - :return: The allowed_capabilities of this V1beta1PodSecurityPolicySpec. - :rtype: list[str] - """ - return self._allowed_capabilities - - @allowed_capabilities.setter - def allowed_capabilities(self, allowed_capabilities): - """ - Sets the allowed_capabilities of this V1beta1PodSecurityPolicySpec. - AllowedCapabilities is a list of capabilities that can be requested to add to the container. Capabilities in this field may be added at the pod author's discretion. You must not list a capability in both AllowedCapabilities and RequiredDropCapabilities. - - :param allowed_capabilities: The allowed_capabilities of this V1beta1PodSecurityPolicySpec. - :type: list[str] - """ - - self._allowed_capabilities = allowed_capabilities - - @property - def default_add_capabilities(self): - """ - Gets the default_add_capabilities of this V1beta1PodSecurityPolicySpec. - DefaultAddCapabilities is the default set of capabilities that will be added to the container unless the pod spec specifically drops the capability. You may not list a capabiility in both DefaultAddCapabilities and RequiredDropCapabilities. - - :return: The default_add_capabilities of this V1beta1PodSecurityPolicySpec. - :rtype: list[str] - """ - return self._default_add_capabilities - - @default_add_capabilities.setter - def default_add_capabilities(self, default_add_capabilities): - """ - Sets the default_add_capabilities of this V1beta1PodSecurityPolicySpec. - DefaultAddCapabilities is the default set of capabilities that will be added to the container unless the pod spec specifically drops the capability. You may not list a capabiility in both DefaultAddCapabilities and RequiredDropCapabilities. - - :param default_add_capabilities: The default_add_capabilities of this V1beta1PodSecurityPolicySpec. - :type: list[str] - """ - - self._default_add_capabilities = default_add_capabilities - - @property - def fs_group(self): - """ - Gets the fs_group of this V1beta1PodSecurityPolicySpec. - FSGroup is the strategy that will dictate what fs group is used by the SecurityContext. - - :return: The fs_group of this V1beta1PodSecurityPolicySpec. - :rtype: V1beta1FSGroupStrategyOptions - """ - return self._fs_group - - @fs_group.setter - def fs_group(self, fs_group): - """ - Sets the fs_group of this V1beta1PodSecurityPolicySpec. - FSGroup is the strategy that will dictate what fs group is used by the SecurityContext. - - :param fs_group: The fs_group of this V1beta1PodSecurityPolicySpec. - :type: V1beta1FSGroupStrategyOptions - """ - if fs_group is None: - raise ValueError("Invalid value for `fs_group`, must not be `None`") - - self._fs_group = fs_group - - @property - def host_ipc(self): - """ - Gets the host_ipc of this V1beta1PodSecurityPolicySpec. - hostIPC determines if the policy allows the use of HostIPC in the pod spec. - - :return: The host_ipc of this V1beta1PodSecurityPolicySpec. - :rtype: bool - """ - return self._host_ipc - - @host_ipc.setter - def host_ipc(self, host_ipc): - """ - Sets the host_ipc of this V1beta1PodSecurityPolicySpec. - hostIPC determines if the policy allows the use of HostIPC in the pod spec. - - :param host_ipc: The host_ipc of this V1beta1PodSecurityPolicySpec. - :type: bool - """ - - self._host_ipc = host_ipc - - @property - def host_network(self): - """ - Gets the host_network of this V1beta1PodSecurityPolicySpec. - hostNetwork determines if the policy allows the use of HostNetwork in the pod spec. - - :return: The host_network of this V1beta1PodSecurityPolicySpec. - :rtype: bool - """ - return self._host_network - - @host_network.setter - def host_network(self, host_network): - """ - Sets the host_network of this V1beta1PodSecurityPolicySpec. - hostNetwork determines if the policy allows the use of HostNetwork in the pod spec. - - :param host_network: The host_network of this V1beta1PodSecurityPolicySpec. - :type: bool - """ - - self._host_network = host_network - - @property - def host_pid(self): - """ - Gets the host_pid of this V1beta1PodSecurityPolicySpec. - hostPID determines if the policy allows the use of HostPID in the pod spec. - - :return: The host_pid of this V1beta1PodSecurityPolicySpec. - :rtype: bool - """ - return self._host_pid - - @host_pid.setter - def host_pid(self, host_pid): - """ - Sets the host_pid of this V1beta1PodSecurityPolicySpec. - hostPID determines if the policy allows the use of HostPID in the pod spec. - - :param host_pid: The host_pid of this V1beta1PodSecurityPolicySpec. - :type: bool - """ - - self._host_pid = host_pid - - @property - def host_ports(self): - """ - Gets the host_ports of this V1beta1PodSecurityPolicySpec. - hostPorts determines which host port ranges are allowed to be exposed. - - :return: The host_ports of this V1beta1PodSecurityPolicySpec. - :rtype: list[V1beta1HostPortRange] - """ - return self._host_ports - - @host_ports.setter - def host_ports(self, host_ports): - """ - Sets the host_ports of this V1beta1PodSecurityPolicySpec. - hostPorts determines which host port ranges are allowed to be exposed. - - :param host_ports: The host_ports of this V1beta1PodSecurityPolicySpec. - :type: list[V1beta1HostPortRange] - """ - - self._host_ports = host_ports - - @property - def privileged(self): - """ - Gets the privileged of this V1beta1PodSecurityPolicySpec. - privileged determines if a pod can request to be run as privileged. - - :return: The privileged of this V1beta1PodSecurityPolicySpec. - :rtype: bool - """ - return self._privileged - - @privileged.setter - def privileged(self, privileged): - """ - Sets the privileged of this V1beta1PodSecurityPolicySpec. - privileged determines if a pod can request to be run as privileged. - - :param privileged: The privileged of this V1beta1PodSecurityPolicySpec. - :type: bool - """ - - self._privileged = privileged - - @property - def read_only_root_filesystem(self): - """ - Gets the read_only_root_filesystem of this V1beta1PodSecurityPolicySpec. - ReadOnlyRootFilesystem when set to true will force containers to run with a read only root file system. If the container specifically requests to run with a non-read only root file system the PSP should deny the pod. If set to false the container may run with a read only root file system if it wishes but it will not be forced to. - - :return: The read_only_root_filesystem of this V1beta1PodSecurityPolicySpec. - :rtype: bool - """ - return self._read_only_root_filesystem - - @read_only_root_filesystem.setter - def read_only_root_filesystem(self, read_only_root_filesystem): - """ - Sets the read_only_root_filesystem of this V1beta1PodSecurityPolicySpec. - ReadOnlyRootFilesystem when set to true will force containers to run with a read only root file system. If the container specifically requests to run with a non-read only root file system the PSP should deny the pod. If set to false the container may run with a read only root file system if it wishes but it will not be forced to. - - :param read_only_root_filesystem: The read_only_root_filesystem of this V1beta1PodSecurityPolicySpec. - :type: bool - """ - - self._read_only_root_filesystem = read_only_root_filesystem - - @property - def required_drop_capabilities(self): - """ - Gets the required_drop_capabilities of this V1beta1PodSecurityPolicySpec. - RequiredDropCapabilities are the capabilities that will be dropped from the container. These are required to be dropped and cannot be added. - - :return: The required_drop_capabilities of this V1beta1PodSecurityPolicySpec. - :rtype: list[str] - """ - return self._required_drop_capabilities - - @required_drop_capabilities.setter - def required_drop_capabilities(self, required_drop_capabilities): - """ - Sets the required_drop_capabilities of this V1beta1PodSecurityPolicySpec. - RequiredDropCapabilities are the capabilities that will be dropped from the container. These are required to be dropped and cannot be added. - - :param required_drop_capabilities: The required_drop_capabilities of this V1beta1PodSecurityPolicySpec. - :type: list[str] - """ - - self._required_drop_capabilities = required_drop_capabilities - - @property - def run_as_user(self): - """ - Gets the run_as_user of this V1beta1PodSecurityPolicySpec. - runAsUser is the strategy that will dictate the allowable RunAsUser values that may be set. - - :return: The run_as_user of this V1beta1PodSecurityPolicySpec. - :rtype: V1beta1RunAsUserStrategyOptions - """ - return self._run_as_user - - @run_as_user.setter - def run_as_user(self, run_as_user): - """ - Sets the run_as_user of this V1beta1PodSecurityPolicySpec. - runAsUser is the strategy that will dictate the allowable RunAsUser values that may be set. - - :param run_as_user: The run_as_user of this V1beta1PodSecurityPolicySpec. - :type: V1beta1RunAsUserStrategyOptions - """ - if run_as_user is None: - raise ValueError("Invalid value for `run_as_user`, must not be `None`") - - self._run_as_user = run_as_user - - @property - def se_linux(self): - """ - Gets the se_linux of this V1beta1PodSecurityPolicySpec. - seLinux is the strategy that will dictate the allowable labels that may be set. - - :return: The se_linux of this V1beta1PodSecurityPolicySpec. - :rtype: V1beta1SELinuxStrategyOptions - """ - return self._se_linux - - @se_linux.setter - def se_linux(self, se_linux): - """ - Sets the se_linux of this V1beta1PodSecurityPolicySpec. - seLinux is the strategy that will dictate the allowable labels that may be set. - - :param se_linux: The se_linux of this V1beta1PodSecurityPolicySpec. - :type: V1beta1SELinuxStrategyOptions - """ - if se_linux is None: - raise ValueError("Invalid value for `se_linux`, must not be `None`") - - self._se_linux = se_linux - - @property - def supplemental_groups(self): - """ - Gets the supplemental_groups of this V1beta1PodSecurityPolicySpec. - SupplementalGroups is the strategy that will dictate what supplemental groups are used by the SecurityContext. - - :return: The supplemental_groups of this V1beta1PodSecurityPolicySpec. - :rtype: V1beta1SupplementalGroupsStrategyOptions - """ - return self._supplemental_groups - - @supplemental_groups.setter - def supplemental_groups(self, supplemental_groups): - """ - Sets the supplemental_groups of this V1beta1PodSecurityPolicySpec. - SupplementalGroups is the strategy that will dictate what supplemental groups are used by the SecurityContext. - - :param supplemental_groups: The supplemental_groups of this V1beta1PodSecurityPolicySpec. - :type: V1beta1SupplementalGroupsStrategyOptions - """ - if supplemental_groups is None: - raise ValueError("Invalid value for `supplemental_groups`, must not be `None`") - - self._supplemental_groups = supplemental_groups - - @property - def volumes(self): - """ - Gets the volumes of this V1beta1PodSecurityPolicySpec. - volumes is a white list of allowed volume plugins. Empty indicates that all plugins may be used. - - :return: The volumes of this V1beta1PodSecurityPolicySpec. - :rtype: list[str] - """ - return self._volumes - - @volumes.setter - def volumes(self, volumes): - """ - Sets the volumes of this V1beta1PodSecurityPolicySpec. - volumes is a white list of allowed volume plugins. Empty indicates that all plugins may be used. - - :param volumes: The volumes of this V1beta1PodSecurityPolicySpec. - :type: list[str] - """ - - self._volumes = volumes - - 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 - """ - if not isinstance(other, V1beta1PodSecurityPolicySpec): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """ - Returns true if both objects are not equal - """ - return not self == other diff --git a/openshift/client/models/v1beta1_supplemental_groups_strategy_options.py b/openshift/client/models/v1beta1_supplemental_groups_strategy_options.py deleted file mode 100644 index faf4e50e..00000000 --- a/openshift/client/models/v1beta1_supplemental_groups_strategy_options.py +++ /dev/null @@ -1,143 +0,0 @@ -# coding: utf-8 - -""" - OpenShift API (with Kubernetes) - - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a client. By listing and beginning a watch from the returned resourceVersion, clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - - OpenAPI spec version: v3.6.0-alpha.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from pprint import pformat -from six import iteritems -import re - - -class V1beta1SupplementalGroupsStrategyOptions(object): - """ - NOTE: This class is auto generated by the swagger code generator program. - Do not edit the class manually. - """ - def __init__(self, ranges=None, rule=None): - """ - V1beta1SupplementalGroupsStrategyOptions - 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 = { - 'ranges': 'list[V1beta1IDRange]', - 'rule': 'str' - } - - self.attribute_map = { - 'ranges': 'ranges', - 'rule': 'rule' - } - - self._ranges = ranges - self._rule = rule - - @property - def ranges(self): - """ - Gets the ranges of this V1beta1SupplementalGroupsStrategyOptions. - Ranges are the allowed ranges of supplemental groups. If you would like to force a single supplemental group then supply a single range with the same start and end. - - :return: The ranges of this V1beta1SupplementalGroupsStrategyOptions. - :rtype: list[V1beta1IDRange] - """ - return self._ranges - - @ranges.setter - def ranges(self, ranges): - """ - Sets the ranges of this V1beta1SupplementalGroupsStrategyOptions. - Ranges are the allowed ranges of supplemental groups. If you would like to force a single supplemental group then supply a single range with the same start and end. - - :param ranges: The ranges of this V1beta1SupplementalGroupsStrategyOptions. - :type: list[V1beta1IDRange] - """ - - self._ranges = ranges - - @property - def rule(self): - """ - Gets the rule of this V1beta1SupplementalGroupsStrategyOptions. - Rule is the strategy that will dictate what supplemental groups is used in the SecurityContext. - - :return: The rule of this V1beta1SupplementalGroupsStrategyOptions. - :rtype: str - """ - return self._rule - - @rule.setter - def rule(self, rule): - """ - Sets the rule of this V1beta1SupplementalGroupsStrategyOptions. - Rule is the strategy that will dictate what supplemental groups is used in the SecurityContext. - - :param rule: The rule of this V1beta1SupplementalGroupsStrategyOptions. - :type: str - """ - - self._rule = rule - - 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 - """ - if not isinstance(other, V1beta1SupplementalGroupsStrategyOptions): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """ - Returns true if both objects are not equal - """ - return not self == other diff --git a/openshift/docs/ApisApi.md b/openshift/docs/ApisApi.md deleted file mode 100644 index 17a1dfa9..00000000 --- a/openshift/docs/ApisApi.md +++ /dev/null @@ -1,52 +0,0 @@ -# openshift.client.ApisApi - -All URIs are relative to *https://localhost* - -Method | HTTP request | Description -------------- | ------------- | ------------- -[**get_api_versions**](ApisApi.md#get_api_versions) | **GET** /apis/ | - - -# **get_api_versions** -> UnversionedAPIGroupList get_api_versions() - - - -get available API versions - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.ApisApi() - -try: - api_response = api_instance.get_api_versions() - pprint(api_response) -except ApiException as e: - print("Exception when calling ApisApi->get_api_versions: %s\n" % e) -``` - -### Parameters -This endpoint does not need any parameter. - -### Return type - -[**UnversionedAPIGroupList**](UnversionedAPIGroupList.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: application/json, application/yaml, application/vnd.kubernetes.protobuf - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - diff --git a/openshift/docs/AppsApi.md b/openshift/docs/AppsApi.md deleted file mode 100644 index 1ea39111..00000000 --- a/openshift/docs/AppsApi.md +++ /dev/null @@ -1,52 +0,0 @@ -# openshift.client.AppsApi - -All URIs are relative to *https://localhost* - -Method | HTTP request | Description -------------- | ------------- | ------------- -[**get_apps_api_group**](AppsApi.md#get_apps_api_group) | **GET** /apis/apps/ | - - -# **get_apps_api_group** -> UnversionedAPIGroup get_apps_api_group() - - - -get information of a group - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.AppsApi() - -try: - api_response = api_instance.get_apps_api_group() - pprint(api_response) -except ApiException as e: - print("Exception when calling AppsApi->get_apps_api_group: %s\n" % e) -``` - -### Parameters -This endpoint does not need any parameter. - -### Return type - -[**UnversionedAPIGroup**](UnversionedAPIGroup.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: application/json, application/yaml, application/vnd.kubernetes.protobuf - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - diff --git a/openshift/docs/AppsOpenshiftIoApi.md b/openshift/docs/AppsOpenshiftIoApi.md index 6f6615e8..24cc3ca7 100644 --- a/openshift/docs/AppsOpenshiftIoApi.md +++ b/openshift/docs/AppsOpenshiftIoApi.md @@ -4,11 +4,11 @@ All URIs are relative to *https://localhost* Method | HTTP request | Description ------------- | ------------- | ------------- -[**get_apps_openshift_io_api_group**](AppsOpenshiftIoApi.md#get_apps_openshift_io_api_group) | **GET** /apis/apps.openshift.io/ | +[**get_api_group**](AppsOpenshiftIoApi.md#get_api_group) | **GET** /apis/apps.openshift.io/ | -# **get_apps_openshift_io_api_group** -> UnversionedAPIGroup get_apps_openshift_io_api_group() +# **get_api_group** +> V1APIGroup get_api_group() @@ -22,14 +22,23 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.AppsOpenshiftIoApi() try: - api_response = api_instance.get_apps_openshift_io_api_group() + api_response = api_instance.get_api_group() pprint(api_response) except ApiException as e: - print("Exception when calling AppsOpenshiftIoApi->get_apps_openshift_io_api_group: %s\n" % e) + print("Exception when calling AppsOpenshiftIoApi->get_api_group: %s\n" % e) ``` ### Parameters @@ -37,11 +46,11 @@ This endpoint does not need any parameter. ### Return type -[**UnversionedAPIGroup**](UnversionedAPIGroup.md) +[**V1APIGroup**](V1APIGroup.md) ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers diff --git a/openshift/docs/AppsOpenshiftIoV1Api.md b/openshift/docs/AppsOpenshiftIoV1Api.md index 7a8b2805..01a0c5c7 100644 --- a/openshift/docs/AppsOpenshiftIoV1Api.md +++ b/openshift/docs/AppsOpenshiftIoV1Api.md @@ -4,29 +4,29 @@ All URIs are relative to *https://localhost* Method | HTTP request | Description ------------- | ------------- | ------------- -[**create_apps_openshift_io_v1_deployment_config_for_all_namespaces**](AppsOpenshiftIoV1Api.md#create_apps_openshift_io_v1_deployment_config_for_all_namespaces) | **POST** /apis/apps.openshift.io/v1/deploymentconfigs | -[**create_apps_openshift_io_v1_namespaced_deployment_config**](AppsOpenshiftIoV1Api.md#create_apps_openshift_io_v1_namespaced_deployment_config) | **POST** /apis/apps.openshift.io/v1/namespaces/{namespace}/deploymentconfigs | -[**create_apps_openshift_io_v1_namespaced_deployment_config_rollback_rollback**](AppsOpenshiftIoV1Api.md#create_apps_openshift_io_v1_namespaced_deployment_config_rollback_rollback) | **POST** /apis/apps.openshift.io/v1/namespaces/{namespace}/deploymentconfigs/{name}/rollback | -[**create_apps_openshift_io_v1_namespaced_deployment_request_instantiate**](AppsOpenshiftIoV1Api.md#create_apps_openshift_io_v1_namespaced_deployment_request_instantiate) | **POST** /apis/apps.openshift.io/v1/namespaces/{namespace}/deploymentconfigs/{name}/instantiate | -[**delete_apps_openshift_io_v1_collection_namespaced_deployment_config**](AppsOpenshiftIoV1Api.md#delete_apps_openshift_io_v1_collection_namespaced_deployment_config) | **DELETE** /apis/apps.openshift.io/v1/namespaces/{namespace}/deploymentconfigs | -[**delete_apps_openshift_io_v1_namespaced_deployment_config**](AppsOpenshiftIoV1Api.md#delete_apps_openshift_io_v1_namespaced_deployment_config) | **DELETE** /apis/apps.openshift.io/v1/namespaces/{namespace}/deploymentconfigs/{name} | -[**get_apps_openshift_io_v1_api_resources**](AppsOpenshiftIoV1Api.md#get_apps_openshift_io_v1_api_resources) | **GET** /apis/apps.openshift.io/v1/ | -[**list_apps_openshift_io_v1_deployment_config_for_all_namespaces**](AppsOpenshiftIoV1Api.md#list_apps_openshift_io_v1_deployment_config_for_all_namespaces) | **GET** /apis/apps.openshift.io/v1/deploymentconfigs | -[**list_apps_openshift_io_v1_namespaced_deployment_config**](AppsOpenshiftIoV1Api.md#list_apps_openshift_io_v1_namespaced_deployment_config) | **GET** /apis/apps.openshift.io/v1/namespaces/{namespace}/deploymentconfigs | -[**patch_apps_openshift_io_v1_namespaced_deployment_config**](AppsOpenshiftIoV1Api.md#patch_apps_openshift_io_v1_namespaced_deployment_config) | **PATCH** /apis/apps.openshift.io/v1/namespaces/{namespace}/deploymentconfigs/{name} | -[**patch_apps_openshift_io_v1_namespaced_deployment_config_status**](AppsOpenshiftIoV1Api.md#patch_apps_openshift_io_v1_namespaced_deployment_config_status) | **PATCH** /apis/apps.openshift.io/v1/namespaces/{namespace}/deploymentconfigs/{name}/status | -[**patch_apps_openshift_io_v1_namespaced_scale_scale**](AppsOpenshiftIoV1Api.md#patch_apps_openshift_io_v1_namespaced_scale_scale) | **PATCH** /apis/apps.openshift.io/v1/namespaces/{namespace}/deploymentconfigs/{name}/scale | -[**read_apps_openshift_io_v1_namespaced_deployment_config**](AppsOpenshiftIoV1Api.md#read_apps_openshift_io_v1_namespaced_deployment_config) | **GET** /apis/apps.openshift.io/v1/namespaces/{namespace}/deploymentconfigs/{name} | -[**read_apps_openshift_io_v1_namespaced_deployment_config_status**](AppsOpenshiftIoV1Api.md#read_apps_openshift_io_v1_namespaced_deployment_config_status) | **GET** /apis/apps.openshift.io/v1/namespaces/{namespace}/deploymentconfigs/{name}/status | -[**read_apps_openshift_io_v1_namespaced_deployment_log_log**](AppsOpenshiftIoV1Api.md#read_apps_openshift_io_v1_namespaced_deployment_log_log) | **GET** /apis/apps.openshift.io/v1/namespaces/{namespace}/deploymentconfigs/{name}/log | -[**read_apps_openshift_io_v1_namespaced_scale_scale**](AppsOpenshiftIoV1Api.md#read_apps_openshift_io_v1_namespaced_scale_scale) | **GET** /apis/apps.openshift.io/v1/namespaces/{namespace}/deploymentconfigs/{name}/scale | -[**replace_apps_openshift_io_v1_namespaced_deployment_config**](AppsOpenshiftIoV1Api.md#replace_apps_openshift_io_v1_namespaced_deployment_config) | **PUT** /apis/apps.openshift.io/v1/namespaces/{namespace}/deploymentconfigs/{name} | -[**replace_apps_openshift_io_v1_namespaced_deployment_config_status**](AppsOpenshiftIoV1Api.md#replace_apps_openshift_io_v1_namespaced_deployment_config_status) | **PUT** /apis/apps.openshift.io/v1/namespaces/{namespace}/deploymentconfigs/{name}/status | -[**replace_apps_openshift_io_v1_namespaced_scale_scale**](AppsOpenshiftIoV1Api.md#replace_apps_openshift_io_v1_namespaced_scale_scale) | **PUT** /apis/apps.openshift.io/v1/namespaces/{namespace}/deploymentconfigs/{name}/scale | - - -# **create_apps_openshift_io_v1_deployment_config_for_all_namespaces** -> V1DeploymentConfig create_apps_openshift_io_v1_deployment_config_for_all_namespaces(body, pretty=pretty) +[**create_deployment_config_for_all_namespaces**](AppsOpenshiftIoV1Api.md#create_deployment_config_for_all_namespaces) | **POST** /apis/apps.openshift.io/v1/deploymentconfigs | +[**create_namespaced_deployment_config**](AppsOpenshiftIoV1Api.md#create_namespaced_deployment_config) | **POST** /apis/apps.openshift.io/v1/namespaces/{namespace}/deploymentconfigs | +[**create_namespaced_deployment_config_rollback_rollback**](AppsOpenshiftIoV1Api.md#create_namespaced_deployment_config_rollback_rollback) | **POST** /apis/apps.openshift.io/v1/namespaces/{namespace}/deploymentconfigs/{name}/rollback | +[**create_namespaced_deployment_request_instantiate**](AppsOpenshiftIoV1Api.md#create_namespaced_deployment_request_instantiate) | **POST** /apis/apps.openshift.io/v1/namespaces/{namespace}/deploymentconfigs/{name}/instantiate | +[**delete_collection_namespaced_deployment_config**](AppsOpenshiftIoV1Api.md#delete_collection_namespaced_deployment_config) | **DELETE** /apis/apps.openshift.io/v1/namespaces/{namespace}/deploymentconfigs | +[**delete_namespaced_deployment_config**](AppsOpenshiftIoV1Api.md#delete_namespaced_deployment_config) | **DELETE** /apis/apps.openshift.io/v1/namespaces/{namespace}/deploymentconfigs/{name} | +[**get_api_resources**](AppsOpenshiftIoV1Api.md#get_api_resources) | **GET** /apis/apps.openshift.io/v1/ | +[**list_deployment_config_for_all_namespaces**](AppsOpenshiftIoV1Api.md#list_deployment_config_for_all_namespaces) | **GET** /apis/apps.openshift.io/v1/deploymentconfigs | +[**list_namespaced_deployment_config**](AppsOpenshiftIoV1Api.md#list_namespaced_deployment_config) | **GET** /apis/apps.openshift.io/v1/namespaces/{namespace}/deploymentconfigs | +[**patch_namespaced_deployment_config**](AppsOpenshiftIoV1Api.md#patch_namespaced_deployment_config) | **PATCH** /apis/apps.openshift.io/v1/namespaces/{namespace}/deploymentconfigs/{name} | +[**patch_namespaced_deployment_config_status**](AppsOpenshiftIoV1Api.md#patch_namespaced_deployment_config_status) | **PATCH** /apis/apps.openshift.io/v1/namespaces/{namespace}/deploymentconfigs/{name}/status | +[**patch_namespaced_scale_scale**](AppsOpenshiftIoV1Api.md#patch_namespaced_scale_scale) | **PATCH** /apis/apps.openshift.io/v1/namespaces/{namespace}/deploymentconfigs/{name}/scale | +[**read_namespaced_deployment_config**](AppsOpenshiftIoV1Api.md#read_namespaced_deployment_config) | **GET** /apis/apps.openshift.io/v1/namespaces/{namespace}/deploymentconfigs/{name} | +[**read_namespaced_deployment_config_status**](AppsOpenshiftIoV1Api.md#read_namespaced_deployment_config_status) | **GET** /apis/apps.openshift.io/v1/namespaces/{namespace}/deploymentconfigs/{name}/status | +[**read_namespaced_deployment_log_log**](AppsOpenshiftIoV1Api.md#read_namespaced_deployment_log_log) | **GET** /apis/apps.openshift.io/v1/namespaces/{namespace}/deploymentconfigs/{name}/log | +[**read_namespaced_scale_scale**](AppsOpenshiftIoV1Api.md#read_namespaced_scale_scale) | **GET** /apis/apps.openshift.io/v1/namespaces/{namespace}/deploymentconfigs/{name}/scale | +[**replace_namespaced_deployment_config**](AppsOpenshiftIoV1Api.md#replace_namespaced_deployment_config) | **PUT** /apis/apps.openshift.io/v1/namespaces/{namespace}/deploymentconfigs/{name} | +[**replace_namespaced_deployment_config_status**](AppsOpenshiftIoV1Api.md#replace_namespaced_deployment_config_status) | **PUT** /apis/apps.openshift.io/v1/namespaces/{namespace}/deploymentconfigs/{name}/status | +[**replace_namespaced_scale_scale**](AppsOpenshiftIoV1Api.md#replace_namespaced_scale_scale) | **PUT** /apis/apps.openshift.io/v1/namespaces/{namespace}/deploymentconfigs/{name}/scale | + + +# **create_deployment_config_for_all_namespaces** +> V1DeploymentConfig create_deployment_config_for_all_namespaces(body, pretty=pretty) @@ -40,16 +40,25 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.AppsOpenshiftIoV1Api() body = openshift.client.V1DeploymentConfig() # V1DeploymentConfig | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) try: - api_response = api_instance.create_apps_openshift_io_v1_deployment_config_for_all_namespaces(body, pretty=pretty) + api_response = api_instance.create_deployment_config_for_all_namespaces(body, pretty=pretty) pprint(api_response) except ApiException as e: - print("Exception when calling AppsOpenshiftIoV1Api->create_apps_openshift_io_v1_deployment_config_for_all_namespaces: %s\n" % e) + print("Exception when calling AppsOpenshiftIoV1Api->create_deployment_config_for_all_namespaces: %s\n" % e) ``` ### Parameters @@ -65,7 +74,7 @@ Name | Type | Description | Notes ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -74,8 +83,8 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **create_apps_openshift_io_v1_namespaced_deployment_config** -> V1DeploymentConfig create_apps_openshift_io_v1_namespaced_deployment_config(namespace, body, pretty=pretty) +# **create_namespaced_deployment_config** +> V1DeploymentConfig create_namespaced_deployment_config(namespace, body, pretty=pretty) @@ -89,6 +98,15 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.AppsOpenshiftIoV1Api() namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects @@ -96,10 +114,10 @@ body = openshift.client.V1DeploymentConfig() # V1DeploymentConfig | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) try: - api_response = api_instance.create_apps_openshift_io_v1_namespaced_deployment_config(namespace, body, pretty=pretty) + api_response = api_instance.create_namespaced_deployment_config(namespace, body, pretty=pretty) pprint(api_response) except ApiException as e: - print("Exception when calling AppsOpenshiftIoV1Api->create_apps_openshift_io_v1_namespaced_deployment_config: %s\n" % e) + print("Exception when calling AppsOpenshiftIoV1Api->create_namespaced_deployment_config: %s\n" % e) ``` ### Parameters @@ -116,7 +134,7 @@ Name | Type | Description | Notes ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -125,8 +143,8 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **create_apps_openshift_io_v1_namespaced_deployment_config_rollback_rollback** -> V1DeploymentConfigRollback create_apps_openshift_io_v1_namespaced_deployment_config_rollback_rollback(body, name, namespace, pretty=pretty) +# **create_namespaced_deployment_config_rollback_rollback** +> V1DeploymentConfigRollback create_namespaced_deployment_config_rollback_rollback(name, namespace, body, pretty=pretty) @@ -140,27 +158,36 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.AppsOpenshiftIoV1Api() -body = openshift.client.V1DeploymentConfigRollback() # V1DeploymentConfigRollback | name = 'name_example' # str | name of the DeploymentConfigRollback namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects +body = openshift.client.V1DeploymentConfigRollback() # V1DeploymentConfigRollback | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) try: - api_response = api_instance.create_apps_openshift_io_v1_namespaced_deployment_config_rollback_rollback(body, name, namespace, pretty=pretty) + api_response = api_instance.create_namespaced_deployment_config_rollback_rollback(name, namespace, body, pretty=pretty) pprint(api_response) except ApiException as e: - print("Exception when calling AppsOpenshiftIoV1Api->create_apps_openshift_io_v1_namespaced_deployment_config_rollback_rollback: %s\n" % e) + print("Exception when calling AppsOpenshiftIoV1Api->create_namespaced_deployment_config_rollback_rollback: %s\n" % e) ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **body** | [**V1DeploymentConfigRollback**](V1DeploymentConfigRollback.md)| | **name** | **str**| name of the DeploymentConfigRollback | **namespace** | **str**| object name and auth scope, such as for teams and projects | + **body** | [**V1DeploymentConfigRollback**](V1DeploymentConfigRollback.md)| | **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] ### Return type @@ -169,7 +196,7 @@ Name | Type | Description | Notes ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -178,8 +205,8 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **create_apps_openshift_io_v1_namespaced_deployment_request_instantiate** -> V1DeploymentRequest create_apps_openshift_io_v1_namespaced_deployment_request_instantiate(body, name, namespace, pretty=pretty) +# **create_namespaced_deployment_request_instantiate** +> V1DeploymentRequest create_namespaced_deployment_request_instantiate(name, namespace, body, pretty=pretty) @@ -193,27 +220,36 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.AppsOpenshiftIoV1Api() -body = openshift.client.V1DeploymentRequest() # V1DeploymentRequest | name = 'name_example' # str | name of the DeploymentRequest namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects +body = openshift.client.V1DeploymentRequest() # V1DeploymentRequest | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) try: - api_response = api_instance.create_apps_openshift_io_v1_namespaced_deployment_request_instantiate(body, name, namespace, pretty=pretty) + api_response = api_instance.create_namespaced_deployment_request_instantiate(name, namespace, body, pretty=pretty) pprint(api_response) except ApiException as e: - print("Exception when calling AppsOpenshiftIoV1Api->create_apps_openshift_io_v1_namespaced_deployment_request_instantiate: %s\n" % e) + print("Exception when calling AppsOpenshiftIoV1Api->create_namespaced_deployment_request_instantiate: %s\n" % e) ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **body** | [**V1DeploymentRequest**](V1DeploymentRequest.md)| | **name** | **str**| name of the DeploymentRequest | **namespace** | **str**| object name and auth scope, such as for teams and projects | + **body** | [**V1DeploymentRequest**](V1DeploymentRequest.md)| | **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] ### Return type @@ -222,7 +258,7 @@ Name | Type | Description | Notes ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -231,8 +267,8 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **delete_apps_openshift_io_v1_collection_namespaced_deployment_config** -> UnversionedStatus delete_apps_openshift_io_v1_collection_namespaced_deployment_config(namespace, pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) +# **delete_collection_namespaced_deployment_config** +> V1Status delete_collection_namespaced_deployment_config(namespace, pretty=pretty, field_selector=field_selector, include_uninitialized=include_uninitialized, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) @@ -246,21 +282,31 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.AppsOpenshiftIoV1Api() namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) +include_uninitialized = true # bool | If true, partially initialized resources are included in the response. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. (optional) +resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) timeout_seconds = 56 # int | Timeout for the list/watch call. (optional) watch = true # bool | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) try: - api_response = api_instance.delete_apps_openshift_io_v1_collection_namespaced_deployment_config(namespace, pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) + api_response = api_instance.delete_collection_namespaced_deployment_config(namespace, pretty=pretty, field_selector=field_selector, include_uninitialized=include_uninitialized, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) pprint(api_response) except ApiException as e: - print("Exception when calling AppsOpenshiftIoV1Api->delete_apps_openshift_io_v1_collection_namespaced_deployment_config: %s\n" % e) + print("Exception when calling AppsOpenshiftIoV1Api->delete_collection_namespaced_deployment_config: %s\n" % e) ``` ### Parameters @@ -270,18 +316,19 @@ Name | Type | Description | Notes **namespace** | **str**| object name and auth scope, such as for teams and projects | **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] + **include_uninitialized** | **bool**| If true, partially initialized resources are included in the response. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. | [optional] + **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] **timeout_seconds** | **int**| Timeout for the list/watch call. | [optional] **watch** | **bool**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] ### Return type -[**UnversionedStatus**](UnversionedStatus.md) +[**V1Status**](V1Status.md) ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -290,8 +337,8 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **delete_apps_openshift_io_v1_namespaced_deployment_config** -> UnversionedStatus delete_apps_openshift_io_v1_namespaced_deployment_config(name, namespace, body, pretty=pretty, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents) +# **delete_namespaced_deployment_config** +> V1Status delete_namespaced_deployment_config(name, namespace, body, pretty=pretty, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) @@ -305,6 +352,15 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.AppsOpenshiftIoV1Api() name = 'name_example' # str | name of the DeploymentConfig @@ -312,13 +368,14 @@ namespace = 'namespace_example' # str | object name and auth scope, such as for body = openshift.client.V1DeleteOptions() # V1DeleteOptions | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) grace_period_seconds = 56 # int | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) -orphan_dependents = true # bool | Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. (optional) +orphan_dependents = true # bool | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) +propagation_policy = 'propagation_policy_example' # str | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. (optional) try: - api_response = api_instance.delete_apps_openshift_io_v1_namespaced_deployment_config(name, namespace, body, pretty=pretty, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents) + api_response = api_instance.delete_namespaced_deployment_config(name, namespace, body, pretty=pretty, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) pprint(api_response) except ApiException as e: - print("Exception when calling AppsOpenshiftIoV1Api->delete_apps_openshift_io_v1_namespaced_deployment_config: %s\n" % e) + print("Exception when calling AppsOpenshiftIoV1Api->delete_namespaced_deployment_config: %s\n" % e) ``` ### Parameters @@ -330,15 +387,16 @@ Name | Type | Description | Notes **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | **pretty** | **str**| If 'true', then the output is pretty printed. | [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] - **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] + **orphan_dependents** | **bool**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional] + **propagation_policy** | **str**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. | [optional] ### Return type -[**UnversionedStatus**](UnversionedStatus.md) +[**V1Status**](V1Status.md) ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -347,8 +405,8 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **get_apps_openshift_io_v1_api_resources** -> UnversionedAPIResourceList get_apps_openshift_io_v1_api_resources() +# **get_api_resources** +> V1APIResourceList get_api_resources() @@ -362,14 +420,23 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.AppsOpenshiftIoV1Api() try: - api_response = api_instance.get_apps_openshift_io_v1_api_resources() + api_response = api_instance.get_api_resources() pprint(api_response) except ApiException as e: - print("Exception when calling AppsOpenshiftIoV1Api->get_apps_openshift_io_v1_api_resources: %s\n" % e) + print("Exception when calling AppsOpenshiftIoV1Api->get_api_resources: %s\n" % e) ``` ### Parameters @@ -377,11 +444,11 @@ This endpoint does not need any parameter. ### Return type -[**UnversionedAPIResourceList**](UnversionedAPIResourceList.md) +[**V1APIResourceList**](V1APIResourceList.md) ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -390,8 +457,8 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **list_apps_openshift_io_v1_deployment_config_for_all_namespaces** -> V1DeploymentConfigList list_apps_openshift_io_v1_deployment_config_for_all_namespaces(pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) +# **list_deployment_config_for_all_namespaces** +> V1DeploymentConfigList list_deployment_config_for_all_namespaces(pretty=pretty, field_selector=field_selector, include_uninitialized=include_uninitialized, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) @@ -405,20 +472,30 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.AppsOpenshiftIoV1Api() pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) +include_uninitialized = true # bool | If true, partially initialized resources are included in the response. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. (optional) +resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) timeout_seconds = 56 # int | Timeout for the list/watch call. (optional) watch = true # bool | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) try: - api_response = api_instance.list_apps_openshift_io_v1_deployment_config_for_all_namespaces(pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) + api_response = api_instance.list_deployment_config_for_all_namespaces(pretty=pretty, field_selector=field_selector, include_uninitialized=include_uninitialized, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) pprint(api_response) except ApiException as e: - print("Exception when calling AppsOpenshiftIoV1Api->list_apps_openshift_io_v1_deployment_config_for_all_namespaces: %s\n" % e) + print("Exception when calling AppsOpenshiftIoV1Api->list_deployment_config_for_all_namespaces: %s\n" % e) ``` ### Parameters @@ -427,8 +504,9 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] + **include_uninitialized** | **bool**| If true, partially initialized resources are included in the response. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. | [optional] + **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] **timeout_seconds** | **int**| Timeout for the list/watch call. | [optional] **watch** | **bool**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] @@ -438,7 +516,7 @@ Name | Type | Description | Notes ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -447,8 +525,8 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **list_apps_openshift_io_v1_namespaced_deployment_config** -> V1DeploymentConfigList list_apps_openshift_io_v1_namespaced_deployment_config(namespace, pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) +# **list_namespaced_deployment_config** +> V1DeploymentConfigList list_namespaced_deployment_config(namespace, pretty=pretty, field_selector=field_selector, include_uninitialized=include_uninitialized, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) @@ -462,21 +540,31 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.AppsOpenshiftIoV1Api() namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) +include_uninitialized = true # bool | If true, partially initialized resources are included in the response. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. (optional) +resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) timeout_seconds = 56 # int | Timeout for the list/watch call. (optional) watch = true # bool | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) try: - api_response = api_instance.list_apps_openshift_io_v1_namespaced_deployment_config(namespace, pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) + api_response = api_instance.list_namespaced_deployment_config(namespace, pretty=pretty, field_selector=field_selector, include_uninitialized=include_uninitialized, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) pprint(api_response) except ApiException as e: - print("Exception when calling AppsOpenshiftIoV1Api->list_apps_openshift_io_v1_namespaced_deployment_config: %s\n" % e) + print("Exception when calling AppsOpenshiftIoV1Api->list_namespaced_deployment_config: %s\n" % e) ``` ### Parameters @@ -486,8 +574,9 @@ Name | Type | Description | Notes **namespace** | **str**| object name and auth scope, such as for teams and projects | **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] + **include_uninitialized** | **bool**| If true, partially initialized resources are included in the response. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. | [optional] + **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] **timeout_seconds** | **int**| Timeout for the list/watch call. | [optional] **watch** | **bool**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] @@ -497,7 +586,7 @@ Name | Type | Description | Notes ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -506,8 +595,8 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **patch_apps_openshift_io_v1_namespaced_deployment_config** -> V1DeploymentConfig patch_apps_openshift_io_v1_namespaced_deployment_config(name, namespace, body, pretty=pretty) +# **patch_namespaced_deployment_config** +> V1DeploymentConfig patch_namespaced_deployment_config(name, namespace, body, pretty=pretty) @@ -521,18 +610,27 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.AppsOpenshiftIoV1Api() name = 'name_example' # str | name of the DeploymentConfig namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = openshift.client.UnversionedPatch() # UnversionedPatch | +body = NULL # object | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) try: - api_response = api_instance.patch_apps_openshift_io_v1_namespaced_deployment_config(name, namespace, body, pretty=pretty) + api_response = api_instance.patch_namespaced_deployment_config(name, namespace, body, pretty=pretty) pprint(api_response) except ApiException as e: - print("Exception when calling AppsOpenshiftIoV1Api->patch_apps_openshift_io_v1_namespaced_deployment_config: %s\n" % e) + print("Exception when calling AppsOpenshiftIoV1Api->patch_namespaced_deployment_config: %s\n" % e) ``` ### Parameters @@ -541,7 +639,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **name** | **str**| name of the DeploymentConfig | **namespace** | **str**| object name and auth scope, such as for teams and projects | - **body** | [**UnversionedPatch**](UnversionedPatch.md)| | + **body** | **object**| | **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] ### Return type @@ -550,7 +648,7 @@ Name | Type | Description | Notes ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -559,8 +657,8 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **patch_apps_openshift_io_v1_namespaced_deployment_config_status** -> V1DeploymentConfig patch_apps_openshift_io_v1_namespaced_deployment_config_status(name, namespace, body, pretty=pretty) +# **patch_namespaced_deployment_config_status** +> V1DeploymentConfig patch_namespaced_deployment_config_status(name, namespace, body, pretty=pretty) @@ -574,18 +672,27 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.AppsOpenshiftIoV1Api() name = 'name_example' # str | name of the DeploymentConfig namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = openshift.client.UnversionedPatch() # UnversionedPatch | +body = NULL # object | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) try: - api_response = api_instance.patch_apps_openshift_io_v1_namespaced_deployment_config_status(name, namespace, body, pretty=pretty) + api_response = api_instance.patch_namespaced_deployment_config_status(name, namespace, body, pretty=pretty) pprint(api_response) except ApiException as e: - print("Exception when calling AppsOpenshiftIoV1Api->patch_apps_openshift_io_v1_namespaced_deployment_config_status: %s\n" % e) + print("Exception when calling AppsOpenshiftIoV1Api->patch_namespaced_deployment_config_status: %s\n" % e) ``` ### Parameters @@ -594,7 +701,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **name** | **str**| name of the DeploymentConfig | **namespace** | **str**| object name and auth scope, such as for teams and projects | - **body** | [**UnversionedPatch**](UnversionedPatch.md)| | + **body** | **object**| | **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] ### Return type @@ -603,7 +710,7 @@ Name | Type | Description | Notes ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -612,8 +719,8 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **patch_apps_openshift_io_v1_namespaced_scale_scale** -> V1beta1Scale patch_apps_openshift_io_v1_namespaced_scale_scale(name, namespace, body, pretty=pretty) +# **patch_namespaced_scale_scale** +> ExtensionsV1beta1Scale patch_namespaced_scale_scale(name, namespace, body, pretty=pretty) @@ -627,18 +734,27 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.AppsOpenshiftIoV1Api() name = 'name_example' # str | name of the Scale namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = openshift.client.UnversionedPatch() # UnversionedPatch | +body = NULL # object | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) try: - api_response = api_instance.patch_apps_openshift_io_v1_namespaced_scale_scale(name, namespace, body, pretty=pretty) + api_response = api_instance.patch_namespaced_scale_scale(name, namespace, body, pretty=pretty) pprint(api_response) except ApiException as e: - print("Exception when calling AppsOpenshiftIoV1Api->patch_apps_openshift_io_v1_namespaced_scale_scale: %s\n" % e) + print("Exception when calling AppsOpenshiftIoV1Api->patch_namespaced_scale_scale: %s\n" % e) ``` ### Parameters @@ -647,16 +763,16 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **name** | **str**| name of the Scale | **namespace** | **str**| object name and auth scope, such as for teams and projects | - **body** | [**UnversionedPatch**](UnversionedPatch.md)| | + **body** | **object**| | **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] ### Return type -[**V1beta1Scale**](V1beta1Scale.md) +[**ExtensionsV1beta1Scale**](ExtensionsV1beta1Scale.md) ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -665,8 +781,8 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **read_apps_openshift_io_v1_namespaced_deployment_config** -> V1DeploymentConfig read_apps_openshift_io_v1_namespaced_deployment_config(name, namespace, pretty=pretty, exact=exact, export=export) +# **read_namespaced_deployment_config** +> V1DeploymentConfig read_namespaced_deployment_config(name, namespace, pretty=pretty, exact=exact, export=export) @@ -680,19 +796,28 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.AppsOpenshiftIoV1Api() name = 'name_example' # str | name of the DeploymentConfig namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) -exact = true # bool | Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace' (optional) +exact = true # bool | Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. (optional) export = true # bool | Should this value be exported. Export strips fields that a user can not specify. (optional) try: - api_response = api_instance.read_apps_openshift_io_v1_namespaced_deployment_config(name, namespace, pretty=pretty, exact=exact, export=export) + api_response = api_instance.read_namespaced_deployment_config(name, namespace, pretty=pretty, exact=exact, export=export) pprint(api_response) except ApiException as e: - print("Exception when calling AppsOpenshiftIoV1Api->read_apps_openshift_io_v1_namespaced_deployment_config: %s\n" % e) + print("Exception when calling AppsOpenshiftIoV1Api->read_namespaced_deployment_config: %s\n" % e) ``` ### Parameters @@ -702,7 +827,7 @@ Name | Type | Description | Notes **name** | **str**| name of the DeploymentConfig | **namespace** | **str**| object name and auth scope, such as for teams and projects | **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - **exact** | **bool**| Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace' | [optional] + **exact** | **bool**| Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. | [optional] **export** | **bool**| Should this value be exported. Export strips fields that a user can not specify. | [optional] ### Return type @@ -711,7 +836,7 @@ Name | Type | Description | Notes ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -720,8 +845,8 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **read_apps_openshift_io_v1_namespaced_deployment_config_status** -> V1DeploymentConfig read_apps_openshift_io_v1_namespaced_deployment_config_status(name, namespace, pretty=pretty) +# **read_namespaced_deployment_config_status** +> V1DeploymentConfig read_namespaced_deployment_config_status(name, namespace, pretty=pretty) @@ -735,6 +860,15 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.AppsOpenshiftIoV1Api() name = 'name_example' # str | name of the DeploymentConfig @@ -742,10 +876,10 @@ namespace = 'namespace_example' # str | object name and auth scope, such as for pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) try: - api_response = api_instance.read_apps_openshift_io_v1_namespaced_deployment_config_status(name, namespace, pretty=pretty) + api_response = api_instance.read_namespaced_deployment_config_status(name, namespace, pretty=pretty) pprint(api_response) except ApiException as e: - print("Exception when calling AppsOpenshiftIoV1Api->read_apps_openshift_io_v1_namespaced_deployment_config_status: %s\n" % e) + print("Exception when calling AppsOpenshiftIoV1Api->read_namespaced_deployment_config_status: %s\n" % e) ``` ### Parameters @@ -762,7 +896,7 @@ Name | Type | Description | Notes ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -771,8 +905,8 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **read_apps_openshift_io_v1_namespaced_deployment_log_log** -> V1DeploymentLog read_apps_openshift_io_v1_namespaced_deployment_log_log(name, namespace, container=container, follow=follow, limit_bytes=limit_bytes, nowait=nowait, pretty=pretty, previous=previous, since_seconds=since_seconds, since_time=since_time, tail_lines=tail_lines, timestamps=timestamps, version=version) +# **read_namespaced_deployment_log_log** +> V1DeploymentLog read_namespaced_deployment_log_log(name, namespace, container=container, follow=follow, limit_bytes=limit_bytes, nowait=nowait, pretty=pretty, previous=previous, since_seconds=since_seconds, tail_lines=tail_lines, timestamps=timestamps, version=version) @@ -786,6 +920,15 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.AppsOpenshiftIoV1Api() name = 'name_example' # str | name of the DeploymentLog @@ -797,16 +940,15 @@ nowait = true # bool | NoWait if true causes the call to return immediately even pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) previous = true # bool | Return previous deployment logs. Defaults to false. (optional) since_seconds = 56 # int | A relative time in seconds before the current time from which to show logs. If this value precedes the time a pod was started, only logs since the pod start will be returned. If this value is in the future, no logs will be returned. Only one of sinceSeconds or sinceTime may be specified. (optional) -since_time = 'since_time_example' # str | An RFC3339 timestamp from which to show logs. If this value precedes the time a pod was started, only logs since the pod start will be returned. If this value is in the future, no logs will be returned. Only one of sinceSeconds or sinceTime may be specified. (optional) tail_lines = 56 # int | If set, the number of lines from the end of the logs to show. If not specified, logs are shown from the creation of the container or sinceSeconds or sinceTime (optional) timestamps = true # bool | If true, add an RFC3339 or RFC3339Nano timestamp at the beginning of every line of log output. Defaults to false. (optional) version = 56 # int | Version of the deployment for which to view logs. (optional) try: - api_response = api_instance.read_apps_openshift_io_v1_namespaced_deployment_log_log(name, namespace, container=container, follow=follow, limit_bytes=limit_bytes, nowait=nowait, pretty=pretty, previous=previous, since_seconds=since_seconds, since_time=since_time, tail_lines=tail_lines, timestamps=timestamps, version=version) + api_response = api_instance.read_namespaced_deployment_log_log(name, namespace, container=container, follow=follow, limit_bytes=limit_bytes, nowait=nowait, pretty=pretty, previous=previous, since_seconds=since_seconds, tail_lines=tail_lines, timestamps=timestamps, version=version) pprint(api_response) except ApiException as e: - print("Exception when calling AppsOpenshiftIoV1Api->read_apps_openshift_io_v1_namespaced_deployment_log_log: %s\n" % e) + print("Exception when calling AppsOpenshiftIoV1Api->read_namespaced_deployment_log_log: %s\n" % e) ``` ### Parameters @@ -822,7 +964,6 @@ Name | Type | Description | Notes **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] **previous** | **bool**| Return previous deployment logs. Defaults to false. | [optional] **since_seconds** | **int**| A relative time in seconds before the current time from which to show logs. If this value precedes the time a pod was started, only logs since the pod start will be returned. If this value is in the future, no logs will be returned. Only one of sinceSeconds or sinceTime may be specified. | [optional] - **since_time** | **str**| An RFC3339 timestamp from which to show logs. If this value precedes the time a pod was started, only logs since the pod start will be returned. If this value is in the future, no logs will be returned. Only one of sinceSeconds or sinceTime may be specified. | [optional] **tail_lines** | **int**| If set, the number of lines from the end of the logs to show. If not specified, logs are shown from the creation of the container or sinceSeconds or sinceTime | [optional] **timestamps** | **bool**| If true, add an RFC3339 or RFC3339Nano timestamp at the beginning of every line of log output. Defaults to false. | [optional] **version** | **int**| Version of the deployment for which to view logs. | [optional] @@ -833,7 +974,7 @@ Name | Type | Description | Notes ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -842,8 +983,8 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **read_apps_openshift_io_v1_namespaced_scale_scale** -> V1beta1Scale read_apps_openshift_io_v1_namespaced_scale_scale(name, namespace, pretty=pretty) +# **read_namespaced_scale_scale** +> ExtensionsV1beta1Scale read_namespaced_scale_scale(name, namespace, pretty=pretty) @@ -857,6 +998,15 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.AppsOpenshiftIoV1Api() name = 'name_example' # str | name of the Scale @@ -864,10 +1014,10 @@ namespace = 'namespace_example' # str | object name and auth scope, such as for pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) try: - api_response = api_instance.read_apps_openshift_io_v1_namespaced_scale_scale(name, namespace, pretty=pretty) + api_response = api_instance.read_namespaced_scale_scale(name, namespace, pretty=pretty) pprint(api_response) except ApiException as e: - print("Exception when calling AppsOpenshiftIoV1Api->read_apps_openshift_io_v1_namespaced_scale_scale: %s\n" % e) + print("Exception when calling AppsOpenshiftIoV1Api->read_namespaced_scale_scale: %s\n" % e) ``` ### Parameters @@ -880,11 +1030,11 @@ Name | Type | Description | Notes ### Return type -[**V1beta1Scale**](V1beta1Scale.md) +[**ExtensionsV1beta1Scale**](ExtensionsV1beta1Scale.md) ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -893,8 +1043,8 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **replace_apps_openshift_io_v1_namespaced_deployment_config** -> V1DeploymentConfig replace_apps_openshift_io_v1_namespaced_deployment_config(name, namespace, body, pretty=pretty) +# **replace_namespaced_deployment_config** +> V1DeploymentConfig replace_namespaced_deployment_config(name, namespace, body, pretty=pretty) @@ -908,6 +1058,15 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.AppsOpenshiftIoV1Api() name = 'name_example' # str | name of the DeploymentConfig @@ -916,10 +1075,10 @@ body = openshift.client.V1DeploymentConfig() # V1DeploymentConfig | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) try: - api_response = api_instance.replace_apps_openshift_io_v1_namespaced_deployment_config(name, namespace, body, pretty=pretty) + api_response = api_instance.replace_namespaced_deployment_config(name, namespace, body, pretty=pretty) pprint(api_response) except ApiException as e: - print("Exception when calling AppsOpenshiftIoV1Api->replace_apps_openshift_io_v1_namespaced_deployment_config: %s\n" % e) + print("Exception when calling AppsOpenshiftIoV1Api->replace_namespaced_deployment_config: %s\n" % e) ``` ### Parameters @@ -937,7 +1096,7 @@ Name | Type | Description | Notes ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -946,8 +1105,8 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **replace_apps_openshift_io_v1_namespaced_deployment_config_status** -> V1DeploymentConfig replace_apps_openshift_io_v1_namespaced_deployment_config_status(name, namespace, body, pretty=pretty) +# **replace_namespaced_deployment_config_status** +> V1DeploymentConfig replace_namespaced_deployment_config_status(name, namespace, body, pretty=pretty) @@ -961,6 +1120,15 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.AppsOpenshiftIoV1Api() name = 'name_example' # str | name of the DeploymentConfig @@ -969,10 +1137,10 @@ body = openshift.client.V1DeploymentConfig() # V1DeploymentConfig | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) try: - api_response = api_instance.replace_apps_openshift_io_v1_namespaced_deployment_config_status(name, namespace, body, pretty=pretty) + api_response = api_instance.replace_namespaced_deployment_config_status(name, namespace, body, pretty=pretty) pprint(api_response) except ApiException as e: - print("Exception when calling AppsOpenshiftIoV1Api->replace_apps_openshift_io_v1_namespaced_deployment_config_status: %s\n" % e) + print("Exception when calling AppsOpenshiftIoV1Api->replace_namespaced_deployment_config_status: %s\n" % e) ``` ### Parameters @@ -990,7 +1158,7 @@ Name | Type | Description | Notes ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -999,8 +1167,8 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **replace_apps_openshift_io_v1_namespaced_scale_scale** -> V1beta1Scale replace_apps_openshift_io_v1_namespaced_scale_scale(name, namespace, body, pretty=pretty) +# **replace_namespaced_scale_scale** +> ExtensionsV1beta1Scale replace_namespaced_scale_scale(name, namespace, body, pretty=pretty) @@ -1014,18 +1182,27 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.AppsOpenshiftIoV1Api() name = 'name_example' # str | name of the Scale namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = openshift.client.V1beta1Scale() # V1beta1Scale | +body = openshift.client.ExtensionsV1beta1Scale() # ExtensionsV1beta1Scale | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) try: - api_response = api_instance.replace_apps_openshift_io_v1_namespaced_scale_scale(name, namespace, body, pretty=pretty) + api_response = api_instance.replace_namespaced_scale_scale(name, namespace, body, pretty=pretty) pprint(api_response) except ApiException as e: - print("Exception when calling AppsOpenshiftIoV1Api->replace_apps_openshift_io_v1_namespaced_scale_scale: %s\n" % e) + print("Exception when calling AppsOpenshiftIoV1Api->replace_namespaced_scale_scale: %s\n" % e) ``` ### Parameters @@ -1034,16 +1211,16 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **name** | **str**| name of the Scale | **namespace** | **str**| object name and auth scope, such as for teams and projects | - **body** | [**V1beta1Scale**](V1beta1Scale.md)| | + **body** | [**ExtensionsV1beta1Scale**](ExtensionsV1beta1Scale.md)| | **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] ### Return type -[**V1beta1Scale**](V1beta1Scale.md) +[**ExtensionsV1beta1Scale**](ExtensionsV1beta1Scale.md) ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers diff --git a/openshift/docs/AppsV1beta1Api.md b/openshift/docs/AppsV1beta1Api.md deleted file mode 100644 index 2065bd2b..00000000 --- a/openshift/docs/AppsV1beta1Api.md +++ /dev/null @@ -1,714 +0,0 @@ -# openshift.client.AppsV1beta1Api - -All URIs are relative to *https://localhost* - -Method | HTTP request | Description -------------- | ------------- | ------------- -[**create_namespaced_stateful_set**](AppsV1beta1Api.md#create_namespaced_stateful_set) | **POST** /apis/apps/v1beta1/namespaces/{namespace}/statefulsets | -[**create_stateful_set_for_all_namespaces**](AppsV1beta1Api.md#create_stateful_set_for_all_namespaces) | **POST** /apis/apps/v1beta1/statefulsets | -[**delete_collection_namespaced_stateful_set**](AppsV1beta1Api.md#delete_collection_namespaced_stateful_set) | **DELETE** /apis/apps/v1beta1/namespaces/{namespace}/statefulsets | -[**delete_namespaced_stateful_set**](AppsV1beta1Api.md#delete_namespaced_stateful_set) | **DELETE** /apis/apps/v1beta1/namespaces/{namespace}/statefulsets/{name} | -[**get_api_resources**](AppsV1beta1Api.md#get_api_resources) | **GET** /apis/apps/v1beta1/ | -[**list_namespaced_stateful_set**](AppsV1beta1Api.md#list_namespaced_stateful_set) | **GET** /apis/apps/v1beta1/namespaces/{namespace}/statefulsets | -[**list_stateful_set_for_all_namespaces**](AppsV1beta1Api.md#list_stateful_set_for_all_namespaces) | **GET** /apis/apps/v1beta1/statefulsets | -[**patch_namespaced_stateful_set**](AppsV1beta1Api.md#patch_namespaced_stateful_set) | **PATCH** /apis/apps/v1beta1/namespaces/{namespace}/statefulsets/{name} | -[**patch_namespaced_stateful_set_status**](AppsV1beta1Api.md#patch_namespaced_stateful_set_status) | **PATCH** /apis/apps/v1beta1/namespaces/{namespace}/statefulsets/{name}/status | -[**read_namespaced_stateful_set**](AppsV1beta1Api.md#read_namespaced_stateful_set) | **GET** /apis/apps/v1beta1/namespaces/{namespace}/statefulsets/{name} | -[**read_namespaced_stateful_set_status**](AppsV1beta1Api.md#read_namespaced_stateful_set_status) | **GET** /apis/apps/v1beta1/namespaces/{namespace}/statefulsets/{name}/status | -[**replace_namespaced_stateful_set**](AppsV1beta1Api.md#replace_namespaced_stateful_set) | **PUT** /apis/apps/v1beta1/namespaces/{namespace}/statefulsets/{name} | -[**replace_namespaced_stateful_set_status**](AppsV1beta1Api.md#replace_namespaced_stateful_set_status) | **PUT** /apis/apps/v1beta1/namespaces/{namespace}/statefulsets/{name}/status | - - -# **create_namespaced_stateful_set** -> V1beta1StatefulSet create_namespaced_stateful_set(namespace, body, pretty=pretty) - - - -create a StatefulSet - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.AppsV1beta1Api() -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = openshift.client.V1beta1StatefulSet() # V1beta1StatefulSet | -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) - -try: - api_response = api_instance.create_namespaced_stateful_set(namespace, body, pretty=pretty) - pprint(api_response) -except ApiException as e: - print("Exception when calling AppsV1beta1Api->create_namespaced_stateful_set: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **namespace** | **str**| object name and auth scope, such as for teams and projects | - **body** | [**V1beta1StatefulSet**](V1beta1StatefulSet.md)| | - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - -### Return type - -[**V1beta1StatefulSet**](V1beta1StatefulSet.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **create_stateful_set_for_all_namespaces** -> V1beta1StatefulSet create_stateful_set_for_all_namespaces(body, pretty=pretty) - - - -create a StatefulSet - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.AppsV1beta1Api() -body = openshift.client.V1beta1StatefulSet() # V1beta1StatefulSet | -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) - -try: - api_response = api_instance.create_stateful_set_for_all_namespaces(body, pretty=pretty) - pprint(api_response) -except ApiException as e: - print("Exception when calling AppsV1beta1Api->create_stateful_set_for_all_namespaces: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **body** | [**V1beta1StatefulSet**](V1beta1StatefulSet.md)| | - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - -### Return type - -[**V1beta1StatefulSet**](V1beta1StatefulSet.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **delete_collection_namespaced_stateful_set** -> UnversionedStatus delete_collection_namespaced_stateful_set(namespace, pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) - - - -delete collection of StatefulSet - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.AppsV1beta1Api() -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) -field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) -label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. (optional) -timeout_seconds = 56 # int | Timeout for the list/watch call. (optional) -watch = true # bool | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) - -try: - api_response = api_instance.delete_collection_namespaced_stateful_set(namespace, pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) - pprint(api_response) -except ApiException as e: - print("Exception when calling AppsV1beta1Api->delete_collection_namespaced_stateful_set: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **namespace** | **str**| object name and auth scope, such as for teams and projects | - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] - **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. | [optional] - **timeout_seconds** | **int**| Timeout for the list/watch call. | [optional] - **watch** | **bool**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] - -### Return type - -[**UnversionedStatus**](UnversionedStatus.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **delete_namespaced_stateful_set** -> UnversionedStatus delete_namespaced_stateful_set(name, namespace, body, pretty=pretty, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents) - - - -delete a StatefulSet - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.AppsV1beta1Api() -name = 'name_example' # str | name of the StatefulSet -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = openshift.client.V1DeleteOptions() # V1DeleteOptions | -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) -grace_period_seconds = 56 # int | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) -orphan_dependents = true # bool | Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. (optional) - -try: - api_response = api_instance.delete_namespaced_stateful_set(name, namespace, body, pretty=pretty, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents) - pprint(api_response) -except ApiException as e: - print("Exception when calling AppsV1beta1Api->delete_namespaced_stateful_set: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the StatefulSet | - **namespace** | **str**| object name and auth scope, such as for teams and projects | - **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | - **pretty** | **str**| If 'true', then the output is pretty printed. | [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] - **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] - -### Return type - -[**UnversionedStatus**](UnversionedStatus.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **get_api_resources** -> UnversionedAPIResourceList get_api_resources() - - - -get available resources - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.AppsV1beta1Api() - -try: - api_response = api_instance.get_api_resources() - pprint(api_response) -except ApiException as e: - print("Exception when calling AppsV1beta1Api->get_api_resources: %s\n" % e) -``` - -### Parameters -This endpoint does not need any parameter. - -### Return type - -[**UnversionedAPIResourceList**](UnversionedAPIResourceList.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: application/json, application/yaml, application/vnd.kubernetes.protobuf - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **list_namespaced_stateful_set** -> V1beta1StatefulSetList list_namespaced_stateful_set(namespace, pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) - - - -list or watch objects of kind StatefulSet - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.AppsV1beta1Api() -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) -field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) -label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. (optional) -timeout_seconds = 56 # int | Timeout for the list/watch call. (optional) -watch = true # bool | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) - -try: - api_response = api_instance.list_namespaced_stateful_set(namespace, pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) - pprint(api_response) -except ApiException as e: - print("Exception when calling AppsV1beta1Api->list_namespaced_stateful_set: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **namespace** | **str**| object name and auth scope, such as for teams and projects | - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] - **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. | [optional] - **timeout_seconds** | **int**| Timeout for the list/watch call. | [optional] - **watch** | **bool**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] - -### Return type - -[**V1beta1StatefulSetList**](V1beta1StatefulSetList.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **list_stateful_set_for_all_namespaces** -> V1beta1StatefulSetList list_stateful_set_for_all_namespaces(pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) - - - -list or watch objects of kind StatefulSet - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.AppsV1beta1Api() -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) -field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) -label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. (optional) -timeout_seconds = 56 # int | Timeout for the list/watch call. (optional) -watch = true # bool | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) - -try: - api_response = api_instance.list_stateful_set_for_all_namespaces(pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) - pprint(api_response) -except ApiException as e: - print("Exception when calling AppsV1beta1Api->list_stateful_set_for_all_namespaces: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] - **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. | [optional] - **timeout_seconds** | **int**| Timeout for the list/watch call. | [optional] - **watch** | **bool**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] - -### Return type - -[**V1beta1StatefulSetList**](V1beta1StatefulSetList.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **patch_namespaced_stateful_set** -> V1beta1StatefulSet patch_namespaced_stateful_set(name, namespace, body, pretty=pretty) - - - -partially update the specified StatefulSet - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.AppsV1beta1Api() -name = 'name_example' # str | name of the StatefulSet -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = openshift.client.UnversionedPatch() # UnversionedPatch | -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) - -try: - api_response = api_instance.patch_namespaced_stateful_set(name, namespace, body, pretty=pretty) - pprint(api_response) -except ApiException as e: - print("Exception when calling AppsV1beta1Api->patch_namespaced_stateful_set: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the StatefulSet | - **namespace** | **str**| object name and auth scope, such as for teams and projects | - **body** | [**UnversionedPatch**](UnversionedPatch.md)| | - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - -### Return type - -[**V1beta1StatefulSet**](V1beta1StatefulSet.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **patch_namespaced_stateful_set_status** -> V1beta1StatefulSet patch_namespaced_stateful_set_status(name, namespace, body, pretty=pretty) - - - -partially update status of the specified StatefulSet - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.AppsV1beta1Api() -name = 'name_example' # str | name of the StatefulSet -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = openshift.client.UnversionedPatch() # UnversionedPatch | -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) - -try: - api_response = api_instance.patch_namespaced_stateful_set_status(name, namespace, body, pretty=pretty) - pprint(api_response) -except ApiException as e: - print("Exception when calling AppsV1beta1Api->patch_namespaced_stateful_set_status: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the StatefulSet | - **namespace** | **str**| object name and auth scope, such as for teams and projects | - **body** | [**UnversionedPatch**](UnversionedPatch.md)| | - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - -### Return type - -[**V1beta1StatefulSet**](V1beta1StatefulSet.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **read_namespaced_stateful_set** -> V1beta1StatefulSet read_namespaced_stateful_set(name, namespace, pretty=pretty, exact=exact, export=export) - - - -read the specified StatefulSet - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.AppsV1beta1Api() -name = 'name_example' # str | name of the StatefulSet -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) -exact = true # bool | Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace' (optional) -export = true # bool | Should this value be exported. Export strips fields that a user can not specify. (optional) - -try: - api_response = api_instance.read_namespaced_stateful_set(name, namespace, pretty=pretty, exact=exact, export=export) - pprint(api_response) -except ApiException as e: - print("Exception when calling AppsV1beta1Api->read_namespaced_stateful_set: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the StatefulSet | - **namespace** | **str**| object name and auth scope, such as for teams and projects | - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - **exact** | **bool**| Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace' | [optional] - **export** | **bool**| Should this value be exported. Export strips fields that a user can not specify. | [optional] - -### Return type - -[**V1beta1StatefulSet**](V1beta1StatefulSet.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **read_namespaced_stateful_set_status** -> V1beta1StatefulSet read_namespaced_stateful_set_status(name, namespace, pretty=pretty) - - - -read status of the specified StatefulSet - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.AppsV1beta1Api() -name = 'name_example' # str | name of the StatefulSet -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) - -try: - api_response = api_instance.read_namespaced_stateful_set_status(name, namespace, pretty=pretty) - pprint(api_response) -except ApiException as e: - print("Exception when calling AppsV1beta1Api->read_namespaced_stateful_set_status: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the StatefulSet | - **namespace** | **str**| object name and auth scope, such as for teams and projects | - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - -### Return type - -[**V1beta1StatefulSet**](V1beta1StatefulSet.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **replace_namespaced_stateful_set** -> V1beta1StatefulSet replace_namespaced_stateful_set(name, namespace, body, pretty=pretty) - - - -replace the specified StatefulSet - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.AppsV1beta1Api() -name = 'name_example' # str | name of the StatefulSet -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = openshift.client.V1beta1StatefulSet() # V1beta1StatefulSet | -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) - -try: - api_response = api_instance.replace_namespaced_stateful_set(name, namespace, body, pretty=pretty) - pprint(api_response) -except ApiException as e: - print("Exception when calling AppsV1beta1Api->replace_namespaced_stateful_set: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the StatefulSet | - **namespace** | **str**| object name and auth scope, such as for teams and projects | - **body** | [**V1beta1StatefulSet**](V1beta1StatefulSet.md)| | - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - -### Return type - -[**V1beta1StatefulSet**](V1beta1StatefulSet.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **replace_namespaced_stateful_set_status** -> V1beta1StatefulSet replace_namespaced_stateful_set_status(name, namespace, body, pretty=pretty) - - - -replace status of the specified StatefulSet - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.AppsV1beta1Api() -name = 'name_example' # str | name of the StatefulSet -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = openshift.client.V1beta1StatefulSet() # V1beta1StatefulSet | -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) - -try: - api_response = api_instance.replace_namespaced_stateful_set_status(name, namespace, body, pretty=pretty) - pprint(api_response) -except ApiException as e: - print("Exception when calling AppsV1beta1Api->replace_namespaced_stateful_set_status: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the StatefulSet | - **namespace** | **str**| object name and auth scope, such as for teams and projects | - **body** | [**V1beta1StatefulSet**](V1beta1StatefulSet.md)| | - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - -### Return type - -[**V1beta1StatefulSet**](V1beta1StatefulSet.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - diff --git a/openshift/docs/AuthenticationApi.md b/openshift/docs/AuthenticationApi.md deleted file mode 100644 index 1337007e..00000000 --- a/openshift/docs/AuthenticationApi.md +++ /dev/null @@ -1,52 +0,0 @@ -# openshift.client.AuthenticationApi - -All URIs are relative to *https://localhost* - -Method | HTTP request | Description -------------- | ------------- | ------------- -[**get_authentication_api_group**](AuthenticationApi.md#get_authentication_api_group) | **GET** /apis/authentication.k8s.io/ | - - -# **get_authentication_api_group** -> UnversionedAPIGroup get_authentication_api_group() - - - -get information of a group - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.AuthenticationApi() - -try: - api_response = api_instance.get_authentication_api_group() - pprint(api_response) -except ApiException as e: - print("Exception when calling AuthenticationApi->get_authentication_api_group: %s\n" % e) -``` - -### Parameters -This endpoint does not need any parameter. - -### Return type - -[**UnversionedAPIGroup**](UnversionedAPIGroup.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: application/json, application/yaml, application/vnd.kubernetes.protobuf - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - diff --git a/openshift/docs/AuthenticationV1beta1Api.md b/openshift/docs/AuthenticationV1beta1Api.md deleted file mode 100644 index 528caab5..00000000 --- a/openshift/docs/AuthenticationV1beta1Api.md +++ /dev/null @@ -1,102 +0,0 @@ -# openshift.client.AuthenticationV1beta1Api - -All URIs are relative to *https://localhost* - -Method | HTTP request | Description -------------- | ------------- | ------------- -[**create_token_review**](AuthenticationV1beta1Api.md#create_token_review) | **POST** /apis/authentication.k8s.io/v1beta1/tokenreviews | -[**get_api_resources**](AuthenticationV1beta1Api.md#get_api_resources) | **GET** /apis/authentication.k8s.io/v1beta1/ | - - -# **create_token_review** -> V1beta1TokenReview create_token_review(body, pretty=pretty) - - - -create a TokenReview - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.AuthenticationV1beta1Api() -body = openshift.client.V1beta1TokenReview() # V1beta1TokenReview | -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) - -try: - api_response = api_instance.create_token_review(body, pretty=pretty) - pprint(api_response) -except ApiException as e: - print("Exception when calling AuthenticationV1beta1Api->create_token_review: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **body** | [**V1beta1TokenReview**](V1beta1TokenReview.md)| | - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - -### Return type - -[**V1beta1TokenReview**](V1beta1TokenReview.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **get_api_resources** -> UnversionedAPIResourceList get_api_resources() - - - -get available resources - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.AuthenticationV1beta1Api() - -try: - api_response = api_instance.get_api_resources() - pprint(api_response) -except ApiException as e: - print("Exception when calling AuthenticationV1beta1Api->get_api_resources: %s\n" % e) -``` - -### Parameters -This endpoint does not need any parameter. - -### Return type - -[**UnversionedAPIResourceList**](UnversionedAPIResourceList.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: application/json, application/yaml, application/vnd.kubernetes.protobuf - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - diff --git a/openshift/docs/AuthorizationApi.md b/openshift/docs/AuthorizationApi.md deleted file mode 100644 index 1faa1468..00000000 --- a/openshift/docs/AuthorizationApi.md +++ /dev/null @@ -1,52 +0,0 @@ -# openshift.client.AuthorizationApi - -All URIs are relative to *https://localhost* - -Method | HTTP request | Description -------------- | ------------- | ------------- -[**get_authorization_api_group**](AuthorizationApi.md#get_authorization_api_group) | **GET** /apis/authorization.k8s.io/ | - - -# **get_authorization_api_group** -> UnversionedAPIGroup get_authorization_api_group() - - - -get information of a group - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.AuthorizationApi() - -try: - api_response = api_instance.get_authorization_api_group() - pprint(api_response) -except ApiException as e: - print("Exception when calling AuthorizationApi->get_authorization_api_group: %s\n" % e) -``` - -### Parameters -This endpoint does not need any parameter. - -### Return type - -[**UnversionedAPIGroup**](UnversionedAPIGroup.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: application/json, application/yaml, application/vnd.kubernetes.protobuf - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - diff --git a/openshift/docs/AuthorizationOpenshiftIoApi.md b/openshift/docs/AuthorizationOpenshiftIoApi.md index 56094459..265fac2e 100644 --- a/openshift/docs/AuthorizationOpenshiftIoApi.md +++ b/openshift/docs/AuthorizationOpenshiftIoApi.md @@ -4,11 +4,11 @@ All URIs are relative to *https://localhost* Method | HTTP request | Description ------------- | ------------- | ------------- -[**get_authorization_openshift_io_api_group**](AuthorizationOpenshiftIoApi.md#get_authorization_openshift_io_api_group) | **GET** /apis/authorization.openshift.io/ | +[**get_api_group**](AuthorizationOpenshiftIoApi.md#get_api_group) | **GET** /apis/authorization.openshift.io/ | -# **get_authorization_openshift_io_api_group** -> UnversionedAPIGroup get_authorization_openshift_io_api_group() +# **get_api_group** +> V1APIGroup get_api_group() @@ -22,14 +22,23 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.AuthorizationOpenshiftIoApi() try: - api_response = api_instance.get_authorization_openshift_io_api_group() + api_response = api_instance.get_api_group() pprint(api_response) except ApiException as e: - print("Exception when calling AuthorizationOpenshiftIoApi->get_authorization_openshift_io_api_group: %s\n" % e) + print("Exception when calling AuthorizationOpenshiftIoApi->get_api_group: %s\n" % e) ``` ### Parameters @@ -37,11 +46,11 @@ This endpoint does not need any parameter. ### Return type -[**UnversionedAPIGroup**](UnversionedAPIGroup.md) +[**V1APIGroup**](V1APIGroup.md) ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers diff --git a/openshift/docs/AuthorizationOpenshiftIoV1Api.md b/openshift/docs/AuthorizationOpenshiftIoV1Api.md index 4ffee024..4a6d62ff 100644 --- a/openshift/docs/AuthorizationOpenshiftIoV1Api.md +++ b/openshift/docs/AuthorizationOpenshiftIoV1Api.md @@ -4,96 +4,62 @@ All URIs are relative to *https://localhost* Method | HTTP request | Description ------------- | ------------- | ------------- -[**create_authorization_openshift_io_v1_cluster_policy**](AuthorizationOpenshiftIoV1Api.md#create_authorization_openshift_io_v1_cluster_policy) | **POST** /apis/authorization.openshift.io/v1/clusterpolicies | -[**create_authorization_openshift_io_v1_cluster_policy_binding**](AuthorizationOpenshiftIoV1Api.md#create_authorization_openshift_io_v1_cluster_policy_binding) | **POST** /apis/authorization.openshift.io/v1/clusterpolicybindings | -[**create_authorization_openshift_io_v1_cluster_role**](AuthorizationOpenshiftIoV1Api.md#create_authorization_openshift_io_v1_cluster_role) | **POST** /apis/authorization.openshift.io/v1/clusterroles | -[**create_authorization_openshift_io_v1_cluster_role_binding**](AuthorizationOpenshiftIoV1Api.md#create_authorization_openshift_io_v1_cluster_role_binding) | **POST** /apis/authorization.openshift.io/v1/clusterrolebindings | -[**create_authorization_openshift_io_v1_local_resource_access_review_for_all_namespaces**](AuthorizationOpenshiftIoV1Api.md#create_authorization_openshift_io_v1_local_resource_access_review_for_all_namespaces) | **POST** /apis/authorization.openshift.io/v1/localresourceaccessreviews | -[**create_authorization_openshift_io_v1_local_subject_access_review_for_all_namespaces**](AuthorizationOpenshiftIoV1Api.md#create_authorization_openshift_io_v1_local_subject_access_review_for_all_namespaces) | **POST** /apis/authorization.openshift.io/v1/localsubjectaccessreviews | -[**create_authorization_openshift_io_v1_namespaced_local_resource_access_review**](AuthorizationOpenshiftIoV1Api.md#create_authorization_openshift_io_v1_namespaced_local_resource_access_review) | **POST** /apis/authorization.openshift.io/v1/namespaces/{namespace}/localresourceaccessreviews | -[**create_authorization_openshift_io_v1_namespaced_local_subject_access_review**](AuthorizationOpenshiftIoV1Api.md#create_authorization_openshift_io_v1_namespaced_local_subject_access_review) | **POST** /apis/authorization.openshift.io/v1/namespaces/{namespace}/localsubjectaccessreviews | -[**create_authorization_openshift_io_v1_namespaced_policy**](AuthorizationOpenshiftIoV1Api.md#create_authorization_openshift_io_v1_namespaced_policy) | **POST** /apis/authorization.openshift.io/v1/namespaces/{namespace}/policies | -[**create_authorization_openshift_io_v1_namespaced_policy_binding**](AuthorizationOpenshiftIoV1Api.md#create_authorization_openshift_io_v1_namespaced_policy_binding) | **POST** /apis/authorization.openshift.io/v1/namespaces/{namespace}/policybindings | -[**create_authorization_openshift_io_v1_namespaced_resource_access_review**](AuthorizationOpenshiftIoV1Api.md#create_authorization_openshift_io_v1_namespaced_resource_access_review) | **POST** /apis/authorization.openshift.io/v1/namespaces/{namespace}/resourceaccessreviews | -[**create_authorization_openshift_io_v1_namespaced_role**](AuthorizationOpenshiftIoV1Api.md#create_authorization_openshift_io_v1_namespaced_role) | **POST** /apis/authorization.openshift.io/v1/namespaces/{namespace}/roles | -[**create_authorization_openshift_io_v1_namespaced_role_binding**](AuthorizationOpenshiftIoV1Api.md#create_authorization_openshift_io_v1_namespaced_role_binding) | **POST** /apis/authorization.openshift.io/v1/namespaces/{namespace}/rolebindings | -[**create_authorization_openshift_io_v1_namespaced_role_binding_restriction**](AuthorizationOpenshiftIoV1Api.md#create_authorization_openshift_io_v1_namespaced_role_binding_restriction) | **POST** /apis/authorization.openshift.io/v1/namespaces/{namespace}/rolebindingrestrictions | -[**create_authorization_openshift_io_v1_namespaced_self_subject_rules_review**](AuthorizationOpenshiftIoV1Api.md#create_authorization_openshift_io_v1_namespaced_self_subject_rules_review) | **POST** /apis/authorization.openshift.io/v1/namespaces/{namespace}/selfsubjectrulesreviews | -[**create_authorization_openshift_io_v1_namespaced_subject_access_review**](AuthorizationOpenshiftIoV1Api.md#create_authorization_openshift_io_v1_namespaced_subject_access_review) | **POST** /apis/authorization.openshift.io/v1/namespaces/{namespace}/subjectaccessreviews | -[**create_authorization_openshift_io_v1_namespaced_subject_rules_review**](AuthorizationOpenshiftIoV1Api.md#create_authorization_openshift_io_v1_namespaced_subject_rules_review) | **POST** /apis/authorization.openshift.io/v1/namespaces/{namespace}/subjectrulesreviews | -[**create_authorization_openshift_io_v1_policy_binding_for_all_namespaces**](AuthorizationOpenshiftIoV1Api.md#create_authorization_openshift_io_v1_policy_binding_for_all_namespaces) | **POST** /apis/authorization.openshift.io/v1/policybindings | -[**create_authorization_openshift_io_v1_policy_for_all_namespaces**](AuthorizationOpenshiftIoV1Api.md#create_authorization_openshift_io_v1_policy_for_all_namespaces) | **POST** /apis/authorization.openshift.io/v1/policies | -[**create_authorization_openshift_io_v1_resource_access_review_for_all_namespaces**](AuthorizationOpenshiftIoV1Api.md#create_authorization_openshift_io_v1_resource_access_review_for_all_namespaces) | **POST** /apis/authorization.openshift.io/v1/resourceaccessreviews | -[**create_authorization_openshift_io_v1_role_binding_for_all_namespaces**](AuthorizationOpenshiftIoV1Api.md#create_authorization_openshift_io_v1_role_binding_for_all_namespaces) | **POST** /apis/authorization.openshift.io/v1/rolebindings | -[**create_authorization_openshift_io_v1_role_binding_restriction_for_all_namespaces**](AuthorizationOpenshiftIoV1Api.md#create_authorization_openshift_io_v1_role_binding_restriction_for_all_namespaces) | **POST** /apis/authorization.openshift.io/v1/rolebindingrestrictions | -[**create_authorization_openshift_io_v1_role_for_all_namespaces**](AuthorizationOpenshiftIoV1Api.md#create_authorization_openshift_io_v1_role_for_all_namespaces) | **POST** /apis/authorization.openshift.io/v1/roles | -[**create_authorization_openshift_io_v1_self_subject_rules_review_for_all_namespaces**](AuthorizationOpenshiftIoV1Api.md#create_authorization_openshift_io_v1_self_subject_rules_review_for_all_namespaces) | **POST** /apis/authorization.openshift.io/v1/selfsubjectrulesreviews | -[**create_authorization_openshift_io_v1_subject_access_review_for_all_namespaces**](AuthorizationOpenshiftIoV1Api.md#create_authorization_openshift_io_v1_subject_access_review_for_all_namespaces) | **POST** /apis/authorization.openshift.io/v1/subjectaccessreviews | -[**create_authorization_openshift_io_v1_subject_rules_review_for_all_namespaces**](AuthorizationOpenshiftIoV1Api.md#create_authorization_openshift_io_v1_subject_rules_review_for_all_namespaces) | **POST** /apis/authorization.openshift.io/v1/subjectrulesreviews | -[**delete_authorization_openshift_io_v1_cluster_policy**](AuthorizationOpenshiftIoV1Api.md#delete_authorization_openshift_io_v1_cluster_policy) | **DELETE** /apis/authorization.openshift.io/v1/clusterpolicies/{name} | -[**delete_authorization_openshift_io_v1_cluster_policy_binding**](AuthorizationOpenshiftIoV1Api.md#delete_authorization_openshift_io_v1_cluster_policy_binding) | **DELETE** /apis/authorization.openshift.io/v1/clusterpolicybindings/{name} | -[**delete_authorization_openshift_io_v1_cluster_role**](AuthorizationOpenshiftIoV1Api.md#delete_authorization_openshift_io_v1_cluster_role) | **DELETE** /apis/authorization.openshift.io/v1/clusterroles/{name} | -[**delete_authorization_openshift_io_v1_cluster_role_binding**](AuthorizationOpenshiftIoV1Api.md#delete_authorization_openshift_io_v1_cluster_role_binding) | **DELETE** /apis/authorization.openshift.io/v1/clusterrolebindings/{name} | -[**delete_authorization_openshift_io_v1_collection_cluster_policy**](AuthorizationOpenshiftIoV1Api.md#delete_authorization_openshift_io_v1_collection_cluster_policy) | **DELETE** /apis/authorization.openshift.io/v1/clusterpolicies | -[**delete_authorization_openshift_io_v1_collection_cluster_policy_binding**](AuthorizationOpenshiftIoV1Api.md#delete_authorization_openshift_io_v1_collection_cluster_policy_binding) | **DELETE** /apis/authorization.openshift.io/v1/clusterpolicybindings | -[**delete_authorization_openshift_io_v1_collection_namespaced_policy**](AuthorizationOpenshiftIoV1Api.md#delete_authorization_openshift_io_v1_collection_namespaced_policy) | **DELETE** /apis/authorization.openshift.io/v1/namespaces/{namespace}/policies | -[**delete_authorization_openshift_io_v1_collection_namespaced_policy_binding**](AuthorizationOpenshiftIoV1Api.md#delete_authorization_openshift_io_v1_collection_namespaced_policy_binding) | **DELETE** /apis/authorization.openshift.io/v1/namespaces/{namespace}/policybindings | -[**delete_authorization_openshift_io_v1_collection_namespaced_role_binding_restriction**](AuthorizationOpenshiftIoV1Api.md#delete_authorization_openshift_io_v1_collection_namespaced_role_binding_restriction) | **DELETE** /apis/authorization.openshift.io/v1/namespaces/{namespace}/rolebindingrestrictions | -[**delete_authorization_openshift_io_v1_namespaced_policy**](AuthorizationOpenshiftIoV1Api.md#delete_authorization_openshift_io_v1_namespaced_policy) | **DELETE** /apis/authorization.openshift.io/v1/namespaces/{namespace}/policies/{name} | -[**delete_authorization_openshift_io_v1_namespaced_policy_binding**](AuthorizationOpenshiftIoV1Api.md#delete_authorization_openshift_io_v1_namespaced_policy_binding) | **DELETE** /apis/authorization.openshift.io/v1/namespaces/{namespace}/policybindings/{name} | -[**delete_authorization_openshift_io_v1_namespaced_role**](AuthorizationOpenshiftIoV1Api.md#delete_authorization_openshift_io_v1_namespaced_role) | **DELETE** /apis/authorization.openshift.io/v1/namespaces/{namespace}/roles/{name} | -[**delete_authorization_openshift_io_v1_namespaced_role_binding**](AuthorizationOpenshiftIoV1Api.md#delete_authorization_openshift_io_v1_namespaced_role_binding) | **DELETE** /apis/authorization.openshift.io/v1/namespaces/{namespace}/rolebindings/{name} | -[**delete_authorization_openshift_io_v1_namespaced_role_binding_restriction**](AuthorizationOpenshiftIoV1Api.md#delete_authorization_openshift_io_v1_namespaced_role_binding_restriction) | **DELETE** /apis/authorization.openshift.io/v1/namespaces/{namespace}/rolebindingrestrictions/{name} | -[**get_authorization_openshift_io_v1_api_resources**](AuthorizationOpenshiftIoV1Api.md#get_authorization_openshift_io_v1_api_resources) | **GET** /apis/authorization.openshift.io/v1/ | -[**list_authorization_openshift_io_v1_cluster_policy**](AuthorizationOpenshiftIoV1Api.md#list_authorization_openshift_io_v1_cluster_policy) | **GET** /apis/authorization.openshift.io/v1/clusterpolicies | -[**list_authorization_openshift_io_v1_cluster_policy_binding**](AuthorizationOpenshiftIoV1Api.md#list_authorization_openshift_io_v1_cluster_policy_binding) | **GET** /apis/authorization.openshift.io/v1/clusterpolicybindings | -[**list_authorization_openshift_io_v1_cluster_role**](AuthorizationOpenshiftIoV1Api.md#list_authorization_openshift_io_v1_cluster_role) | **GET** /apis/authorization.openshift.io/v1/clusterroles | -[**list_authorization_openshift_io_v1_cluster_role_binding**](AuthorizationOpenshiftIoV1Api.md#list_authorization_openshift_io_v1_cluster_role_binding) | **GET** /apis/authorization.openshift.io/v1/clusterrolebindings | -[**list_authorization_openshift_io_v1_namespaced_policy**](AuthorizationOpenshiftIoV1Api.md#list_authorization_openshift_io_v1_namespaced_policy) | **GET** /apis/authorization.openshift.io/v1/namespaces/{namespace}/policies | -[**list_authorization_openshift_io_v1_namespaced_policy_binding**](AuthorizationOpenshiftIoV1Api.md#list_authorization_openshift_io_v1_namespaced_policy_binding) | **GET** /apis/authorization.openshift.io/v1/namespaces/{namespace}/policybindings | -[**list_authorization_openshift_io_v1_namespaced_role**](AuthorizationOpenshiftIoV1Api.md#list_authorization_openshift_io_v1_namespaced_role) | **GET** /apis/authorization.openshift.io/v1/namespaces/{namespace}/roles | -[**list_authorization_openshift_io_v1_namespaced_role_binding**](AuthorizationOpenshiftIoV1Api.md#list_authorization_openshift_io_v1_namespaced_role_binding) | **GET** /apis/authorization.openshift.io/v1/namespaces/{namespace}/rolebindings | -[**list_authorization_openshift_io_v1_namespaced_role_binding_restriction**](AuthorizationOpenshiftIoV1Api.md#list_authorization_openshift_io_v1_namespaced_role_binding_restriction) | **GET** /apis/authorization.openshift.io/v1/namespaces/{namespace}/rolebindingrestrictions | -[**list_authorization_openshift_io_v1_policy_binding_for_all_namespaces**](AuthorizationOpenshiftIoV1Api.md#list_authorization_openshift_io_v1_policy_binding_for_all_namespaces) | **GET** /apis/authorization.openshift.io/v1/policybindings | -[**list_authorization_openshift_io_v1_policy_for_all_namespaces**](AuthorizationOpenshiftIoV1Api.md#list_authorization_openshift_io_v1_policy_for_all_namespaces) | **GET** /apis/authorization.openshift.io/v1/policies | -[**list_authorization_openshift_io_v1_role_binding_for_all_namespaces**](AuthorizationOpenshiftIoV1Api.md#list_authorization_openshift_io_v1_role_binding_for_all_namespaces) | **GET** /apis/authorization.openshift.io/v1/rolebindings | -[**list_authorization_openshift_io_v1_role_binding_restriction_for_all_namespaces**](AuthorizationOpenshiftIoV1Api.md#list_authorization_openshift_io_v1_role_binding_restriction_for_all_namespaces) | **GET** /apis/authorization.openshift.io/v1/rolebindingrestrictions | -[**list_authorization_openshift_io_v1_role_for_all_namespaces**](AuthorizationOpenshiftIoV1Api.md#list_authorization_openshift_io_v1_role_for_all_namespaces) | **GET** /apis/authorization.openshift.io/v1/roles | -[**patch_authorization_openshift_io_v1_cluster_policy**](AuthorizationOpenshiftIoV1Api.md#patch_authorization_openshift_io_v1_cluster_policy) | **PATCH** /apis/authorization.openshift.io/v1/clusterpolicies/{name} | -[**patch_authorization_openshift_io_v1_cluster_policy_binding**](AuthorizationOpenshiftIoV1Api.md#patch_authorization_openshift_io_v1_cluster_policy_binding) | **PATCH** /apis/authorization.openshift.io/v1/clusterpolicybindings/{name} | -[**patch_authorization_openshift_io_v1_cluster_role**](AuthorizationOpenshiftIoV1Api.md#patch_authorization_openshift_io_v1_cluster_role) | **PATCH** /apis/authorization.openshift.io/v1/clusterroles/{name} | -[**patch_authorization_openshift_io_v1_cluster_role_binding**](AuthorizationOpenshiftIoV1Api.md#patch_authorization_openshift_io_v1_cluster_role_binding) | **PATCH** /apis/authorization.openshift.io/v1/clusterrolebindings/{name} | -[**patch_authorization_openshift_io_v1_namespaced_policy**](AuthorizationOpenshiftIoV1Api.md#patch_authorization_openshift_io_v1_namespaced_policy) | **PATCH** /apis/authorization.openshift.io/v1/namespaces/{namespace}/policies/{name} | -[**patch_authorization_openshift_io_v1_namespaced_policy_binding**](AuthorizationOpenshiftIoV1Api.md#patch_authorization_openshift_io_v1_namespaced_policy_binding) | **PATCH** /apis/authorization.openshift.io/v1/namespaces/{namespace}/policybindings/{name} | -[**patch_authorization_openshift_io_v1_namespaced_role**](AuthorizationOpenshiftIoV1Api.md#patch_authorization_openshift_io_v1_namespaced_role) | **PATCH** /apis/authorization.openshift.io/v1/namespaces/{namespace}/roles/{name} | -[**patch_authorization_openshift_io_v1_namespaced_role_binding**](AuthorizationOpenshiftIoV1Api.md#patch_authorization_openshift_io_v1_namespaced_role_binding) | **PATCH** /apis/authorization.openshift.io/v1/namespaces/{namespace}/rolebindings/{name} | -[**patch_authorization_openshift_io_v1_namespaced_role_binding_restriction**](AuthorizationOpenshiftIoV1Api.md#patch_authorization_openshift_io_v1_namespaced_role_binding_restriction) | **PATCH** /apis/authorization.openshift.io/v1/namespaces/{namespace}/rolebindingrestrictions/{name} | -[**read_authorization_openshift_io_v1_cluster_policy**](AuthorizationOpenshiftIoV1Api.md#read_authorization_openshift_io_v1_cluster_policy) | **GET** /apis/authorization.openshift.io/v1/clusterpolicies/{name} | -[**read_authorization_openshift_io_v1_cluster_policy_binding**](AuthorizationOpenshiftIoV1Api.md#read_authorization_openshift_io_v1_cluster_policy_binding) | **GET** /apis/authorization.openshift.io/v1/clusterpolicybindings/{name} | -[**read_authorization_openshift_io_v1_cluster_role**](AuthorizationOpenshiftIoV1Api.md#read_authorization_openshift_io_v1_cluster_role) | **GET** /apis/authorization.openshift.io/v1/clusterroles/{name} | -[**read_authorization_openshift_io_v1_cluster_role_binding**](AuthorizationOpenshiftIoV1Api.md#read_authorization_openshift_io_v1_cluster_role_binding) | **GET** /apis/authorization.openshift.io/v1/clusterrolebindings/{name} | -[**read_authorization_openshift_io_v1_namespaced_policy**](AuthorizationOpenshiftIoV1Api.md#read_authorization_openshift_io_v1_namespaced_policy) | **GET** /apis/authorization.openshift.io/v1/namespaces/{namespace}/policies/{name} | -[**read_authorization_openshift_io_v1_namespaced_policy_binding**](AuthorizationOpenshiftIoV1Api.md#read_authorization_openshift_io_v1_namespaced_policy_binding) | **GET** /apis/authorization.openshift.io/v1/namespaces/{namespace}/policybindings/{name} | -[**read_authorization_openshift_io_v1_namespaced_role**](AuthorizationOpenshiftIoV1Api.md#read_authorization_openshift_io_v1_namespaced_role) | **GET** /apis/authorization.openshift.io/v1/namespaces/{namespace}/roles/{name} | -[**read_authorization_openshift_io_v1_namespaced_role_binding**](AuthorizationOpenshiftIoV1Api.md#read_authorization_openshift_io_v1_namespaced_role_binding) | **GET** /apis/authorization.openshift.io/v1/namespaces/{namespace}/rolebindings/{name} | -[**read_authorization_openshift_io_v1_namespaced_role_binding_restriction**](AuthorizationOpenshiftIoV1Api.md#read_authorization_openshift_io_v1_namespaced_role_binding_restriction) | **GET** /apis/authorization.openshift.io/v1/namespaces/{namespace}/rolebindingrestrictions/{name} | -[**replace_authorization_openshift_io_v1_cluster_policy**](AuthorizationOpenshiftIoV1Api.md#replace_authorization_openshift_io_v1_cluster_policy) | **PUT** /apis/authorization.openshift.io/v1/clusterpolicies/{name} | -[**replace_authorization_openshift_io_v1_cluster_policy_binding**](AuthorizationOpenshiftIoV1Api.md#replace_authorization_openshift_io_v1_cluster_policy_binding) | **PUT** /apis/authorization.openshift.io/v1/clusterpolicybindings/{name} | -[**replace_authorization_openshift_io_v1_cluster_role**](AuthorizationOpenshiftIoV1Api.md#replace_authorization_openshift_io_v1_cluster_role) | **PUT** /apis/authorization.openshift.io/v1/clusterroles/{name} | -[**replace_authorization_openshift_io_v1_cluster_role_binding**](AuthorizationOpenshiftIoV1Api.md#replace_authorization_openshift_io_v1_cluster_role_binding) | **PUT** /apis/authorization.openshift.io/v1/clusterrolebindings/{name} | -[**replace_authorization_openshift_io_v1_namespaced_policy**](AuthorizationOpenshiftIoV1Api.md#replace_authorization_openshift_io_v1_namespaced_policy) | **PUT** /apis/authorization.openshift.io/v1/namespaces/{namespace}/policies/{name} | -[**replace_authorization_openshift_io_v1_namespaced_policy_binding**](AuthorizationOpenshiftIoV1Api.md#replace_authorization_openshift_io_v1_namespaced_policy_binding) | **PUT** /apis/authorization.openshift.io/v1/namespaces/{namespace}/policybindings/{name} | -[**replace_authorization_openshift_io_v1_namespaced_role**](AuthorizationOpenshiftIoV1Api.md#replace_authorization_openshift_io_v1_namespaced_role) | **PUT** /apis/authorization.openshift.io/v1/namespaces/{namespace}/roles/{name} | -[**replace_authorization_openshift_io_v1_namespaced_role_binding**](AuthorizationOpenshiftIoV1Api.md#replace_authorization_openshift_io_v1_namespaced_role_binding) | **PUT** /apis/authorization.openshift.io/v1/namespaces/{namespace}/rolebindings/{name} | -[**replace_authorization_openshift_io_v1_namespaced_role_binding_restriction**](AuthorizationOpenshiftIoV1Api.md#replace_authorization_openshift_io_v1_namespaced_role_binding_restriction) | **PUT** /apis/authorization.openshift.io/v1/namespaces/{namespace}/rolebindingrestrictions/{name} | - - -# **create_authorization_openshift_io_v1_cluster_policy** -> V1ClusterPolicy create_authorization_openshift_io_v1_cluster_policy(body, pretty=pretty) - - - -create a ClusterPolicy +[**create_cluster_role**](AuthorizationOpenshiftIoV1Api.md#create_cluster_role) | **POST** /apis/authorization.openshift.io/v1/clusterroles | +[**create_cluster_role_binding**](AuthorizationOpenshiftIoV1Api.md#create_cluster_role_binding) | **POST** /apis/authorization.openshift.io/v1/clusterrolebindings | +[**create_local_resource_access_review_for_all_namespaces**](AuthorizationOpenshiftIoV1Api.md#create_local_resource_access_review_for_all_namespaces) | **POST** /apis/authorization.openshift.io/v1/localresourceaccessreviews | +[**create_local_subject_access_review_for_all_namespaces**](AuthorizationOpenshiftIoV1Api.md#create_local_subject_access_review_for_all_namespaces) | **POST** /apis/authorization.openshift.io/v1/localsubjectaccessreviews | +[**create_namespaced_local_resource_access_review**](AuthorizationOpenshiftIoV1Api.md#create_namespaced_local_resource_access_review) | **POST** /apis/authorization.openshift.io/v1/namespaces/{namespace}/localresourceaccessreviews | +[**create_namespaced_local_subject_access_review**](AuthorizationOpenshiftIoV1Api.md#create_namespaced_local_subject_access_review) | **POST** /apis/authorization.openshift.io/v1/namespaces/{namespace}/localsubjectaccessreviews | +[**create_namespaced_role**](AuthorizationOpenshiftIoV1Api.md#create_namespaced_role) | **POST** /apis/authorization.openshift.io/v1/namespaces/{namespace}/roles | +[**create_namespaced_role_binding**](AuthorizationOpenshiftIoV1Api.md#create_namespaced_role_binding) | **POST** /apis/authorization.openshift.io/v1/namespaces/{namespace}/rolebindings | +[**create_namespaced_role_binding_restriction**](AuthorizationOpenshiftIoV1Api.md#create_namespaced_role_binding_restriction) | **POST** /apis/authorization.openshift.io/v1/namespaces/{namespace}/rolebindingrestrictions | +[**create_namespaced_self_subject_rules_review**](AuthorizationOpenshiftIoV1Api.md#create_namespaced_self_subject_rules_review) | **POST** /apis/authorization.openshift.io/v1/namespaces/{namespace}/selfsubjectrulesreviews | +[**create_namespaced_subject_rules_review**](AuthorizationOpenshiftIoV1Api.md#create_namespaced_subject_rules_review) | **POST** /apis/authorization.openshift.io/v1/namespaces/{namespace}/subjectrulesreviews | +[**create_resource_access_review**](AuthorizationOpenshiftIoV1Api.md#create_resource_access_review) | **POST** /apis/authorization.openshift.io/v1/resourceaccessreviews | +[**create_role_binding_for_all_namespaces**](AuthorizationOpenshiftIoV1Api.md#create_role_binding_for_all_namespaces) | **POST** /apis/authorization.openshift.io/v1/rolebindings | +[**create_role_binding_restriction_for_all_namespaces**](AuthorizationOpenshiftIoV1Api.md#create_role_binding_restriction_for_all_namespaces) | **POST** /apis/authorization.openshift.io/v1/rolebindingrestrictions | +[**create_role_for_all_namespaces**](AuthorizationOpenshiftIoV1Api.md#create_role_for_all_namespaces) | **POST** /apis/authorization.openshift.io/v1/roles | +[**create_self_subject_rules_review_for_all_namespaces**](AuthorizationOpenshiftIoV1Api.md#create_self_subject_rules_review_for_all_namespaces) | **POST** /apis/authorization.openshift.io/v1/selfsubjectrulesreviews | +[**create_subject_access_review**](AuthorizationOpenshiftIoV1Api.md#create_subject_access_review) | **POST** /apis/authorization.openshift.io/v1/subjectaccessreviews | +[**create_subject_rules_review_for_all_namespaces**](AuthorizationOpenshiftIoV1Api.md#create_subject_rules_review_for_all_namespaces) | **POST** /apis/authorization.openshift.io/v1/subjectrulesreviews | +[**delete_cluster_role**](AuthorizationOpenshiftIoV1Api.md#delete_cluster_role) | **DELETE** /apis/authorization.openshift.io/v1/clusterroles/{name} | +[**delete_cluster_role_binding**](AuthorizationOpenshiftIoV1Api.md#delete_cluster_role_binding) | **DELETE** /apis/authorization.openshift.io/v1/clusterrolebindings/{name} | +[**delete_collection_namespaced_role_binding_restriction**](AuthorizationOpenshiftIoV1Api.md#delete_collection_namespaced_role_binding_restriction) | **DELETE** /apis/authorization.openshift.io/v1/namespaces/{namespace}/rolebindingrestrictions | +[**delete_namespaced_role**](AuthorizationOpenshiftIoV1Api.md#delete_namespaced_role) | **DELETE** /apis/authorization.openshift.io/v1/namespaces/{namespace}/roles/{name} | +[**delete_namespaced_role_binding**](AuthorizationOpenshiftIoV1Api.md#delete_namespaced_role_binding) | **DELETE** /apis/authorization.openshift.io/v1/namespaces/{namespace}/rolebindings/{name} | +[**delete_namespaced_role_binding_restriction**](AuthorizationOpenshiftIoV1Api.md#delete_namespaced_role_binding_restriction) | **DELETE** /apis/authorization.openshift.io/v1/namespaces/{namespace}/rolebindingrestrictions/{name} | +[**get_api_resources**](AuthorizationOpenshiftIoV1Api.md#get_api_resources) | **GET** /apis/authorization.openshift.io/v1/ | +[**list_cluster_role**](AuthorizationOpenshiftIoV1Api.md#list_cluster_role) | **GET** /apis/authorization.openshift.io/v1/clusterroles | +[**list_cluster_role_binding**](AuthorizationOpenshiftIoV1Api.md#list_cluster_role_binding) | **GET** /apis/authorization.openshift.io/v1/clusterrolebindings | +[**list_namespaced_role**](AuthorizationOpenshiftIoV1Api.md#list_namespaced_role) | **GET** /apis/authorization.openshift.io/v1/namespaces/{namespace}/roles | +[**list_namespaced_role_binding**](AuthorizationOpenshiftIoV1Api.md#list_namespaced_role_binding) | **GET** /apis/authorization.openshift.io/v1/namespaces/{namespace}/rolebindings | +[**list_namespaced_role_binding_restriction**](AuthorizationOpenshiftIoV1Api.md#list_namespaced_role_binding_restriction) | **GET** /apis/authorization.openshift.io/v1/namespaces/{namespace}/rolebindingrestrictions | +[**list_role_binding_for_all_namespaces**](AuthorizationOpenshiftIoV1Api.md#list_role_binding_for_all_namespaces) | **GET** /apis/authorization.openshift.io/v1/rolebindings | +[**list_role_binding_restriction_for_all_namespaces**](AuthorizationOpenshiftIoV1Api.md#list_role_binding_restriction_for_all_namespaces) | **GET** /apis/authorization.openshift.io/v1/rolebindingrestrictions | +[**list_role_for_all_namespaces**](AuthorizationOpenshiftIoV1Api.md#list_role_for_all_namespaces) | **GET** /apis/authorization.openshift.io/v1/roles | +[**patch_cluster_role**](AuthorizationOpenshiftIoV1Api.md#patch_cluster_role) | **PATCH** /apis/authorization.openshift.io/v1/clusterroles/{name} | +[**patch_cluster_role_binding**](AuthorizationOpenshiftIoV1Api.md#patch_cluster_role_binding) | **PATCH** /apis/authorization.openshift.io/v1/clusterrolebindings/{name} | +[**patch_namespaced_role**](AuthorizationOpenshiftIoV1Api.md#patch_namespaced_role) | **PATCH** /apis/authorization.openshift.io/v1/namespaces/{namespace}/roles/{name} | +[**patch_namespaced_role_binding**](AuthorizationOpenshiftIoV1Api.md#patch_namespaced_role_binding) | **PATCH** /apis/authorization.openshift.io/v1/namespaces/{namespace}/rolebindings/{name} | +[**patch_namespaced_role_binding_restriction**](AuthorizationOpenshiftIoV1Api.md#patch_namespaced_role_binding_restriction) | **PATCH** /apis/authorization.openshift.io/v1/namespaces/{namespace}/rolebindingrestrictions/{name} | +[**read_cluster_role**](AuthorizationOpenshiftIoV1Api.md#read_cluster_role) | **GET** /apis/authorization.openshift.io/v1/clusterroles/{name} | +[**read_cluster_role_binding**](AuthorizationOpenshiftIoV1Api.md#read_cluster_role_binding) | **GET** /apis/authorization.openshift.io/v1/clusterrolebindings/{name} | +[**read_namespaced_role**](AuthorizationOpenshiftIoV1Api.md#read_namespaced_role) | **GET** /apis/authorization.openshift.io/v1/namespaces/{namespace}/roles/{name} | +[**read_namespaced_role_binding**](AuthorizationOpenshiftIoV1Api.md#read_namespaced_role_binding) | **GET** /apis/authorization.openshift.io/v1/namespaces/{namespace}/rolebindings/{name} | +[**read_namespaced_role_binding_restriction**](AuthorizationOpenshiftIoV1Api.md#read_namespaced_role_binding_restriction) | **GET** /apis/authorization.openshift.io/v1/namespaces/{namespace}/rolebindingrestrictions/{name} | +[**replace_cluster_role**](AuthorizationOpenshiftIoV1Api.md#replace_cluster_role) | **PUT** /apis/authorization.openshift.io/v1/clusterroles/{name} | +[**replace_cluster_role_binding**](AuthorizationOpenshiftIoV1Api.md#replace_cluster_role_binding) | **PUT** /apis/authorization.openshift.io/v1/clusterrolebindings/{name} | +[**replace_namespaced_role**](AuthorizationOpenshiftIoV1Api.md#replace_namespaced_role) | **PUT** /apis/authorization.openshift.io/v1/namespaces/{namespace}/roles/{name} | +[**replace_namespaced_role_binding**](AuthorizationOpenshiftIoV1Api.md#replace_namespaced_role_binding) | **PUT** /apis/authorization.openshift.io/v1/namespaces/{namespace}/rolebindings/{name} | +[**replace_namespaced_role_binding_restriction**](AuthorizationOpenshiftIoV1Api.md#replace_namespaced_role_binding_restriction) | **PUT** /apis/authorization.openshift.io/v1/namespaces/{namespace}/rolebindingrestrictions/{name} | + + +# **create_cluster_role** +> V1ClusterRole create_cluster_role(body, pretty=pretty) + + + +create a ClusterRole ### Example ```python @@ -103,32 +69,41 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.AuthorizationOpenshiftIoV1Api() -body = openshift.client.V1ClusterPolicy() # V1ClusterPolicy | +body = openshift.client.V1ClusterRole() # V1ClusterRole | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) try: - api_response = api_instance.create_authorization_openshift_io_v1_cluster_policy(body, pretty=pretty) + api_response = api_instance.create_cluster_role(body, pretty=pretty) pprint(api_response) except ApiException as e: - print("Exception when calling AuthorizationOpenshiftIoV1Api->create_authorization_openshift_io_v1_cluster_policy: %s\n" % e) + print("Exception when calling AuthorizationOpenshiftIoV1Api->create_cluster_role: %s\n" % e) ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **body** | [**V1ClusterPolicy**](V1ClusterPolicy.md)| | + **body** | [**V1ClusterRole**](V1ClusterRole.md)| | **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] ### Return type -[**V1ClusterPolicy**](V1ClusterPolicy.md) +[**V1ClusterRole**](V1ClusterRole.md) ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -137,12 +112,12 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **create_authorization_openshift_io_v1_cluster_policy_binding** -> V1ClusterPolicyBinding create_authorization_openshift_io_v1_cluster_policy_binding(body, pretty=pretty) +# **create_cluster_role_binding** +> V1ClusterRoleBinding create_cluster_role_binding(body, pretty=pretty) -create a ClusterPolicyBinding +create a ClusterRoleBinding ### Example ```python @@ -152,32 +127,41 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.AuthorizationOpenshiftIoV1Api() -body = openshift.client.V1ClusterPolicyBinding() # V1ClusterPolicyBinding | +body = openshift.client.V1ClusterRoleBinding() # V1ClusterRoleBinding | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) try: - api_response = api_instance.create_authorization_openshift_io_v1_cluster_policy_binding(body, pretty=pretty) + api_response = api_instance.create_cluster_role_binding(body, pretty=pretty) pprint(api_response) except ApiException as e: - print("Exception when calling AuthorizationOpenshiftIoV1Api->create_authorization_openshift_io_v1_cluster_policy_binding: %s\n" % e) + print("Exception when calling AuthorizationOpenshiftIoV1Api->create_cluster_role_binding: %s\n" % e) ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **body** | [**V1ClusterPolicyBinding**](V1ClusterPolicyBinding.md)| | + **body** | [**V1ClusterRoleBinding**](V1ClusterRoleBinding.md)| | **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] ### Return type -[**V1ClusterPolicyBinding**](V1ClusterPolicyBinding.md) +[**V1ClusterRoleBinding**](V1ClusterRoleBinding.md) ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -186,12 +170,12 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **create_authorization_openshift_io_v1_cluster_role** -> V1ClusterRole create_authorization_openshift_io_v1_cluster_role(body, pretty=pretty) +# **create_local_resource_access_review_for_all_namespaces** +> V1LocalResourceAccessReview create_local_resource_access_review_for_all_namespaces(body, pretty=pretty) -create a ClusterRole +create a LocalResourceAccessReview ### Example ```python @@ -201,32 +185,41 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.AuthorizationOpenshiftIoV1Api() -body = openshift.client.V1ClusterRole() # V1ClusterRole | +body = openshift.client.V1LocalResourceAccessReview() # V1LocalResourceAccessReview | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) try: - api_response = api_instance.create_authorization_openshift_io_v1_cluster_role(body, pretty=pretty) + api_response = api_instance.create_local_resource_access_review_for_all_namespaces(body, pretty=pretty) pprint(api_response) except ApiException as e: - print("Exception when calling AuthorizationOpenshiftIoV1Api->create_authorization_openshift_io_v1_cluster_role: %s\n" % e) + print("Exception when calling AuthorizationOpenshiftIoV1Api->create_local_resource_access_review_for_all_namespaces: %s\n" % e) ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **body** | [**V1ClusterRole**](V1ClusterRole.md)| | + **body** | [**V1LocalResourceAccessReview**](V1LocalResourceAccessReview.md)| | **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] ### Return type -[**V1ClusterRole**](V1ClusterRole.md) +[**V1LocalResourceAccessReview**](V1LocalResourceAccessReview.md) ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -235,12 +228,12 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **create_authorization_openshift_io_v1_cluster_role_binding** -> V1ClusterRoleBinding create_authorization_openshift_io_v1_cluster_role_binding(body, pretty=pretty) +# **create_local_subject_access_review_for_all_namespaces** +> V1LocalSubjectAccessReview create_local_subject_access_review_for_all_namespaces(body, pretty=pretty) -create a ClusterRoleBinding +create a LocalSubjectAccessReview ### Example ```python @@ -250,32 +243,41 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.AuthorizationOpenshiftIoV1Api() -body = openshift.client.V1ClusterRoleBinding() # V1ClusterRoleBinding | +body = openshift.client.V1LocalSubjectAccessReview() # V1LocalSubjectAccessReview | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) try: - api_response = api_instance.create_authorization_openshift_io_v1_cluster_role_binding(body, pretty=pretty) + api_response = api_instance.create_local_subject_access_review_for_all_namespaces(body, pretty=pretty) pprint(api_response) except ApiException as e: - print("Exception when calling AuthorizationOpenshiftIoV1Api->create_authorization_openshift_io_v1_cluster_role_binding: %s\n" % e) + print("Exception when calling AuthorizationOpenshiftIoV1Api->create_local_subject_access_review_for_all_namespaces: %s\n" % e) ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **body** | [**V1ClusterRoleBinding**](V1ClusterRoleBinding.md)| | + **body** | [**V1LocalSubjectAccessReview**](V1LocalSubjectAccessReview.md)| | **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] ### Return type -[**V1ClusterRoleBinding**](V1ClusterRoleBinding.md) +[**V1LocalSubjectAccessReview**](V1LocalSubjectAccessReview.md) ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -284,8 +286,8 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **create_authorization_openshift_io_v1_local_resource_access_review_for_all_namespaces** -> V1LocalResourceAccessReview create_authorization_openshift_io_v1_local_resource_access_review_for_all_namespaces(body, pretty=pretty) +# **create_namespaced_local_resource_access_review** +> V1LocalResourceAccessReview create_namespaced_local_resource_access_review(namespace, body, pretty=pretty) @@ -299,22 +301,33 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.AuthorizationOpenshiftIoV1Api() +namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects body = openshift.client.V1LocalResourceAccessReview() # V1LocalResourceAccessReview | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) try: - api_response = api_instance.create_authorization_openshift_io_v1_local_resource_access_review_for_all_namespaces(body, pretty=pretty) + api_response = api_instance.create_namespaced_local_resource_access_review(namespace, body, pretty=pretty) pprint(api_response) except ApiException as e: - print("Exception when calling AuthorizationOpenshiftIoV1Api->create_authorization_openshift_io_v1_local_resource_access_review_for_all_namespaces: %s\n" % e) + print("Exception when calling AuthorizationOpenshiftIoV1Api->create_namespaced_local_resource_access_review: %s\n" % e) ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- + **namespace** | **str**| object name and auth scope, such as for teams and projects | **body** | [**V1LocalResourceAccessReview**](V1LocalResourceAccessReview.md)| | **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] @@ -324,7 +337,7 @@ Name | Type | Description | Notes ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -333,8 +346,8 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **create_authorization_openshift_io_v1_local_subject_access_review_for_all_namespaces** -> V1LocalSubjectAccessReview create_authorization_openshift_io_v1_local_subject_access_review_for_all_namespaces(body, pretty=pretty) +# **create_namespaced_local_subject_access_review** +> V1LocalSubjectAccessReview create_namespaced_local_subject_access_review(namespace, body, pretty=pretty) @@ -348,22 +361,33 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.AuthorizationOpenshiftIoV1Api() +namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects body = openshift.client.V1LocalSubjectAccessReview() # V1LocalSubjectAccessReview | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) try: - api_response = api_instance.create_authorization_openshift_io_v1_local_subject_access_review_for_all_namespaces(body, pretty=pretty) + api_response = api_instance.create_namespaced_local_subject_access_review(namespace, body, pretty=pretty) pprint(api_response) except ApiException as e: - print("Exception when calling AuthorizationOpenshiftIoV1Api->create_authorization_openshift_io_v1_local_subject_access_review_for_all_namespaces: %s\n" % e) + print("Exception when calling AuthorizationOpenshiftIoV1Api->create_namespaced_local_subject_access_review: %s\n" % e) ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- + **namespace** | **str**| object name and auth scope, such as for teams and projects | **body** | [**V1LocalSubjectAccessReview**](V1LocalSubjectAccessReview.md)| | **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] @@ -373,7 +397,7 @@ Name | Type | Description | Notes ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -382,12 +406,12 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **create_authorization_openshift_io_v1_namespaced_local_resource_access_review** -> V1LocalResourceAccessReview create_authorization_openshift_io_v1_namespaced_local_resource_access_review(body, namespace, pretty=pretty) +# **create_namespaced_role** +> V1Role create_namespaced_role(namespace, body, pretty=pretty) -create a LocalResourceAccessReview +create a Role ### Example ```python @@ -397,34 +421,43 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.AuthorizationOpenshiftIoV1Api() -body = openshift.client.V1LocalResourceAccessReview() # V1LocalResourceAccessReview | namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects +body = openshift.client.V1Role() # V1Role | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) try: - api_response = api_instance.create_authorization_openshift_io_v1_namespaced_local_resource_access_review(body, namespace, pretty=pretty) + api_response = api_instance.create_namespaced_role(namespace, body, pretty=pretty) pprint(api_response) except ApiException as e: - print("Exception when calling AuthorizationOpenshiftIoV1Api->create_authorization_openshift_io_v1_namespaced_local_resource_access_review: %s\n" % e) + print("Exception when calling AuthorizationOpenshiftIoV1Api->create_namespaced_role: %s\n" % e) ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **body** | [**V1LocalResourceAccessReview**](V1LocalResourceAccessReview.md)| | **namespace** | **str**| object name and auth scope, such as for teams and projects | + **body** | [**V1Role**](V1Role.md)| | **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] ### Return type -[**V1LocalResourceAccessReview**](V1LocalResourceAccessReview.md) +[**V1Role**](V1Role.md) ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -433,12 +466,12 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **create_authorization_openshift_io_v1_namespaced_local_subject_access_review** -> V1LocalSubjectAccessReview create_authorization_openshift_io_v1_namespaced_local_subject_access_review(body, namespace, pretty=pretty) +# **create_namespaced_role_binding** +> V1RoleBinding create_namespaced_role_binding(namespace, body, pretty=pretty) -create a LocalSubjectAccessReview +create a RoleBinding ### Example ```python @@ -448,34 +481,43 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.AuthorizationOpenshiftIoV1Api() -body = openshift.client.V1LocalSubjectAccessReview() # V1LocalSubjectAccessReview | namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects +body = openshift.client.V1RoleBinding() # V1RoleBinding | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) try: - api_response = api_instance.create_authorization_openshift_io_v1_namespaced_local_subject_access_review(body, namespace, pretty=pretty) + api_response = api_instance.create_namespaced_role_binding(namespace, body, pretty=pretty) pprint(api_response) except ApiException as e: - print("Exception when calling AuthorizationOpenshiftIoV1Api->create_authorization_openshift_io_v1_namespaced_local_subject_access_review: %s\n" % e) + print("Exception when calling AuthorizationOpenshiftIoV1Api->create_namespaced_role_binding: %s\n" % e) ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **body** | [**V1LocalSubjectAccessReview**](V1LocalSubjectAccessReview.md)| | **namespace** | **str**| object name and auth scope, such as for teams and projects | + **body** | [**V1RoleBinding**](V1RoleBinding.md)| | **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] ### Return type -[**V1LocalSubjectAccessReview**](V1LocalSubjectAccessReview.md) +[**V1RoleBinding**](V1RoleBinding.md) ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -484,12 +526,12 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **create_authorization_openshift_io_v1_namespaced_policy** -> V1Policy create_authorization_openshift_io_v1_namespaced_policy(namespace, body, pretty=pretty) +# **create_namespaced_role_binding_restriction** +> V1RoleBindingRestriction create_namespaced_role_binding_restriction(namespace, body, pretty=pretty) -create a Policy +create a RoleBindingRestriction ### Example ```python @@ -499,17 +541,26 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.AuthorizationOpenshiftIoV1Api() namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = openshift.client.V1Policy() # V1Policy | +body = openshift.client.V1RoleBindingRestriction() # V1RoleBindingRestriction | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) try: - api_response = api_instance.create_authorization_openshift_io_v1_namespaced_policy(namespace, body, pretty=pretty) + api_response = api_instance.create_namespaced_role_binding_restriction(namespace, body, pretty=pretty) pprint(api_response) except ApiException as e: - print("Exception when calling AuthorizationOpenshiftIoV1Api->create_authorization_openshift_io_v1_namespaced_policy: %s\n" % e) + print("Exception when calling AuthorizationOpenshiftIoV1Api->create_namespaced_role_binding_restriction: %s\n" % e) ``` ### Parameters @@ -517,16 +568,16 @@ except ApiException as e: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **namespace** | **str**| object name and auth scope, such as for teams and projects | - **body** | [**V1Policy**](V1Policy.md)| | + **body** | [**V1RoleBindingRestriction**](V1RoleBindingRestriction.md)| | **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] ### Return type -[**V1Policy**](V1Policy.md) +[**V1RoleBindingRestriction**](V1RoleBindingRestriction.md) ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -535,12 +586,12 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **create_authorization_openshift_io_v1_namespaced_policy_binding** -> V1PolicyBinding create_authorization_openshift_io_v1_namespaced_policy_binding(namespace, body, pretty=pretty) +# **create_namespaced_self_subject_rules_review** +> V1SelfSubjectRulesReview create_namespaced_self_subject_rules_review(namespace, body, pretty=pretty) -create a PolicyBinding +create a SelfSubjectRulesReview ### Example ```python @@ -550,17 +601,26 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.AuthorizationOpenshiftIoV1Api() namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = openshift.client.V1PolicyBinding() # V1PolicyBinding | +body = openshift.client.V1SelfSubjectRulesReview() # V1SelfSubjectRulesReview | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) try: - api_response = api_instance.create_authorization_openshift_io_v1_namespaced_policy_binding(namespace, body, pretty=pretty) + api_response = api_instance.create_namespaced_self_subject_rules_review(namespace, body, pretty=pretty) pprint(api_response) except ApiException as e: - print("Exception when calling AuthorizationOpenshiftIoV1Api->create_authorization_openshift_io_v1_namespaced_policy_binding: %s\n" % e) + print("Exception when calling AuthorizationOpenshiftIoV1Api->create_namespaced_self_subject_rules_review: %s\n" % e) ``` ### Parameters @@ -568,16 +628,16 @@ except ApiException as e: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **namespace** | **str**| object name and auth scope, such as for teams and projects | - **body** | [**V1PolicyBinding**](V1PolicyBinding.md)| | + **body** | [**V1SelfSubjectRulesReview**](V1SelfSubjectRulesReview.md)| | **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] ### Return type -[**V1PolicyBinding**](V1PolicyBinding.md) +[**V1SelfSubjectRulesReview**](V1SelfSubjectRulesReview.md) ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -586,12 +646,12 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **create_authorization_openshift_io_v1_namespaced_resource_access_review** -> V1ResourceAccessReview create_authorization_openshift_io_v1_namespaced_resource_access_review(body, namespace, pretty=pretty) +# **create_namespaced_subject_rules_review** +> V1SubjectRulesReview create_namespaced_subject_rules_review(namespace, body, pretty=pretty) -create a ResourceAccessReview +create a SubjectRulesReview ### Example ```python @@ -601,34 +661,43 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.AuthorizationOpenshiftIoV1Api() -body = openshift.client.V1ResourceAccessReview() # V1ResourceAccessReview | namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects +body = openshift.client.V1SubjectRulesReview() # V1SubjectRulesReview | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) try: - api_response = api_instance.create_authorization_openshift_io_v1_namespaced_resource_access_review(body, namespace, pretty=pretty) + api_response = api_instance.create_namespaced_subject_rules_review(namespace, body, pretty=pretty) pprint(api_response) except ApiException as e: - print("Exception when calling AuthorizationOpenshiftIoV1Api->create_authorization_openshift_io_v1_namespaced_resource_access_review: %s\n" % e) + print("Exception when calling AuthorizationOpenshiftIoV1Api->create_namespaced_subject_rules_review: %s\n" % e) ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **body** | [**V1ResourceAccessReview**](V1ResourceAccessReview.md)| | **namespace** | **str**| object name and auth scope, such as for teams and projects | + **body** | [**V1SubjectRulesReview**](V1SubjectRulesReview.md)| | **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] ### Return type -[**V1ResourceAccessReview**](V1ResourceAccessReview.md) +[**V1SubjectRulesReview**](V1SubjectRulesReview.md) ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -637,12 +706,12 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **create_authorization_openshift_io_v1_namespaced_role** -> V1Role create_authorization_openshift_io_v1_namespaced_role(namespace, body, pretty=pretty) +# **create_resource_access_review** +> V1ResourceAccessReview create_resource_access_review(body, pretty=pretty) -create a Role +create a ResourceAccessReview ### Example ```python @@ -652,34 +721,41 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.AuthorizationOpenshiftIoV1Api() -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = openshift.client.V1Role() # V1Role | +body = openshift.client.V1ResourceAccessReview() # V1ResourceAccessReview | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) try: - api_response = api_instance.create_authorization_openshift_io_v1_namespaced_role(namespace, body, pretty=pretty) + api_response = api_instance.create_resource_access_review(body, pretty=pretty) pprint(api_response) except ApiException as e: - print("Exception when calling AuthorizationOpenshiftIoV1Api->create_authorization_openshift_io_v1_namespaced_role: %s\n" % e) + print("Exception when calling AuthorizationOpenshiftIoV1Api->create_resource_access_review: %s\n" % e) ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **namespace** | **str**| object name and auth scope, such as for teams and projects | - **body** | [**V1Role**](V1Role.md)| | + **body** | [**V1ResourceAccessReview**](V1ResourceAccessReview.md)| | **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] ### Return type -[**V1Role**](V1Role.md) +[**V1ResourceAccessReview**](V1ResourceAccessReview.md) ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -688,8 +764,8 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **create_authorization_openshift_io_v1_namespaced_role_binding** -> V1RoleBinding create_authorization_openshift_io_v1_namespaced_role_binding(namespace, body, pretty=pretty) +# **create_role_binding_for_all_namespaces** +> V1RoleBinding create_role_binding_for_all_namespaces(body, pretty=pretty) @@ -703,24 +779,31 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.AuthorizationOpenshiftIoV1Api() -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects body = openshift.client.V1RoleBinding() # V1RoleBinding | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) try: - api_response = api_instance.create_authorization_openshift_io_v1_namespaced_role_binding(namespace, body, pretty=pretty) + api_response = api_instance.create_role_binding_for_all_namespaces(body, pretty=pretty) pprint(api_response) except ApiException as e: - print("Exception when calling AuthorizationOpenshiftIoV1Api->create_authorization_openshift_io_v1_namespaced_role_binding: %s\n" % e) + print("Exception when calling AuthorizationOpenshiftIoV1Api->create_role_binding_for_all_namespaces: %s\n" % e) ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **namespace** | **str**| object name and auth scope, such as for teams and projects | **body** | [**V1RoleBinding**](V1RoleBinding.md)| | **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] @@ -730,7 +813,7 @@ Name | Type | Description | Notes ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -739,8 +822,8 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **create_authorization_openshift_io_v1_namespaced_role_binding_restriction** -> V1RoleBindingRestriction create_authorization_openshift_io_v1_namespaced_role_binding_restriction(namespace, body, pretty=pretty) +# **create_role_binding_restriction_for_all_namespaces** +> V1RoleBindingRestriction create_role_binding_restriction_for_all_namespaces(body, pretty=pretty) @@ -754,24 +837,31 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.AuthorizationOpenshiftIoV1Api() -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects body = openshift.client.V1RoleBindingRestriction() # V1RoleBindingRestriction | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) try: - api_response = api_instance.create_authorization_openshift_io_v1_namespaced_role_binding_restriction(namespace, body, pretty=pretty) + api_response = api_instance.create_role_binding_restriction_for_all_namespaces(body, pretty=pretty) pprint(api_response) except ApiException as e: - print("Exception when calling AuthorizationOpenshiftIoV1Api->create_authorization_openshift_io_v1_namespaced_role_binding_restriction: %s\n" % e) + print("Exception when calling AuthorizationOpenshiftIoV1Api->create_role_binding_restriction_for_all_namespaces: %s\n" % e) ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **namespace** | **str**| object name and auth scope, such as for teams and projects | **body** | [**V1RoleBindingRestriction**](V1RoleBindingRestriction.md)| | **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] @@ -781,7 +871,7 @@ Name | Type | Description | Notes ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -790,12 +880,12 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **create_authorization_openshift_io_v1_namespaced_self_subject_rules_review** -> V1SelfSubjectRulesReview create_authorization_openshift_io_v1_namespaced_self_subject_rules_review(body, namespace, pretty=pretty) +# **create_role_for_all_namespaces** +> V1Role create_role_for_all_namespaces(body, pretty=pretty) -create a SelfSubjectRulesReview +create a Role ### Example ```python @@ -805,34 +895,41 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.AuthorizationOpenshiftIoV1Api() -body = openshift.client.V1SelfSubjectRulesReview() # V1SelfSubjectRulesReview | -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects +body = openshift.client.V1Role() # V1Role | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) try: - api_response = api_instance.create_authorization_openshift_io_v1_namespaced_self_subject_rules_review(body, namespace, pretty=pretty) + api_response = api_instance.create_role_for_all_namespaces(body, pretty=pretty) pprint(api_response) except ApiException as e: - print("Exception when calling AuthorizationOpenshiftIoV1Api->create_authorization_openshift_io_v1_namespaced_self_subject_rules_review: %s\n" % e) + print("Exception when calling AuthorizationOpenshiftIoV1Api->create_role_for_all_namespaces: %s\n" % e) ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **body** | [**V1SelfSubjectRulesReview**](V1SelfSubjectRulesReview.md)| | - **namespace** | **str**| object name and auth scope, such as for teams and projects | + **body** | [**V1Role**](V1Role.md)| | **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] ### Return type -[**V1SelfSubjectRulesReview**](V1SelfSubjectRulesReview.md) +[**V1Role**](V1Role.md) ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -841,12 +938,12 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **create_authorization_openshift_io_v1_namespaced_subject_access_review** -> V1SubjectAccessReview create_authorization_openshift_io_v1_namespaced_subject_access_review(body, namespace, pretty=pretty) +# **create_self_subject_rules_review_for_all_namespaces** +> V1SelfSubjectRulesReview create_self_subject_rules_review_for_all_namespaces(body, pretty=pretty) -create a SubjectAccessReview +create a SelfSubjectRulesReview ### Example ```python @@ -856,34 +953,41 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.AuthorizationOpenshiftIoV1Api() -body = openshift.client.V1SubjectAccessReview() # V1SubjectAccessReview | -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects +body = openshift.client.V1SelfSubjectRulesReview() # V1SelfSubjectRulesReview | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) try: - api_response = api_instance.create_authorization_openshift_io_v1_namespaced_subject_access_review(body, namespace, pretty=pretty) + api_response = api_instance.create_self_subject_rules_review_for_all_namespaces(body, pretty=pretty) pprint(api_response) except ApiException as e: - print("Exception when calling AuthorizationOpenshiftIoV1Api->create_authorization_openshift_io_v1_namespaced_subject_access_review: %s\n" % e) + print("Exception when calling AuthorizationOpenshiftIoV1Api->create_self_subject_rules_review_for_all_namespaces: %s\n" % e) ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **body** | [**V1SubjectAccessReview**](V1SubjectAccessReview.md)| | - **namespace** | **str**| object name and auth scope, such as for teams and projects | + **body** | [**V1SelfSubjectRulesReview**](V1SelfSubjectRulesReview.md)| | **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] ### Return type -[**V1SubjectAccessReview**](V1SubjectAccessReview.md) +[**V1SelfSubjectRulesReview**](V1SelfSubjectRulesReview.md) ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -892,12 +996,12 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **create_authorization_openshift_io_v1_namespaced_subject_rules_review** -> V1SubjectRulesReview create_authorization_openshift_io_v1_namespaced_subject_rules_review(body, namespace, pretty=pretty) +# **create_subject_access_review** +> V1SubjectAccessReview create_subject_access_review(body, pretty=pretty) -create a SubjectRulesReview +create a SubjectAccessReview ### Example ```python @@ -907,34 +1011,41 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.AuthorizationOpenshiftIoV1Api() -body = openshift.client.V1SubjectRulesReview() # V1SubjectRulesReview | -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects +body = openshift.client.V1SubjectAccessReview() # V1SubjectAccessReview | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) try: - api_response = api_instance.create_authorization_openshift_io_v1_namespaced_subject_rules_review(body, namespace, pretty=pretty) + api_response = api_instance.create_subject_access_review(body, pretty=pretty) pprint(api_response) except ApiException as e: - print("Exception when calling AuthorizationOpenshiftIoV1Api->create_authorization_openshift_io_v1_namespaced_subject_rules_review: %s\n" % e) + print("Exception when calling AuthorizationOpenshiftIoV1Api->create_subject_access_review: %s\n" % e) ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **body** | [**V1SubjectRulesReview**](V1SubjectRulesReview.md)| | - **namespace** | **str**| object name and auth scope, such as for teams and projects | + **body** | [**V1SubjectAccessReview**](V1SubjectAccessReview.md)| | **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] ### Return type -[**V1SubjectRulesReview**](V1SubjectRulesReview.md) +[**V1SubjectAccessReview**](V1SubjectAccessReview.md) ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -943,12 +1054,12 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **create_authorization_openshift_io_v1_policy_binding_for_all_namespaces** -> V1PolicyBinding create_authorization_openshift_io_v1_policy_binding_for_all_namespaces(body, pretty=pretty) +# **create_subject_rules_review_for_all_namespaces** +> V1SubjectRulesReview create_subject_rules_review_for_all_namespaces(body, pretty=pretty) -create a PolicyBinding +create a SubjectRulesReview ### Example ```python @@ -958,32 +1069,41 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.AuthorizationOpenshiftIoV1Api() -body = openshift.client.V1PolicyBinding() # V1PolicyBinding | +body = openshift.client.V1SubjectRulesReview() # V1SubjectRulesReview | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) try: - api_response = api_instance.create_authorization_openshift_io_v1_policy_binding_for_all_namespaces(body, pretty=pretty) + api_response = api_instance.create_subject_rules_review_for_all_namespaces(body, pretty=pretty) pprint(api_response) except ApiException as e: - print("Exception when calling AuthorizationOpenshiftIoV1Api->create_authorization_openshift_io_v1_policy_binding_for_all_namespaces: %s\n" % e) + print("Exception when calling AuthorizationOpenshiftIoV1Api->create_subject_rules_review_for_all_namespaces: %s\n" % e) ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **body** | [**V1PolicyBinding**](V1PolicyBinding.md)| | + **body** | [**V1SubjectRulesReview**](V1SubjectRulesReview.md)| | **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] ### Return type -[**V1PolicyBinding**](V1PolicyBinding.md) +[**V1SubjectRulesReview**](V1SubjectRulesReview.md) ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -992,12 +1112,12 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **create_authorization_openshift_io_v1_policy_for_all_namespaces** -> V1Policy create_authorization_openshift_io_v1_policy_for_all_namespaces(body, pretty=pretty) +# **delete_cluster_role** +> V1Status delete_cluster_role(name, body, pretty=pretty, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) -create a Policy +delete a ClusterRole ### Example ```python @@ -1007,32 +1127,49 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.AuthorizationOpenshiftIoV1Api() -body = openshift.client.V1Policy() # V1Policy | +name = 'name_example' # str | name of the ClusterRole +body = openshift.client.V1DeleteOptions() # V1DeleteOptions | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) +grace_period_seconds = 56 # int | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) +orphan_dependents = true # bool | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) +propagation_policy = 'propagation_policy_example' # str | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. (optional) try: - api_response = api_instance.create_authorization_openshift_io_v1_policy_for_all_namespaces(body, pretty=pretty) + api_response = api_instance.delete_cluster_role(name, body, pretty=pretty, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) pprint(api_response) except ApiException as e: - print("Exception when calling AuthorizationOpenshiftIoV1Api->create_authorization_openshift_io_v1_policy_for_all_namespaces: %s\n" % e) + print("Exception when calling AuthorizationOpenshiftIoV1Api->delete_cluster_role: %s\n" % e) ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **body** | [**V1Policy**](V1Policy.md)| | + **name** | **str**| name of the ClusterRole | + **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | **pretty** | **str**| If 'true', then the output is pretty printed. | [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] + **orphan_dependents** | **bool**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional] + **propagation_policy** | **str**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. | [optional] ### Return type -[**V1Policy**](V1Policy.md) +[**V1Status**](V1Status.md) ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -1041,12 +1178,12 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **create_authorization_openshift_io_v1_resource_access_review_for_all_namespaces** -> V1ResourceAccessReview create_authorization_openshift_io_v1_resource_access_review_for_all_namespaces(body, pretty=pretty) +# **delete_cluster_role_binding** +> V1Status delete_cluster_role_binding(name, body, pretty=pretty, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) -create a ResourceAccessReview +delete a ClusterRoleBinding ### Example ```python @@ -1056,32 +1193,49 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.AuthorizationOpenshiftIoV1Api() -body = openshift.client.V1ResourceAccessReview() # V1ResourceAccessReview | +name = 'name_example' # str | name of the ClusterRoleBinding +body = openshift.client.V1DeleteOptions() # V1DeleteOptions | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) +grace_period_seconds = 56 # int | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) +orphan_dependents = true # bool | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) +propagation_policy = 'propagation_policy_example' # str | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. (optional) try: - api_response = api_instance.create_authorization_openshift_io_v1_resource_access_review_for_all_namespaces(body, pretty=pretty) + api_response = api_instance.delete_cluster_role_binding(name, body, pretty=pretty, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) pprint(api_response) except ApiException as e: - print("Exception when calling AuthorizationOpenshiftIoV1Api->create_authorization_openshift_io_v1_resource_access_review_for_all_namespaces: %s\n" % e) + print("Exception when calling AuthorizationOpenshiftIoV1Api->delete_cluster_role_binding: %s\n" % e) ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **body** | [**V1ResourceAccessReview**](V1ResourceAccessReview.md)| | + **name** | **str**| name of the ClusterRoleBinding | + **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | **pretty** | **str**| If 'true', then the output is pretty printed. | [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] + **orphan_dependents** | **bool**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional] + **propagation_policy** | **str**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. | [optional] ### Return type -[**V1ResourceAccessReview**](V1ResourceAccessReview.md) +[**V1Status**](V1Status.md) ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -1090,12 +1244,12 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **create_authorization_openshift_io_v1_role_binding_for_all_namespaces** -> V1RoleBinding create_authorization_openshift_io_v1_role_binding_for_all_namespaces(body, pretty=pretty) +# **delete_collection_namespaced_role_binding_restriction** +> V1Status delete_collection_namespaced_role_binding_restriction(namespace, pretty=pretty, field_selector=field_selector, include_uninitialized=include_uninitialized, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) -create a RoleBinding +delete collection of RoleBindingRestriction ### Example ```python @@ -1105,32 +1259,53 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.AuthorizationOpenshiftIoV1Api() -body = openshift.client.V1RoleBinding() # V1RoleBinding | +namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) +field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) +include_uninitialized = true # bool | If true, partially initialized resources are included in the response. (optional) +label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) +resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) +timeout_seconds = 56 # int | Timeout for the list/watch call. (optional) +watch = true # bool | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) try: - api_response = api_instance.create_authorization_openshift_io_v1_role_binding_for_all_namespaces(body, pretty=pretty) + api_response = api_instance.delete_collection_namespaced_role_binding_restriction(namespace, pretty=pretty, field_selector=field_selector, include_uninitialized=include_uninitialized, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) pprint(api_response) except ApiException as e: - print("Exception when calling AuthorizationOpenshiftIoV1Api->create_authorization_openshift_io_v1_role_binding_for_all_namespaces: %s\n" % e) + print("Exception when calling AuthorizationOpenshiftIoV1Api->delete_collection_namespaced_role_binding_restriction: %s\n" % e) ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **body** | [**V1RoleBinding**](V1RoleBinding.md)| | + **namespace** | **str**| object name and auth scope, such as for teams and projects | **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] + **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] + **include_uninitialized** | **bool**| If true, partially initialized resources are included in the response. | [optional] + **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] + **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] + **timeout_seconds** | **int**| Timeout for the list/watch call. | [optional] + **watch** | **bool**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] ### Return type -[**V1RoleBinding**](V1RoleBinding.md) +[**V1Status**](V1Status.md) ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -1139,12 +1314,12 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **create_authorization_openshift_io_v1_role_binding_restriction_for_all_namespaces** -> V1RoleBindingRestriction create_authorization_openshift_io_v1_role_binding_restriction_for_all_namespaces(body, pretty=pretty) +# **delete_namespaced_role** +> V1Status delete_namespaced_role(name, namespace, body, pretty=pretty, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) -create a RoleBindingRestriction +delete a Role ### Example ```python @@ -1154,32 +1329,51 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.AuthorizationOpenshiftIoV1Api() -body = openshift.client.V1RoleBindingRestriction() # V1RoleBindingRestriction | +name = 'name_example' # str | name of the Role +namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects +body = openshift.client.V1DeleteOptions() # V1DeleteOptions | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) +grace_period_seconds = 56 # int | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) +orphan_dependents = true # bool | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) +propagation_policy = 'propagation_policy_example' # str | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. (optional) try: - api_response = api_instance.create_authorization_openshift_io_v1_role_binding_restriction_for_all_namespaces(body, pretty=pretty) + api_response = api_instance.delete_namespaced_role(name, namespace, body, pretty=pretty, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) pprint(api_response) except ApiException as e: - print("Exception when calling AuthorizationOpenshiftIoV1Api->create_authorization_openshift_io_v1_role_binding_restriction_for_all_namespaces: %s\n" % e) + print("Exception when calling AuthorizationOpenshiftIoV1Api->delete_namespaced_role: %s\n" % e) ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **body** | [**V1RoleBindingRestriction**](V1RoleBindingRestriction.md)| | + **name** | **str**| name of the Role | + **namespace** | **str**| object name and auth scope, such as for teams and projects | + **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | **pretty** | **str**| If 'true', then the output is pretty printed. | [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] + **orphan_dependents** | **bool**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional] + **propagation_policy** | **str**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. | [optional] ### Return type -[**V1RoleBindingRestriction**](V1RoleBindingRestriction.md) +[**V1Status**](V1Status.md) ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -1188,12 +1382,12 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **create_authorization_openshift_io_v1_role_for_all_namespaces** -> V1Role create_authorization_openshift_io_v1_role_for_all_namespaces(body, pretty=pretty) +# **delete_namespaced_role_binding** +> V1Status delete_namespaced_role_binding(name, namespace, body, pretty=pretty, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) -create a Role +delete a RoleBinding ### Example ```python @@ -1203,32 +1397,51 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.AuthorizationOpenshiftIoV1Api() -body = openshift.client.V1Role() # V1Role | +name = 'name_example' # str | name of the RoleBinding +namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects +body = openshift.client.V1DeleteOptions() # V1DeleteOptions | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) +grace_period_seconds = 56 # int | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) +orphan_dependents = true # bool | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) +propagation_policy = 'propagation_policy_example' # str | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. (optional) try: - api_response = api_instance.create_authorization_openshift_io_v1_role_for_all_namespaces(body, pretty=pretty) + api_response = api_instance.delete_namespaced_role_binding(name, namespace, body, pretty=pretty, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) pprint(api_response) except ApiException as e: - print("Exception when calling AuthorizationOpenshiftIoV1Api->create_authorization_openshift_io_v1_role_for_all_namespaces: %s\n" % e) + print("Exception when calling AuthorizationOpenshiftIoV1Api->delete_namespaced_role_binding: %s\n" % e) ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **body** | [**V1Role**](V1Role.md)| | + **name** | **str**| name of the RoleBinding | + **namespace** | **str**| object name and auth scope, such as for teams and projects | + **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | **pretty** | **str**| If 'true', then the output is pretty printed. | [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] + **orphan_dependents** | **bool**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional] + **propagation_policy** | **str**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. | [optional] ### Return type -[**V1Role**](V1Role.md) +[**V1Status**](V1Status.md) ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -1237,12 +1450,12 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **create_authorization_openshift_io_v1_self_subject_rules_review_for_all_namespaces** -> V1SelfSubjectRulesReview create_authorization_openshift_io_v1_self_subject_rules_review_for_all_namespaces(body, pretty=pretty) +# **delete_namespaced_role_binding_restriction** +> V1Status delete_namespaced_role_binding_restriction(name, namespace, body, pretty=pretty, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) -create a SelfSubjectRulesReview +delete a RoleBindingRestriction ### Example ```python @@ -1252,32 +1465,51 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.AuthorizationOpenshiftIoV1Api() -body = openshift.client.V1SelfSubjectRulesReview() # V1SelfSubjectRulesReview | +name = 'name_example' # str | name of the RoleBindingRestriction +namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects +body = openshift.client.V1DeleteOptions() # V1DeleteOptions | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) +grace_period_seconds = 56 # int | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) +orphan_dependents = true # bool | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) +propagation_policy = 'propagation_policy_example' # str | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. (optional) try: - api_response = api_instance.create_authorization_openshift_io_v1_self_subject_rules_review_for_all_namespaces(body, pretty=pretty) + api_response = api_instance.delete_namespaced_role_binding_restriction(name, namespace, body, pretty=pretty, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) pprint(api_response) except ApiException as e: - print("Exception when calling AuthorizationOpenshiftIoV1Api->create_authorization_openshift_io_v1_self_subject_rules_review_for_all_namespaces: %s\n" % e) + print("Exception when calling AuthorizationOpenshiftIoV1Api->delete_namespaced_role_binding_restriction: %s\n" % e) ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **body** | [**V1SelfSubjectRulesReview**](V1SelfSubjectRulesReview.md)| | + **name** | **str**| name of the RoleBindingRestriction | + **namespace** | **str**| object name and auth scope, such as for teams and projects | + **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | **pretty** | **str**| If 'true', then the output is pretty printed. | [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] + **orphan_dependents** | **bool**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional] + **propagation_policy** | **str**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. | [optional] ### Return type -[**V1SelfSubjectRulesReview**](V1SelfSubjectRulesReview.md) +[**V1Status**](V1Status.md) ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -1286,12 +1518,12 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **create_authorization_openshift_io_v1_subject_access_review_for_all_namespaces** -> V1SubjectAccessReview create_authorization_openshift_io_v1_subject_access_review_for_all_namespaces(body, pretty=pretty) +# **get_api_resources** +> V1APIResourceList get_api_resources() -create a SubjectAccessReview +get available resources ### Example ```python @@ -1301,46 +1533,49 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.AuthorizationOpenshiftIoV1Api() -body = openshift.client.V1SubjectAccessReview() # V1SubjectAccessReview | -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) try: - api_response = api_instance.create_authorization_openshift_io_v1_subject_access_review_for_all_namespaces(body, pretty=pretty) + api_response = api_instance.get_api_resources() pprint(api_response) except ApiException as e: - print("Exception when calling AuthorizationOpenshiftIoV1Api->create_authorization_openshift_io_v1_subject_access_review_for_all_namespaces: %s\n" % e) + print("Exception when calling AuthorizationOpenshiftIoV1Api->get_api_resources: %s\n" % e) ``` ### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **body** | [**V1SubjectAccessReview**](V1SubjectAccessReview.md)| | - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] +This endpoint does not need any parameter. ### Return type -[**V1SubjectAccessReview**](V1SubjectAccessReview.md) +[**V1APIResourceList**](V1APIResourceList.md) ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers - - **Content-Type**: */* + - **Content-Type**: application/json, application/yaml, application/vnd.kubernetes.protobuf - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **create_authorization_openshift_io_v1_subject_rules_review_for_all_namespaces** -> V1SubjectRulesReview create_authorization_openshift_io_v1_subject_rules_review_for_all_namespaces(body, pretty=pretty) +# **list_cluster_role** +> V1ClusterRoleList list_cluster_role(pretty=pretty, field_selector=field_selector, include_uninitialized=include_uninitialized, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) -create a SubjectRulesReview +list objects of kind ClusterRole ### Example ```python @@ -1350,46 +1585,65 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.AuthorizationOpenshiftIoV1Api() -body = openshift.client.V1SubjectRulesReview() # V1SubjectRulesReview | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) +field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) +include_uninitialized = true # bool | If true, partially initialized resources are included in the response. (optional) +label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) +resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) +timeout_seconds = 56 # int | Timeout for the list/watch call. (optional) +watch = true # bool | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) try: - api_response = api_instance.create_authorization_openshift_io_v1_subject_rules_review_for_all_namespaces(body, pretty=pretty) + api_response = api_instance.list_cluster_role(pretty=pretty, field_selector=field_selector, include_uninitialized=include_uninitialized, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) pprint(api_response) except ApiException as e: - print("Exception when calling AuthorizationOpenshiftIoV1Api->create_authorization_openshift_io_v1_subject_rules_review_for_all_namespaces: %s\n" % e) + print("Exception when calling AuthorizationOpenshiftIoV1Api->list_cluster_role: %s\n" % e) ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **body** | [**V1SubjectRulesReview**](V1SubjectRulesReview.md)| | **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] + **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] + **include_uninitialized** | **bool**| If true, partially initialized resources are included in the response. | [optional] + **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] + **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] + **timeout_seconds** | **int**| Timeout for the list/watch call. | [optional] + **watch** | **bool**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] ### Return type -[**V1SubjectRulesReview**](V1SubjectRulesReview.md) +[**V1ClusterRoleList**](V1ClusterRoleList.md) ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **delete_authorization_openshift_io_v1_cluster_policy** -> UnversionedStatus delete_authorization_openshift_io_v1_cluster_policy(name, body, pretty=pretty, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents) +# **list_cluster_role_binding** +> V1ClusterRoleBindingList list_cluster_role_binding(pretty=pretty, field_selector=field_selector, include_uninitialized=include_uninitialized, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) -delete a ClusterPolicy +list objects of kind ClusterRoleBinding ### Example ```python @@ -1399,52 +1653,65 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.AuthorizationOpenshiftIoV1Api() -name = 'name_example' # str | name of the ClusterPolicy -body = openshift.client.V1DeleteOptions() # V1DeleteOptions | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) -grace_period_seconds = 56 # int | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) -orphan_dependents = true # bool | Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. (optional) +field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) +include_uninitialized = true # bool | If true, partially initialized resources are included in the response. (optional) +label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) +resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) +timeout_seconds = 56 # int | Timeout for the list/watch call. (optional) +watch = true # bool | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) try: - api_response = api_instance.delete_authorization_openshift_io_v1_cluster_policy(name, body, pretty=pretty, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents) + api_response = api_instance.list_cluster_role_binding(pretty=pretty, field_selector=field_selector, include_uninitialized=include_uninitialized, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) pprint(api_response) except ApiException as e: - print("Exception when calling AuthorizationOpenshiftIoV1Api->delete_authorization_openshift_io_v1_cluster_policy: %s\n" % e) + print("Exception when calling AuthorizationOpenshiftIoV1Api->list_cluster_role_binding: %s\n" % e) ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the ClusterPolicy | - **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | **pretty** | **str**| If 'true', then the output is pretty printed. | [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] - **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] + **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] + **include_uninitialized** | **bool**| If true, partially initialized resources are included in the response. | [optional] + **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] + **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] + **timeout_seconds** | **int**| Timeout for the list/watch call. | [optional] + **watch** | **bool**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] ### Return type -[**UnversionedStatus**](UnversionedStatus.md) +[**V1ClusterRoleBindingList**](V1ClusterRoleBindingList.md) ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **delete_authorization_openshift_io_v1_cluster_policy_binding** -> UnversionedStatus delete_authorization_openshift_io_v1_cluster_policy_binding(name, body, pretty=pretty, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents) +# **list_namespaced_role** +> V1RoleList list_namespaced_role(namespace, pretty=pretty, field_selector=field_selector, include_uninitialized=include_uninitialized, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) -delete a ClusterPolicyBinding +list objects of kind Role ### Example ```python @@ -1454,1899 +1721,67 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint -# create an instance of the API class -api_instance = openshift.client.AuthorizationOpenshiftIoV1Api() -name = 'name_example' # str | name of the ClusterPolicyBinding -body = openshift.client.V1DeleteOptions() # V1DeleteOptions | -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) -grace_period_seconds = 56 # int | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) -orphan_dependents = true # bool | Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. (optional) - -try: - api_response = api_instance.delete_authorization_openshift_io_v1_cluster_policy_binding(name, body, pretty=pretty, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents) - pprint(api_response) -except ApiException as e: - print("Exception when calling AuthorizationOpenshiftIoV1Api->delete_authorization_openshift_io_v1_cluster_policy_binding: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the ClusterPolicyBinding | - **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | - **pretty** | **str**| If 'true', then the output is pretty printed. | [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] - **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] - -### Return type - -[**UnversionedStatus**](UnversionedStatus.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **delete_authorization_openshift_io_v1_cluster_role** -> UnversionedStatus delete_authorization_openshift_io_v1_cluster_role(name, body, pretty=pretty, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents) - - - -delete a ClusterRole - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.AuthorizationOpenshiftIoV1Api() -name = 'name_example' # str | name of the ClusterRole -body = openshift.client.V1DeleteOptions() # V1DeleteOptions | -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) -grace_period_seconds = 56 # int | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) -orphan_dependents = true # bool | Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. (optional) - -try: - api_response = api_instance.delete_authorization_openshift_io_v1_cluster_role(name, body, pretty=pretty, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents) - pprint(api_response) -except ApiException as e: - print("Exception when calling AuthorizationOpenshiftIoV1Api->delete_authorization_openshift_io_v1_cluster_role: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the ClusterRole | - **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | - **pretty** | **str**| If 'true', then the output is pretty printed. | [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] - **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] - -### Return type - -[**UnversionedStatus**](UnversionedStatus.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **delete_authorization_openshift_io_v1_cluster_role_binding** -> UnversionedStatus delete_authorization_openshift_io_v1_cluster_role_binding(name, body, pretty=pretty, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents) - - - -delete a ClusterRoleBinding - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.AuthorizationOpenshiftIoV1Api() -name = 'name_example' # str | name of the ClusterRoleBinding -body = openshift.client.V1DeleteOptions() # V1DeleteOptions | -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) -grace_period_seconds = 56 # int | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) -orphan_dependents = true # bool | Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. (optional) - -try: - api_response = api_instance.delete_authorization_openshift_io_v1_cluster_role_binding(name, body, pretty=pretty, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents) - pprint(api_response) -except ApiException as e: - print("Exception when calling AuthorizationOpenshiftIoV1Api->delete_authorization_openshift_io_v1_cluster_role_binding: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the ClusterRoleBinding | - **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | - **pretty** | **str**| If 'true', then the output is pretty printed. | [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] - **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] - -### Return type - -[**UnversionedStatus**](UnversionedStatus.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **delete_authorization_openshift_io_v1_collection_cluster_policy** -> UnversionedStatus delete_authorization_openshift_io_v1_collection_cluster_policy(pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) - - - -delete collection of ClusterPolicy - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.AuthorizationOpenshiftIoV1Api() -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) -field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) -label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. (optional) -timeout_seconds = 56 # int | Timeout for the list/watch call. (optional) -watch = true # bool | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) - -try: - api_response = api_instance.delete_authorization_openshift_io_v1_collection_cluster_policy(pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) - pprint(api_response) -except ApiException as e: - print("Exception when calling AuthorizationOpenshiftIoV1Api->delete_authorization_openshift_io_v1_collection_cluster_policy: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] - **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. | [optional] - **timeout_seconds** | **int**| Timeout for the list/watch call. | [optional] - **watch** | **bool**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] - -### Return type - -[**UnversionedStatus**](UnversionedStatus.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **delete_authorization_openshift_io_v1_collection_cluster_policy_binding** -> UnversionedStatus delete_authorization_openshift_io_v1_collection_cluster_policy_binding(pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) - - - -delete collection of ClusterPolicyBinding - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.AuthorizationOpenshiftIoV1Api() -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) -field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) -label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. (optional) -timeout_seconds = 56 # int | Timeout for the list/watch call. (optional) -watch = true # bool | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) - -try: - api_response = api_instance.delete_authorization_openshift_io_v1_collection_cluster_policy_binding(pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) - pprint(api_response) -except ApiException as e: - print("Exception when calling AuthorizationOpenshiftIoV1Api->delete_authorization_openshift_io_v1_collection_cluster_policy_binding: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] - **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. | [optional] - **timeout_seconds** | **int**| Timeout for the list/watch call. | [optional] - **watch** | **bool**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] - -### Return type - -[**UnversionedStatus**](UnversionedStatus.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **delete_authorization_openshift_io_v1_collection_namespaced_policy** -> UnversionedStatus delete_authorization_openshift_io_v1_collection_namespaced_policy(namespace, pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) - - - -delete collection of Policy - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' # create an instance of the API class api_instance = openshift.client.AuthorizationOpenshiftIoV1Api() namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) +include_uninitialized = true # bool | If true, partially initialized resources are included in the response. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. (optional) +resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) timeout_seconds = 56 # int | Timeout for the list/watch call. (optional) -watch = true # bool | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) - -try: - api_response = api_instance.delete_authorization_openshift_io_v1_collection_namespaced_policy(namespace, pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) - pprint(api_response) -except ApiException as e: - print("Exception when calling AuthorizationOpenshiftIoV1Api->delete_authorization_openshift_io_v1_collection_namespaced_policy: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **namespace** | **str**| object name and auth scope, such as for teams and projects | - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] - **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. | [optional] - **timeout_seconds** | **int**| Timeout for the list/watch call. | [optional] - **watch** | **bool**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] - -### Return type - -[**UnversionedStatus**](UnversionedStatus.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **delete_authorization_openshift_io_v1_collection_namespaced_policy_binding** -> UnversionedStatus delete_authorization_openshift_io_v1_collection_namespaced_policy_binding(namespace, pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) - - - -delete collection of PolicyBinding - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.AuthorizationOpenshiftIoV1Api() -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) -field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) -label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. (optional) -timeout_seconds = 56 # int | Timeout for the list/watch call. (optional) -watch = true # bool | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) - -try: - api_response = api_instance.delete_authorization_openshift_io_v1_collection_namespaced_policy_binding(namespace, pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) - pprint(api_response) -except ApiException as e: - print("Exception when calling AuthorizationOpenshiftIoV1Api->delete_authorization_openshift_io_v1_collection_namespaced_policy_binding: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **namespace** | **str**| object name and auth scope, such as for teams and projects | - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] - **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. | [optional] - **timeout_seconds** | **int**| Timeout for the list/watch call. | [optional] - **watch** | **bool**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] - -### Return type - -[**UnversionedStatus**](UnversionedStatus.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **delete_authorization_openshift_io_v1_collection_namespaced_role_binding_restriction** -> UnversionedStatus delete_authorization_openshift_io_v1_collection_namespaced_role_binding_restriction(namespace, pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) - - - -delete collection of RoleBindingRestriction - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.AuthorizationOpenshiftIoV1Api() -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) -field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) -label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. (optional) -timeout_seconds = 56 # int | Timeout for the list/watch call. (optional) -watch = true # bool | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) - -try: - api_response = api_instance.delete_authorization_openshift_io_v1_collection_namespaced_role_binding_restriction(namespace, pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) - pprint(api_response) -except ApiException as e: - print("Exception when calling AuthorizationOpenshiftIoV1Api->delete_authorization_openshift_io_v1_collection_namespaced_role_binding_restriction: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **namespace** | **str**| object name and auth scope, such as for teams and projects | - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] - **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. | [optional] - **timeout_seconds** | **int**| Timeout for the list/watch call. | [optional] - **watch** | **bool**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] - -### Return type - -[**UnversionedStatus**](UnversionedStatus.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **delete_authorization_openshift_io_v1_namespaced_policy** -> UnversionedStatus delete_authorization_openshift_io_v1_namespaced_policy(name, namespace, body, pretty=pretty, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents) - - - -delete a Policy - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.AuthorizationOpenshiftIoV1Api() -name = 'name_example' # str | name of the Policy -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = openshift.client.V1DeleteOptions() # V1DeleteOptions | -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) -grace_period_seconds = 56 # int | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) -orphan_dependents = true # bool | Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. (optional) - -try: - api_response = api_instance.delete_authorization_openshift_io_v1_namespaced_policy(name, namespace, body, pretty=pretty, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents) - pprint(api_response) -except ApiException as e: - print("Exception when calling AuthorizationOpenshiftIoV1Api->delete_authorization_openshift_io_v1_namespaced_policy: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the Policy | - **namespace** | **str**| object name and auth scope, such as for teams and projects | - **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | - **pretty** | **str**| If 'true', then the output is pretty printed. | [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] - **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] - -### Return type - -[**UnversionedStatus**](UnversionedStatus.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **delete_authorization_openshift_io_v1_namespaced_policy_binding** -> UnversionedStatus delete_authorization_openshift_io_v1_namespaced_policy_binding(name, namespace, body, pretty=pretty, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents) - - - -delete a PolicyBinding - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.AuthorizationOpenshiftIoV1Api() -name = 'name_example' # str | name of the PolicyBinding -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = openshift.client.V1DeleteOptions() # V1DeleteOptions | -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) -grace_period_seconds = 56 # int | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) -orphan_dependents = true # bool | Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. (optional) - -try: - api_response = api_instance.delete_authorization_openshift_io_v1_namespaced_policy_binding(name, namespace, body, pretty=pretty, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents) - pprint(api_response) -except ApiException as e: - print("Exception when calling AuthorizationOpenshiftIoV1Api->delete_authorization_openshift_io_v1_namespaced_policy_binding: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the PolicyBinding | - **namespace** | **str**| object name and auth scope, such as for teams and projects | - **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | - **pretty** | **str**| If 'true', then the output is pretty printed. | [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] - **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] - -### Return type - -[**UnversionedStatus**](UnversionedStatus.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **delete_authorization_openshift_io_v1_namespaced_role** -> UnversionedStatus delete_authorization_openshift_io_v1_namespaced_role(name, namespace, body, pretty=pretty, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents) - - - -delete a Role - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.AuthorizationOpenshiftIoV1Api() -name = 'name_example' # str | name of the Role -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = openshift.client.V1DeleteOptions() # V1DeleteOptions | -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) -grace_period_seconds = 56 # int | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) -orphan_dependents = true # bool | Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. (optional) - -try: - api_response = api_instance.delete_authorization_openshift_io_v1_namespaced_role(name, namespace, body, pretty=pretty, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents) - pprint(api_response) -except ApiException as e: - print("Exception when calling AuthorizationOpenshiftIoV1Api->delete_authorization_openshift_io_v1_namespaced_role: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the Role | - **namespace** | **str**| object name and auth scope, such as for teams and projects | - **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | - **pretty** | **str**| If 'true', then the output is pretty printed. | [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] - **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] - -### Return type - -[**UnversionedStatus**](UnversionedStatus.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **delete_authorization_openshift_io_v1_namespaced_role_binding** -> UnversionedStatus delete_authorization_openshift_io_v1_namespaced_role_binding(name, namespace, body, pretty=pretty, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents) - - - -delete a RoleBinding - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.AuthorizationOpenshiftIoV1Api() -name = 'name_example' # str | name of the RoleBinding -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = openshift.client.V1DeleteOptions() # V1DeleteOptions | -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) -grace_period_seconds = 56 # int | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) -orphan_dependents = true # bool | Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. (optional) - -try: - api_response = api_instance.delete_authorization_openshift_io_v1_namespaced_role_binding(name, namespace, body, pretty=pretty, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents) - pprint(api_response) -except ApiException as e: - print("Exception when calling AuthorizationOpenshiftIoV1Api->delete_authorization_openshift_io_v1_namespaced_role_binding: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the RoleBinding | - **namespace** | **str**| object name and auth scope, such as for teams and projects | - **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | - **pretty** | **str**| If 'true', then the output is pretty printed. | [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] - **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] - -### Return type - -[**UnversionedStatus**](UnversionedStatus.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **delete_authorization_openshift_io_v1_namespaced_role_binding_restriction** -> UnversionedStatus delete_authorization_openshift_io_v1_namespaced_role_binding_restriction(name, namespace, body, pretty=pretty, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents) - - - -delete a RoleBindingRestriction - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.AuthorizationOpenshiftIoV1Api() -name = 'name_example' # str | name of the RoleBindingRestriction -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = openshift.client.V1DeleteOptions() # V1DeleteOptions | -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) -grace_period_seconds = 56 # int | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) -orphan_dependents = true # bool | Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. (optional) - -try: - api_response = api_instance.delete_authorization_openshift_io_v1_namespaced_role_binding_restriction(name, namespace, body, pretty=pretty, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents) - pprint(api_response) -except ApiException as e: - print("Exception when calling AuthorizationOpenshiftIoV1Api->delete_authorization_openshift_io_v1_namespaced_role_binding_restriction: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the RoleBindingRestriction | - **namespace** | **str**| object name and auth scope, such as for teams and projects | - **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | - **pretty** | **str**| If 'true', then the output is pretty printed. | [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] - **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] - -### Return type - -[**UnversionedStatus**](UnversionedStatus.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **get_authorization_openshift_io_v1_api_resources** -> UnversionedAPIResourceList get_authorization_openshift_io_v1_api_resources() - - - -get available resources - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.AuthorizationOpenshiftIoV1Api() - -try: - api_response = api_instance.get_authorization_openshift_io_v1_api_resources() - pprint(api_response) -except ApiException as e: - print("Exception when calling AuthorizationOpenshiftIoV1Api->get_authorization_openshift_io_v1_api_resources: %s\n" % e) -``` - -### Parameters -This endpoint does not need any parameter. - -### Return type - -[**UnversionedAPIResourceList**](UnversionedAPIResourceList.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: application/json, application/yaml, application/vnd.kubernetes.protobuf - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **list_authorization_openshift_io_v1_cluster_policy** -> V1ClusterPolicyList list_authorization_openshift_io_v1_cluster_policy(pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) - - - -list or watch objects of kind ClusterPolicy - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.AuthorizationOpenshiftIoV1Api() -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) -field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) -label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. (optional) -timeout_seconds = 56 # int | Timeout for the list/watch call. (optional) -watch = true # bool | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) - -try: - api_response = api_instance.list_authorization_openshift_io_v1_cluster_policy(pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) - pprint(api_response) -except ApiException as e: - print("Exception when calling AuthorizationOpenshiftIoV1Api->list_authorization_openshift_io_v1_cluster_policy: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] - **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. | [optional] - **timeout_seconds** | **int**| Timeout for the list/watch call. | [optional] - **watch** | **bool**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] - -### Return type - -[**V1ClusterPolicyList**](V1ClusterPolicyList.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **list_authorization_openshift_io_v1_cluster_policy_binding** -> V1ClusterPolicyBindingList list_authorization_openshift_io_v1_cluster_policy_binding(pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) - - - -list or watch objects of kind ClusterPolicyBinding - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.AuthorizationOpenshiftIoV1Api() -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) -field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) -label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. (optional) -timeout_seconds = 56 # int | Timeout for the list/watch call. (optional) -watch = true # bool | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) - -try: - api_response = api_instance.list_authorization_openshift_io_v1_cluster_policy_binding(pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) - pprint(api_response) -except ApiException as e: - print("Exception when calling AuthorizationOpenshiftIoV1Api->list_authorization_openshift_io_v1_cluster_policy_binding: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] - **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. | [optional] - **timeout_seconds** | **int**| Timeout for the list/watch call. | [optional] - **watch** | **bool**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] - -### Return type - -[**V1ClusterPolicyBindingList**](V1ClusterPolicyBindingList.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **list_authorization_openshift_io_v1_cluster_role** -> V1ClusterRoleList list_authorization_openshift_io_v1_cluster_role(pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) - - - -list objects of kind ClusterRole - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.AuthorizationOpenshiftIoV1Api() -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) -field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) -label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. (optional) -timeout_seconds = 56 # int | Timeout for the list/watch call. (optional) -watch = true # bool | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) - -try: - api_response = api_instance.list_authorization_openshift_io_v1_cluster_role(pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) - pprint(api_response) -except ApiException as e: - print("Exception when calling AuthorizationOpenshiftIoV1Api->list_authorization_openshift_io_v1_cluster_role: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] - **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. | [optional] - **timeout_seconds** | **int**| Timeout for the list/watch call. | [optional] - **watch** | **bool**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] - -### Return type - -[**V1ClusterRoleList**](V1ClusterRoleList.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **list_authorization_openshift_io_v1_cluster_role_binding** -> V1ClusterRoleBindingList list_authorization_openshift_io_v1_cluster_role_binding(pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) - - - -list objects of kind ClusterRoleBinding - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.AuthorizationOpenshiftIoV1Api() -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) -field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) -label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. (optional) -timeout_seconds = 56 # int | Timeout for the list/watch call. (optional) -watch = true # bool | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) - -try: - api_response = api_instance.list_authorization_openshift_io_v1_cluster_role_binding(pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) - pprint(api_response) -except ApiException as e: - print("Exception when calling AuthorizationOpenshiftIoV1Api->list_authorization_openshift_io_v1_cluster_role_binding: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] - **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. | [optional] - **timeout_seconds** | **int**| Timeout for the list/watch call. | [optional] - **watch** | **bool**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] - -### Return type - -[**V1ClusterRoleBindingList**](V1ClusterRoleBindingList.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **list_authorization_openshift_io_v1_namespaced_policy** -> V1PolicyList list_authorization_openshift_io_v1_namespaced_policy(namespace, pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) - - - -list or watch objects of kind Policy - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.AuthorizationOpenshiftIoV1Api() -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) -field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) -label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. (optional) -timeout_seconds = 56 # int | Timeout for the list/watch call. (optional) -watch = true # bool | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) - -try: - api_response = api_instance.list_authorization_openshift_io_v1_namespaced_policy(namespace, pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) - pprint(api_response) -except ApiException as e: - print("Exception when calling AuthorizationOpenshiftIoV1Api->list_authorization_openshift_io_v1_namespaced_policy: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **namespace** | **str**| object name and auth scope, such as for teams and projects | - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] - **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. | [optional] - **timeout_seconds** | **int**| Timeout for the list/watch call. | [optional] - **watch** | **bool**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] - -### Return type - -[**V1PolicyList**](V1PolicyList.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **list_authorization_openshift_io_v1_namespaced_policy_binding** -> V1PolicyBindingList list_authorization_openshift_io_v1_namespaced_policy_binding(namespace, pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) - - - -list or watch objects of kind PolicyBinding - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.AuthorizationOpenshiftIoV1Api() -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) -field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) -label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. (optional) -timeout_seconds = 56 # int | Timeout for the list/watch call. (optional) -watch = true # bool | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) - -try: - api_response = api_instance.list_authorization_openshift_io_v1_namespaced_policy_binding(namespace, pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) - pprint(api_response) -except ApiException as e: - print("Exception when calling AuthorizationOpenshiftIoV1Api->list_authorization_openshift_io_v1_namespaced_policy_binding: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **namespace** | **str**| object name and auth scope, such as for teams and projects | - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] - **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. | [optional] - **timeout_seconds** | **int**| Timeout for the list/watch call. | [optional] - **watch** | **bool**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] - -### Return type - -[**V1PolicyBindingList**](V1PolicyBindingList.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **list_authorization_openshift_io_v1_namespaced_role** -> V1RoleList list_authorization_openshift_io_v1_namespaced_role(namespace, pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) - - - -list objects of kind Role - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.AuthorizationOpenshiftIoV1Api() -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) -field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) -label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. (optional) -timeout_seconds = 56 # int | Timeout for the list/watch call. (optional) -watch = true # bool | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) - -try: - api_response = api_instance.list_authorization_openshift_io_v1_namespaced_role(namespace, pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) - pprint(api_response) -except ApiException as e: - print("Exception when calling AuthorizationOpenshiftIoV1Api->list_authorization_openshift_io_v1_namespaced_role: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **namespace** | **str**| object name and auth scope, such as for teams and projects | - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] - **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. | [optional] - **timeout_seconds** | **int**| Timeout for the list/watch call. | [optional] - **watch** | **bool**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] - -### Return type - -[**V1RoleList**](V1RoleList.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **list_authorization_openshift_io_v1_namespaced_role_binding** -> V1RoleBindingList list_authorization_openshift_io_v1_namespaced_role_binding(namespace, pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) - - - -list objects of kind RoleBinding - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.AuthorizationOpenshiftIoV1Api() -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) -field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) -label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. (optional) -timeout_seconds = 56 # int | Timeout for the list/watch call. (optional) -watch = true # bool | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) - -try: - api_response = api_instance.list_authorization_openshift_io_v1_namespaced_role_binding(namespace, pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) - pprint(api_response) -except ApiException as e: - print("Exception when calling AuthorizationOpenshiftIoV1Api->list_authorization_openshift_io_v1_namespaced_role_binding: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **namespace** | **str**| object name and auth scope, such as for teams and projects | - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] - **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. | [optional] - **timeout_seconds** | **int**| Timeout for the list/watch call. | [optional] - **watch** | **bool**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] - -### Return type - -[**V1RoleBindingList**](V1RoleBindingList.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **list_authorization_openshift_io_v1_namespaced_role_binding_restriction** -> V1RoleBindingRestrictionList list_authorization_openshift_io_v1_namespaced_role_binding_restriction(namespace, pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) - - - -list or watch objects of kind RoleBindingRestriction - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.AuthorizationOpenshiftIoV1Api() -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) -field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) -label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. (optional) -timeout_seconds = 56 # int | Timeout for the list/watch call. (optional) -watch = true # bool | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) - -try: - api_response = api_instance.list_authorization_openshift_io_v1_namespaced_role_binding_restriction(namespace, pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) - pprint(api_response) -except ApiException as e: - print("Exception when calling AuthorizationOpenshiftIoV1Api->list_authorization_openshift_io_v1_namespaced_role_binding_restriction: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **namespace** | **str**| object name and auth scope, such as for teams and projects | - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] - **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. | [optional] - **timeout_seconds** | **int**| Timeout for the list/watch call. | [optional] - **watch** | **bool**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] - -### Return type - -[**V1RoleBindingRestrictionList**](V1RoleBindingRestrictionList.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **list_authorization_openshift_io_v1_policy_binding_for_all_namespaces** -> V1PolicyBindingList list_authorization_openshift_io_v1_policy_binding_for_all_namespaces(pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) - - - -list or watch objects of kind PolicyBinding - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.AuthorizationOpenshiftIoV1Api() -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) -field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) -label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. (optional) -timeout_seconds = 56 # int | Timeout for the list/watch call. (optional) -watch = true # bool | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) - -try: - api_response = api_instance.list_authorization_openshift_io_v1_policy_binding_for_all_namespaces(pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) - pprint(api_response) -except ApiException as e: - print("Exception when calling AuthorizationOpenshiftIoV1Api->list_authorization_openshift_io_v1_policy_binding_for_all_namespaces: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] - **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. | [optional] - **timeout_seconds** | **int**| Timeout for the list/watch call. | [optional] - **watch** | **bool**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] - -### Return type - -[**V1PolicyBindingList**](V1PolicyBindingList.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **list_authorization_openshift_io_v1_policy_for_all_namespaces** -> V1PolicyList list_authorization_openshift_io_v1_policy_for_all_namespaces(pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) - - - -list or watch objects of kind Policy - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.AuthorizationOpenshiftIoV1Api() -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) -field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) -label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. (optional) -timeout_seconds = 56 # int | Timeout for the list/watch call. (optional) -watch = true # bool | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) - -try: - api_response = api_instance.list_authorization_openshift_io_v1_policy_for_all_namespaces(pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) - pprint(api_response) -except ApiException as e: - print("Exception when calling AuthorizationOpenshiftIoV1Api->list_authorization_openshift_io_v1_policy_for_all_namespaces: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] - **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. | [optional] - **timeout_seconds** | **int**| Timeout for the list/watch call. | [optional] - **watch** | **bool**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] - -### Return type - -[**V1PolicyList**](V1PolicyList.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **list_authorization_openshift_io_v1_role_binding_for_all_namespaces** -> V1RoleBindingList list_authorization_openshift_io_v1_role_binding_for_all_namespaces(pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) - - - -list objects of kind RoleBinding - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.AuthorizationOpenshiftIoV1Api() -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) -field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) -label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. (optional) -timeout_seconds = 56 # int | Timeout for the list/watch call. (optional) -watch = true # bool | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) - -try: - api_response = api_instance.list_authorization_openshift_io_v1_role_binding_for_all_namespaces(pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) - pprint(api_response) -except ApiException as e: - print("Exception when calling AuthorizationOpenshiftIoV1Api->list_authorization_openshift_io_v1_role_binding_for_all_namespaces: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] - **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. | [optional] - **timeout_seconds** | **int**| Timeout for the list/watch call. | [optional] - **watch** | **bool**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] - -### Return type - -[**V1RoleBindingList**](V1RoleBindingList.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **list_authorization_openshift_io_v1_role_binding_restriction_for_all_namespaces** -> V1RoleBindingRestrictionList list_authorization_openshift_io_v1_role_binding_restriction_for_all_namespaces(pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) - - - -list or watch objects of kind RoleBindingRestriction - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.AuthorizationOpenshiftIoV1Api() -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) -field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) -label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. (optional) -timeout_seconds = 56 # int | Timeout for the list/watch call. (optional) -watch = true # bool | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) - -try: - api_response = api_instance.list_authorization_openshift_io_v1_role_binding_restriction_for_all_namespaces(pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) - pprint(api_response) -except ApiException as e: - print("Exception when calling AuthorizationOpenshiftIoV1Api->list_authorization_openshift_io_v1_role_binding_restriction_for_all_namespaces: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] - **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. | [optional] - **timeout_seconds** | **int**| Timeout for the list/watch call. | [optional] - **watch** | **bool**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] - -### Return type - -[**V1RoleBindingRestrictionList**](V1RoleBindingRestrictionList.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **list_authorization_openshift_io_v1_role_for_all_namespaces** -> V1RoleList list_authorization_openshift_io_v1_role_for_all_namespaces(pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) - - - -list objects of kind Role - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.AuthorizationOpenshiftIoV1Api() -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) -field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) -label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. (optional) -timeout_seconds = 56 # int | Timeout for the list/watch call. (optional) -watch = true # bool | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) - -try: - api_response = api_instance.list_authorization_openshift_io_v1_role_for_all_namespaces(pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) - pprint(api_response) -except ApiException as e: - print("Exception when calling AuthorizationOpenshiftIoV1Api->list_authorization_openshift_io_v1_role_for_all_namespaces: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] - **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. | [optional] - **timeout_seconds** | **int**| Timeout for the list/watch call. | [optional] - **watch** | **bool**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] - -### Return type - -[**V1RoleList**](V1RoleList.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **patch_authorization_openshift_io_v1_cluster_policy** -> V1ClusterPolicy patch_authorization_openshift_io_v1_cluster_policy(name, body, pretty=pretty) - - - -partially update the specified ClusterPolicy - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.AuthorizationOpenshiftIoV1Api() -name = 'name_example' # str | name of the ClusterPolicy -body = openshift.client.UnversionedPatch() # UnversionedPatch | -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) - -try: - api_response = api_instance.patch_authorization_openshift_io_v1_cluster_policy(name, body, pretty=pretty) - pprint(api_response) -except ApiException as e: - print("Exception when calling AuthorizationOpenshiftIoV1Api->patch_authorization_openshift_io_v1_cluster_policy: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the ClusterPolicy | - **body** | [**UnversionedPatch**](UnversionedPatch.md)| | - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - -### Return type - -[**V1ClusterPolicy**](V1ClusterPolicy.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **patch_authorization_openshift_io_v1_cluster_policy_binding** -> V1ClusterPolicyBinding patch_authorization_openshift_io_v1_cluster_policy_binding(name, body, pretty=pretty) - - - -partially update the specified ClusterPolicyBinding - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.AuthorizationOpenshiftIoV1Api() -name = 'name_example' # str | name of the ClusterPolicyBinding -body = openshift.client.UnversionedPatch() # UnversionedPatch | -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) - -try: - api_response = api_instance.patch_authorization_openshift_io_v1_cluster_policy_binding(name, body, pretty=pretty) - pprint(api_response) -except ApiException as e: - print("Exception when calling AuthorizationOpenshiftIoV1Api->patch_authorization_openshift_io_v1_cluster_policy_binding: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the ClusterPolicyBinding | - **body** | [**UnversionedPatch**](UnversionedPatch.md)| | - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - -### Return type - -[**V1ClusterPolicyBinding**](V1ClusterPolicyBinding.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **patch_authorization_openshift_io_v1_cluster_role** -> V1ClusterRole patch_authorization_openshift_io_v1_cluster_role(name, body, pretty=pretty) - - - -partially update the specified ClusterRole - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.AuthorizationOpenshiftIoV1Api() -name = 'name_example' # str | name of the ClusterRole -body = openshift.client.UnversionedPatch() # UnversionedPatch | -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) - -try: - api_response = api_instance.patch_authorization_openshift_io_v1_cluster_role(name, body, pretty=pretty) - pprint(api_response) -except ApiException as e: - print("Exception when calling AuthorizationOpenshiftIoV1Api->patch_authorization_openshift_io_v1_cluster_role: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the ClusterRole | - **body** | [**UnversionedPatch**](UnversionedPatch.md)| | - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - -### Return type - -[**V1ClusterRole**](V1ClusterRole.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **patch_authorization_openshift_io_v1_cluster_role_binding** -> V1ClusterRoleBinding patch_authorization_openshift_io_v1_cluster_role_binding(name, body, pretty=pretty) - - - -partially update the specified ClusterRoleBinding - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.AuthorizationOpenshiftIoV1Api() -name = 'name_example' # str | name of the ClusterRoleBinding -body = openshift.client.UnversionedPatch() # UnversionedPatch | -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) - -try: - api_response = api_instance.patch_authorization_openshift_io_v1_cluster_role_binding(name, body, pretty=pretty) - pprint(api_response) -except ApiException as e: - print("Exception when calling AuthorizationOpenshiftIoV1Api->patch_authorization_openshift_io_v1_cluster_role_binding: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the ClusterRoleBinding | - **body** | [**UnversionedPatch**](UnversionedPatch.md)| | - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - -### Return type - -[**V1ClusterRoleBinding**](V1ClusterRoleBinding.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **patch_authorization_openshift_io_v1_namespaced_policy** -> V1Policy patch_authorization_openshift_io_v1_namespaced_policy(name, namespace, body, pretty=pretty) - - - -partially update the specified Policy - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.AuthorizationOpenshiftIoV1Api() -name = 'name_example' # str | name of the Policy -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = openshift.client.UnversionedPatch() # UnversionedPatch | -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) - -try: - api_response = api_instance.patch_authorization_openshift_io_v1_namespaced_policy(name, namespace, body, pretty=pretty) - pprint(api_response) -except ApiException as e: - print("Exception when calling AuthorizationOpenshiftIoV1Api->patch_authorization_openshift_io_v1_namespaced_policy: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the Policy | - **namespace** | **str**| object name and auth scope, such as for teams and projects | - **body** | [**UnversionedPatch**](UnversionedPatch.md)| | - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - -### Return type - -[**V1Policy**](V1Policy.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **patch_authorization_openshift_io_v1_namespaced_policy_binding** -> V1PolicyBinding patch_authorization_openshift_io_v1_namespaced_policy_binding(name, namespace, body, pretty=pretty) - - - -partially update the specified PolicyBinding - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.AuthorizationOpenshiftIoV1Api() -name = 'name_example' # str | name of the PolicyBinding -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = openshift.client.UnversionedPatch() # UnversionedPatch | -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) +watch = true # bool | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) try: - api_response = api_instance.patch_authorization_openshift_io_v1_namespaced_policy_binding(name, namespace, body, pretty=pretty) + api_response = api_instance.list_namespaced_role(namespace, pretty=pretty, field_selector=field_selector, include_uninitialized=include_uninitialized, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) pprint(api_response) except ApiException as e: - print("Exception when calling AuthorizationOpenshiftIoV1Api->patch_authorization_openshift_io_v1_namespaced_policy_binding: %s\n" % e) + print("Exception when calling AuthorizationOpenshiftIoV1Api->list_namespaced_role: %s\n" % e) ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the PolicyBinding | **namespace** | **str**| object name and auth scope, such as for teams and projects | - **body** | [**UnversionedPatch**](UnversionedPatch.md)| | **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] + **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] + **include_uninitialized** | **bool**| If true, partially initialized resources are included in the response. | [optional] + **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] + **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] + **timeout_seconds** | **int**| Timeout for the list/watch call. | [optional] + **watch** | **bool**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] ### Return type -[**V1PolicyBinding**](V1PolicyBinding.md) +[**V1RoleList**](V1RoleList.md) ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers - - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Content-Type**: */* + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **patch_authorization_openshift_io_v1_namespaced_role** -> V1Role patch_authorization_openshift_io_v1_namespaced_role(name, namespace, body, pretty=pretty) +# **list_namespaced_role_binding** +> V1RoleBindingList list_namespaced_role_binding(namespace, pretty=pretty, field_selector=field_selector, include_uninitialized=include_uninitialized, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) -partially update the specified Role +list objects of kind RoleBinding ### Example ```python @@ -3356,50 +1791,67 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.AuthorizationOpenshiftIoV1Api() -name = 'name_example' # str | name of the Role namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = openshift.client.UnversionedPatch() # UnversionedPatch | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) +field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) +include_uninitialized = true # bool | If true, partially initialized resources are included in the response. (optional) +label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) +resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) +timeout_seconds = 56 # int | Timeout for the list/watch call. (optional) +watch = true # bool | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) try: - api_response = api_instance.patch_authorization_openshift_io_v1_namespaced_role(name, namespace, body, pretty=pretty) + api_response = api_instance.list_namespaced_role_binding(namespace, pretty=pretty, field_selector=field_selector, include_uninitialized=include_uninitialized, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) pprint(api_response) except ApiException as e: - print("Exception when calling AuthorizationOpenshiftIoV1Api->patch_authorization_openshift_io_v1_namespaced_role: %s\n" % e) + print("Exception when calling AuthorizationOpenshiftIoV1Api->list_namespaced_role_binding: %s\n" % e) ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the Role | **namespace** | **str**| object name and auth scope, such as for teams and projects | - **body** | [**UnversionedPatch**](UnversionedPatch.md)| | **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] + **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] + **include_uninitialized** | **bool**| If true, partially initialized resources are included in the response. | [optional] + **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] + **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] + **timeout_seconds** | **int**| Timeout for the list/watch call. | [optional] + **watch** | **bool**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] ### Return type -[**V1Role**](V1Role.md) +[**V1RoleBindingList**](V1RoleBindingList.md) ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers - - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Content-Type**: */* + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **patch_authorization_openshift_io_v1_namespaced_role_binding** -> V1RoleBinding patch_authorization_openshift_io_v1_namespaced_role_binding(name, namespace, body, pretty=pretty) +# **list_namespaced_role_binding_restriction** +> V1RoleBindingRestrictionList list_namespaced_role_binding_restriction(namespace, pretty=pretty, field_selector=field_selector, include_uninitialized=include_uninitialized, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) -partially update the specified RoleBinding +list or watch objects of kind RoleBindingRestriction ### Example ```python @@ -3409,50 +1861,67 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.AuthorizationOpenshiftIoV1Api() -name = 'name_example' # str | name of the RoleBinding namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = openshift.client.UnversionedPatch() # UnversionedPatch | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) +field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) +include_uninitialized = true # bool | If true, partially initialized resources are included in the response. (optional) +label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) +resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) +timeout_seconds = 56 # int | Timeout for the list/watch call. (optional) +watch = true # bool | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) try: - api_response = api_instance.patch_authorization_openshift_io_v1_namespaced_role_binding(name, namespace, body, pretty=pretty) + api_response = api_instance.list_namespaced_role_binding_restriction(namespace, pretty=pretty, field_selector=field_selector, include_uninitialized=include_uninitialized, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) pprint(api_response) except ApiException as e: - print("Exception when calling AuthorizationOpenshiftIoV1Api->patch_authorization_openshift_io_v1_namespaced_role_binding: %s\n" % e) + print("Exception when calling AuthorizationOpenshiftIoV1Api->list_namespaced_role_binding_restriction: %s\n" % e) ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the RoleBinding | **namespace** | **str**| object name and auth scope, such as for teams and projects | - **body** | [**UnversionedPatch**](UnversionedPatch.md)| | **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] + **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] + **include_uninitialized** | **bool**| If true, partially initialized resources are included in the response. | [optional] + **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] + **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] + **timeout_seconds** | **int**| Timeout for the list/watch call. | [optional] + **watch** | **bool**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] ### Return type -[**V1RoleBinding**](V1RoleBinding.md) +[**V1RoleBindingRestrictionList**](V1RoleBindingRestrictionList.md) ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers - - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Content-Type**: */* + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **patch_authorization_openshift_io_v1_namespaced_role_binding_restriction** -> V1RoleBindingRestriction patch_authorization_openshift_io_v1_namespaced_role_binding_restriction(name, namespace, body, pretty=pretty) +# **list_role_binding_for_all_namespaces** +> V1RoleBindingList list_role_binding_for_all_namespaces(pretty=pretty, field_selector=field_selector, include_uninitialized=include_uninitialized, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) -partially update the specified RoleBindingRestriction +list objects of kind RoleBinding ### Example ```python @@ -3462,50 +1931,65 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.AuthorizationOpenshiftIoV1Api() -name = 'name_example' # str | name of the RoleBindingRestriction -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = openshift.client.UnversionedPatch() # UnversionedPatch | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) +field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) +include_uninitialized = true # bool | If true, partially initialized resources are included in the response. (optional) +label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) +resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) +timeout_seconds = 56 # int | Timeout for the list/watch call. (optional) +watch = true # bool | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) try: - api_response = api_instance.patch_authorization_openshift_io_v1_namespaced_role_binding_restriction(name, namespace, body, pretty=pretty) + api_response = api_instance.list_role_binding_for_all_namespaces(pretty=pretty, field_selector=field_selector, include_uninitialized=include_uninitialized, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) pprint(api_response) except ApiException as e: - print("Exception when calling AuthorizationOpenshiftIoV1Api->patch_authorization_openshift_io_v1_namespaced_role_binding_restriction: %s\n" % e) + print("Exception when calling AuthorizationOpenshiftIoV1Api->list_role_binding_for_all_namespaces: %s\n" % e) ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the RoleBindingRestriction | - **namespace** | **str**| object name and auth scope, such as for teams and projects | - **body** | [**UnversionedPatch**](UnversionedPatch.md)| | **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] + **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] + **include_uninitialized** | **bool**| If true, partially initialized resources are included in the response. | [optional] + **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] + **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] + **timeout_seconds** | **int**| Timeout for the list/watch call. | [optional] + **watch** | **bool**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] ### Return type -[**V1RoleBindingRestriction**](V1RoleBindingRestriction.md) +[**V1RoleBindingList**](V1RoleBindingList.md) ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers - - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Content-Type**: */* + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **read_authorization_openshift_io_v1_cluster_policy** -> V1ClusterPolicy read_authorization_openshift_io_v1_cluster_policy(name, pretty=pretty, exact=exact, export=export) +# **list_role_binding_restriction_for_all_namespaces** +> V1RoleBindingRestrictionList list_role_binding_restriction_for_all_namespaces(pretty=pretty, field_selector=field_selector, include_uninitialized=include_uninitialized, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) -read the specified ClusterPolicy +list or watch objects of kind RoleBindingRestriction ### Example ```python @@ -3515,50 +1999,65 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.AuthorizationOpenshiftIoV1Api() -name = 'name_example' # str | name of the ClusterPolicy pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) -exact = true # bool | Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace' (optional) -export = true # bool | Should this value be exported. Export strips fields that a user can not specify. (optional) +field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) +include_uninitialized = true # bool | If true, partially initialized resources are included in the response. (optional) +label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) +resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) +timeout_seconds = 56 # int | Timeout for the list/watch call. (optional) +watch = true # bool | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) try: - api_response = api_instance.read_authorization_openshift_io_v1_cluster_policy(name, pretty=pretty, exact=exact, export=export) + api_response = api_instance.list_role_binding_restriction_for_all_namespaces(pretty=pretty, field_selector=field_selector, include_uninitialized=include_uninitialized, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) pprint(api_response) except ApiException as e: - print("Exception when calling AuthorizationOpenshiftIoV1Api->read_authorization_openshift_io_v1_cluster_policy: %s\n" % e) + print("Exception when calling AuthorizationOpenshiftIoV1Api->list_role_binding_restriction_for_all_namespaces: %s\n" % e) ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the ClusterPolicy | **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - **exact** | **bool**| Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace' | [optional] - **export** | **bool**| Should this value be exported. Export strips fields that a user can not specify. | [optional] + **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] + **include_uninitialized** | **bool**| If true, partially initialized resources are included in the response. | [optional] + **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] + **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] + **timeout_seconds** | **int**| Timeout for the list/watch call. | [optional] + **watch** | **bool**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] ### Return type -[**V1ClusterPolicy**](V1ClusterPolicy.md) +[**V1RoleBindingRestrictionList**](V1RoleBindingRestrictionList.md) ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **read_authorization_openshift_io_v1_cluster_policy_binding** -> V1ClusterPolicyBinding read_authorization_openshift_io_v1_cluster_policy_binding(name, pretty=pretty, exact=exact, export=export) +# **list_role_for_all_namespaces** +> V1RoleList list_role_for_all_namespaces(pretty=pretty, field_selector=field_selector, include_uninitialized=include_uninitialized, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) -read the specified ClusterPolicyBinding +list objects of kind Role ### Example ```python @@ -3568,50 +2067,65 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.AuthorizationOpenshiftIoV1Api() -name = 'name_example' # str | name of the ClusterPolicyBinding pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) -exact = true # bool | Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace' (optional) -export = true # bool | Should this value be exported. Export strips fields that a user can not specify. (optional) +field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) +include_uninitialized = true # bool | If true, partially initialized resources are included in the response. (optional) +label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) +resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) +timeout_seconds = 56 # int | Timeout for the list/watch call. (optional) +watch = true # bool | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) try: - api_response = api_instance.read_authorization_openshift_io_v1_cluster_policy_binding(name, pretty=pretty, exact=exact, export=export) + api_response = api_instance.list_role_for_all_namespaces(pretty=pretty, field_selector=field_selector, include_uninitialized=include_uninitialized, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) pprint(api_response) except ApiException as e: - print("Exception when calling AuthorizationOpenshiftIoV1Api->read_authorization_openshift_io_v1_cluster_policy_binding: %s\n" % e) + print("Exception when calling AuthorizationOpenshiftIoV1Api->list_role_for_all_namespaces: %s\n" % e) ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the ClusterPolicyBinding | **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - **exact** | **bool**| Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace' | [optional] - **export** | **bool**| Should this value be exported. Export strips fields that a user can not specify. | [optional] + **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] + **include_uninitialized** | **bool**| If true, partially initialized resources are included in the response. | [optional] + **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] + **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] + **timeout_seconds** | **int**| Timeout for the list/watch call. | [optional] + **watch** | **bool**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] ### Return type -[**V1ClusterPolicyBinding**](V1ClusterPolicyBinding.md) +[**V1RoleList**](V1RoleList.md) ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **read_authorization_openshift_io_v1_cluster_role** -> V1ClusterRole read_authorization_openshift_io_v1_cluster_role(name, pretty=pretty) +# **patch_cluster_role** +> V1ClusterRole patch_cluster_role(name, body, pretty=pretty) -read the specified ClusterRole +partially update the specified ClusterRole ### Example ```python @@ -3621,16 +2135,26 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.AuthorizationOpenshiftIoV1Api() name = 'name_example' # str | name of the ClusterRole +body = NULL # object | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) try: - api_response = api_instance.read_authorization_openshift_io_v1_cluster_role(name, pretty=pretty) + api_response = api_instance.patch_cluster_role(name, body, pretty=pretty) pprint(api_response) except ApiException as e: - print("Exception when calling AuthorizationOpenshiftIoV1Api->read_authorization_openshift_io_v1_cluster_role: %s\n" % e) + print("Exception when calling AuthorizationOpenshiftIoV1Api->patch_cluster_role: %s\n" % e) ``` ### Parameters @@ -3638,6 +2162,7 @@ except ApiException as e: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **name** | **str**| name of the ClusterRole | + **body** | **object**| | **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] ### Return type @@ -3646,21 +2171,21 @@ Name | Type | Description | Notes ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers - - **Content-Type**: */* + - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **read_authorization_openshift_io_v1_cluster_role_binding** -> V1ClusterRoleBinding read_authorization_openshift_io_v1_cluster_role_binding(name, pretty=pretty) +# **patch_cluster_role_binding** +> V1ClusterRoleBinding patch_cluster_role_binding(name, body, pretty=pretty) -read the specified ClusterRoleBinding +partially update the specified ClusterRoleBinding ### Example ```python @@ -3670,16 +2195,26 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.AuthorizationOpenshiftIoV1Api() name = 'name_example' # str | name of the ClusterRoleBinding +body = NULL # object | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) try: - api_response = api_instance.read_authorization_openshift_io_v1_cluster_role_binding(name, pretty=pretty) + api_response = api_instance.patch_cluster_role_binding(name, body, pretty=pretty) pprint(api_response) except ApiException as e: - print("Exception when calling AuthorizationOpenshiftIoV1Api->read_authorization_openshift_io_v1_cluster_role_binding: %s\n" % e) + print("Exception when calling AuthorizationOpenshiftIoV1Api->patch_cluster_role_binding: %s\n" % e) ``` ### Parameters @@ -3687,6 +2222,7 @@ except ApiException as e: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **name** | **str**| name of the ClusterRoleBinding | + **body** | **object**| | **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] ### Return type @@ -3695,21 +2231,21 @@ Name | Type | Description | Notes ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers - - **Content-Type**: */* + - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **read_authorization_openshift_io_v1_namespaced_policy** -> V1Policy read_authorization_openshift_io_v1_namespaced_policy(name, namespace, pretty=pretty, exact=exact, export=export) +# **patch_namespaced_role** +> V1Role patch_namespaced_role(name, namespace, body, pretty=pretty) -read the specified Policy +partially update the specified Role ### Example ```python @@ -3719,107 +2255,59 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint -# create an instance of the API class -api_instance = openshift.client.AuthorizationOpenshiftIoV1Api() -name = 'name_example' # str | name of the Policy -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) -exact = true # bool | Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace' (optional) -export = true # bool | Should this value be exported. Export strips fields that a user can not specify. (optional) - -try: - api_response = api_instance.read_authorization_openshift_io_v1_namespaced_policy(name, namespace, pretty=pretty, exact=exact, export=export) - pprint(api_response) -except ApiException as e: - print("Exception when calling AuthorizationOpenshiftIoV1Api->read_authorization_openshift_io_v1_namespaced_policy: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the Policy | - **namespace** | **str**| object name and auth scope, such as for teams and projects | - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - **exact** | **bool**| Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace' | [optional] - **export** | **bool**| Should this value be exported. Export strips fields that a user can not specify. | [optional] - -### Return type - -[**V1Policy**](V1Policy.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **read_authorization_openshift_io_v1_namespaced_policy_binding** -> V1PolicyBinding read_authorization_openshift_io_v1_namespaced_policy_binding(name, namespace, pretty=pretty, exact=exact, export=export) - - - -read the specified PolicyBinding - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' # create an instance of the API class api_instance = openshift.client.AuthorizationOpenshiftIoV1Api() -name = 'name_example' # str | name of the PolicyBinding +name = 'name_example' # str | name of the Role namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects +body = NULL # object | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) -exact = true # bool | Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace' (optional) -export = true # bool | Should this value be exported. Export strips fields that a user can not specify. (optional) try: - api_response = api_instance.read_authorization_openshift_io_v1_namespaced_policy_binding(name, namespace, pretty=pretty, exact=exact, export=export) + api_response = api_instance.patch_namespaced_role(name, namespace, body, pretty=pretty) pprint(api_response) except ApiException as e: - print("Exception when calling AuthorizationOpenshiftIoV1Api->read_authorization_openshift_io_v1_namespaced_policy_binding: %s\n" % e) + print("Exception when calling AuthorizationOpenshiftIoV1Api->patch_namespaced_role: %s\n" % e) ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the PolicyBinding | + **name** | **str**| name of the Role | **namespace** | **str**| object name and auth scope, such as for teams and projects | + **body** | **object**| | **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - **exact** | **bool**| Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace' | [optional] - **export** | **bool**| Should this value be exported. Export strips fields that a user can not specify. | [optional] ### Return type -[**V1PolicyBinding**](V1PolicyBinding.md) +[**V1Role**](V1Role.md) ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers - - **Content-Type**: */* + - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **read_authorization_openshift_io_v1_namespaced_role** -> V1Role read_authorization_openshift_io_v1_namespaced_role(name, namespace, pretty=pretty) +# **patch_namespaced_role_binding** +> V1RoleBinding patch_namespaced_role_binding(name, namespace, body, pretty=pretty) -read the specified Role +partially update the specified RoleBinding ### Example ```python @@ -3829,48 +2317,59 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.AuthorizationOpenshiftIoV1Api() -name = 'name_example' # str | name of the Role +name = 'name_example' # str | name of the RoleBinding namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects +body = NULL # object | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) try: - api_response = api_instance.read_authorization_openshift_io_v1_namespaced_role(name, namespace, pretty=pretty) + api_response = api_instance.patch_namespaced_role_binding(name, namespace, body, pretty=pretty) pprint(api_response) except ApiException as e: - print("Exception when calling AuthorizationOpenshiftIoV1Api->read_authorization_openshift_io_v1_namespaced_role: %s\n" % e) + print("Exception when calling AuthorizationOpenshiftIoV1Api->patch_namespaced_role_binding: %s\n" % e) ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the Role | + **name** | **str**| name of the RoleBinding | **namespace** | **str**| object name and auth scope, such as for teams and projects | + **body** | **object**| | **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] ### Return type -[**V1Role**](V1Role.md) +[**V1RoleBinding**](V1RoleBinding.md) ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers - - **Content-Type**: */* + - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **read_authorization_openshift_io_v1_namespaced_role_binding** -> V1RoleBinding read_authorization_openshift_io_v1_namespaced_role_binding(name, namespace, pretty=pretty) +# **patch_namespaced_role_binding_restriction** +> V1RoleBindingRestriction patch_namespaced_role_binding_restriction(name, namespace, body, pretty=pretty) -read the specified RoleBinding +partially update the specified RoleBindingRestriction ### Example ```python @@ -3880,48 +2379,59 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.AuthorizationOpenshiftIoV1Api() -name = 'name_example' # str | name of the RoleBinding +name = 'name_example' # str | name of the RoleBindingRestriction namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects +body = NULL # object | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) try: - api_response = api_instance.read_authorization_openshift_io_v1_namespaced_role_binding(name, namespace, pretty=pretty) + api_response = api_instance.patch_namespaced_role_binding_restriction(name, namespace, body, pretty=pretty) pprint(api_response) except ApiException as e: - print("Exception when calling AuthorizationOpenshiftIoV1Api->read_authorization_openshift_io_v1_namespaced_role_binding: %s\n" % e) + print("Exception when calling AuthorizationOpenshiftIoV1Api->patch_namespaced_role_binding_restriction: %s\n" % e) ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the RoleBinding | + **name** | **str**| name of the RoleBindingRestriction | **namespace** | **str**| object name and auth scope, such as for teams and projects | + **body** | **object**| | **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] ### Return type -[**V1RoleBinding**](V1RoleBinding.md) +[**V1RoleBindingRestriction**](V1RoleBindingRestriction.md) ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers - - **Content-Type**: */* + - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **read_authorization_openshift_io_v1_namespaced_role_binding_restriction** -> V1RoleBindingRestriction read_authorization_openshift_io_v1_namespaced_role_binding_restriction(name, namespace, pretty=pretty, exact=exact, export=export) +# **read_cluster_role** +> V1ClusterRole read_cluster_role(name, pretty=pretty) -read the specified RoleBindingRestriction +read the specified ClusterRole ### Example ```python @@ -3931,38 +2441,41 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.AuthorizationOpenshiftIoV1Api() -name = 'name_example' # str | name of the RoleBindingRestriction -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects +name = 'name_example' # str | name of the ClusterRole pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) -exact = true # bool | Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace' (optional) -export = true # bool | Should this value be exported. Export strips fields that a user can not specify. (optional) try: - api_response = api_instance.read_authorization_openshift_io_v1_namespaced_role_binding_restriction(name, namespace, pretty=pretty, exact=exact, export=export) + api_response = api_instance.read_cluster_role(name, pretty=pretty) pprint(api_response) except ApiException as e: - print("Exception when calling AuthorizationOpenshiftIoV1Api->read_authorization_openshift_io_v1_namespaced_role_binding_restriction: %s\n" % e) + print("Exception when calling AuthorizationOpenshiftIoV1Api->read_cluster_role: %s\n" % e) ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the RoleBindingRestriction | - **namespace** | **str**| object name and auth scope, such as for teams and projects | + **name** | **str**| name of the ClusterRole | **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - **exact** | **bool**| Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace' | [optional] - **export** | **bool**| Should this value be exported. Export strips fields that a user can not specify. | [optional] ### Return type -[**V1RoleBindingRestriction**](V1RoleBindingRestriction.md) +[**V1ClusterRole**](V1ClusterRole.md) ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -3971,12 +2484,12 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **replace_authorization_openshift_io_v1_cluster_policy** -> V1ClusterPolicy replace_authorization_openshift_io_v1_cluster_policy(name, body, pretty=pretty) +# **read_cluster_role_binding** +> V1ClusterRoleBinding read_cluster_role_binding(name, pretty=pretty) -replace the specified ClusterPolicy +read the specified ClusterRoleBinding ### Example ```python @@ -3986,34 +2499,41 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.AuthorizationOpenshiftIoV1Api() -name = 'name_example' # str | name of the ClusterPolicy -body = openshift.client.V1ClusterPolicy() # V1ClusterPolicy | +name = 'name_example' # str | name of the ClusterRoleBinding pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) try: - api_response = api_instance.replace_authorization_openshift_io_v1_cluster_policy(name, body, pretty=pretty) + api_response = api_instance.read_cluster_role_binding(name, pretty=pretty) pprint(api_response) except ApiException as e: - print("Exception when calling AuthorizationOpenshiftIoV1Api->replace_authorization_openshift_io_v1_cluster_policy: %s\n" % e) + print("Exception when calling AuthorizationOpenshiftIoV1Api->read_cluster_role_binding: %s\n" % e) ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the ClusterPolicy | - **body** | [**V1ClusterPolicy**](V1ClusterPolicy.md)| | + **name** | **str**| name of the ClusterRoleBinding | **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] ### Return type -[**V1ClusterPolicy**](V1ClusterPolicy.md) +[**V1ClusterRoleBinding**](V1ClusterRoleBinding.md) ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -4022,12 +2542,12 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **replace_authorization_openshift_io_v1_cluster_policy_binding** -> V1ClusterPolicyBinding replace_authorization_openshift_io_v1_cluster_policy_binding(name, body, pretty=pretty) +# **read_namespaced_role** +> V1Role read_namespaced_role(name, namespace, pretty=pretty) -replace the specified ClusterPolicyBinding +read the specified Role ### Example ```python @@ -4037,34 +2557,43 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.AuthorizationOpenshiftIoV1Api() -name = 'name_example' # str | name of the ClusterPolicyBinding -body = openshift.client.V1ClusterPolicyBinding() # V1ClusterPolicyBinding | +name = 'name_example' # str | name of the Role +namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) try: - api_response = api_instance.replace_authorization_openshift_io_v1_cluster_policy_binding(name, body, pretty=pretty) + api_response = api_instance.read_namespaced_role(name, namespace, pretty=pretty) pprint(api_response) except ApiException as e: - print("Exception when calling AuthorizationOpenshiftIoV1Api->replace_authorization_openshift_io_v1_cluster_policy_binding: %s\n" % e) + print("Exception when calling AuthorizationOpenshiftIoV1Api->read_namespaced_role: %s\n" % e) ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the ClusterPolicyBinding | - **body** | [**V1ClusterPolicyBinding**](V1ClusterPolicyBinding.md)| | + **name** | **str**| name of the Role | + **namespace** | **str**| object name and auth scope, such as for teams and projects | **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] ### Return type -[**V1ClusterPolicyBinding**](V1ClusterPolicyBinding.md) +[**V1Role**](V1Role.md) ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -4073,12 +2602,12 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **replace_authorization_openshift_io_v1_cluster_role** -> V1ClusterRole replace_authorization_openshift_io_v1_cluster_role(name, body, pretty=pretty) +# **read_namespaced_role_binding** +> V1RoleBinding read_namespaced_role_binding(name, namespace, pretty=pretty) -replace the specified ClusterRole +read the specified RoleBinding ### Example ```python @@ -4088,34 +2617,43 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.AuthorizationOpenshiftIoV1Api() -name = 'name_example' # str | name of the ClusterRole -body = openshift.client.V1ClusterRole() # V1ClusterRole | +name = 'name_example' # str | name of the RoleBinding +namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) try: - api_response = api_instance.replace_authorization_openshift_io_v1_cluster_role(name, body, pretty=pretty) + api_response = api_instance.read_namespaced_role_binding(name, namespace, pretty=pretty) pprint(api_response) except ApiException as e: - print("Exception when calling AuthorizationOpenshiftIoV1Api->replace_authorization_openshift_io_v1_cluster_role: %s\n" % e) + print("Exception when calling AuthorizationOpenshiftIoV1Api->read_namespaced_role_binding: %s\n" % e) ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the ClusterRole | - **body** | [**V1ClusterRole**](V1ClusterRole.md)| | + **name** | **str**| name of the RoleBinding | + **namespace** | **str**| object name and auth scope, such as for teams and projects | **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] ### Return type -[**V1ClusterRole**](V1ClusterRole.md) +[**V1RoleBinding**](V1RoleBinding.md) ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -4124,12 +2662,12 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **replace_authorization_openshift_io_v1_cluster_role_binding** -> V1ClusterRoleBinding replace_authorization_openshift_io_v1_cluster_role_binding(name, body, pretty=pretty) +# **read_namespaced_role_binding_restriction** +> V1RoleBindingRestriction read_namespaced_role_binding_restriction(name, namespace, pretty=pretty, exact=exact, export=export) -replace the specified ClusterRoleBinding +read the specified RoleBindingRestriction ### Example ```python @@ -4139,34 +2677,47 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.AuthorizationOpenshiftIoV1Api() -name = 'name_example' # str | name of the ClusterRoleBinding -body = openshift.client.V1ClusterRoleBinding() # V1ClusterRoleBinding | +name = 'name_example' # str | name of the RoleBindingRestriction +namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) +exact = true # bool | Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. (optional) +export = true # bool | Should this value be exported. Export strips fields that a user can not specify. (optional) try: - api_response = api_instance.replace_authorization_openshift_io_v1_cluster_role_binding(name, body, pretty=pretty) + api_response = api_instance.read_namespaced_role_binding_restriction(name, namespace, pretty=pretty, exact=exact, export=export) pprint(api_response) except ApiException as e: - print("Exception when calling AuthorizationOpenshiftIoV1Api->replace_authorization_openshift_io_v1_cluster_role_binding: %s\n" % e) + print("Exception when calling AuthorizationOpenshiftIoV1Api->read_namespaced_role_binding_restriction: %s\n" % e) ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the ClusterRoleBinding | - **body** | [**V1ClusterRoleBinding**](V1ClusterRoleBinding.md)| | + **name** | **str**| name of the RoleBindingRestriction | + **namespace** | **str**| object name and auth scope, such as for teams and projects | **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] + **exact** | **bool**| Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. | [optional] + **export** | **bool**| Should this value be exported. Export strips fields that a user can not specify. | [optional] ### Return type -[**V1ClusterRoleBinding**](V1ClusterRoleBinding.md) +[**V1RoleBindingRestriction**](V1RoleBindingRestriction.md) ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -4175,12 +2726,12 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **replace_authorization_openshift_io_v1_namespaced_policy** -> V1Policy replace_authorization_openshift_io_v1_namespaced_policy(name, namespace, body, pretty=pretty) +# **replace_cluster_role** +> V1ClusterRole replace_cluster_role(name, body, pretty=pretty) -replace the specified Policy +replace the specified ClusterRole ### Example ```python @@ -4190,36 +2741,43 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.AuthorizationOpenshiftIoV1Api() -name = 'name_example' # str | name of the Policy -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = openshift.client.V1Policy() # V1Policy | +name = 'name_example' # str | name of the ClusterRole +body = openshift.client.V1ClusterRole() # V1ClusterRole | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) try: - api_response = api_instance.replace_authorization_openshift_io_v1_namespaced_policy(name, namespace, body, pretty=pretty) + api_response = api_instance.replace_cluster_role(name, body, pretty=pretty) pprint(api_response) except ApiException as e: - print("Exception when calling AuthorizationOpenshiftIoV1Api->replace_authorization_openshift_io_v1_namespaced_policy: %s\n" % e) + print("Exception when calling AuthorizationOpenshiftIoV1Api->replace_cluster_role: %s\n" % e) ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the Policy | - **namespace** | **str**| object name and auth scope, such as for teams and projects | - **body** | [**V1Policy**](V1Policy.md)| | + **name** | **str**| name of the ClusterRole | + **body** | [**V1ClusterRole**](V1ClusterRole.md)| | **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] ### Return type -[**V1Policy**](V1Policy.md) +[**V1ClusterRole**](V1ClusterRole.md) ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -4228,12 +2786,12 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **replace_authorization_openshift_io_v1_namespaced_policy_binding** -> V1PolicyBinding replace_authorization_openshift_io_v1_namespaced_policy_binding(name, namespace, body, pretty=pretty) +# **replace_cluster_role_binding** +> V1ClusterRoleBinding replace_cluster_role_binding(name, body, pretty=pretty) -replace the specified PolicyBinding +replace the specified ClusterRoleBinding ### Example ```python @@ -4243,36 +2801,43 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.AuthorizationOpenshiftIoV1Api() -name = 'name_example' # str | name of the PolicyBinding -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = openshift.client.V1PolicyBinding() # V1PolicyBinding | +name = 'name_example' # str | name of the ClusterRoleBinding +body = openshift.client.V1ClusterRoleBinding() # V1ClusterRoleBinding | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) try: - api_response = api_instance.replace_authorization_openshift_io_v1_namespaced_policy_binding(name, namespace, body, pretty=pretty) + api_response = api_instance.replace_cluster_role_binding(name, body, pretty=pretty) pprint(api_response) except ApiException as e: - print("Exception when calling AuthorizationOpenshiftIoV1Api->replace_authorization_openshift_io_v1_namespaced_policy_binding: %s\n" % e) + print("Exception when calling AuthorizationOpenshiftIoV1Api->replace_cluster_role_binding: %s\n" % e) ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the PolicyBinding | - **namespace** | **str**| object name and auth scope, such as for teams and projects | - **body** | [**V1PolicyBinding**](V1PolicyBinding.md)| | + **name** | **str**| name of the ClusterRoleBinding | + **body** | [**V1ClusterRoleBinding**](V1ClusterRoleBinding.md)| | **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] ### Return type -[**V1PolicyBinding**](V1PolicyBinding.md) +[**V1ClusterRoleBinding**](V1ClusterRoleBinding.md) ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -4281,8 +2846,8 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **replace_authorization_openshift_io_v1_namespaced_role** -> V1Role replace_authorization_openshift_io_v1_namespaced_role(name, namespace, body, pretty=pretty) +# **replace_namespaced_role** +> V1Role replace_namespaced_role(name, namespace, body, pretty=pretty) @@ -4296,6 +2861,15 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.AuthorizationOpenshiftIoV1Api() name = 'name_example' # str | name of the Role @@ -4304,10 +2878,10 @@ body = openshift.client.V1Role() # V1Role | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) try: - api_response = api_instance.replace_authorization_openshift_io_v1_namespaced_role(name, namespace, body, pretty=pretty) + api_response = api_instance.replace_namespaced_role(name, namespace, body, pretty=pretty) pprint(api_response) except ApiException as e: - print("Exception when calling AuthorizationOpenshiftIoV1Api->replace_authorization_openshift_io_v1_namespaced_role: %s\n" % e) + print("Exception when calling AuthorizationOpenshiftIoV1Api->replace_namespaced_role: %s\n" % e) ``` ### Parameters @@ -4325,7 +2899,7 @@ Name | Type | Description | Notes ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -4334,8 +2908,8 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **replace_authorization_openshift_io_v1_namespaced_role_binding** -> V1RoleBinding replace_authorization_openshift_io_v1_namespaced_role_binding(name, namespace, body, pretty=pretty) +# **replace_namespaced_role_binding** +> V1RoleBinding replace_namespaced_role_binding(name, namespace, body, pretty=pretty) @@ -4349,6 +2923,15 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.AuthorizationOpenshiftIoV1Api() name = 'name_example' # str | name of the RoleBinding @@ -4357,10 +2940,10 @@ body = openshift.client.V1RoleBinding() # V1RoleBinding | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) try: - api_response = api_instance.replace_authorization_openshift_io_v1_namespaced_role_binding(name, namespace, body, pretty=pretty) + api_response = api_instance.replace_namespaced_role_binding(name, namespace, body, pretty=pretty) pprint(api_response) except ApiException as e: - print("Exception when calling AuthorizationOpenshiftIoV1Api->replace_authorization_openshift_io_v1_namespaced_role_binding: %s\n" % e) + print("Exception when calling AuthorizationOpenshiftIoV1Api->replace_namespaced_role_binding: %s\n" % e) ``` ### Parameters @@ -4378,7 +2961,7 @@ Name | Type | Description | Notes ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -4387,8 +2970,8 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **replace_authorization_openshift_io_v1_namespaced_role_binding_restriction** -> V1RoleBindingRestriction replace_authorization_openshift_io_v1_namespaced_role_binding_restriction(name, namespace, body, pretty=pretty) +# **replace_namespaced_role_binding_restriction** +> V1RoleBindingRestriction replace_namespaced_role_binding_restriction(name, namespace, body, pretty=pretty) @@ -4402,6 +2985,15 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.AuthorizationOpenshiftIoV1Api() name = 'name_example' # str | name of the RoleBindingRestriction @@ -4410,10 +3002,10 @@ body = openshift.client.V1RoleBindingRestriction() # V1RoleBindingRestriction | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) try: - api_response = api_instance.replace_authorization_openshift_io_v1_namespaced_role_binding_restriction(name, namespace, body, pretty=pretty) + api_response = api_instance.replace_namespaced_role_binding_restriction(name, namespace, body, pretty=pretty) pprint(api_response) except ApiException as e: - print("Exception when calling AuthorizationOpenshiftIoV1Api->replace_authorization_openshift_io_v1_namespaced_role_binding_restriction: %s\n" % e) + print("Exception when calling AuthorizationOpenshiftIoV1Api->replace_namespaced_role_binding_restriction: %s\n" % e) ``` ### Parameters @@ -4431,7 +3023,7 @@ Name | Type | Description | Notes ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers diff --git a/openshift/docs/AuthorizationV1beta1Api.md b/openshift/docs/AuthorizationV1beta1Api.md deleted file mode 100644 index 572a01b2..00000000 --- a/openshift/docs/AuthorizationV1beta1Api.md +++ /dev/null @@ -1,254 +0,0 @@ -# openshift.client.AuthorizationV1beta1Api - -All URIs are relative to *https://localhost* - -Method | HTTP request | Description -------------- | ------------- | ------------- -[**create_local_subject_access_review_for_all_namespaces**](AuthorizationV1beta1Api.md#create_local_subject_access_review_for_all_namespaces) | **POST** /apis/authorization.k8s.io/v1beta1/localsubjectaccessreviews | -[**create_namespaced_local_subject_access_review**](AuthorizationV1beta1Api.md#create_namespaced_local_subject_access_review) | **POST** /apis/authorization.k8s.io/v1beta1/namespaces/{namespace}/localsubjectaccessreviews | -[**create_self_subject_access_review**](AuthorizationV1beta1Api.md#create_self_subject_access_review) | **POST** /apis/authorization.k8s.io/v1beta1/selfsubjectaccessreviews | -[**create_subject_access_review**](AuthorizationV1beta1Api.md#create_subject_access_review) | **POST** /apis/authorization.k8s.io/v1beta1/subjectaccessreviews | -[**get_api_resources**](AuthorizationV1beta1Api.md#get_api_resources) | **GET** /apis/authorization.k8s.io/v1beta1/ | - - -# **create_local_subject_access_review_for_all_namespaces** -> V1beta1LocalSubjectAccessReview create_local_subject_access_review_for_all_namespaces(body, pretty=pretty) - - - -create a LocalSubjectAccessReview - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.AuthorizationV1beta1Api() -body = openshift.client.V1beta1LocalSubjectAccessReview() # V1beta1LocalSubjectAccessReview | -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) - -try: - api_response = api_instance.create_local_subject_access_review_for_all_namespaces(body, pretty=pretty) - pprint(api_response) -except ApiException as e: - print("Exception when calling AuthorizationV1beta1Api->create_local_subject_access_review_for_all_namespaces: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **body** | [**V1beta1LocalSubjectAccessReview**](V1beta1LocalSubjectAccessReview.md)| | - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - -### Return type - -[**V1beta1LocalSubjectAccessReview**](V1beta1LocalSubjectAccessReview.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **create_namespaced_local_subject_access_review** -> V1beta1LocalSubjectAccessReview create_namespaced_local_subject_access_review(body, namespace, pretty=pretty) - - - -create a LocalSubjectAccessReview - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.AuthorizationV1beta1Api() -body = openshift.client.V1beta1LocalSubjectAccessReview() # V1beta1LocalSubjectAccessReview | -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) - -try: - api_response = api_instance.create_namespaced_local_subject_access_review(body, namespace, pretty=pretty) - pprint(api_response) -except ApiException as e: - print("Exception when calling AuthorizationV1beta1Api->create_namespaced_local_subject_access_review: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **body** | [**V1beta1LocalSubjectAccessReview**](V1beta1LocalSubjectAccessReview.md)| | - **namespace** | **str**| object name and auth scope, such as for teams and projects | - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - -### Return type - -[**V1beta1LocalSubjectAccessReview**](V1beta1LocalSubjectAccessReview.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **create_self_subject_access_review** -> V1beta1SelfSubjectAccessReview create_self_subject_access_review(body, pretty=pretty) - - - -create a SelfSubjectAccessReview - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.AuthorizationV1beta1Api() -body = openshift.client.V1beta1SelfSubjectAccessReview() # V1beta1SelfSubjectAccessReview | -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) - -try: - api_response = api_instance.create_self_subject_access_review(body, pretty=pretty) - pprint(api_response) -except ApiException as e: - print("Exception when calling AuthorizationV1beta1Api->create_self_subject_access_review: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **body** | [**V1beta1SelfSubjectAccessReview**](V1beta1SelfSubjectAccessReview.md)| | - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - -### Return type - -[**V1beta1SelfSubjectAccessReview**](V1beta1SelfSubjectAccessReview.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **create_subject_access_review** -> V1beta1SubjectAccessReview create_subject_access_review(body, pretty=pretty) - - - -create a SubjectAccessReview - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.AuthorizationV1beta1Api() -body = openshift.client.V1beta1SubjectAccessReview() # V1beta1SubjectAccessReview | -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) - -try: - api_response = api_instance.create_subject_access_review(body, pretty=pretty) - pprint(api_response) -except ApiException as e: - print("Exception when calling AuthorizationV1beta1Api->create_subject_access_review: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **body** | [**V1beta1SubjectAccessReview**](V1beta1SubjectAccessReview.md)| | - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - -### Return type - -[**V1beta1SubjectAccessReview**](V1beta1SubjectAccessReview.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **get_api_resources** -> UnversionedAPIResourceList get_api_resources() - - - -get available resources - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.AuthorizationV1beta1Api() - -try: - api_response = api_instance.get_api_resources() - pprint(api_response) -except ApiException as e: - print("Exception when calling AuthorizationV1beta1Api->get_api_resources: %s\n" % e) -``` - -### Parameters -This endpoint does not need any parameter. - -### Return type - -[**UnversionedAPIResourceList**](UnversionedAPIResourceList.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: application/json, application/yaml, application/vnd.kubernetes.protobuf - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - diff --git a/openshift/docs/AutoscalingApi.md b/openshift/docs/AutoscalingApi.md deleted file mode 100644 index 87e606ec..00000000 --- a/openshift/docs/AutoscalingApi.md +++ /dev/null @@ -1,52 +0,0 @@ -# openshift.client.AutoscalingApi - -All URIs are relative to *https://localhost* - -Method | HTTP request | Description -------------- | ------------- | ------------- -[**get_autoscaling_api_group**](AutoscalingApi.md#get_autoscaling_api_group) | **GET** /apis/autoscaling/ | - - -# **get_autoscaling_api_group** -> UnversionedAPIGroup get_autoscaling_api_group() - - - -get information of a group - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.AutoscalingApi() - -try: - api_response = api_instance.get_autoscaling_api_group() - pprint(api_response) -except ApiException as e: - print("Exception when calling AutoscalingApi->get_autoscaling_api_group: %s\n" % e) -``` - -### Parameters -This endpoint does not need any parameter. - -### Return type - -[**UnversionedAPIGroup**](UnversionedAPIGroup.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: application/json, application/yaml, application/vnd.kubernetes.protobuf - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - diff --git a/openshift/docs/AutoscalingV1Api.md b/openshift/docs/AutoscalingV1Api.md deleted file mode 100644 index 3a506218..00000000 --- a/openshift/docs/AutoscalingV1Api.md +++ /dev/null @@ -1,714 +0,0 @@ -# openshift.client.AutoscalingV1Api - -All URIs are relative to *https://localhost* - -Method | HTTP request | Description -------------- | ------------- | ------------- -[**create_horizontal_pod_autoscaler_for_all_namespaces**](AutoscalingV1Api.md#create_horizontal_pod_autoscaler_for_all_namespaces) | **POST** /apis/autoscaling/v1/horizontalpodautoscalers | -[**create_namespaced_horizontal_pod_autoscaler**](AutoscalingV1Api.md#create_namespaced_horizontal_pod_autoscaler) | **POST** /apis/autoscaling/v1/namespaces/{namespace}/horizontalpodautoscalers | -[**delete_collection_namespaced_horizontal_pod_autoscaler**](AutoscalingV1Api.md#delete_collection_namespaced_horizontal_pod_autoscaler) | **DELETE** /apis/autoscaling/v1/namespaces/{namespace}/horizontalpodautoscalers | -[**delete_namespaced_horizontal_pod_autoscaler**](AutoscalingV1Api.md#delete_namespaced_horizontal_pod_autoscaler) | **DELETE** /apis/autoscaling/v1/namespaces/{namespace}/horizontalpodautoscalers/{name} | -[**get_api_resources**](AutoscalingV1Api.md#get_api_resources) | **GET** /apis/autoscaling/v1/ | -[**list_horizontal_pod_autoscaler_for_all_namespaces**](AutoscalingV1Api.md#list_horizontal_pod_autoscaler_for_all_namespaces) | **GET** /apis/autoscaling/v1/horizontalpodautoscalers | -[**list_namespaced_horizontal_pod_autoscaler**](AutoscalingV1Api.md#list_namespaced_horizontal_pod_autoscaler) | **GET** /apis/autoscaling/v1/namespaces/{namespace}/horizontalpodautoscalers | -[**patch_namespaced_horizontal_pod_autoscaler**](AutoscalingV1Api.md#patch_namespaced_horizontal_pod_autoscaler) | **PATCH** /apis/autoscaling/v1/namespaces/{namespace}/horizontalpodautoscalers/{name} | -[**patch_namespaced_horizontal_pod_autoscaler_status**](AutoscalingV1Api.md#patch_namespaced_horizontal_pod_autoscaler_status) | **PATCH** /apis/autoscaling/v1/namespaces/{namespace}/horizontalpodautoscalers/{name}/status | -[**read_namespaced_horizontal_pod_autoscaler**](AutoscalingV1Api.md#read_namespaced_horizontal_pod_autoscaler) | **GET** /apis/autoscaling/v1/namespaces/{namespace}/horizontalpodautoscalers/{name} | -[**read_namespaced_horizontal_pod_autoscaler_status**](AutoscalingV1Api.md#read_namespaced_horizontal_pod_autoscaler_status) | **GET** /apis/autoscaling/v1/namespaces/{namespace}/horizontalpodautoscalers/{name}/status | -[**replace_namespaced_horizontal_pod_autoscaler**](AutoscalingV1Api.md#replace_namespaced_horizontal_pod_autoscaler) | **PUT** /apis/autoscaling/v1/namespaces/{namespace}/horizontalpodautoscalers/{name} | -[**replace_namespaced_horizontal_pod_autoscaler_status**](AutoscalingV1Api.md#replace_namespaced_horizontal_pod_autoscaler_status) | **PUT** /apis/autoscaling/v1/namespaces/{namespace}/horizontalpodautoscalers/{name}/status | - - -# **create_horizontal_pod_autoscaler_for_all_namespaces** -> V1HorizontalPodAutoscaler create_horizontal_pod_autoscaler_for_all_namespaces(body, pretty=pretty) - - - -create a HorizontalPodAutoscaler - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.AutoscalingV1Api() -body = openshift.client.V1HorizontalPodAutoscaler() # V1HorizontalPodAutoscaler | -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) - -try: - api_response = api_instance.create_horizontal_pod_autoscaler_for_all_namespaces(body, pretty=pretty) - pprint(api_response) -except ApiException as e: - print("Exception when calling AutoscalingV1Api->create_horizontal_pod_autoscaler_for_all_namespaces: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **body** | [**V1HorizontalPodAutoscaler**](V1HorizontalPodAutoscaler.md)| | - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - -### Return type - -[**V1HorizontalPodAutoscaler**](V1HorizontalPodAutoscaler.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **create_namespaced_horizontal_pod_autoscaler** -> V1HorizontalPodAutoscaler create_namespaced_horizontal_pod_autoscaler(namespace, body, pretty=pretty) - - - -create a HorizontalPodAutoscaler - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.AutoscalingV1Api() -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = openshift.client.V1HorizontalPodAutoscaler() # V1HorizontalPodAutoscaler | -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) - -try: - api_response = api_instance.create_namespaced_horizontal_pod_autoscaler(namespace, body, pretty=pretty) - pprint(api_response) -except ApiException as e: - print("Exception when calling AutoscalingV1Api->create_namespaced_horizontal_pod_autoscaler: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **namespace** | **str**| object name and auth scope, such as for teams and projects | - **body** | [**V1HorizontalPodAutoscaler**](V1HorizontalPodAutoscaler.md)| | - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - -### Return type - -[**V1HorizontalPodAutoscaler**](V1HorizontalPodAutoscaler.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **delete_collection_namespaced_horizontal_pod_autoscaler** -> UnversionedStatus delete_collection_namespaced_horizontal_pod_autoscaler(namespace, pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) - - - -delete collection of HorizontalPodAutoscaler - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.AutoscalingV1Api() -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) -field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) -label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. (optional) -timeout_seconds = 56 # int | Timeout for the list/watch call. (optional) -watch = true # bool | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) - -try: - api_response = api_instance.delete_collection_namespaced_horizontal_pod_autoscaler(namespace, pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) - pprint(api_response) -except ApiException as e: - print("Exception when calling AutoscalingV1Api->delete_collection_namespaced_horizontal_pod_autoscaler: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **namespace** | **str**| object name and auth scope, such as for teams and projects | - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] - **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. | [optional] - **timeout_seconds** | **int**| Timeout for the list/watch call. | [optional] - **watch** | **bool**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] - -### Return type - -[**UnversionedStatus**](UnversionedStatus.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **delete_namespaced_horizontal_pod_autoscaler** -> UnversionedStatus delete_namespaced_horizontal_pod_autoscaler(name, namespace, body, pretty=pretty, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents) - - - -delete a HorizontalPodAutoscaler - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.AutoscalingV1Api() -name = 'name_example' # str | name of the HorizontalPodAutoscaler -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = openshift.client.V1DeleteOptions() # V1DeleteOptions | -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) -grace_period_seconds = 56 # int | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) -orphan_dependents = true # bool | Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. (optional) - -try: - api_response = api_instance.delete_namespaced_horizontal_pod_autoscaler(name, namespace, body, pretty=pretty, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents) - pprint(api_response) -except ApiException as e: - print("Exception when calling AutoscalingV1Api->delete_namespaced_horizontal_pod_autoscaler: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the HorizontalPodAutoscaler | - **namespace** | **str**| object name and auth scope, such as for teams and projects | - **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | - **pretty** | **str**| If 'true', then the output is pretty printed. | [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] - **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] - -### Return type - -[**UnversionedStatus**](UnversionedStatus.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **get_api_resources** -> UnversionedAPIResourceList get_api_resources() - - - -get available resources - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.AutoscalingV1Api() - -try: - api_response = api_instance.get_api_resources() - pprint(api_response) -except ApiException as e: - print("Exception when calling AutoscalingV1Api->get_api_resources: %s\n" % e) -``` - -### Parameters -This endpoint does not need any parameter. - -### Return type - -[**UnversionedAPIResourceList**](UnversionedAPIResourceList.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: application/json, application/yaml, application/vnd.kubernetes.protobuf - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **list_horizontal_pod_autoscaler_for_all_namespaces** -> V1HorizontalPodAutoscalerList list_horizontal_pod_autoscaler_for_all_namespaces(pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) - - - -list or watch objects of kind HorizontalPodAutoscaler - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.AutoscalingV1Api() -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) -field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) -label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. (optional) -timeout_seconds = 56 # int | Timeout for the list/watch call. (optional) -watch = true # bool | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) - -try: - api_response = api_instance.list_horizontal_pod_autoscaler_for_all_namespaces(pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) - pprint(api_response) -except ApiException as e: - print("Exception when calling AutoscalingV1Api->list_horizontal_pod_autoscaler_for_all_namespaces: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] - **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. | [optional] - **timeout_seconds** | **int**| Timeout for the list/watch call. | [optional] - **watch** | **bool**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] - -### Return type - -[**V1HorizontalPodAutoscalerList**](V1HorizontalPodAutoscalerList.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **list_namespaced_horizontal_pod_autoscaler** -> V1HorizontalPodAutoscalerList list_namespaced_horizontal_pod_autoscaler(namespace, pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) - - - -list or watch objects of kind HorizontalPodAutoscaler - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.AutoscalingV1Api() -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) -field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) -label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. (optional) -timeout_seconds = 56 # int | Timeout for the list/watch call. (optional) -watch = true # bool | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) - -try: - api_response = api_instance.list_namespaced_horizontal_pod_autoscaler(namespace, pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) - pprint(api_response) -except ApiException as e: - print("Exception when calling AutoscalingV1Api->list_namespaced_horizontal_pod_autoscaler: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **namespace** | **str**| object name and auth scope, such as for teams and projects | - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] - **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. | [optional] - **timeout_seconds** | **int**| Timeout for the list/watch call. | [optional] - **watch** | **bool**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] - -### Return type - -[**V1HorizontalPodAutoscalerList**](V1HorizontalPodAutoscalerList.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **patch_namespaced_horizontal_pod_autoscaler** -> V1HorizontalPodAutoscaler patch_namespaced_horizontal_pod_autoscaler(name, namespace, body, pretty=pretty) - - - -partially update the specified HorizontalPodAutoscaler - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.AutoscalingV1Api() -name = 'name_example' # str | name of the HorizontalPodAutoscaler -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = openshift.client.UnversionedPatch() # UnversionedPatch | -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) - -try: - api_response = api_instance.patch_namespaced_horizontal_pod_autoscaler(name, namespace, body, pretty=pretty) - pprint(api_response) -except ApiException as e: - print("Exception when calling AutoscalingV1Api->patch_namespaced_horizontal_pod_autoscaler: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the HorizontalPodAutoscaler | - **namespace** | **str**| object name and auth scope, such as for teams and projects | - **body** | [**UnversionedPatch**](UnversionedPatch.md)| | - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - -### Return type - -[**V1HorizontalPodAutoscaler**](V1HorizontalPodAutoscaler.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **patch_namespaced_horizontal_pod_autoscaler_status** -> V1HorizontalPodAutoscaler patch_namespaced_horizontal_pod_autoscaler_status(name, namespace, body, pretty=pretty) - - - -partially update status of the specified HorizontalPodAutoscaler - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.AutoscalingV1Api() -name = 'name_example' # str | name of the HorizontalPodAutoscaler -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = openshift.client.UnversionedPatch() # UnversionedPatch | -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) - -try: - api_response = api_instance.patch_namespaced_horizontal_pod_autoscaler_status(name, namespace, body, pretty=pretty) - pprint(api_response) -except ApiException as e: - print("Exception when calling AutoscalingV1Api->patch_namespaced_horizontal_pod_autoscaler_status: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the HorizontalPodAutoscaler | - **namespace** | **str**| object name and auth scope, such as for teams and projects | - **body** | [**UnversionedPatch**](UnversionedPatch.md)| | - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - -### Return type - -[**V1HorizontalPodAutoscaler**](V1HorizontalPodAutoscaler.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **read_namespaced_horizontal_pod_autoscaler** -> V1HorizontalPodAutoscaler read_namespaced_horizontal_pod_autoscaler(name, namespace, pretty=pretty, exact=exact, export=export) - - - -read the specified HorizontalPodAutoscaler - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.AutoscalingV1Api() -name = 'name_example' # str | name of the HorizontalPodAutoscaler -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) -exact = true # bool | Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace' (optional) -export = true # bool | Should this value be exported. Export strips fields that a user can not specify. (optional) - -try: - api_response = api_instance.read_namespaced_horizontal_pod_autoscaler(name, namespace, pretty=pretty, exact=exact, export=export) - pprint(api_response) -except ApiException as e: - print("Exception when calling AutoscalingV1Api->read_namespaced_horizontal_pod_autoscaler: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the HorizontalPodAutoscaler | - **namespace** | **str**| object name and auth scope, such as for teams and projects | - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - **exact** | **bool**| Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace' | [optional] - **export** | **bool**| Should this value be exported. Export strips fields that a user can not specify. | [optional] - -### Return type - -[**V1HorizontalPodAutoscaler**](V1HorizontalPodAutoscaler.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **read_namespaced_horizontal_pod_autoscaler_status** -> V1HorizontalPodAutoscaler read_namespaced_horizontal_pod_autoscaler_status(name, namespace, pretty=pretty) - - - -read status of the specified HorizontalPodAutoscaler - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.AutoscalingV1Api() -name = 'name_example' # str | name of the HorizontalPodAutoscaler -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) - -try: - api_response = api_instance.read_namespaced_horizontal_pod_autoscaler_status(name, namespace, pretty=pretty) - pprint(api_response) -except ApiException as e: - print("Exception when calling AutoscalingV1Api->read_namespaced_horizontal_pod_autoscaler_status: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the HorizontalPodAutoscaler | - **namespace** | **str**| object name and auth scope, such as for teams and projects | - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - -### Return type - -[**V1HorizontalPodAutoscaler**](V1HorizontalPodAutoscaler.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **replace_namespaced_horizontal_pod_autoscaler** -> V1HorizontalPodAutoscaler replace_namespaced_horizontal_pod_autoscaler(name, namespace, body, pretty=pretty) - - - -replace the specified HorizontalPodAutoscaler - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.AutoscalingV1Api() -name = 'name_example' # str | name of the HorizontalPodAutoscaler -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = openshift.client.V1HorizontalPodAutoscaler() # V1HorizontalPodAutoscaler | -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) - -try: - api_response = api_instance.replace_namespaced_horizontal_pod_autoscaler(name, namespace, body, pretty=pretty) - pprint(api_response) -except ApiException as e: - print("Exception when calling AutoscalingV1Api->replace_namespaced_horizontal_pod_autoscaler: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the HorizontalPodAutoscaler | - **namespace** | **str**| object name and auth scope, such as for teams and projects | - **body** | [**V1HorizontalPodAutoscaler**](V1HorizontalPodAutoscaler.md)| | - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - -### Return type - -[**V1HorizontalPodAutoscaler**](V1HorizontalPodAutoscaler.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **replace_namespaced_horizontal_pod_autoscaler_status** -> V1HorizontalPodAutoscaler replace_namespaced_horizontal_pod_autoscaler_status(name, namespace, body, pretty=pretty) - - - -replace status of the specified HorizontalPodAutoscaler - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.AutoscalingV1Api() -name = 'name_example' # str | name of the HorizontalPodAutoscaler -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = openshift.client.V1HorizontalPodAutoscaler() # V1HorizontalPodAutoscaler | -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) - -try: - api_response = api_instance.replace_namespaced_horizontal_pod_autoscaler_status(name, namespace, body, pretty=pretty) - pprint(api_response) -except ApiException as e: - print("Exception when calling AutoscalingV1Api->replace_namespaced_horizontal_pod_autoscaler_status: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the HorizontalPodAutoscaler | - **namespace** | **str**| object name and auth scope, such as for teams and projects | - **body** | [**V1HorizontalPodAutoscaler**](V1HorizontalPodAutoscaler.md)| | - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - -### Return type - -[**V1HorizontalPodAutoscaler**](V1HorizontalPodAutoscaler.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - diff --git a/openshift/docs/BatchApi.md b/openshift/docs/BatchApi.md deleted file mode 100644 index 50a42f59..00000000 --- a/openshift/docs/BatchApi.md +++ /dev/null @@ -1,52 +0,0 @@ -# openshift.client.BatchApi - -All URIs are relative to *https://localhost* - -Method | HTTP request | Description -------------- | ------------- | ------------- -[**get_batch_api_group**](BatchApi.md#get_batch_api_group) | **GET** /apis/batch/ | - - -# **get_batch_api_group** -> UnversionedAPIGroup get_batch_api_group() - - - -get information of a group - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.BatchApi() - -try: - api_response = api_instance.get_batch_api_group() - pprint(api_response) -except ApiException as e: - print("Exception when calling BatchApi->get_batch_api_group: %s\n" % e) -``` - -### Parameters -This endpoint does not need any parameter. - -### Return type - -[**UnversionedAPIGroup**](UnversionedAPIGroup.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: application/json, application/yaml, application/vnd.kubernetes.protobuf - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - diff --git a/openshift/docs/BatchV1Api.md b/openshift/docs/BatchV1Api.md deleted file mode 100644 index 7837e7af..00000000 --- a/openshift/docs/BatchV1Api.md +++ /dev/null @@ -1,714 +0,0 @@ -# openshift.client.BatchV1Api - -All URIs are relative to *https://localhost* - -Method | HTTP request | Description -------------- | ------------- | ------------- -[**create_job_for_all_namespaces**](BatchV1Api.md#create_job_for_all_namespaces) | **POST** /apis/batch/v1/jobs | -[**create_namespaced_job**](BatchV1Api.md#create_namespaced_job) | **POST** /apis/batch/v1/namespaces/{namespace}/jobs | -[**delete_collection_namespaced_job**](BatchV1Api.md#delete_collection_namespaced_job) | **DELETE** /apis/batch/v1/namespaces/{namespace}/jobs | -[**delete_namespaced_job**](BatchV1Api.md#delete_namespaced_job) | **DELETE** /apis/batch/v1/namespaces/{namespace}/jobs/{name} | -[**get_api_resources**](BatchV1Api.md#get_api_resources) | **GET** /apis/batch/v1/ | -[**list_job_for_all_namespaces**](BatchV1Api.md#list_job_for_all_namespaces) | **GET** /apis/batch/v1/jobs | -[**list_namespaced_job**](BatchV1Api.md#list_namespaced_job) | **GET** /apis/batch/v1/namespaces/{namespace}/jobs | -[**patch_namespaced_job**](BatchV1Api.md#patch_namespaced_job) | **PATCH** /apis/batch/v1/namespaces/{namespace}/jobs/{name} | -[**patch_namespaced_job_status**](BatchV1Api.md#patch_namespaced_job_status) | **PATCH** /apis/batch/v1/namespaces/{namespace}/jobs/{name}/status | -[**read_namespaced_job**](BatchV1Api.md#read_namespaced_job) | **GET** /apis/batch/v1/namespaces/{namespace}/jobs/{name} | -[**read_namespaced_job_status**](BatchV1Api.md#read_namespaced_job_status) | **GET** /apis/batch/v1/namespaces/{namespace}/jobs/{name}/status | -[**replace_namespaced_job**](BatchV1Api.md#replace_namespaced_job) | **PUT** /apis/batch/v1/namespaces/{namespace}/jobs/{name} | -[**replace_namespaced_job_status**](BatchV1Api.md#replace_namespaced_job_status) | **PUT** /apis/batch/v1/namespaces/{namespace}/jobs/{name}/status | - - -# **create_job_for_all_namespaces** -> V1Job create_job_for_all_namespaces(body, pretty=pretty) - - - -create a Job - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.BatchV1Api() -body = openshift.client.V1Job() # V1Job | -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) - -try: - api_response = api_instance.create_job_for_all_namespaces(body, pretty=pretty) - pprint(api_response) -except ApiException as e: - print("Exception when calling BatchV1Api->create_job_for_all_namespaces: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **body** | [**V1Job**](V1Job.md)| | - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - -### Return type - -[**V1Job**](V1Job.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **create_namespaced_job** -> V1Job create_namespaced_job(namespace, body, pretty=pretty) - - - -create a Job - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.BatchV1Api() -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = openshift.client.V1Job() # V1Job | -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) - -try: - api_response = api_instance.create_namespaced_job(namespace, body, pretty=pretty) - pprint(api_response) -except ApiException as e: - print("Exception when calling BatchV1Api->create_namespaced_job: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **namespace** | **str**| object name and auth scope, such as for teams and projects | - **body** | [**V1Job**](V1Job.md)| | - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - -### Return type - -[**V1Job**](V1Job.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **delete_collection_namespaced_job** -> UnversionedStatus delete_collection_namespaced_job(namespace, pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) - - - -delete collection of Job - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.BatchV1Api() -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) -field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) -label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. (optional) -timeout_seconds = 56 # int | Timeout for the list/watch call. (optional) -watch = true # bool | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) - -try: - api_response = api_instance.delete_collection_namespaced_job(namespace, pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) - pprint(api_response) -except ApiException as e: - print("Exception when calling BatchV1Api->delete_collection_namespaced_job: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **namespace** | **str**| object name and auth scope, such as for teams and projects | - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] - **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. | [optional] - **timeout_seconds** | **int**| Timeout for the list/watch call. | [optional] - **watch** | **bool**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] - -### Return type - -[**UnversionedStatus**](UnversionedStatus.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **delete_namespaced_job** -> UnversionedStatus delete_namespaced_job(name, namespace, body, pretty=pretty, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents) - - - -delete a Job - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.BatchV1Api() -name = 'name_example' # str | name of the Job -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = openshift.client.V1DeleteOptions() # V1DeleteOptions | -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) -grace_period_seconds = 56 # int | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) -orphan_dependents = true # bool | Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. (optional) - -try: - api_response = api_instance.delete_namespaced_job(name, namespace, body, pretty=pretty, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents) - pprint(api_response) -except ApiException as e: - print("Exception when calling BatchV1Api->delete_namespaced_job: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the Job | - **namespace** | **str**| object name and auth scope, such as for teams and projects | - **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | - **pretty** | **str**| If 'true', then the output is pretty printed. | [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] - **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] - -### Return type - -[**UnversionedStatus**](UnversionedStatus.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **get_api_resources** -> UnversionedAPIResourceList get_api_resources() - - - -get available resources - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.BatchV1Api() - -try: - api_response = api_instance.get_api_resources() - pprint(api_response) -except ApiException as e: - print("Exception when calling BatchV1Api->get_api_resources: %s\n" % e) -``` - -### Parameters -This endpoint does not need any parameter. - -### Return type - -[**UnversionedAPIResourceList**](UnversionedAPIResourceList.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: application/json, application/yaml, application/vnd.kubernetes.protobuf - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **list_job_for_all_namespaces** -> V1JobList list_job_for_all_namespaces(pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) - - - -list or watch objects of kind Job - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.BatchV1Api() -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) -field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) -label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. (optional) -timeout_seconds = 56 # int | Timeout for the list/watch call. (optional) -watch = true # bool | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) - -try: - api_response = api_instance.list_job_for_all_namespaces(pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) - pprint(api_response) -except ApiException as e: - print("Exception when calling BatchV1Api->list_job_for_all_namespaces: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] - **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. | [optional] - **timeout_seconds** | **int**| Timeout for the list/watch call. | [optional] - **watch** | **bool**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] - -### Return type - -[**V1JobList**](V1JobList.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **list_namespaced_job** -> V1JobList list_namespaced_job(namespace, pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) - - - -list or watch objects of kind Job - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.BatchV1Api() -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) -field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) -label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. (optional) -timeout_seconds = 56 # int | Timeout for the list/watch call. (optional) -watch = true # bool | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) - -try: - api_response = api_instance.list_namespaced_job(namespace, pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) - pprint(api_response) -except ApiException as e: - print("Exception when calling BatchV1Api->list_namespaced_job: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **namespace** | **str**| object name and auth scope, such as for teams and projects | - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] - **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. | [optional] - **timeout_seconds** | **int**| Timeout for the list/watch call. | [optional] - **watch** | **bool**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] - -### Return type - -[**V1JobList**](V1JobList.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **patch_namespaced_job** -> V1Job patch_namespaced_job(name, namespace, body, pretty=pretty) - - - -partially update the specified Job - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.BatchV1Api() -name = 'name_example' # str | name of the Job -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = openshift.client.UnversionedPatch() # UnversionedPatch | -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) - -try: - api_response = api_instance.patch_namespaced_job(name, namespace, body, pretty=pretty) - pprint(api_response) -except ApiException as e: - print("Exception when calling BatchV1Api->patch_namespaced_job: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the Job | - **namespace** | **str**| object name and auth scope, such as for teams and projects | - **body** | [**UnversionedPatch**](UnversionedPatch.md)| | - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - -### Return type - -[**V1Job**](V1Job.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **patch_namespaced_job_status** -> V1Job patch_namespaced_job_status(name, namespace, body, pretty=pretty) - - - -partially update status of the specified Job - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.BatchV1Api() -name = 'name_example' # str | name of the Job -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = openshift.client.UnversionedPatch() # UnversionedPatch | -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) - -try: - api_response = api_instance.patch_namespaced_job_status(name, namespace, body, pretty=pretty) - pprint(api_response) -except ApiException as e: - print("Exception when calling BatchV1Api->patch_namespaced_job_status: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the Job | - **namespace** | **str**| object name and auth scope, such as for teams and projects | - **body** | [**UnversionedPatch**](UnversionedPatch.md)| | - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - -### Return type - -[**V1Job**](V1Job.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **read_namespaced_job** -> V1Job read_namespaced_job(name, namespace, pretty=pretty, exact=exact, export=export) - - - -read the specified Job - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.BatchV1Api() -name = 'name_example' # str | name of the Job -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) -exact = true # bool | Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace' (optional) -export = true # bool | Should this value be exported. Export strips fields that a user can not specify. (optional) - -try: - api_response = api_instance.read_namespaced_job(name, namespace, pretty=pretty, exact=exact, export=export) - pprint(api_response) -except ApiException as e: - print("Exception when calling BatchV1Api->read_namespaced_job: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the Job | - **namespace** | **str**| object name and auth scope, such as for teams and projects | - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - **exact** | **bool**| Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace' | [optional] - **export** | **bool**| Should this value be exported. Export strips fields that a user can not specify. | [optional] - -### Return type - -[**V1Job**](V1Job.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **read_namespaced_job_status** -> V1Job read_namespaced_job_status(name, namespace, pretty=pretty) - - - -read status of the specified Job - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.BatchV1Api() -name = 'name_example' # str | name of the Job -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) - -try: - api_response = api_instance.read_namespaced_job_status(name, namespace, pretty=pretty) - pprint(api_response) -except ApiException as e: - print("Exception when calling BatchV1Api->read_namespaced_job_status: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the Job | - **namespace** | **str**| object name and auth scope, such as for teams and projects | - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - -### Return type - -[**V1Job**](V1Job.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **replace_namespaced_job** -> V1Job replace_namespaced_job(name, namespace, body, pretty=pretty) - - - -replace the specified Job - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.BatchV1Api() -name = 'name_example' # str | name of the Job -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = openshift.client.V1Job() # V1Job | -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) - -try: - api_response = api_instance.replace_namespaced_job(name, namespace, body, pretty=pretty) - pprint(api_response) -except ApiException as e: - print("Exception when calling BatchV1Api->replace_namespaced_job: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the Job | - **namespace** | **str**| object name and auth scope, such as for teams and projects | - **body** | [**V1Job**](V1Job.md)| | - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - -### Return type - -[**V1Job**](V1Job.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **replace_namespaced_job_status** -> V1Job replace_namespaced_job_status(name, namespace, body, pretty=pretty) - - - -replace status of the specified Job - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.BatchV1Api() -name = 'name_example' # str | name of the Job -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = openshift.client.V1Job() # V1Job | -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) - -try: - api_response = api_instance.replace_namespaced_job_status(name, namespace, body, pretty=pretty) - pprint(api_response) -except ApiException as e: - print("Exception when calling BatchV1Api->replace_namespaced_job_status: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the Job | - **namespace** | **str**| object name and auth scope, such as for teams and projects | - **body** | [**V1Job**](V1Job.md)| | - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - -### Return type - -[**V1Job**](V1Job.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - diff --git a/openshift/docs/BatchV2alpha1Api.md b/openshift/docs/BatchV2alpha1Api.md deleted file mode 100644 index 0310e36d..00000000 --- a/openshift/docs/BatchV2alpha1Api.md +++ /dev/null @@ -1,2038 +0,0 @@ -# openshift.client.BatchV2alpha1Api - -All URIs are relative to *https://localhost* - -Method | HTTP request | Description -------------- | ------------- | ------------- -[**create_cron_job_for_all_namespaces**](BatchV2alpha1Api.md#create_cron_job_for_all_namespaces) | **POST** /apis/batch/v2alpha1/cronjobs | -[**create_job_for_all_namespaces**](BatchV2alpha1Api.md#create_job_for_all_namespaces) | **POST** /apis/batch/v2alpha1/jobs | -[**create_namespaced_cron_job**](BatchV2alpha1Api.md#create_namespaced_cron_job) | **POST** /apis/batch/v2alpha1/namespaces/{namespace}/cronjobs | -[**create_namespaced_job**](BatchV2alpha1Api.md#create_namespaced_job) | **POST** /apis/batch/v2alpha1/namespaces/{namespace}/jobs | -[**create_namespaced_scheduled_job**](BatchV2alpha1Api.md#create_namespaced_scheduled_job) | **POST** /apis/batch/v2alpha1/namespaces/{namespace}/scheduledjobs | -[**create_scheduled_job_for_all_namespaces**](BatchV2alpha1Api.md#create_scheduled_job_for_all_namespaces) | **POST** /apis/batch/v2alpha1/scheduledjobs | -[**delete_collection_namespaced_cron_job**](BatchV2alpha1Api.md#delete_collection_namespaced_cron_job) | **DELETE** /apis/batch/v2alpha1/namespaces/{namespace}/cronjobs | -[**delete_collection_namespaced_job**](BatchV2alpha1Api.md#delete_collection_namespaced_job) | **DELETE** /apis/batch/v2alpha1/namespaces/{namespace}/jobs | -[**delete_collection_namespaced_scheduled_job**](BatchV2alpha1Api.md#delete_collection_namespaced_scheduled_job) | **DELETE** /apis/batch/v2alpha1/namespaces/{namespace}/scheduledjobs | -[**delete_namespaced_cron_job**](BatchV2alpha1Api.md#delete_namespaced_cron_job) | **DELETE** /apis/batch/v2alpha1/namespaces/{namespace}/cronjobs/{name} | -[**delete_namespaced_job**](BatchV2alpha1Api.md#delete_namespaced_job) | **DELETE** /apis/batch/v2alpha1/namespaces/{namespace}/jobs/{name} | -[**delete_namespaced_scheduled_job**](BatchV2alpha1Api.md#delete_namespaced_scheduled_job) | **DELETE** /apis/batch/v2alpha1/namespaces/{namespace}/scheduledjobs/{name} | -[**get_api_resources**](BatchV2alpha1Api.md#get_api_resources) | **GET** /apis/batch/v2alpha1/ | -[**list_cron_job_for_all_namespaces**](BatchV2alpha1Api.md#list_cron_job_for_all_namespaces) | **GET** /apis/batch/v2alpha1/cronjobs | -[**list_job_for_all_namespaces**](BatchV2alpha1Api.md#list_job_for_all_namespaces) | **GET** /apis/batch/v2alpha1/jobs | -[**list_namespaced_cron_job**](BatchV2alpha1Api.md#list_namespaced_cron_job) | **GET** /apis/batch/v2alpha1/namespaces/{namespace}/cronjobs | -[**list_namespaced_job**](BatchV2alpha1Api.md#list_namespaced_job) | **GET** /apis/batch/v2alpha1/namespaces/{namespace}/jobs | -[**list_namespaced_scheduled_job**](BatchV2alpha1Api.md#list_namespaced_scheduled_job) | **GET** /apis/batch/v2alpha1/namespaces/{namespace}/scheduledjobs | -[**list_scheduled_job_for_all_namespaces**](BatchV2alpha1Api.md#list_scheduled_job_for_all_namespaces) | **GET** /apis/batch/v2alpha1/scheduledjobs | -[**patch_namespaced_cron_job**](BatchV2alpha1Api.md#patch_namespaced_cron_job) | **PATCH** /apis/batch/v2alpha1/namespaces/{namespace}/cronjobs/{name} | -[**patch_namespaced_cron_job_status**](BatchV2alpha1Api.md#patch_namespaced_cron_job_status) | **PATCH** /apis/batch/v2alpha1/namespaces/{namespace}/cronjobs/{name}/status | -[**patch_namespaced_job**](BatchV2alpha1Api.md#patch_namespaced_job) | **PATCH** /apis/batch/v2alpha1/namespaces/{namespace}/jobs/{name} | -[**patch_namespaced_job_status**](BatchV2alpha1Api.md#patch_namespaced_job_status) | **PATCH** /apis/batch/v2alpha1/namespaces/{namespace}/jobs/{name}/status | -[**patch_namespaced_scheduled_job**](BatchV2alpha1Api.md#patch_namespaced_scheduled_job) | **PATCH** /apis/batch/v2alpha1/namespaces/{namespace}/scheduledjobs/{name} | -[**patch_namespaced_scheduled_job_status**](BatchV2alpha1Api.md#patch_namespaced_scheduled_job_status) | **PATCH** /apis/batch/v2alpha1/namespaces/{namespace}/scheduledjobs/{name}/status | -[**read_namespaced_cron_job**](BatchV2alpha1Api.md#read_namespaced_cron_job) | **GET** /apis/batch/v2alpha1/namespaces/{namespace}/cronjobs/{name} | -[**read_namespaced_cron_job_status**](BatchV2alpha1Api.md#read_namespaced_cron_job_status) | **GET** /apis/batch/v2alpha1/namespaces/{namespace}/cronjobs/{name}/status | -[**read_namespaced_job**](BatchV2alpha1Api.md#read_namespaced_job) | **GET** /apis/batch/v2alpha1/namespaces/{namespace}/jobs/{name} | -[**read_namespaced_job_status**](BatchV2alpha1Api.md#read_namespaced_job_status) | **GET** /apis/batch/v2alpha1/namespaces/{namespace}/jobs/{name}/status | -[**read_namespaced_scheduled_job**](BatchV2alpha1Api.md#read_namespaced_scheduled_job) | **GET** /apis/batch/v2alpha1/namespaces/{namespace}/scheduledjobs/{name} | -[**read_namespaced_scheduled_job_status**](BatchV2alpha1Api.md#read_namespaced_scheduled_job_status) | **GET** /apis/batch/v2alpha1/namespaces/{namespace}/scheduledjobs/{name}/status | -[**replace_namespaced_cron_job**](BatchV2alpha1Api.md#replace_namespaced_cron_job) | **PUT** /apis/batch/v2alpha1/namespaces/{namespace}/cronjobs/{name} | -[**replace_namespaced_cron_job_status**](BatchV2alpha1Api.md#replace_namespaced_cron_job_status) | **PUT** /apis/batch/v2alpha1/namespaces/{namespace}/cronjobs/{name}/status | -[**replace_namespaced_job**](BatchV2alpha1Api.md#replace_namespaced_job) | **PUT** /apis/batch/v2alpha1/namespaces/{namespace}/jobs/{name} | -[**replace_namespaced_job_status**](BatchV2alpha1Api.md#replace_namespaced_job_status) | **PUT** /apis/batch/v2alpha1/namespaces/{namespace}/jobs/{name}/status | -[**replace_namespaced_scheduled_job**](BatchV2alpha1Api.md#replace_namespaced_scheduled_job) | **PUT** /apis/batch/v2alpha1/namespaces/{namespace}/scheduledjobs/{name} | -[**replace_namespaced_scheduled_job_status**](BatchV2alpha1Api.md#replace_namespaced_scheduled_job_status) | **PUT** /apis/batch/v2alpha1/namespaces/{namespace}/scheduledjobs/{name}/status | - - -# **create_cron_job_for_all_namespaces** -> V2alpha1CronJob create_cron_job_for_all_namespaces(body, pretty=pretty) - - - -create a CronJob - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.BatchV2alpha1Api() -body = openshift.client.V2alpha1CronJob() # V2alpha1CronJob | -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) - -try: - api_response = api_instance.create_cron_job_for_all_namespaces(body, pretty=pretty) - pprint(api_response) -except ApiException as e: - print("Exception when calling BatchV2alpha1Api->create_cron_job_for_all_namespaces: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **body** | [**V2alpha1CronJob**](V2alpha1CronJob.md)| | - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - -### Return type - -[**V2alpha1CronJob**](V2alpha1CronJob.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **create_job_for_all_namespaces** -> V2alpha1Job create_job_for_all_namespaces(body, pretty=pretty) - - - -create a Job - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.BatchV2alpha1Api() -body = openshift.client.V2alpha1Job() # V2alpha1Job | -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) - -try: - api_response = api_instance.create_job_for_all_namespaces(body, pretty=pretty) - pprint(api_response) -except ApiException as e: - print("Exception when calling BatchV2alpha1Api->create_job_for_all_namespaces: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **body** | [**V2alpha1Job**](V2alpha1Job.md)| | - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - -### Return type - -[**V2alpha1Job**](V2alpha1Job.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **create_namespaced_cron_job** -> V2alpha1CronJob create_namespaced_cron_job(namespace, body, pretty=pretty) - - - -create a CronJob - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.BatchV2alpha1Api() -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = openshift.client.V2alpha1CronJob() # V2alpha1CronJob | -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) - -try: - api_response = api_instance.create_namespaced_cron_job(namespace, body, pretty=pretty) - pprint(api_response) -except ApiException as e: - print("Exception when calling BatchV2alpha1Api->create_namespaced_cron_job: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **namespace** | **str**| object name and auth scope, such as for teams and projects | - **body** | [**V2alpha1CronJob**](V2alpha1CronJob.md)| | - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - -### Return type - -[**V2alpha1CronJob**](V2alpha1CronJob.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **create_namespaced_job** -> V2alpha1Job create_namespaced_job(namespace, body, pretty=pretty) - - - -create a Job - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.BatchV2alpha1Api() -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = openshift.client.V2alpha1Job() # V2alpha1Job | -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) - -try: - api_response = api_instance.create_namespaced_job(namespace, body, pretty=pretty) - pprint(api_response) -except ApiException as e: - print("Exception when calling BatchV2alpha1Api->create_namespaced_job: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **namespace** | **str**| object name and auth scope, such as for teams and projects | - **body** | [**V2alpha1Job**](V2alpha1Job.md)| | - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - -### Return type - -[**V2alpha1Job**](V2alpha1Job.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **create_namespaced_scheduled_job** -> V2alpha1CronJob create_namespaced_scheduled_job(namespace, body, pretty=pretty) - - - -create a ScheduledJob - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.BatchV2alpha1Api() -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = openshift.client.V2alpha1CronJob() # V2alpha1CronJob | -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) - -try: - api_response = api_instance.create_namespaced_scheduled_job(namespace, body, pretty=pretty) - pprint(api_response) -except ApiException as e: - print("Exception when calling BatchV2alpha1Api->create_namespaced_scheduled_job: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **namespace** | **str**| object name and auth scope, such as for teams and projects | - **body** | [**V2alpha1CronJob**](V2alpha1CronJob.md)| | - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - -### Return type - -[**V2alpha1CronJob**](V2alpha1CronJob.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **create_scheduled_job_for_all_namespaces** -> V2alpha1CronJob create_scheduled_job_for_all_namespaces(body, pretty=pretty) - - - -create a ScheduledJob - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.BatchV2alpha1Api() -body = openshift.client.V2alpha1CronJob() # V2alpha1CronJob | -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) - -try: - api_response = api_instance.create_scheduled_job_for_all_namespaces(body, pretty=pretty) - pprint(api_response) -except ApiException as e: - print("Exception when calling BatchV2alpha1Api->create_scheduled_job_for_all_namespaces: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **body** | [**V2alpha1CronJob**](V2alpha1CronJob.md)| | - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - -### Return type - -[**V2alpha1CronJob**](V2alpha1CronJob.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **delete_collection_namespaced_cron_job** -> UnversionedStatus delete_collection_namespaced_cron_job(namespace, pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) - - - -delete collection of CronJob - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.BatchV2alpha1Api() -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) -field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) -label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. (optional) -timeout_seconds = 56 # int | Timeout for the list/watch call. (optional) -watch = true # bool | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) - -try: - api_response = api_instance.delete_collection_namespaced_cron_job(namespace, pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) - pprint(api_response) -except ApiException as e: - print("Exception when calling BatchV2alpha1Api->delete_collection_namespaced_cron_job: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **namespace** | **str**| object name and auth scope, such as for teams and projects | - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] - **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. | [optional] - **timeout_seconds** | **int**| Timeout for the list/watch call. | [optional] - **watch** | **bool**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] - -### Return type - -[**UnversionedStatus**](UnversionedStatus.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **delete_collection_namespaced_job** -> UnversionedStatus delete_collection_namespaced_job(namespace, pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) - - - -delete collection of Job - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.BatchV2alpha1Api() -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) -field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) -label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. (optional) -timeout_seconds = 56 # int | Timeout for the list/watch call. (optional) -watch = true # bool | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) - -try: - api_response = api_instance.delete_collection_namespaced_job(namespace, pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) - pprint(api_response) -except ApiException as e: - print("Exception when calling BatchV2alpha1Api->delete_collection_namespaced_job: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **namespace** | **str**| object name and auth scope, such as for teams and projects | - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] - **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. | [optional] - **timeout_seconds** | **int**| Timeout for the list/watch call. | [optional] - **watch** | **bool**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] - -### Return type - -[**UnversionedStatus**](UnversionedStatus.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **delete_collection_namespaced_scheduled_job** -> UnversionedStatus delete_collection_namespaced_scheduled_job(namespace, pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) - - - -delete collection of ScheduledJob - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.BatchV2alpha1Api() -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) -field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) -label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. (optional) -timeout_seconds = 56 # int | Timeout for the list/watch call. (optional) -watch = true # bool | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) - -try: - api_response = api_instance.delete_collection_namespaced_scheduled_job(namespace, pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) - pprint(api_response) -except ApiException as e: - print("Exception when calling BatchV2alpha1Api->delete_collection_namespaced_scheduled_job: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **namespace** | **str**| object name and auth scope, such as for teams and projects | - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] - **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. | [optional] - **timeout_seconds** | **int**| Timeout for the list/watch call. | [optional] - **watch** | **bool**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] - -### Return type - -[**UnversionedStatus**](UnversionedStatus.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **delete_namespaced_cron_job** -> UnversionedStatus delete_namespaced_cron_job(name, namespace, body, pretty=pretty, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents) - - - -delete a CronJob - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.BatchV2alpha1Api() -name = 'name_example' # str | name of the CronJob -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = openshift.client.V1DeleteOptions() # V1DeleteOptions | -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) -grace_period_seconds = 56 # int | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) -orphan_dependents = true # bool | Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. (optional) - -try: - api_response = api_instance.delete_namespaced_cron_job(name, namespace, body, pretty=pretty, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents) - pprint(api_response) -except ApiException as e: - print("Exception when calling BatchV2alpha1Api->delete_namespaced_cron_job: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the CronJob | - **namespace** | **str**| object name and auth scope, such as for teams and projects | - **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | - **pretty** | **str**| If 'true', then the output is pretty printed. | [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] - **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] - -### Return type - -[**UnversionedStatus**](UnversionedStatus.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **delete_namespaced_job** -> UnversionedStatus delete_namespaced_job(name, namespace, body, pretty=pretty, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents) - - - -delete a Job - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.BatchV2alpha1Api() -name = 'name_example' # str | name of the Job -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = openshift.client.V1DeleteOptions() # V1DeleteOptions | -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) -grace_period_seconds = 56 # int | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) -orphan_dependents = true # bool | Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. (optional) - -try: - api_response = api_instance.delete_namespaced_job(name, namespace, body, pretty=pretty, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents) - pprint(api_response) -except ApiException as e: - print("Exception when calling BatchV2alpha1Api->delete_namespaced_job: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the Job | - **namespace** | **str**| object name and auth scope, such as for teams and projects | - **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | - **pretty** | **str**| If 'true', then the output is pretty printed. | [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] - **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] - -### Return type - -[**UnversionedStatus**](UnversionedStatus.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **delete_namespaced_scheduled_job** -> UnversionedStatus delete_namespaced_scheduled_job(name, namespace, body, pretty=pretty, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents) - - - -delete a ScheduledJob - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.BatchV2alpha1Api() -name = 'name_example' # str | name of the ScheduledJob -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = openshift.client.V1DeleteOptions() # V1DeleteOptions | -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) -grace_period_seconds = 56 # int | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) -orphan_dependents = true # bool | Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. (optional) - -try: - api_response = api_instance.delete_namespaced_scheduled_job(name, namespace, body, pretty=pretty, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents) - pprint(api_response) -except ApiException as e: - print("Exception when calling BatchV2alpha1Api->delete_namespaced_scheduled_job: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the ScheduledJob | - **namespace** | **str**| object name and auth scope, such as for teams and projects | - **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | - **pretty** | **str**| If 'true', then the output is pretty printed. | [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] - **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] - -### Return type - -[**UnversionedStatus**](UnversionedStatus.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **get_api_resources** -> UnversionedAPIResourceList get_api_resources() - - - -get available resources - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.BatchV2alpha1Api() - -try: - api_response = api_instance.get_api_resources() - pprint(api_response) -except ApiException as e: - print("Exception when calling BatchV2alpha1Api->get_api_resources: %s\n" % e) -``` - -### Parameters -This endpoint does not need any parameter. - -### Return type - -[**UnversionedAPIResourceList**](UnversionedAPIResourceList.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: application/json, application/yaml, application/vnd.kubernetes.protobuf - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **list_cron_job_for_all_namespaces** -> V2alpha1CronJobList list_cron_job_for_all_namespaces(pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) - - - -list or watch objects of kind CronJob - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.BatchV2alpha1Api() -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) -field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) -label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. (optional) -timeout_seconds = 56 # int | Timeout for the list/watch call. (optional) -watch = true # bool | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) - -try: - api_response = api_instance.list_cron_job_for_all_namespaces(pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) - pprint(api_response) -except ApiException as e: - print("Exception when calling BatchV2alpha1Api->list_cron_job_for_all_namespaces: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] - **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. | [optional] - **timeout_seconds** | **int**| Timeout for the list/watch call. | [optional] - **watch** | **bool**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] - -### Return type - -[**V2alpha1CronJobList**](V2alpha1CronJobList.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **list_job_for_all_namespaces** -> V2alpha1JobList list_job_for_all_namespaces(pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) - - - -list or watch objects of kind Job - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.BatchV2alpha1Api() -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) -field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) -label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. (optional) -timeout_seconds = 56 # int | Timeout for the list/watch call. (optional) -watch = true # bool | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) - -try: - api_response = api_instance.list_job_for_all_namespaces(pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) - pprint(api_response) -except ApiException as e: - print("Exception when calling BatchV2alpha1Api->list_job_for_all_namespaces: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] - **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. | [optional] - **timeout_seconds** | **int**| Timeout for the list/watch call. | [optional] - **watch** | **bool**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] - -### Return type - -[**V2alpha1JobList**](V2alpha1JobList.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **list_namespaced_cron_job** -> V2alpha1CronJobList list_namespaced_cron_job(namespace, pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) - - - -list or watch objects of kind CronJob - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.BatchV2alpha1Api() -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) -field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) -label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. (optional) -timeout_seconds = 56 # int | Timeout for the list/watch call. (optional) -watch = true # bool | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) - -try: - api_response = api_instance.list_namespaced_cron_job(namespace, pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) - pprint(api_response) -except ApiException as e: - print("Exception when calling BatchV2alpha1Api->list_namespaced_cron_job: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **namespace** | **str**| object name and auth scope, such as for teams and projects | - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] - **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. | [optional] - **timeout_seconds** | **int**| Timeout for the list/watch call. | [optional] - **watch** | **bool**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] - -### Return type - -[**V2alpha1CronJobList**](V2alpha1CronJobList.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **list_namespaced_job** -> V2alpha1JobList list_namespaced_job(namespace, pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) - - - -list or watch objects of kind Job - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.BatchV2alpha1Api() -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) -field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) -label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. (optional) -timeout_seconds = 56 # int | Timeout for the list/watch call. (optional) -watch = true # bool | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) - -try: - api_response = api_instance.list_namespaced_job(namespace, pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) - pprint(api_response) -except ApiException as e: - print("Exception when calling BatchV2alpha1Api->list_namespaced_job: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **namespace** | **str**| object name and auth scope, such as for teams and projects | - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] - **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. | [optional] - **timeout_seconds** | **int**| Timeout for the list/watch call. | [optional] - **watch** | **bool**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] - -### Return type - -[**V2alpha1JobList**](V2alpha1JobList.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **list_namespaced_scheduled_job** -> V2alpha1CronJobList list_namespaced_scheduled_job(namespace, pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) - - - -list or watch objects of kind ScheduledJob - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.BatchV2alpha1Api() -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) -field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) -label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. (optional) -timeout_seconds = 56 # int | Timeout for the list/watch call. (optional) -watch = true # bool | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) - -try: - api_response = api_instance.list_namespaced_scheduled_job(namespace, pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) - pprint(api_response) -except ApiException as e: - print("Exception when calling BatchV2alpha1Api->list_namespaced_scheduled_job: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **namespace** | **str**| object name and auth scope, such as for teams and projects | - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] - **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. | [optional] - **timeout_seconds** | **int**| Timeout for the list/watch call. | [optional] - **watch** | **bool**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] - -### Return type - -[**V2alpha1CronJobList**](V2alpha1CronJobList.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **list_scheduled_job_for_all_namespaces** -> V2alpha1CronJobList list_scheduled_job_for_all_namespaces(pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) - - - -list or watch objects of kind ScheduledJob - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.BatchV2alpha1Api() -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) -field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) -label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. (optional) -timeout_seconds = 56 # int | Timeout for the list/watch call. (optional) -watch = true # bool | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) - -try: - api_response = api_instance.list_scheduled_job_for_all_namespaces(pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) - pprint(api_response) -except ApiException as e: - print("Exception when calling BatchV2alpha1Api->list_scheduled_job_for_all_namespaces: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] - **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. | [optional] - **timeout_seconds** | **int**| Timeout for the list/watch call. | [optional] - **watch** | **bool**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] - -### Return type - -[**V2alpha1CronJobList**](V2alpha1CronJobList.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **patch_namespaced_cron_job** -> V2alpha1CronJob patch_namespaced_cron_job(name, namespace, body, pretty=pretty) - - - -partially update the specified CronJob - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.BatchV2alpha1Api() -name = 'name_example' # str | name of the CronJob -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = openshift.client.UnversionedPatch() # UnversionedPatch | -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) - -try: - api_response = api_instance.patch_namespaced_cron_job(name, namespace, body, pretty=pretty) - pprint(api_response) -except ApiException as e: - print("Exception when calling BatchV2alpha1Api->patch_namespaced_cron_job: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the CronJob | - **namespace** | **str**| object name and auth scope, such as for teams and projects | - **body** | [**UnversionedPatch**](UnversionedPatch.md)| | - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - -### Return type - -[**V2alpha1CronJob**](V2alpha1CronJob.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **patch_namespaced_cron_job_status** -> V2alpha1CronJob patch_namespaced_cron_job_status(name, namespace, body, pretty=pretty) - - - -partially update status of the specified CronJob - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.BatchV2alpha1Api() -name = 'name_example' # str | name of the CronJob -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = openshift.client.UnversionedPatch() # UnversionedPatch | -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) - -try: - api_response = api_instance.patch_namespaced_cron_job_status(name, namespace, body, pretty=pretty) - pprint(api_response) -except ApiException as e: - print("Exception when calling BatchV2alpha1Api->patch_namespaced_cron_job_status: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the CronJob | - **namespace** | **str**| object name and auth scope, such as for teams and projects | - **body** | [**UnversionedPatch**](UnversionedPatch.md)| | - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - -### Return type - -[**V2alpha1CronJob**](V2alpha1CronJob.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **patch_namespaced_job** -> V2alpha1Job patch_namespaced_job(name, namespace, body, pretty=pretty) - - - -partially update the specified Job - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.BatchV2alpha1Api() -name = 'name_example' # str | name of the Job -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = openshift.client.UnversionedPatch() # UnversionedPatch | -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) - -try: - api_response = api_instance.patch_namespaced_job(name, namespace, body, pretty=pretty) - pprint(api_response) -except ApiException as e: - print("Exception when calling BatchV2alpha1Api->patch_namespaced_job: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the Job | - **namespace** | **str**| object name and auth scope, such as for teams and projects | - **body** | [**UnversionedPatch**](UnversionedPatch.md)| | - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - -### Return type - -[**V2alpha1Job**](V2alpha1Job.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **patch_namespaced_job_status** -> V2alpha1Job patch_namespaced_job_status(name, namespace, body, pretty=pretty) - - - -partially update status of the specified Job - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.BatchV2alpha1Api() -name = 'name_example' # str | name of the Job -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = openshift.client.UnversionedPatch() # UnversionedPatch | -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) - -try: - api_response = api_instance.patch_namespaced_job_status(name, namespace, body, pretty=pretty) - pprint(api_response) -except ApiException as e: - print("Exception when calling BatchV2alpha1Api->patch_namespaced_job_status: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the Job | - **namespace** | **str**| object name and auth scope, such as for teams and projects | - **body** | [**UnversionedPatch**](UnversionedPatch.md)| | - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - -### Return type - -[**V2alpha1Job**](V2alpha1Job.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **patch_namespaced_scheduled_job** -> V2alpha1CronJob patch_namespaced_scheduled_job(name, namespace, body, pretty=pretty) - - - -partially update the specified ScheduledJob - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.BatchV2alpha1Api() -name = 'name_example' # str | name of the ScheduledJob -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = openshift.client.UnversionedPatch() # UnversionedPatch | -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) - -try: - api_response = api_instance.patch_namespaced_scheduled_job(name, namespace, body, pretty=pretty) - pprint(api_response) -except ApiException as e: - print("Exception when calling BatchV2alpha1Api->patch_namespaced_scheduled_job: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the ScheduledJob | - **namespace** | **str**| object name and auth scope, such as for teams and projects | - **body** | [**UnversionedPatch**](UnversionedPatch.md)| | - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - -### Return type - -[**V2alpha1CronJob**](V2alpha1CronJob.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **patch_namespaced_scheduled_job_status** -> V2alpha1CronJob patch_namespaced_scheduled_job_status(name, namespace, body, pretty=pretty) - - - -partially update status of the specified ScheduledJob - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.BatchV2alpha1Api() -name = 'name_example' # str | name of the ScheduledJob -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = openshift.client.UnversionedPatch() # UnversionedPatch | -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) - -try: - api_response = api_instance.patch_namespaced_scheduled_job_status(name, namespace, body, pretty=pretty) - pprint(api_response) -except ApiException as e: - print("Exception when calling BatchV2alpha1Api->patch_namespaced_scheduled_job_status: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the ScheduledJob | - **namespace** | **str**| object name and auth scope, such as for teams and projects | - **body** | [**UnversionedPatch**](UnversionedPatch.md)| | - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - -### Return type - -[**V2alpha1CronJob**](V2alpha1CronJob.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **read_namespaced_cron_job** -> V2alpha1CronJob read_namespaced_cron_job(name, namespace, pretty=pretty, exact=exact, export=export) - - - -read the specified CronJob - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.BatchV2alpha1Api() -name = 'name_example' # str | name of the CronJob -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) -exact = true # bool | Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace' (optional) -export = true # bool | Should this value be exported. Export strips fields that a user can not specify. (optional) - -try: - api_response = api_instance.read_namespaced_cron_job(name, namespace, pretty=pretty, exact=exact, export=export) - pprint(api_response) -except ApiException as e: - print("Exception when calling BatchV2alpha1Api->read_namespaced_cron_job: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the CronJob | - **namespace** | **str**| object name and auth scope, such as for teams and projects | - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - **exact** | **bool**| Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace' | [optional] - **export** | **bool**| Should this value be exported. Export strips fields that a user can not specify. | [optional] - -### Return type - -[**V2alpha1CronJob**](V2alpha1CronJob.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **read_namespaced_cron_job_status** -> V2alpha1CronJob read_namespaced_cron_job_status(name, namespace, pretty=pretty) - - - -read status of the specified CronJob - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.BatchV2alpha1Api() -name = 'name_example' # str | name of the CronJob -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) - -try: - api_response = api_instance.read_namespaced_cron_job_status(name, namespace, pretty=pretty) - pprint(api_response) -except ApiException as e: - print("Exception when calling BatchV2alpha1Api->read_namespaced_cron_job_status: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the CronJob | - **namespace** | **str**| object name and auth scope, such as for teams and projects | - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - -### Return type - -[**V2alpha1CronJob**](V2alpha1CronJob.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **read_namespaced_job** -> V2alpha1Job read_namespaced_job(name, namespace, pretty=pretty, exact=exact, export=export) - - - -read the specified Job - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.BatchV2alpha1Api() -name = 'name_example' # str | name of the Job -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) -exact = true # bool | Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace' (optional) -export = true # bool | Should this value be exported. Export strips fields that a user can not specify. (optional) - -try: - api_response = api_instance.read_namespaced_job(name, namespace, pretty=pretty, exact=exact, export=export) - pprint(api_response) -except ApiException as e: - print("Exception when calling BatchV2alpha1Api->read_namespaced_job: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the Job | - **namespace** | **str**| object name and auth scope, such as for teams and projects | - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - **exact** | **bool**| Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace' | [optional] - **export** | **bool**| Should this value be exported. Export strips fields that a user can not specify. | [optional] - -### Return type - -[**V2alpha1Job**](V2alpha1Job.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **read_namespaced_job_status** -> V2alpha1Job read_namespaced_job_status(name, namespace, pretty=pretty) - - - -read status of the specified Job - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.BatchV2alpha1Api() -name = 'name_example' # str | name of the Job -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) - -try: - api_response = api_instance.read_namespaced_job_status(name, namespace, pretty=pretty) - pprint(api_response) -except ApiException as e: - print("Exception when calling BatchV2alpha1Api->read_namespaced_job_status: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the Job | - **namespace** | **str**| object name and auth scope, such as for teams and projects | - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - -### Return type - -[**V2alpha1Job**](V2alpha1Job.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **read_namespaced_scheduled_job** -> V2alpha1CronJob read_namespaced_scheduled_job(name, namespace, pretty=pretty, exact=exact, export=export) - - - -read the specified ScheduledJob - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.BatchV2alpha1Api() -name = 'name_example' # str | name of the ScheduledJob -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) -exact = true # bool | Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace' (optional) -export = true # bool | Should this value be exported. Export strips fields that a user can not specify. (optional) - -try: - api_response = api_instance.read_namespaced_scheduled_job(name, namespace, pretty=pretty, exact=exact, export=export) - pprint(api_response) -except ApiException as e: - print("Exception when calling BatchV2alpha1Api->read_namespaced_scheduled_job: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the ScheduledJob | - **namespace** | **str**| object name and auth scope, such as for teams and projects | - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - **exact** | **bool**| Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace' | [optional] - **export** | **bool**| Should this value be exported. Export strips fields that a user can not specify. | [optional] - -### Return type - -[**V2alpha1CronJob**](V2alpha1CronJob.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **read_namespaced_scheduled_job_status** -> V2alpha1CronJob read_namespaced_scheduled_job_status(name, namespace, pretty=pretty) - - - -read status of the specified ScheduledJob - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.BatchV2alpha1Api() -name = 'name_example' # str | name of the ScheduledJob -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) - -try: - api_response = api_instance.read_namespaced_scheduled_job_status(name, namespace, pretty=pretty) - pprint(api_response) -except ApiException as e: - print("Exception when calling BatchV2alpha1Api->read_namespaced_scheduled_job_status: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the ScheduledJob | - **namespace** | **str**| object name and auth scope, such as for teams and projects | - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - -### Return type - -[**V2alpha1CronJob**](V2alpha1CronJob.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **replace_namespaced_cron_job** -> V2alpha1CronJob replace_namespaced_cron_job(name, namespace, body, pretty=pretty) - - - -replace the specified CronJob - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.BatchV2alpha1Api() -name = 'name_example' # str | name of the CronJob -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = openshift.client.V2alpha1CronJob() # V2alpha1CronJob | -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) - -try: - api_response = api_instance.replace_namespaced_cron_job(name, namespace, body, pretty=pretty) - pprint(api_response) -except ApiException as e: - print("Exception when calling BatchV2alpha1Api->replace_namespaced_cron_job: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the CronJob | - **namespace** | **str**| object name and auth scope, such as for teams and projects | - **body** | [**V2alpha1CronJob**](V2alpha1CronJob.md)| | - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - -### Return type - -[**V2alpha1CronJob**](V2alpha1CronJob.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **replace_namespaced_cron_job_status** -> V2alpha1CronJob replace_namespaced_cron_job_status(name, namespace, body, pretty=pretty) - - - -replace status of the specified CronJob - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.BatchV2alpha1Api() -name = 'name_example' # str | name of the CronJob -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = openshift.client.V2alpha1CronJob() # V2alpha1CronJob | -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) - -try: - api_response = api_instance.replace_namespaced_cron_job_status(name, namespace, body, pretty=pretty) - pprint(api_response) -except ApiException as e: - print("Exception when calling BatchV2alpha1Api->replace_namespaced_cron_job_status: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the CronJob | - **namespace** | **str**| object name and auth scope, such as for teams and projects | - **body** | [**V2alpha1CronJob**](V2alpha1CronJob.md)| | - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - -### Return type - -[**V2alpha1CronJob**](V2alpha1CronJob.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **replace_namespaced_job** -> V2alpha1Job replace_namespaced_job(name, namespace, body, pretty=pretty) - - - -replace the specified Job - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.BatchV2alpha1Api() -name = 'name_example' # str | name of the Job -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = openshift.client.V2alpha1Job() # V2alpha1Job | -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) - -try: - api_response = api_instance.replace_namespaced_job(name, namespace, body, pretty=pretty) - pprint(api_response) -except ApiException as e: - print("Exception when calling BatchV2alpha1Api->replace_namespaced_job: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the Job | - **namespace** | **str**| object name and auth scope, such as for teams and projects | - **body** | [**V2alpha1Job**](V2alpha1Job.md)| | - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - -### Return type - -[**V2alpha1Job**](V2alpha1Job.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **replace_namespaced_job_status** -> V2alpha1Job replace_namespaced_job_status(name, namespace, body, pretty=pretty) - - - -replace status of the specified Job - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.BatchV2alpha1Api() -name = 'name_example' # str | name of the Job -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = openshift.client.V2alpha1Job() # V2alpha1Job | -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) - -try: - api_response = api_instance.replace_namespaced_job_status(name, namespace, body, pretty=pretty) - pprint(api_response) -except ApiException as e: - print("Exception when calling BatchV2alpha1Api->replace_namespaced_job_status: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the Job | - **namespace** | **str**| object name and auth scope, such as for teams and projects | - **body** | [**V2alpha1Job**](V2alpha1Job.md)| | - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - -### Return type - -[**V2alpha1Job**](V2alpha1Job.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **replace_namespaced_scheduled_job** -> V2alpha1CronJob replace_namespaced_scheduled_job(name, namespace, body, pretty=pretty) - - - -replace the specified ScheduledJob - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.BatchV2alpha1Api() -name = 'name_example' # str | name of the ScheduledJob -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = openshift.client.V2alpha1CronJob() # V2alpha1CronJob | -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) - -try: - api_response = api_instance.replace_namespaced_scheduled_job(name, namespace, body, pretty=pretty) - pprint(api_response) -except ApiException as e: - print("Exception when calling BatchV2alpha1Api->replace_namespaced_scheduled_job: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the ScheduledJob | - **namespace** | **str**| object name and auth scope, such as for teams and projects | - **body** | [**V2alpha1CronJob**](V2alpha1CronJob.md)| | - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - -### Return type - -[**V2alpha1CronJob**](V2alpha1CronJob.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **replace_namespaced_scheduled_job_status** -> V2alpha1CronJob replace_namespaced_scheduled_job_status(name, namespace, body, pretty=pretty) - - - -replace status of the specified ScheduledJob - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.BatchV2alpha1Api() -name = 'name_example' # str | name of the ScheduledJob -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = openshift.client.V2alpha1CronJob() # V2alpha1CronJob | -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) - -try: - api_response = api_instance.replace_namespaced_scheduled_job_status(name, namespace, body, pretty=pretty) - pprint(api_response) -except ApiException as e: - print("Exception when calling BatchV2alpha1Api->replace_namespaced_scheduled_job_status: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the ScheduledJob | - **namespace** | **str**| object name and auth scope, such as for teams and projects | - **body** | [**V2alpha1CronJob**](V2alpha1CronJob.md)| | - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - -### Return type - -[**V2alpha1CronJob**](V2alpha1CronJob.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - diff --git a/openshift/docs/BuildOpenshiftIoApi.md b/openshift/docs/BuildOpenshiftIoApi.md index 219bc876..242d12d6 100644 --- a/openshift/docs/BuildOpenshiftIoApi.md +++ b/openshift/docs/BuildOpenshiftIoApi.md @@ -4,11 +4,11 @@ All URIs are relative to *https://localhost* Method | HTTP request | Description ------------- | ------------- | ------------- -[**get_build_openshift_io_api_group**](BuildOpenshiftIoApi.md#get_build_openshift_io_api_group) | **GET** /apis/build.openshift.io/ | +[**get_api_group**](BuildOpenshiftIoApi.md#get_api_group) | **GET** /apis/build.openshift.io/ | -# **get_build_openshift_io_api_group** -> UnversionedAPIGroup get_build_openshift_io_api_group() +# **get_api_group** +> V1APIGroup get_api_group() @@ -22,14 +22,23 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.BuildOpenshiftIoApi() try: - api_response = api_instance.get_build_openshift_io_api_group() + api_response = api_instance.get_api_group() pprint(api_response) except ApiException as e: - print("Exception when calling BuildOpenshiftIoApi->get_build_openshift_io_api_group: %s\n" % e) + print("Exception when calling BuildOpenshiftIoApi->get_api_group: %s\n" % e) ``` ### Parameters @@ -37,11 +46,11 @@ This endpoint does not need any parameter. ### Return type -[**UnversionedAPIGroup**](UnversionedAPIGroup.md) +[**V1APIGroup**](V1APIGroup.md) ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers diff --git a/openshift/docs/BuildOpenshiftIoV1Api.md b/openshift/docs/BuildOpenshiftIoV1Api.md index dc1c6821..0e585fa1 100644 --- a/openshift/docs/BuildOpenshiftIoV1Api.md +++ b/openshift/docs/BuildOpenshiftIoV1Api.md @@ -4,36 +4,36 @@ All URIs are relative to *https://localhost* Method | HTTP request | Description ------------- | ------------- | ------------- -[**connect_build_openshift_io_v1_post_namespaced_binary_build_request_options_instantiatebinary**](BuildOpenshiftIoV1Api.md#connect_build_openshift_io_v1_post_namespaced_binary_build_request_options_instantiatebinary) | **POST** /apis/build.openshift.io/v1/namespaces/{namespace}/buildconfigs/{name}/instantiatebinary | -[**connect_build_openshift_io_v1_post_namespaced_status_webhooks**](BuildOpenshiftIoV1Api.md#connect_build_openshift_io_v1_post_namespaced_status_webhooks) | **POST** /apis/build.openshift.io/v1/namespaces/{namespace}/buildconfigs/{name}/webhooks | -[**connect_build_openshift_io_v1_post_namespaced_status_webhooks_with_path**](BuildOpenshiftIoV1Api.md#connect_build_openshift_io_v1_post_namespaced_status_webhooks_with_path) | **POST** /apis/build.openshift.io/v1/namespaces/{namespace}/buildconfigs/{name}/webhooks/{path} | -[**create_build_openshift_io_v1_build_config_for_all_namespaces**](BuildOpenshiftIoV1Api.md#create_build_openshift_io_v1_build_config_for_all_namespaces) | **POST** /apis/build.openshift.io/v1/buildconfigs | -[**create_build_openshift_io_v1_build_for_all_namespaces**](BuildOpenshiftIoV1Api.md#create_build_openshift_io_v1_build_for_all_namespaces) | **POST** /apis/build.openshift.io/v1/builds | -[**create_build_openshift_io_v1_namespaced_build**](BuildOpenshiftIoV1Api.md#create_build_openshift_io_v1_namespaced_build) | **POST** /apis/build.openshift.io/v1/namespaces/{namespace}/builds | -[**create_build_openshift_io_v1_namespaced_build_config**](BuildOpenshiftIoV1Api.md#create_build_openshift_io_v1_namespaced_build_config) | **POST** /apis/build.openshift.io/v1/namespaces/{namespace}/buildconfigs | -[**create_build_openshift_io_v1_namespaced_build_request_clone**](BuildOpenshiftIoV1Api.md#create_build_openshift_io_v1_namespaced_build_request_clone) | **POST** /apis/build.openshift.io/v1/namespaces/{namespace}/builds/{name}/clone | -[**create_build_openshift_io_v1_namespaced_build_request_instantiate**](BuildOpenshiftIoV1Api.md#create_build_openshift_io_v1_namespaced_build_request_instantiate) | **POST** /apis/build.openshift.io/v1/namespaces/{namespace}/buildconfigs/{name}/instantiate | -[**delete_build_openshift_io_v1_collection_namespaced_build**](BuildOpenshiftIoV1Api.md#delete_build_openshift_io_v1_collection_namespaced_build) | **DELETE** /apis/build.openshift.io/v1/namespaces/{namespace}/builds | -[**delete_build_openshift_io_v1_collection_namespaced_build_config**](BuildOpenshiftIoV1Api.md#delete_build_openshift_io_v1_collection_namespaced_build_config) | **DELETE** /apis/build.openshift.io/v1/namespaces/{namespace}/buildconfigs | -[**delete_build_openshift_io_v1_namespaced_build**](BuildOpenshiftIoV1Api.md#delete_build_openshift_io_v1_namespaced_build) | **DELETE** /apis/build.openshift.io/v1/namespaces/{namespace}/builds/{name} | -[**delete_build_openshift_io_v1_namespaced_build_config**](BuildOpenshiftIoV1Api.md#delete_build_openshift_io_v1_namespaced_build_config) | **DELETE** /apis/build.openshift.io/v1/namespaces/{namespace}/buildconfigs/{name} | -[**get_build_openshift_io_v1_api_resources**](BuildOpenshiftIoV1Api.md#get_build_openshift_io_v1_api_resources) | **GET** /apis/build.openshift.io/v1/ | -[**list_build_openshift_io_v1_build_config_for_all_namespaces**](BuildOpenshiftIoV1Api.md#list_build_openshift_io_v1_build_config_for_all_namespaces) | **GET** /apis/build.openshift.io/v1/buildconfigs | -[**list_build_openshift_io_v1_build_for_all_namespaces**](BuildOpenshiftIoV1Api.md#list_build_openshift_io_v1_build_for_all_namespaces) | **GET** /apis/build.openshift.io/v1/builds | -[**list_build_openshift_io_v1_namespaced_build**](BuildOpenshiftIoV1Api.md#list_build_openshift_io_v1_namespaced_build) | **GET** /apis/build.openshift.io/v1/namespaces/{namespace}/builds | -[**list_build_openshift_io_v1_namespaced_build_config**](BuildOpenshiftIoV1Api.md#list_build_openshift_io_v1_namespaced_build_config) | **GET** /apis/build.openshift.io/v1/namespaces/{namespace}/buildconfigs | -[**patch_build_openshift_io_v1_namespaced_build**](BuildOpenshiftIoV1Api.md#patch_build_openshift_io_v1_namespaced_build) | **PATCH** /apis/build.openshift.io/v1/namespaces/{namespace}/builds/{name} | -[**patch_build_openshift_io_v1_namespaced_build_config**](BuildOpenshiftIoV1Api.md#patch_build_openshift_io_v1_namespaced_build_config) | **PATCH** /apis/build.openshift.io/v1/namespaces/{namespace}/buildconfigs/{name} | -[**read_build_openshift_io_v1_namespaced_build**](BuildOpenshiftIoV1Api.md#read_build_openshift_io_v1_namespaced_build) | **GET** /apis/build.openshift.io/v1/namespaces/{namespace}/builds/{name} | -[**read_build_openshift_io_v1_namespaced_build_config**](BuildOpenshiftIoV1Api.md#read_build_openshift_io_v1_namespaced_build_config) | **GET** /apis/build.openshift.io/v1/namespaces/{namespace}/buildconfigs/{name} | -[**read_build_openshift_io_v1_namespaced_build_log_log**](BuildOpenshiftIoV1Api.md#read_build_openshift_io_v1_namespaced_build_log_log) | **GET** /apis/build.openshift.io/v1/namespaces/{namespace}/builds/{name}/log | -[**replace_build_openshift_io_v1_namespaced_build**](BuildOpenshiftIoV1Api.md#replace_build_openshift_io_v1_namespaced_build) | **PUT** /apis/build.openshift.io/v1/namespaces/{namespace}/builds/{name} | -[**replace_build_openshift_io_v1_namespaced_build_config**](BuildOpenshiftIoV1Api.md#replace_build_openshift_io_v1_namespaced_build_config) | **PUT** /apis/build.openshift.io/v1/namespaces/{namespace}/buildconfigs/{name} | -[**replace_build_openshift_io_v1_namespaced_build_details**](BuildOpenshiftIoV1Api.md#replace_build_openshift_io_v1_namespaced_build_details) | **PUT** /apis/build.openshift.io/v1/namespaces/{namespace}/builds/{name}/details | - - -# **connect_build_openshift_io_v1_post_namespaced_binary_build_request_options_instantiatebinary** -> str connect_build_openshift_io_v1_post_namespaced_binary_build_request_options_instantiatebinary(name, namespace, as_file=as_file, revision_author_email=revision_author_email, revision_author_name=revision_author_name, revision_commit=revision_commit, revision_committer_email=revision_committer_email, revision_committer_name=revision_committer_name, revision_message=revision_message) +[**connect_post_namespaced_binary_build_request_options_instantiatebinary**](BuildOpenshiftIoV1Api.md#connect_post_namespaced_binary_build_request_options_instantiatebinary) | **POST** /apis/build.openshift.io/v1/namespaces/{namespace}/buildconfigs/{name}/instantiatebinary | +[**connect_post_namespaced_build_webhooks**](BuildOpenshiftIoV1Api.md#connect_post_namespaced_build_webhooks) | **POST** /apis/build.openshift.io/v1/namespaces/{namespace}/buildconfigs/{name}/webhooks | +[**connect_post_namespaced_build_webhooks_with_path**](BuildOpenshiftIoV1Api.md#connect_post_namespaced_build_webhooks_with_path) | **POST** /apis/build.openshift.io/v1/namespaces/{namespace}/buildconfigs/{name}/webhooks/{path} | +[**create_build_config_for_all_namespaces**](BuildOpenshiftIoV1Api.md#create_build_config_for_all_namespaces) | **POST** /apis/build.openshift.io/v1/buildconfigs | +[**create_build_for_all_namespaces**](BuildOpenshiftIoV1Api.md#create_build_for_all_namespaces) | **POST** /apis/build.openshift.io/v1/builds | +[**create_namespaced_build**](BuildOpenshiftIoV1Api.md#create_namespaced_build) | **POST** /apis/build.openshift.io/v1/namespaces/{namespace}/builds | +[**create_namespaced_build_config**](BuildOpenshiftIoV1Api.md#create_namespaced_build_config) | **POST** /apis/build.openshift.io/v1/namespaces/{namespace}/buildconfigs | +[**create_namespaced_build_request_clone**](BuildOpenshiftIoV1Api.md#create_namespaced_build_request_clone) | **POST** /apis/build.openshift.io/v1/namespaces/{namespace}/builds/{name}/clone | +[**create_namespaced_build_request_instantiate**](BuildOpenshiftIoV1Api.md#create_namespaced_build_request_instantiate) | **POST** /apis/build.openshift.io/v1/namespaces/{namespace}/buildconfigs/{name}/instantiate | +[**delete_collection_namespaced_build**](BuildOpenshiftIoV1Api.md#delete_collection_namespaced_build) | **DELETE** /apis/build.openshift.io/v1/namespaces/{namespace}/builds | +[**delete_collection_namespaced_build_config**](BuildOpenshiftIoV1Api.md#delete_collection_namespaced_build_config) | **DELETE** /apis/build.openshift.io/v1/namespaces/{namespace}/buildconfigs | +[**delete_namespaced_build**](BuildOpenshiftIoV1Api.md#delete_namespaced_build) | **DELETE** /apis/build.openshift.io/v1/namespaces/{namespace}/builds/{name} | +[**delete_namespaced_build_config**](BuildOpenshiftIoV1Api.md#delete_namespaced_build_config) | **DELETE** /apis/build.openshift.io/v1/namespaces/{namespace}/buildconfigs/{name} | +[**get_api_resources**](BuildOpenshiftIoV1Api.md#get_api_resources) | **GET** /apis/build.openshift.io/v1/ | +[**list_build_config_for_all_namespaces**](BuildOpenshiftIoV1Api.md#list_build_config_for_all_namespaces) | **GET** /apis/build.openshift.io/v1/buildconfigs | +[**list_build_for_all_namespaces**](BuildOpenshiftIoV1Api.md#list_build_for_all_namespaces) | **GET** /apis/build.openshift.io/v1/builds | +[**list_namespaced_build**](BuildOpenshiftIoV1Api.md#list_namespaced_build) | **GET** /apis/build.openshift.io/v1/namespaces/{namespace}/builds | +[**list_namespaced_build_config**](BuildOpenshiftIoV1Api.md#list_namespaced_build_config) | **GET** /apis/build.openshift.io/v1/namespaces/{namespace}/buildconfigs | +[**patch_namespaced_build**](BuildOpenshiftIoV1Api.md#patch_namespaced_build) | **PATCH** /apis/build.openshift.io/v1/namespaces/{namespace}/builds/{name} | +[**patch_namespaced_build_config**](BuildOpenshiftIoV1Api.md#patch_namespaced_build_config) | **PATCH** /apis/build.openshift.io/v1/namespaces/{namespace}/buildconfigs/{name} | +[**read_namespaced_build**](BuildOpenshiftIoV1Api.md#read_namespaced_build) | **GET** /apis/build.openshift.io/v1/namespaces/{namespace}/builds/{name} | +[**read_namespaced_build_config**](BuildOpenshiftIoV1Api.md#read_namespaced_build_config) | **GET** /apis/build.openshift.io/v1/namespaces/{namespace}/buildconfigs/{name} | +[**read_namespaced_build_log_log**](BuildOpenshiftIoV1Api.md#read_namespaced_build_log_log) | **GET** /apis/build.openshift.io/v1/namespaces/{namespace}/builds/{name}/log | +[**replace_namespaced_build**](BuildOpenshiftIoV1Api.md#replace_namespaced_build) | **PUT** /apis/build.openshift.io/v1/namespaces/{namespace}/builds/{name} | +[**replace_namespaced_build_config**](BuildOpenshiftIoV1Api.md#replace_namespaced_build_config) | **PUT** /apis/build.openshift.io/v1/namespaces/{namespace}/buildconfigs/{name} | +[**replace_namespaced_build_details**](BuildOpenshiftIoV1Api.md#replace_namespaced_build_details) | **PUT** /apis/build.openshift.io/v1/namespaces/{namespace}/builds/{name}/details | + + +# **connect_post_namespaced_binary_build_request_options_instantiatebinary** +> V1Build connect_post_namespaced_binary_build_request_options_instantiatebinary(name, namespace, as_file=as_file, revision_author_email=revision_author_email, revision_author_name=revision_author_name, revision_commit=revision_commit, revision_committer_email=revision_committer_email, revision_committer_name=revision_committer_name, revision_message=revision_message) @@ -47,6 +47,15 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.BuildOpenshiftIoV1Api() name = 'name_example' # str | name of the BinaryBuildRequestOptions @@ -60,10 +69,10 @@ revision_committer_name = 'revision_committer_name_example' # str | revision.com revision_message = 'revision_message_example' # str | revision.message is the description of a specific commit (optional) try: - api_response = api_instance.connect_build_openshift_io_v1_post_namespaced_binary_build_request_options_instantiatebinary(name, namespace, as_file=as_file, revision_author_email=revision_author_email, revision_author_name=revision_author_name, revision_commit=revision_commit, revision_committer_email=revision_committer_email, revision_committer_name=revision_committer_name, revision_message=revision_message) + api_response = api_instance.connect_post_namespaced_binary_build_request_options_instantiatebinary(name, namespace, as_file=as_file, revision_author_email=revision_author_email, revision_author_name=revision_author_name, revision_commit=revision_commit, revision_committer_email=revision_committer_email, revision_committer_name=revision_committer_name, revision_message=revision_message) pprint(api_response) except ApiException as e: - print("Exception when calling BuildOpenshiftIoV1Api->connect_build_openshift_io_v1_post_namespaced_binary_build_request_options_instantiatebinary: %s\n" % e) + print("Exception when calling BuildOpenshiftIoV1Api->connect_post_namespaced_binary_build_request_options_instantiatebinary: %s\n" % e) ``` ### Parameters @@ -82,11 +91,11 @@ Name | Type | Description | Notes ### Return type -**str** +[**V1Build**](V1Build.md) ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -95,12 +104,12 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **connect_build_openshift_io_v1_post_namespaced_status_webhooks** -> str connect_build_openshift_io_v1_post_namespaced_status_webhooks(name, namespace, path=path) +# **connect_post_namespaced_build_webhooks** +> str connect_post_namespaced_build_webhooks(name, namespace, path=path) -connect POST requests to webhooks of Status +connect POST requests to webhooks of Build ### Example ```python @@ -110,24 +119,33 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.BuildOpenshiftIoV1Api() -name = 'name_example' # str | name of the Status +name = 'name_example' # str | name of the Build namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects path = 'path_example' # str | Path is the URL path to use for the current proxy request to pod. (optional) try: - api_response = api_instance.connect_build_openshift_io_v1_post_namespaced_status_webhooks(name, namespace, path=path) + api_response = api_instance.connect_post_namespaced_build_webhooks(name, namespace, path=path) pprint(api_response) except ApiException as e: - print("Exception when calling BuildOpenshiftIoV1Api->connect_build_openshift_io_v1_post_namespaced_status_webhooks: %s\n" % e) + print("Exception when calling BuildOpenshiftIoV1Api->connect_post_namespaced_build_webhooks: %s\n" % e) ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the Status | + **name** | **str**| name of the Build | **namespace** | **str**| object name and auth scope, such as for teams and projects | **path** | **str**| Path is the URL path to use for the current proxy request to pod. | [optional] @@ -137,7 +155,7 @@ Name | Type | Description | Notes ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -146,12 +164,12 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **connect_build_openshift_io_v1_post_namespaced_status_webhooks_with_path** -> str connect_build_openshift_io_v1_post_namespaced_status_webhooks_with_path(name, namespace, path, path2=path2) +# **connect_post_namespaced_build_webhooks_with_path** +> str connect_post_namespaced_build_webhooks_with_path(name, namespace, path, path2=path2) -connect POST requests to webhooks of Status +connect POST requests to webhooks of Build ### Example ```python @@ -161,25 +179,34 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.BuildOpenshiftIoV1Api() -name = 'name_example' # str | name of the Status +name = 'name_example' # str | name of the Build namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects path = 'path_example' # str | path to the resource path2 = 'path_example' # str | Path is the URL path to use for the current proxy request to pod. (optional) try: - api_response = api_instance.connect_build_openshift_io_v1_post_namespaced_status_webhooks_with_path(name, namespace, path, path2=path2) + api_response = api_instance.connect_post_namespaced_build_webhooks_with_path(name, namespace, path, path2=path2) pprint(api_response) except ApiException as e: - print("Exception when calling BuildOpenshiftIoV1Api->connect_build_openshift_io_v1_post_namespaced_status_webhooks_with_path: %s\n" % e) + print("Exception when calling BuildOpenshiftIoV1Api->connect_post_namespaced_build_webhooks_with_path: %s\n" % e) ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the Status | + **name** | **str**| name of the Build | **namespace** | **str**| object name and auth scope, such as for teams and projects | **path** | **str**| path to the resource | **path2** | **str**| Path is the URL path to use for the current proxy request to pod. | [optional] @@ -190,7 +217,7 @@ Name | Type | Description | Notes ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -199,8 +226,8 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **create_build_openshift_io_v1_build_config_for_all_namespaces** -> V1BuildConfig create_build_openshift_io_v1_build_config_for_all_namespaces(body, pretty=pretty) +# **create_build_config_for_all_namespaces** +> V1BuildConfig create_build_config_for_all_namespaces(body, pretty=pretty) @@ -214,16 +241,25 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.BuildOpenshiftIoV1Api() body = openshift.client.V1BuildConfig() # V1BuildConfig | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) try: - api_response = api_instance.create_build_openshift_io_v1_build_config_for_all_namespaces(body, pretty=pretty) + api_response = api_instance.create_build_config_for_all_namespaces(body, pretty=pretty) pprint(api_response) except ApiException as e: - print("Exception when calling BuildOpenshiftIoV1Api->create_build_openshift_io_v1_build_config_for_all_namespaces: %s\n" % e) + print("Exception when calling BuildOpenshiftIoV1Api->create_build_config_for_all_namespaces: %s\n" % e) ``` ### Parameters @@ -239,7 +275,7 @@ Name | Type | Description | Notes ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -248,8 +284,8 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **create_build_openshift_io_v1_build_for_all_namespaces** -> V1Build create_build_openshift_io_v1_build_for_all_namespaces(body, pretty=pretty) +# **create_build_for_all_namespaces** +> V1Build create_build_for_all_namespaces(body, pretty=pretty) @@ -263,16 +299,25 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.BuildOpenshiftIoV1Api() body = openshift.client.V1Build() # V1Build | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) try: - api_response = api_instance.create_build_openshift_io_v1_build_for_all_namespaces(body, pretty=pretty) + api_response = api_instance.create_build_for_all_namespaces(body, pretty=pretty) pprint(api_response) except ApiException as e: - print("Exception when calling BuildOpenshiftIoV1Api->create_build_openshift_io_v1_build_for_all_namespaces: %s\n" % e) + print("Exception when calling BuildOpenshiftIoV1Api->create_build_for_all_namespaces: %s\n" % e) ``` ### Parameters @@ -288,7 +333,7 @@ Name | Type | Description | Notes ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -297,8 +342,8 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **create_build_openshift_io_v1_namespaced_build** -> V1Build create_build_openshift_io_v1_namespaced_build(namespace, body, pretty=pretty) +# **create_namespaced_build** +> V1Build create_namespaced_build(namespace, body, pretty=pretty) @@ -312,6 +357,15 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.BuildOpenshiftIoV1Api() namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects @@ -319,10 +373,10 @@ body = openshift.client.V1Build() # V1Build | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) try: - api_response = api_instance.create_build_openshift_io_v1_namespaced_build(namespace, body, pretty=pretty) + api_response = api_instance.create_namespaced_build(namespace, body, pretty=pretty) pprint(api_response) except ApiException as e: - print("Exception when calling BuildOpenshiftIoV1Api->create_build_openshift_io_v1_namespaced_build: %s\n" % e) + print("Exception when calling BuildOpenshiftIoV1Api->create_namespaced_build: %s\n" % e) ``` ### Parameters @@ -339,7 +393,7 @@ Name | Type | Description | Notes ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -348,8 +402,8 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **create_build_openshift_io_v1_namespaced_build_config** -> V1BuildConfig create_build_openshift_io_v1_namespaced_build_config(namespace, body, pretty=pretty) +# **create_namespaced_build_config** +> V1BuildConfig create_namespaced_build_config(namespace, body, pretty=pretty) @@ -363,6 +417,15 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.BuildOpenshiftIoV1Api() namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects @@ -370,10 +433,10 @@ body = openshift.client.V1BuildConfig() # V1BuildConfig | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) try: - api_response = api_instance.create_build_openshift_io_v1_namespaced_build_config(namespace, body, pretty=pretty) + api_response = api_instance.create_namespaced_build_config(namespace, body, pretty=pretty) pprint(api_response) except ApiException as e: - print("Exception when calling BuildOpenshiftIoV1Api->create_build_openshift_io_v1_namespaced_build_config: %s\n" % e) + print("Exception when calling BuildOpenshiftIoV1Api->create_namespaced_build_config: %s\n" % e) ``` ### Parameters @@ -390,7 +453,7 @@ Name | Type | Description | Notes ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -399,8 +462,8 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **create_build_openshift_io_v1_namespaced_build_request_clone** -> V1BuildRequest create_build_openshift_io_v1_namespaced_build_request_clone(body, name, namespace, pretty=pretty) +# **create_namespaced_build_request_clone** +> V1BuildRequest create_namespaced_build_request_clone(name, namespace, body, pretty=pretty) @@ -414,27 +477,36 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.BuildOpenshiftIoV1Api() -body = openshift.client.V1BuildRequest() # V1BuildRequest | name = 'name_example' # str | name of the BuildRequest namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects +body = openshift.client.V1BuildRequest() # V1BuildRequest | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) try: - api_response = api_instance.create_build_openshift_io_v1_namespaced_build_request_clone(body, name, namespace, pretty=pretty) + api_response = api_instance.create_namespaced_build_request_clone(name, namespace, body, pretty=pretty) pprint(api_response) except ApiException as e: - print("Exception when calling BuildOpenshiftIoV1Api->create_build_openshift_io_v1_namespaced_build_request_clone: %s\n" % e) + print("Exception when calling BuildOpenshiftIoV1Api->create_namespaced_build_request_clone: %s\n" % e) ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **body** | [**V1BuildRequest**](V1BuildRequest.md)| | **name** | **str**| name of the BuildRequest | **namespace** | **str**| object name and auth scope, such as for teams and projects | + **body** | [**V1BuildRequest**](V1BuildRequest.md)| | **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] ### Return type @@ -443,7 +515,7 @@ Name | Type | Description | Notes ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -452,8 +524,8 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **create_build_openshift_io_v1_namespaced_build_request_instantiate** -> V1BuildRequest create_build_openshift_io_v1_namespaced_build_request_instantiate(body, name, namespace, pretty=pretty) +# **create_namespaced_build_request_instantiate** +> V1Build create_namespaced_build_request_instantiate(name, namespace, body, pretty=pretty) @@ -467,36 +539,45 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.BuildOpenshiftIoV1Api() -body = openshift.client.V1BuildRequest() # V1BuildRequest | name = 'name_example' # str | name of the BuildRequest namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects +body = openshift.client.V1BuildRequest() # V1BuildRequest | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) try: - api_response = api_instance.create_build_openshift_io_v1_namespaced_build_request_instantiate(body, name, namespace, pretty=pretty) + api_response = api_instance.create_namespaced_build_request_instantiate(name, namespace, body, pretty=pretty) pprint(api_response) except ApiException as e: - print("Exception when calling BuildOpenshiftIoV1Api->create_build_openshift_io_v1_namespaced_build_request_instantiate: %s\n" % e) + print("Exception when calling BuildOpenshiftIoV1Api->create_namespaced_build_request_instantiate: %s\n" % e) ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **body** | [**V1BuildRequest**](V1BuildRequest.md)| | **name** | **str**| name of the BuildRequest | **namespace** | **str**| object name and auth scope, such as for teams and projects | + **body** | [**V1BuildRequest**](V1BuildRequest.md)| | **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] ### Return type -[**V1BuildRequest**](V1BuildRequest.md) +[**V1Build**](V1Build.md) ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -505,8 +586,8 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **delete_build_openshift_io_v1_collection_namespaced_build** -> UnversionedStatus delete_build_openshift_io_v1_collection_namespaced_build(namespace, pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) +# **delete_collection_namespaced_build** +> V1Status delete_collection_namespaced_build(namespace, pretty=pretty, field_selector=field_selector, include_uninitialized=include_uninitialized, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) @@ -520,21 +601,31 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.BuildOpenshiftIoV1Api() namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) +include_uninitialized = true # bool | If true, partially initialized resources are included in the response. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. (optional) +resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) timeout_seconds = 56 # int | Timeout for the list/watch call. (optional) watch = true # bool | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) try: - api_response = api_instance.delete_build_openshift_io_v1_collection_namespaced_build(namespace, pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) + api_response = api_instance.delete_collection_namespaced_build(namespace, pretty=pretty, field_selector=field_selector, include_uninitialized=include_uninitialized, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) pprint(api_response) except ApiException as e: - print("Exception when calling BuildOpenshiftIoV1Api->delete_build_openshift_io_v1_collection_namespaced_build: %s\n" % e) + print("Exception when calling BuildOpenshiftIoV1Api->delete_collection_namespaced_build: %s\n" % e) ``` ### Parameters @@ -544,18 +635,19 @@ Name | Type | Description | Notes **namespace** | **str**| object name and auth scope, such as for teams and projects | **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] + **include_uninitialized** | **bool**| If true, partially initialized resources are included in the response. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. | [optional] + **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] **timeout_seconds** | **int**| Timeout for the list/watch call. | [optional] **watch** | **bool**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] ### Return type -[**UnversionedStatus**](UnversionedStatus.md) +[**V1Status**](V1Status.md) ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -564,8 +656,8 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **delete_build_openshift_io_v1_collection_namespaced_build_config** -> UnversionedStatus delete_build_openshift_io_v1_collection_namespaced_build_config(namespace, pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) +# **delete_collection_namespaced_build_config** +> V1Status delete_collection_namespaced_build_config(namespace, pretty=pretty, field_selector=field_selector, include_uninitialized=include_uninitialized, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) @@ -579,21 +671,31 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.BuildOpenshiftIoV1Api() namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) +include_uninitialized = true # bool | If true, partially initialized resources are included in the response. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. (optional) +resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) timeout_seconds = 56 # int | Timeout for the list/watch call. (optional) watch = true # bool | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) try: - api_response = api_instance.delete_build_openshift_io_v1_collection_namespaced_build_config(namespace, pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) + api_response = api_instance.delete_collection_namespaced_build_config(namespace, pretty=pretty, field_selector=field_selector, include_uninitialized=include_uninitialized, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) pprint(api_response) except ApiException as e: - print("Exception when calling BuildOpenshiftIoV1Api->delete_build_openshift_io_v1_collection_namespaced_build_config: %s\n" % e) + print("Exception when calling BuildOpenshiftIoV1Api->delete_collection_namespaced_build_config: %s\n" % e) ``` ### Parameters @@ -603,18 +705,19 @@ Name | Type | Description | Notes **namespace** | **str**| object name and auth scope, such as for teams and projects | **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] + **include_uninitialized** | **bool**| If true, partially initialized resources are included in the response. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. | [optional] + **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] **timeout_seconds** | **int**| Timeout for the list/watch call. | [optional] **watch** | **bool**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] ### Return type -[**UnversionedStatus**](UnversionedStatus.md) +[**V1Status**](V1Status.md) ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -623,8 +726,8 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **delete_build_openshift_io_v1_namespaced_build** -> UnversionedStatus delete_build_openshift_io_v1_namespaced_build(name, namespace, body, pretty=pretty, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents) +# **delete_namespaced_build** +> V1Status delete_namespaced_build(name, namespace, body, pretty=pretty, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) @@ -638,6 +741,15 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.BuildOpenshiftIoV1Api() name = 'name_example' # str | name of the Build @@ -645,13 +757,14 @@ namespace = 'namespace_example' # str | object name and auth scope, such as for body = openshift.client.V1DeleteOptions() # V1DeleteOptions | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) grace_period_seconds = 56 # int | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) -orphan_dependents = true # bool | Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. (optional) +orphan_dependents = true # bool | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) +propagation_policy = 'propagation_policy_example' # str | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. (optional) try: - api_response = api_instance.delete_build_openshift_io_v1_namespaced_build(name, namespace, body, pretty=pretty, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents) + api_response = api_instance.delete_namespaced_build(name, namespace, body, pretty=pretty, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) pprint(api_response) except ApiException as e: - print("Exception when calling BuildOpenshiftIoV1Api->delete_build_openshift_io_v1_namespaced_build: %s\n" % e) + print("Exception when calling BuildOpenshiftIoV1Api->delete_namespaced_build: %s\n" % e) ``` ### Parameters @@ -663,15 +776,16 @@ Name | Type | Description | Notes **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | **pretty** | **str**| If 'true', then the output is pretty printed. | [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] - **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] + **orphan_dependents** | **bool**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional] + **propagation_policy** | **str**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. | [optional] ### Return type -[**UnversionedStatus**](UnversionedStatus.md) +[**V1Status**](V1Status.md) ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -680,8 +794,8 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **delete_build_openshift_io_v1_namespaced_build_config** -> UnversionedStatus delete_build_openshift_io_v1_namespaced_build_config(name, namespace, body, pretty=pretty, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents) +# **delete_namespaced_build_config** +> V1Status delete_namespaced_build_config(name, namespace, body, pretty=pretty, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) @@ -695,6 +809,15 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.BuildOpenshiftIoV1Api() name = 'name_example' # str | name of the BuildConfig @@ -702,13 +825,14 @@ namespace = 'namespace_example' # str | object name and auth scope, such as for body = openshift.client.V1DeleteOptions() # V1DeleteOptions | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) grace_period_seconds = 56 # int | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) -orphan_dependents = true # bool | Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. (optional) +orphan_dependents = true # bool | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) +propagation_policy = 'propagation_policy_example' # str | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. (optional) try: - api_response = api_instance.delete_build_openshift_io_v1_namespaced_build_config(name, namespace, body, pretty=pretty, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents) + api_response = api_instance.delete_namespaced_build_config(name, namespace, body, pretty=pretty, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) pprint(api_response) except ApiException as e: - print("Exception when calling BuildOpenshiftIoV1Api->delete_build_openshift_io_v1_namespaced_build_config: %s\n" % e) + print("Exception when calling BuildOpenshiftIoV1Api->delete_namespaced_build_config: %s\n" % e) ``` ### Parameters @@ -720,15 +844,16 @@ Name | Type | Description | Notes **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | **pretty** | **str**| If 'true', then the output is pretty printed. | [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] - **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] + **orphan_dependents** | **bool**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional] + **propagation_policy** | **str**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. | [optional] ### Return type -[**UnversionedStatus**](UnversionedStatus.md) +[**V1Status**](V1Status.md) ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -737,8 +862,8 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **get_build_openshift_io_v1_api_resources** -> UnversionedAPIResourceList get_build_openshift_io_v1_api_resources() +# **get_api_resources** +> V1APIResourceList get_api_resources() @@ -752,14 +877,23 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.BuildOpenshiftIoV1Api() try: - api_response = api_instance.get_build_openshift_io_v1_api_resources() + api_response = api_instance.get_api_resources() pprint(api_response) except ApiException as e: - print("Exception when calling BuildOpenshiftIoV1Api->get_build_openshift_io_v1_api_resources: %s\n" % e) + print("Exception when calling BuildOpenshiftIoV1Api->get_api_resources: %s\n" % e) ``` ### Parameters @@ -767,11 +901,11 @@ This endpoint does not need any parameter. ### Return type -[**UnversionedAPIResourceList**](UnversionedAPIResourceList.md) +[**V1APIResourceList**](V1APIResourceList.md) ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -780,8 +914,8 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **list_build_openshift_io_v1_build_config_for_all_namespaces** -> V1BuildConfigList list_build_openshift_io_v1_build_config_for_all_namespaces(pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) +# **list_build_config_for_all_namespaces** +> V1BuildConfigList list_build_config_for_all_namespaces(pretty=pretty, field_selector=field_selector, include_uninitialized=include_uninitialized, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) @@ -795,20 +929,30 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.BuildOpenshiftIoV1Api() pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) +include_uninitialized = true # bool | If true, partially initialized resources are included in the response. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. (optional) +resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) timeout_seconds = 56 # int | Timeout for the list/watch call. (optional) watch = true # bool | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) try: - api_response = api_instance.list_build_openshift_io_v1_build_config_for_all_namespaces(pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) + api_response = api_instance.list_build_config_for_all_namespaces(pretty=pretty, field_selector=field_selector, include_uninitialized=include_uninitialized, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) pprint(api_response) except ApiException as e: - print("Exception when calling BuildOpenshiftIoV1Api->list_build_openshift_io_v1_build_config_for_all_namespaces: %s\n" % e) + print("Exception when calling BuildOpenshiftIoV1Api->list_build_config_for_all_namespaces: %s\n" % e) ``` ### Parameters @@ -817,8 +961,9 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] + **include_uninitialized** | **bool**| If true, partially initialized resources are included in the response. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. | [optional] + **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] **timeout_seconds** | **int**| Timeout for the list/watch call. | [optional] **watch** | **bool**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] @@ -828,7 +973,7 @@ Name | Type | Description | Notes ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -837,8 +982,8 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **list_build_openshift_io_v1_build_for_all_namespaces** -> V1BuildList list_build_openshift_io_v1_build_for_all_namespaces(pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) +# **list_build_for_all_namespaces** +> V1BuildList list_build_for_all_namespaces(pretty=pretty, field_selector=field_selector, include_uninitialized=include_uninitialized, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) @@ -852,20 +997,30 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.BuildOpenshiftIoV1Api() pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) +include_uninitialized = true # bool | If true, partially initialized resources are included in the response. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. (optional) +resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) timeout_seconds = 56 # int | Timeout for the list/watch call. (optional) watch = true # bool | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) try: - api_response = api_instance.list_build_openshift_io_v1_build_for_all_namespaces(pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) + api_response = api_instance.list_build_for_all_namespaces(pretty=pretty, field_selector=field_selector, include_uninitialized=include_uninitialized, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) pprint(api_response) except ApiException as e: - print("Exception when calling BuildOpenshiftIoV1Api->list_build_openshift_io_v1_build_for_all_namespaces: %s\n" % e) + print("Exception when calling BuildOpenshiftIoV1Api->list_build_for_all_namespaces: %s\n" % e) ``` ### Parameters @@ -874,8 +1029,9 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] + **include_uninitialized** | **bool**| If true, partially initialized resources are included in the response. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. | [optional] + **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] **timeout_seconds** | **int**| Timeout for the list/watch call. | [optional] **watch** | **bool**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] @@ -885,7 +1041,7 @@ Name | Type | Description | Notes ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -894,8 +1050,8 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **list_build_openshift_io_v1_namespaced_build** -> V1BuildList list_build_openshift_io_v1_namespaced_build(namespace, pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) +# **list_namespaced_build** +> V1BuildList list_namespaced_build(namespace, pretty=pretty, field_selector=field_selector, include_uninitialized=include_uninitialized, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) @@ -909,21 +1065,31 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.BuildOpenshiftIoV1Api() namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) +include_uninitialized = true # bool | If true, partially initialized resources are included in the response. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. (optional) +resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) timeout_seconds = 56 # int | Timeout for the list/watch call. (optional) watch = true # bool | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) try: - api_response = api_instance.list_build_openshift_io_v1_namespaced_build(namespace, pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) + api_response = api_instance.list_namespaced_build(namespace, pretty=pretty, field_selector=field_selector, include_uninitialized=include_uninitialized, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) pprint(api_response) except ApiException as e: - print("Exception when calling BuildOpenshiftIoV1Api->list_build_openshift_io_v1_namespaced_build: %s\n" % e) + print("Exception when calling BuildOpenshiftIoV1Api->list_namespaced_build: %s\n" % e) ``` ### Parameters @@ -933,8 +1099,9 @@ Name | Type | Description | Notes **namespace** | **str**| object name and auth scope, such as for teams and projects | **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] + **include_uninitialized** | **bool**| If true, partially initialized resources are included in the response. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. | [optional] + **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] **timeout_seconds** | **int**| Timeout for the list/watch call. | [optional] **watch** | **bool**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] @@ -944,7 +1111,7 @@ Name | Type | Description | Notes ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -953,8 +1120,8 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **list_build_openshift_io_v1_namespaced_build_config** -> V1BuildConfigList list_build_openshift_io_v1_namespaced_build_config(namespace, pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) +# **list_namespaced_build_config** +> V1BuildConfigList list_namespaced_build_config(namespace, pretty=pretty, field_selector=field_selector, include_uninitialized=include_uninitialized, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) @@ -968,21 +1135,31 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.BuildOpenshiftIoV1Api() namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) +include_uninitialized = true # bool | If true, partially initialized resources are included in the response. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. (optional) +resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) timeout_seconds = 56 # int | Timeout for the list/watch call. (optional) watch = true # bool | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) try: - api_response = api_instance.list_build_openshift_io_v1_namespaced_build_config(namespace, pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) + api_response = api_instance.list_namespaced_build_config(namespace, pretty=pretty, field_selector=field_selector, include_uninitialized=include_uninitialized, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) pprint(api_response) except ApiException as e: - print("Exception when calling BuildOpenshiftIoV1Api->list_build_openshift_io_v1_namespaced_build_config: %s\n" % e) + print("Exception when calling BuildOpenshiftIoV1Api->list_namespaced_build_config: %s\n" % e) ``` ### Parameters @@ -992,8 +1169,9 @@ Name | Type | Description | Notes **namespace** | **str**| object name and auth scope, such as for teams and projects | **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] + **include_uninitialized** | **bool**| If true, partially initialized resources are included in the response. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. | [optional] + **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] **timeout_seconds** | **int**| Timeout for the list/watch call. | [optional] **watch** | **bool**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] @@ -1003,7 +1181,7 @@ Name | Type | Description | Notes ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -1012,8 +1190,8 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **patch_build_openshift_io_v1_namespaced_build** -> V1Build patch_build_openshift_io_v1_namespaced_build(name, namespace, body, pretty=pretty) +# **patch_namespaced_build** +> V1Build patch_namespaced_build(name, namespace, body, pretty=pretty) @@ -1027,18 +1205,27 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.BuildOpenshiftIoV1Api() name = 'name_example' # str | name of the Build namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = openshift.client.UnversionedPatch() # UnversionedPatch | +body = NULL # object | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) try: - api_response = api_instance.patch_build_openshift_io_v1_namespaced_build(name, namespace, body, pretty=pretty) + api_response = api_instance.patch_namespaced_build(name, namespace, body, pretty=pretty) pprint(api_response) except ApiException as e: - print("Exception when calling BuildOpenshiftIoV1Api->patch_build_openshift_io_v1_namespaced_build: %s\n" % e) + print("Exception when calling BuildOpenshiftIoV1Api->patch_namespaced_build: %s\n" % e) ``` ### Parameters @@ -1047,7 +1234,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **name** | **str**| name of the Build | **namespace** | **str**| object name and auth scope, such as for teams and projects | - **body** | [**UnversionedPatch**](UnversionedPatch.md)| | + **body** | **object**| | **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] ### Return type @@ -1056,7 +1243,7 @@ Name | Type | Description | Notes ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -1065,8 +1252,8 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **patch_build_openshift_io_v1_namespaced_build_config** -> V1BuildConfig patch_build_openshift_io_v1_namespaced_build_config(name, namespace, body, pretty=pretty) +# **patch_namespaced_build_config** +> V1BuildConfig patch_namespaced_build_config(name, namespace, body, pretty=pretty) @@ -1080,18 +1267,27 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.BuildOpenshiftIoV1Api() name = 'name_example' # str | name of the BuildConfig namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = openshift.client.UnversionedPatch() # UnversionedPatch | +body = NULL # object | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) try: - api_response = api_instance.patch_build_openshift_io_v1_namespaced_build_config(name, namespace, body, pretty=pretty) + api_response = api_instance.patch_namespaced_build_config(name, namespace, body, pretty=pretty) pprint(api_response) except ApiException as e: - print("Exception when calling BuildOpenshiftIoV1Api->patch_build_openshift_io_v1_namespaced_build_config: %s\n" % e) + print("Exception when calling BuildOpenshiftIoV1Api->patch_namespaced_build_config: %s\n" % e) ``` ### Parameters @@ -1100,7 +1296,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **name** | **str**| name of the BuildConfig | **namespace** | **str**| object name and auth scope, such as for teams and projects | - **body** | [**UnversionedPatch**](UnversionedPatch.md)| | + **body** | **object**| | **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] ### Return type @@ -1109,7 +1305,7 @@ Name | Type | Description | Notes ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -1118,8 +1314,8 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **read_build_openshift_io_v1_namespaced_build** -> V1Build read_build_openshift_io_v1_namespaced_build(name, namespace, pretty=pretty, exact=exact, export=export) +# **read_namespaced_build** +> V1Build read_namespaced_build(name, namespace, pretty=pretty, exact=exact, export=export) @@ -1133,19 +1329,28 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.BuildOpenshiftIoV1Api() name = 'name_example' # str | name of the Build namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) -exact = true # bool | Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace' (optional) +exact = true # bool | Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. (optional) export = true # bool | Should this value be exported. Export strips fields that a user can not specify. (optional) try: - api_response = api_instance.read_build_openshift_io_v1_namespaced_build(name, namespace, pretty=pretty, exact=exact, export=export) + api_response = api_instance.read_namespaced_build(name, namespace, pretty=pretty, exact=exact, export=export) pprint(api_response) except ApiException as e: - print("Exception when calling BuildOpenshiftIoV1Api->read_build_openshift_io_v1_namespaced_build: %s\n" % e) + print("Exception when calling BuildOpenshiftIoV1Api->read_namespaced_build: %s\n" % e) ``` ### Parameters @@ -1155,7 +1360,7 @@ Name | Type | Description | Notes **name** | **str**| name of the Build | **namespace** | **str**| object name and auth scope, such as for teams and projects | **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - **exact** | **bool**| Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace' | [optional] + **exact** | **bool**| Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. | [optional] **export** | **bool**| Should this value be exported. Export strips fields that a user can not specify. | [optional] ### Return type @@ -1164,7 +1369,7 @@ Name | Type | Description | Notes ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -1173,8 +1378,8 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **read_build_openshift_io_v1_namespaced_build_config** -> V1BuildConfig read_build_openshift_io_v1_namespaced_build_config(name, namespace, pretty=pretty, exact=exact, export=export) +# **read_namespaced_build_config** +> V1BuildConfig read_namespaced_build_config(name, namespace, pretty=pretty, exact=exact, export=export) @@ -1188,19 +1393,28 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.BuildOpenshiftIoV1Api() name = 'name_example' # str | name of the BuildConfig namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) -exact = true # bool | Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace' (optional) +exact = true # bool | Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. (optional) export = true # bool | Should this value be exported. Export strips fields that a user can not specify. (optional) try: - api_response = api_instance.read_build_openshift_io_v1_namespaced_build_config(name, namespace, pretty=pretty, exact=exact, export=export) + api_response = api_instance.read_namespaced_build_config(name, namespace, pretty=pretty, exact=exact, export=export) pprint(api_response) except ApiException as e: - print("Exception when calling BuildOpenshiftIoV1Api->read_build_openshift_io_v1_namespaced_build_config: %s\n" % e) + print("Exception when calling BuildOpenshiftIoV1Api->read_namespaced_build_config: %s\n" % e) ``` ### Parameters @@ -1210,7 +1424,7 @@ Name | Type | Description | Notes **name** | **str**| name of the BuildConfig | **namespace** | **str**| object name and auth scope, such as for teams and projects | **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - **exact** | **bool**| Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace' | [optional] + **exact** | **bool**| Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. | [optional] **export** | **bool**| Should this value be exported. Export strips fields that a user can not specify. | [optional] ### Return type @@ -1219,7 +1433,7 @@ Name | Type | Description | Notes ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -1228,8 +1442,8 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **read_build_openshift_io_v1_namespaced_build_log_log** -> V1BuildLog read_build_openshift_io_v1_namespaced_build_log_log(name, namespace, container=container, follow=follow, limit_bytes=limit_bytes, nowait=nowait, pretty=pretty, previous=previous, since_seconds=since_seconds, since_time=since_time, tail_lines=tail_lines, timestamps=timestamps, version=version) +# **read_namespaced_build_log_log** +> V1BuildLog read_namespaced_build_log_log(name, namespace, container=container, follow=follow, limit_bytes=limit_bytes, nowait=nowait, pretty=pretty, previous=previous, since_seconds=since_seconds, tail_lines=tail_lines, timestamps=timestamps, version=version) @@ -1243,6 +1457,15 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.BuildOpenshiftIoV1Api() name = 'name_example' # str | name of the BuildLog @@ -1254,16 +1477,15 @@ nowait = true # bool | noWait if true causes the call to return immediately even pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) previous = true # bool | previous returns previous build logs. Defaults to false. (optional) since_seconds = 56 # int | sinceSeconds is a relative time in seconds before the current time from which to show logs. If this value precedes the time a pod was started, only logs since the pod start will be returned. If this value is in the future, no logs will be returned. Only one of sinceSeconds or sinceTime may be specified. (optional) -since_time = 'since_time_example' # str | sinceTime is an RFC3339 timestamp from which to show logs. If this value precedes the time a pod was started, only logs since the pod start will be returned. If this value is in the future, no logs will be returned. Only one of sinceSeconds or sinceTime may be specified. (optional) tail_lines = 56 # int | tailLines, If set, is the number of lines from the end of the logs to show. If not specified, logs are shown from the creation of the container or sinceSeconds or sinceTime (optional) timestamps = true # bool | timestamps, If true, add an RFC3339 or RFC3339Nano timestamp at the beginning of every line of log output. Defaults to false. (optional) version = 56 # int | version of the build for which to view logs. (optional) try: - api_response = api_instance.read_build_openshift_io_v1_namespaced_build_log_log(name, namespace, container=container, follow=follow, limit_bytes=limit_bytes, nowait=nowait, pretty=pretty, previous=previous, since_seconds=since_seconds, since_time=since_time, tail_lines=tail_lines, timestamps=timestamps, version=version) + api_response = api_instance.read_namespaced_build_log_log(name, namespace, container=container, follow=follow, limit_bytes=limit_bytes, nowait=nowait, pretty=pretty, previous=previous, since_seconds=since_seconds, tail_lines=tail_lines, timestamps=timestamps, version=version) pprint(api_response) except ApiException as e: - print("Exception when calling BuildOpenshiftIoV1Api->read_build_openshift_io_v1_namespaced_build_log_log: %s\n" % e) + print("Exception when calling BuildOpenshiftIoV1Api->read_namespaced_build_log_log: %s\n" % e) ``` ### Parameters @@ -1279,7 +1501,6 @@ Name | Type | Description | Notes **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] **previous** | **bool**| previous returns previous build logs. Defaults to false. | [optional] **since_seconds** | **int**| sinceSeconds is a relative time in seconds before the current time from which to show logs. If this value precedes the time a pod was started, only logs since the pod start will be returned. If this value is in the future, no logs will be returned. Only one of sinceSeconds or sinceTime may be specified. | [optional] - **since_time** | **str**| sinceTime is an RFC3339 timestamp from which to show logs. If this value precedes the time a pod was started, only logs since the pod start will be returned. If this value is in the future, no logs will be returned. Only one of sinceSeconds or sinceTime may be specified. | [optional] **tail_lines** | **int**| tailLines, If set, is the number of lines from the end of the logs to show. If not specified, logs are shown from the creation of the container or sinceSeconds or sinceTime | [optional] **timestamps** | **bool**| timestamps, If true, add an RFC3339 or RFC3339Nano timestamp at the beginning of every line of log output. Defaults to false. | [optional] **version** | **int**| version of the build for which to view logs. | [optional] @@ -1290,7 +1511,7 @@ Name | Type | Description | Notes ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -1299,8 +1520,8 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **replace_build_openshift_io_v1_namespaced_build** -> V1Build replace_build_openshift_io_v1_namespaced_build(name, namespace, body, pretty=pretty) +# **replace_namespaced_build** +> V1Build replace_namespaced_build(name, namespace, body, pretty=pretty) @@ -1314,6 +1535,15 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.BuildOpenshiftIoV1Api() name = 'name_example' # str | name of the Build @@ -1322,10 +1552,10 @@ body = openshift.client.V1Build() # V1Build | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) try: - api_response = api_instance.replace_build_openshift_io_v1_namespaced_build(name, namespace, body, pretty=pretty) + api_response = api_instance.replace_namespaced_build(name, namespace, body, pretty=pretty) pprint(api_response) except ApiException as e: - print("Exception when calling BuildOpenshiftIoV1Api->replace_build_openshift_io_v1_namespaced_build: %s\n" % e) + print("Exception when calling BuildOpenshiftIoV1Api->replace_namespaced_build: %s\n" % e) ``` ### Parameters @@ -1343,7 +1573,7 @@ Name | Type | Description | Notes ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -1352,8 +1582,8 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **replace_build_openshift_io_v1_namespaced_build_config** -> V1BuildConfig replace_build_openshift_io_v1_namespaced_build_config(name, namespace, body, pretty=pretty) +# **replace_namespaced_build_config** +> V1BuildConfig replace_namespaced_build_config(name, namespace, body, pretty=pretty) @@ -1367,6 +1597,15 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.BuildOpenshiftIoV1Api() name = 'name_example' # str | name of the BuildConfig @@ -1375,10 +1614,10 @@ body = openshift.client.V1BuildConfig() # V1BuildConfig | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) try: - api_response = api_instance.replace_build_openshift_io_v1_namespaced_build_config(name, namespace, body, pretty=pretty) + api_response = api_instance.replace_namespaced_build_config(name, namespace, body, pretty=pretty) pprint(api_response) except ApiException as e: - print("Exception when calling BuildOpenshiftIoV1Api->replace_build_openshift_io_v1_namespaced_build_config: %s\n" % e) + print("Exception when calling BuildOpenshiftIoV1Api->replace_namespaced_build_config: %s\n" % e) ``` ### Parameters @@ -1396,7 +1635,7 @@ Name | Type | Description | Notes ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -1405,8 +1644,8 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **replace_build_openshift_io_v1_namespaced_build_details** -> V1Build replace_build_openshift_io_v1_namespaced_build_details(body, name, namespace, pretty=pretty) +# **replace_namespaced_build_details** +> V1Build replace_namespaced_build_details(name, namespace, body, pretty=pretty) @@ -1420,27 +1659,36 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.BuildOpenshiftIoV1Api() -body = openshift.client.V1Build() # V1Build | name = 'name_example' # str | name of the Build namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects +body = openshift.client.V1Build() # V1Build | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) try: - api_response = api_instance.replace_build_openshift_io_v1_namespaced_build_details(body, name, namespace, pretty=pretty) + api_response = api_instance.replace_namespaced_build_details(name, namespace, body, pretty=pretty) pprint(api_response) except ApiException as e: - print("Exception when calling BuildOpenshiftIoV1Api->replace_build_openshift_io_v1_namespaced_build_details: %s\n" % e) + print("Exception when calling BuildOpenshiftIoV1Api->replace_namespaced_build_details: %s\n" % e) ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **body** | [**V1Build**](V1Build.md)| | **name** | **str**| name of the Build | **namespace** | **str**| object name and auth scope, such as for teams and projects | + **body** | [**V1Build**](V1Build.md)| | **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] ### Return type @@ -1449,7 +1697,7 @@ Name | Type | Description | Notes ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers diff --git a/openshift/docs/CertificatesApi.md b/openshift/docs/CertificatesApi.md deleted file mode 100644 index 22b7ec1e..00000000 --- a/openshift/docs/CertificatesApi.md +++ /dev/null @@ -1,52 +0,0 @@ -# openshift.client.CertificatesApi - -All URIs are relative to *https://localhost* - -Method | HTTP request | Description -------------- | ------------- | ------------- -[**get_certificates_api_group**](CertificatesApi.md#get_certificates_api_group) | **GET** /apis/certificates.k8s.io/ | - - -# **get_certificates_api_group** -> UnversionedAPIGroup get_certificates_api_group() - - - -get information of a group - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.CertificatesApi() - -try: - api_response = api_instance.get_certificates_api_group() - pprint(api_response) -except ApiException as e: - print("Exception when calling CertificatesApi->get_certificates_api_group: %s\n" % e) -``` - -### Parameters -This endpoint does not need any parameter. - -### Return type - -[**UnversionedAPIGroup**](UnversionedAPIGroup.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: application/json, application/yaml, application/vnd.kubernetes.protobuf - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - diff --git a/openshift/docs/CertificatesV1alpha1Api.md b/openshift/docs/CertificatesV1alpha1Api.md deleted file mode 100644 index 463906aa..00000000 --- a/openshift/docs/CertificatesV1alpha1Api.md +++ /dev/null @@ -1,536 +0,0 @@ -# openshift.client.CertificatesV1alpha1Api - -All URIs are relative to *https://localhost* - -Method | HTTP request | Description -------------- | ------------- | ------------- -[**create_certificate_signing_request**](CertificatesV1alpha1Api.md#create_certificate_signing_request) | **POST** /apis/certificates.k8s.io/v1alpha1/certificatesigningrequests | -[**delete_certificate_signing_request**](CertificatesV1alpha1Api.md#delete_certificate_signing_request) | **DELETE** /apis/certificates.k8s.io/v1alpha1/certificatesigningrequests/{name} | -[**delete_collection_certificate_signing_request**](CertificatesV1alpha1Api.md#delete_collection_certificate_signing_request) | **DELETE** /apis/certificates.k8s.io/v1alpha1/certificatesigningrequests | -[**get_api_resources**](CertificatesV1alpha1Api.md#get_api_resources) | **GET** /apis/certificates.k8s.io/v1alpha1/ | -[**list_certificate_signing_request**](CertificatesV1alpha1Api.md#list_certificate_signing_request) | **GET** /apis/certificates.k8s.io/v1alpha1/certificatesigningrequests | -[**patch_certificate_signing_request**](CertificatesV1alpha1Api.md#patch_certificate_signing_request) | **PATCH** /apis/certificates.k8s.io/v1alpha1/certificatesigningrequests/{name} | -[**read_certificate_signing_request**](CertificatesV1alpha1Api.md#read_certificate_signing_request) | **GET** /apis/certificates.k8s.io/v1alpha1/certificatesigningrequests/{name} | -[**replace_certificate_signing_request**](CertificatesV1alpha1Api.md#replace_certificate_signing_request) | **PUT** /apis/certificates.k8s.io/v1alpha1/certificatesigningrequests/{name} | -[**replace_certificate_signing_request_approval**](CertificatesV1alpha1Api.md#replace_certificate_signing_request_approval) | **PUT** /apis/certificates.k8s.io/v1alpha1/certificatesigningrequests/{name}/approval | -[**replace_certificate_signing_request_status**](CertificatesV1alpha1Api.md#replace_certificate_signing_request_status) | **PUT** /apis/certificates.k8s.io/v1alpha1/certificatesigningrequests/{name}/status | - - -# **create_certificate_signing_request** -> V1alpha1CertificateSigningRequest create_certificate_signing_request(body, pretty=pretty) - - - -create a CertificateSigningRequest - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.CertificatesV1alpha1Api() -body = openshift.client.V1alpha1CertificateSigningRequest() # V1alpha1CertificateSigningRequest | -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) - -try: - api_response = api_instance.create_certificate_signing_request(body, pretty=pretty) - pprint(api_response) -except ApiException as e: - print("Exception when calling CertificatesV1alpha1Api->create_certificate_signing_request: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **body** | [**V1alpha1CertificateSigningRequest**](V1alpha1CertificateSigningRequest.md)| | - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - -### Return type - -[**V1alpha1CertificateSigningRequest**](V1alpha1CertificateSigningRequest.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **delete_certificate_signing_request** -> UnversionedStatus delete_certificate_signing_request(name, body, pretty=pretty, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents) - - - -delete a CertificateSigningRequest - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.CertificatesV1alpha1Api() -name = 'name_example' # str | name of the CertificateSigningRequest -body = openshift.client.V1DeleteOptions() # V1DeleteOptions | -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) -grace_period_seconds = 56 # int | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) -orphan_dependents = true # bool | Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. (optional) - -try: - api_response = api_instance.delete_certificate_signing_request(name, body, pretty=pretty, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents) - pprint(api_response) -except ApiException as e: - print("Exception when calling CertificatesV1alpha1Api->delete_certificate_signing_request: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the CertificateSigningRequest | - **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | - **pretty** | **str**| If 'true', then the output is pretty printed. | [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] - **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] - -### Return type - -[**UnversionedStatus**](UnversionedStatus.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **delete_collection_certificate_signing_request** -> UnversionedStatus delete_collection_certificate_signing_request(pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) - - - -delete collection of CertificateSigningRequest - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.CertificatesV1alpha1Api() -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) -field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) -label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. (optional) -timeout_seconds = 56 # int | Timeout for the list/watch call. (optional) -watch = true # bool | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) - -try: - api_response = api_instance.delete_collection_certificate_signing_request(pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) - pprint(api_response) -except ApiException as e: - print("Exception when calling CertificatesV1alpha1Api->delete_collection_certificate_signing_request: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] - **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. | [optional] - **timeout_seconds** | **int**| Timeout for the list/watch call. | [optional] - **watch** | **bool**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] - -### Return type - -[**UnversionedStatus**](UnversionedStatus.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **get_api_resources** -> UnversionedAPIResourceList get_api_resources() - - - -get available resources - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.CertificatesV1alpha1Api() - -try: - api_response = api_instance.get_api_resources() - pprint(api_response) -except ApiException as e: - print("Exception when calling CertificatesV1alpha1Api->get_api_resources: %s\n" % e) -``` - -### Parameters -This endpoint does not need any parameter. - -### Return type - -[**UnversionedAPIResourceList**](UnversionedAPIResourceList.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: application/json, application/yaml, application/vnd.kubernetes.protobuf - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **list_certificate_signing_request** -> V1alpha1CertificateSigningRequestList list_certificate_signing_request(pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) - - - -list or watch objects of kind CertificateSigningRequest - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.CertificatesV1alpha1Api() -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) -field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) -label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. (optional) -timeout_seconds = 56 # int | Timeout for the list/watch call. (optional) -watch = true # bool | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) - -try: - api_response = api_instance.list_certificate_signing_request(pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) - pprint(api_response) -except ApiException as e: - print("Exception when calling CertificatesV1alpha1Api->list_certificate_signing_request: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] - **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. | [optional] - **timeout_seconds** | **int**| Timeout for the list/watch call. | [optional] - **watch** | **bool**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] - -### Return type - -[**V1alpha1CertificateSigningRequestList**](V1alpha1CertificateSigningRequestList.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **patch_certificate_signing_request** -> V1alpha1CertificateSigningRequest patch_certificate_signing_request(name, body, pretty=pretty) - - - -partially update the specified CertificateSigningRequest - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.CertificatesV1alpha1Api() -name = 'name_example' # str | name of the CertificateSigningRequest -body = openshift.client.UnversionedPatch() # UnversionedPatch | -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) - -try: - api_response = api_instance.patch_certificate_signing_request(name, body, pretty=pretty) - pprint(api_response) -except ApiException as e: - print("Exception when calling CertificatesV1alpha1Api->patch_certificate_signing_request: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the CertificateSigningRequest | - **body** | [**UnversionedPatch**](UnversionedPatch.md)| | - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - -### Return type - -[**V1alpha1CertificateSigningRequest**](V1alpha1CertificateSigningRequest.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **read_certificate_signing_request** -> V1alpha1CertificateSigningRequest read_certificate_signing_request(name, pretty=pretty, exact=exact, export=export) - - - -read the specified CertificateSigningRequest - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.CertificatesV1alpha1Api() -name = 'name_example' # str | name of the CertificateSigningRequest -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) -exact = true # bool | Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace' (optional) -export = true # bool | Should this value be exported. Export strips fields that a user can not specify. (optional) - -try: - api_response = api_instance.read_certificate_signing_request(name, pretty=pretty, exact=exact, export=export) - pprint(api_response) -except ApiException as e: - print("Exception when calling CertificatesV1alpha1Api->read_certificate_signing_request: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the CertificateSigningRequest | - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - **exact** | **bool**| Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace' | [optional] - **export** | **bool**| Should this value be exported. Export strips fields that a user can not specify. | [optional] - -### Return type - -[**V1alpha1CertificateSigningRequest**](V1alpha1CertificateSigningRequest.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **replace_certificate_signing_request** -> V1alpha1CertificateSigningRequest replace_certificate_signing_request(name, body, pretty=pretty) - - - -replace the specified CertificateSigningRequest - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.CertificatesV1alpha1Api() -name = 'name_example' # str | name of the CertificateSigningRequest -body = openshift.client.V1alpha1CertificateSigningRequest() # V1alpha1CertificateSigningRequest | -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) - -try: - api_response = api_instance.replace_certificate_signing_request(name, body, pretty=pretty) - pprint(api_response) -except ApiException as e: - print("Exception when calling CertificatesV1alpha1Api->replace_certificate_signing_request: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the CertificateSigningRequest | - **body** | [**V1alpha1CertificateSigningRequest**](V1alpha1CertificateSigningRequest.md)| | - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - -### Return type - -[**V1alpha1CertificateSigningRequest**](V1alpha1CertificateSigningRequest.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **replace_certificate_signing_request_approval** -> V1alpha1CertificateSigningRequest replace_certificate_signing_request_approval(body, name, pretty=pretty) - - - -replace approval of the specified CertificateSigningRequest - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.CertificatesV1alpha1Api() -body = openshift.client.V1alpha1CertificateSigningRequest() # V1alpha1CertificateSigningRequest | -name = 'name_example' # str | name of the CertificateSigningRequest -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) - -try: - api_response = api_instance.replace_certificate_signing_request_approval(body, name, pretty=pretty) - pprint(api_response) -except ApiException as e: - print("Exception when calling CertificatesV1alpha1Api->replace_certificate_signing_request_approval: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **body** | [**V1alpha1CertificateSigningRequest**](V1alpha1CertificateSigningRequest.md)| | - **name** | **str**| name of the CertificateSigningRequest | - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - -### Return type - -[**V1alpha1CertificateSigningRequest**](V1alpha1CertificateSigningRequest.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **replace_certificate_signing_request_status** -> V1alpha1CertificateSigningRequest replace_certificate_signing_request_status(body, name, pretty=pretty) - - - -replace status of the specified CertificateSigningRequest - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.CertificatesV1alpha1Api() -body = openshift.client.V1alpha1CertificateSigningRequest() # V1alpha1CertificateSigningRequest | -name = 'name_example' # str | name of the CertificateSigningRequest -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) - -try: - api_response = api_instance.replace_certificate_signing_request_status(body, name, pretty=pretty) - pprint(api_response) -except ApiException as e: - print("Exception when calling CertificatesV1alpha1Api->replace_certificate_signing_request_status: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **body** | [**V1alpha1CertificateSigningRequest**](V1alpha1CertificateSigningRequest.md)| | - **name** | **str**| name of the CertificateSigningRequest | - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - -### Return type - -[**V1alpha1CertificateSigningRequest**](V1alpha1CertificateSigningRequest.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - diff --git a/openshift/docs/CoreApi.md b/openshift/docs/CoreApi.md deleted file mode 100644 index 12652dfa..00000000 --- a/openshift/docs/CoreApi.md +++ /dev/null @@ -1,52 +0,0 @@ -# openshift.client.CoreApi - -All URIs are relative to *https://localhost* - -Method | HTTP request | Description -------------- | ------------- | ------------- -[**get_core_api_versions**](CoreApi.md#get_core_api_versions) | **GET** /api/ | - - -# **get_core_api_versions** -> UnversionedAPIVersions get_core_api_versions() - - - -get available API versions - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.CoreApi() - -try: - api_response = api_instance.get_core_api_versions() - pprint(api_response) -except ApiException as e: - print("Exception when calling CoreApi->get_core_api_versions: %s\n" % e) -``` - -### Parameters -This endpoint does not need any parameter. - -### Return type - -[**UnversionedAPIVersions**](UnversionedAPIVersions.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: application/json, application/yaml, application/vnd.kubernetes.protobuf - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - diff --git a/openshift/docs/CoreV1Api.md b/openshift/docs/CoreV1Api.md deleted file mode 100644 index 768e85af..00000000 --- a/openshift/docs/CoreV1Api.md +++ /dev/null @@ -1,13430 +0,0 @@ -# openshift.client.CoreV1Api - -All URIs are relative to *https://localhost* - -Method | HTTP request | Description -------------- | ------------- | ------------- -[**connect_delete_namespaced_pod_proxy**](CoreV1Api.md#connect_delete_namespaced_pod_proxy) | **DELETE** /api/v1/namespaces/{namespace}/pods/{name}/proxy | -[**connect_delete_namespaced_pod_proxy_with_path**](CoreV1Api.md#connect_delete_namespaced_pod_proxy_with_path) | **DELETE** /api/v1/namespaces/{namespace}/pods/{name}/proxy/{path} | -[**connect_delete_namespaced_service_proxy**](CoreV1Api.md#connect_delete_namespaced_service_proxy) | **DELETE** /api/v1/namespaces/{namespace}/services/{name}/proxy | -[**connect_delete_namespaced_service_proxy_with_path**](CoreV1Api.md#connect_delete_namespaced_service_proxy_with_path) | **DELETE** /api/v1/namespaces/{namespace}/services/{name}/proxy/{path} | -[**connect_delete_node_proxy**](CoreV1Api.md#connect_delete_node_proxy) | **DELETE** /api/v1/nodes/{name}/proxy | -[**connect_delete_node_proxy_with_path**](CoreV1Api.md#connect_delete_node_proxy_with_path) | **DELETE** /api/v1/nodes/{name}/proxy/{path} | -[**connect_get_namespaced_pod_attach**](CoreV1Api.md#connect_get_namespaced_pod_attach) | **GET** /api/v1/namespaces/{namespace}/pods/{name}/attach | -[**connect_get_namespaced_pod_exec**](CoreV1Api.md#connect_get_namespaced_pod_exec) | **GET** /api/v1/namespaces/{namespace}/pods/{name}/exec | -[**connect_get_namespaced_pod_portforward**](CoreV1Api.md#connect_get_namespaced_pod_portforward) | **GET** /api/v1/namespaces/{namespace}/pods/{name}/portforward | -[**connect_get_namespaced_pod_proxy**](CoreV1Api.md#connect_get_namespaced_pod_proxy) | **GET** /api/v1/namespaces/{namespace}/pods/{name}/proxy | -[**connect_get_namespaced_pod_proxy_with_path**](CoreV1Api.md#connect_get_namespaced_pod_proxy_with_path) | **GET** /api/v1/namespaces/{namespace}/pods/{name}/proxy/{path} | -[**connect_get_namespaced_service_proxy**](CoreV1Api.md#connect_get_namespaced_service_proxy) | **GET** /api/v1/namespaces/{namespace}/services/{name}/proxy | -[**connect_get_namespaced_service_proxy_with_path**](CoreV1Api.md#connect_get_namespaced_service_proxy_with_path) | **GET** /api/v1/namespaces/{namespace}/services/{name}/proxy/{path} | -[**connect_get_node_proxy**](CoreV1Api.md#connect_get_node_proxy) | **GET** /api/v1/nodes/{name}/proxy | -[**connect_get_node_proxy_with_path**](CoreV1Api.md#connect_get_node_proxy_with_path) | **GET** /api/v1/nodes/{name}/proxy/{path} | -[**connect_head_namespaced_pod_proxy**](CoreV1Api.md#connect_head_namespaced_pod_proxy) | **HEAD** /api/v1/namespaces/{namespace}/pods/{name}/proxy | -[**connect_head_namespaced_pod_proxy_with_path**](CoreV1Api.md#connect_head_namespaced_pod_proxy_with_path) | **HEAD** /api/v1/namespaces/{namespace}/pods/{name}/proxy/{path} | -[**connect_head_namespaced_service_proxy**](CoreV1Api.md#connect_head_namespaced_service_proxy) | **HEAD** /api/v1/namespaces/{namespace}/services/{name}/proxy | -[**connect_head_namespaced_service_proxy_with_path**](CoreV1Api.md#connect_head_namespaced_service_proxy_with_path) | **HEAD** /api/v1/namespaces/{namespace}/services/{name}/proxy/{path} | -[**connect_head_node_proxy**](CoreV1Api.md#connect_head_node_proxy) | **HEAD** /api/v1/nodes/{name}/proxy | -[**connect_head_node_proxy_with_path**](CoreV1Api.md#connect_head_node_proxy_with_path) | **HEAD** /api/v1/nodes/{name}/proxy/{path} | -[**connect_options_namespaced_pod_proxy**](CoreV1Api.md#connect_options_namespaced_pod_proxy) | **OPTIONS** /api/v1/namespaces/{namespace}/pods/{name}/proxy | -[**connect_options_namespaced_pod_proxy_with_path**](CoreV1Api.md#connect_options_namespaced_pod_proxy_with_path) | **OPTIONS** /api/v1/namespaces/{namespace}/pods/{name}/proxy/{path} | -[**connect_options_namespaced_service_proxy**](CoreV1Api.md#connect_options_namespaced_service_proxy) | **OPTIONS** /api/v1/namespaces/{namespace}/services/{name}/proxy | -[**connect_options_namespaced_service_proxy_with_path**](CoreV1Api.md#connect_options_namespaced_service_proxy_with_path) | **OPTIONS** /api/v1/namespaces/{namespace}/services/{name}/proxy/{path} | -[**connect_options_node_proxy**](CoreV1Api.md#connect_options_node_proxy) | **OPTIONS** /api/v1/nodes/{name}/proxy | -[**connect_options_node_proxy_with_path**](CoreV1Api.md#connect_options_node_proxy_with_path) | **OPTIONS** /api/v1/nodes/{name}/proxy/{path} | -[**connect_post_namespaced_pod_attach**](CoreV1Api.md#connect_post_namespaced_pod_attach) | **POST** /api/v1/namespaces/{namespace}/pods/{name}/attach | -[**connect_post_namespaced_pod_exec**](CoreV1Api.md#connect_post_namespaced_pod_exec) | **POST** /api/v1/namespaces/{namespace}/pods/{name}/exec | -[**connect_post_namespaced_pod_portforward**](CoreV1Api.md#connect_post_namespaced_pod_portforward) | **POST** /api/v1/namespaces/{namespace}/pods/{name}/portforward | -[**connect_post_namespaced_pod_proxy**](CoreV1Api.md#connect_post_namespaced_pod_proxy) | **POST** /api/v1/namespaces/{namespace}/pods/{name}/proxy | -[**connect_post_namespaced_pod_proxy_with_path**](CoreV1Api.md#connect_post_namespaced_pod_proxy_with_path) | **POST** /api/v1/namespaces/{namespace}/pods/{name}/proxy/{path} | -[**connect_post_namespaced_service_proxy**](CoreV1Api.md#connect_post_namespaced_service_proxy) | **POST** /api/v1/namespaces/{namespace}/services/{name}/proxy | -[**connect_post_namespaced_service_proxy_with_path**](CoreV1Api.md#connect_post_namespaced_service_proxy_with_path) | **POST** /api/v1/namespaces/{namespace}/services/{name}/proxy/{path} | -[**connect_post_node_proxy**](CoreV1Api.md#connect_post_node_proxy) | **POST** /api/v1/nodes/{name}/proxy | -[**connect_post_node_proxy_with_path**](CoreV1Api.md#connect_post_node_proxy_with_path) | **POST** /api/v1/nodes/{name}/proxy/{path} | -[**connect_put_namespaced_pod_proxy**](CoreV1Api.md#connect_put_namespaced_pod_proxy) | **PUT** /api/v1/namespaces/{namespace}/pods/{name}/proxy | -[**connect_put_namespaced_pod_proxy_with_path**](CoreV1Api.md#connect_put_namespaced_pod_proxy_with_path) | **PUT** /api/v1/namespaces/{namespace}/pods/{name}/proxy/{path} | -[**connect_put_namespaced_service_proxy**](CoreV1Api.md#connect_put_namespaced_service_proxy) | **PUT** /api/v1/namespaces/{namespace}/services/{name}/proxy | -[**connect_put_namespaced_service_proxy_with_path**](CoreV1Api.md#connect_put_namespaced_service_proxy_with_path) | **PUT** /api/v1/namespaces/{namespace}/services/{name}/proxy/{path} | -[**connect_put_node_proxy**](CoreV1Api.md#connect_put_node_proxy) | **PUT** /api/v1/nodes/{name}/proxy | -[**connect_put_node_proxy_with_path**](CoreV1Api.md#connect_put_node_proxy_with_path) | **PUT** /api/v1/nodes/{name}/proxy/{path} | -[**create_binding_for_all_namespaces**](CoreV1Api.md#create_binding_for_all_namespaces) | **POST** /api/v1/bindings | -[**create_config_map_for_all_namespaces**](CoreV1Api.md#create_config_map_for_all_namespaces) | **POST** /api/v1/configmaps | -[**create_endpoints_for_all_namespaces**](CoreV1Api.md#create_endpoints_for_all_namespaces) | **POST** /api/v1/endpoints | -[**create_event_for_all_namespaces**](CoreV1Api.md#create_event_for_all_namespaces) | **POST** /api/v1/events | -[**create_limit_range_for_all_namespaces**](CoreV1Api.md#create_limit_range_for_all_namespaces) | **POST** /api/v1/limitranges | -[**create_namespace**](CoreV1Api.md#create_namespace) | **POST** /api/v1/namespaces | -[**create_namespaced_binding**](CoreV1Api.md#create_namespaced_binding) | **POST** /api/v1/namespaces/{namespace}/bindings | -[**create_namespaced_binding_binding**](CoreV1Api.md#create_namespaced_binding_binding) | **POST** /api/v1/namespaces/{namespace}/pods/{name}/binding | -[**create_namespaced_config_map**](CoreV1Api.md#create_namespaced_config_map) | **POST** /api/v1/namespaces/{namespace}/configmaps | -[**create_namespaced_endpoints**](CoreV1Api.md#create_namespaced_endpoints) | **POST** /api/v1/namespaces/{namespace}/endpoints | -[**create_namespaced_event**](CoreV1Api.md#create_namespaced_event) | **POST** /api/v1/namespaces/{namespace}/events | -[**create_namespaced_eviction_eviction**](CoreV1Api.md#create_namespaced_eviction_eviction) | **POST** /api/v1/namespaces/{namespace}/pods/{name}/eviction | -[**create_namespaced_limit_range**](CoreV1Api.md#create_namespaced_limit_range) | **POST** /api/v1/namespaces/{namespace}/limitranges | -[**create_namespaced_persistent_volume_claim**](CoreV1Api.md#create_namespaced_persistent_volume_claim) | **POST** /api/v1/namespaces/{namespace}/persistentvolumeclaims | -[**create_namespaced_pod**](CoreV1Api.md#create_namespaced_pod) | **POST** /api/v1/namespaces/{namespace}/pods | -[**create_namespaced_pod_template**](CoreV1Api.md#create_namespaced_pod_template) | **POST** /api/v1/namespaces/{namespace}/podtemplates | -[**create_namespaced_replication_controller**](CoreV1Api.md#create_namespaced_replication_controller) | **POST** /api/v1/namespaces/{namespace}/replicationcontrollers | -[**create_namespaced_resource_quota**](CoreV1Api.md#create_namespaced_resource_quota) | **POST** /api/v1/namespaces/{namespace}/resourcequotas | -[**create_namespaced_secret**](CoreV1Api.md#create_namespaced_secret) | **POST** /api/v1/namespaces/{namespace}/secrets | -[**create_namespaced_service**](CoreV1Api.md#create_namespaced_service) | **POST** /api/v1/namespaces/{namespace}/services | -[**create_namespaced_service_account**](CoreV1Api.md#create_namespaced_service_account) | **POST** /api/v1/namespaces/{namespace}/serviceaccounts | -[**create_node**](CoreV1Api.md#create_node) | **POST** /api/v1/nodes | -[**create_persistent_volume**](CoreV1Api.md#create_persistent_volume) | **POST** /api/v1/persistentvolumes | -[**create_persistent_volume_claim_for_all_namespaces**](CoreV1Api.md#create_persistent_volume_claim_for_all_namespaces) | **POST** /api/v1/persistentvolumeclaims | -[**create_pod_for_all_namespaces**](CoreV1Api.md#create_pod_for_all_namespaces) | **POST** /api/v1/pods | -[**create_pod_template_for_all_namespaces**](CoreV1Api.md#create_pod_template_for_all_namespaces) | **POST** /api/v1/podtemplates | -[**create_replication_controller_for_all_namespaces**](CoreV1Api.md#create_replication_controller_for_all_namespaces) | **POST** /api/v1/replicationcontrollers | -[**create_resource_quota_for_all_namespaces**](CoreV1Api.md#create_resource_quota_for_all_namespaces) | **POST** /api/v1/resourcequotas | -[**create_secret_for_all_namespaces**](CoreV1Api.md#create_secret_for_all_namespaces) | **POST** /api/v1/secrets | -[**create_security_context_constraints**](CoreV1Api.md#create_security_context_constraints) | **POST** /api/v1/securitycontextconstraints | -[**create_service_account_for_all_namespaces**](CoreV1Api.md#create_service_account_for_all_namespaces) | **POST** /api/v1/serviceaccounts | -[**create_service_for_all_namespaces**](CoreV1Api.md#create_service_for_all_namespaces) | **POST** /api/v1/services | -[**delete_collection_namespace**](CoreV1Api.md#delete_collection_namespace) | **DELETE** /api/v1/namespaces | -[**delete_collection_namespaced_config_map**](CoreV1Api.md#delete_collection_namespaced_config_map) | **DELETE** /api/v1/namespaces/{namespace}/configmaps | -[**delete_collection_namespaced_endpoints**](CoreV1Api.md#delete_collection_namespaced_endpoints) | **DELETE** /api/v1/namespaces/{namespace}/endpoints | -[**delete_collection_namespaced_event**](CoreV1Api.md#delete_collection_namespaced_event) | **DELETE** /api/v1/namespaces/{namespace}/events | -[**delete_collection_namespaced_limit_range**](CoreV1Api.md#delete_collection_namespaced_limit_range) | **DELETE** /api/v1/namespaces/{namespace}/limitranges | -[**delete_collection_namespaced_persistent_volume_claim**](CoreV1Api.md#delete_collection_namespaced_persistent_volume_claim) | **DELETE** /api/v1/namespaces/{namespace}/persistentvolumeclaims | -[**delete_collection_namespaced_pod**](CoreV1Api.md#delete_collection_namespaced_pod) | **DELETE** /api/v1/namespaces/{namespace}/pods | -[**delete_collection_namespaced_pod_template**](CoreV1Api.md#delete_collection_namespaced_pod_template) | **DELETE** /api/v1/namespaces/{namespace}/podtemplates | -[**delete_collection_namespaced_replication_controller**](CoreV1Api.md#delete_collection_namespaced_replication_controller) | **DELETE** /api/v1/namespaces/{namespace}/replicationcontrollers | -[**delete_collection_namespaced_resource_quota**](CoreV1Api.md#delete_collection_namespaced_resource_quota) | **DELETE** /api/v1/namespaces/{namespace}/resourcequotas | -[**delete_collection_namespaced_secret**](CoreV1Api.md#delete_collection_namespaced_secret) | **DELETE** /api/v1/namespaces/{namespace}/secrets | -[**delete_collection_namespaced_service_account**](CoreV1Api.md#delete_collection_namespaced_service_account) | **DELETE** /api/v1/namespaces/{namespace}/serviceaccounts | -[**delete_collection_node**](CoreV1Api.md#delete_collection_node) | **DELETE** /api/v1/nodes | -[**delete_collection_persistent_volume**](CoreV1Api.md#delete_collection_persistent_volume) | **DELETE** /api/v1/persistentvolumes | -[**delete_collection_security_context_constraints**](CoreV1Api.md#delete_collection_security_context_constraints) | **DELETE** /api/v1/securitycontextconstraints | -[**delete_namespace**](CoreV1Api.md#delete_namespace) | **DELETE** /api/v1/namespaces/{name} | -[**delete_namespaced_config_map**](CoreV1Api.md#delete_namespaced_config_map) | **DELETE** /api/v1/namespaces/{namespace}/configmaps/{name} | -[**delete_namespaced_endpoints**](CoreV1Api.md#delete_namespaced_endpoints) | **DELETE** /api/v1/namespaces/{namespace}/endpoints/{name} | -[**delete_namespaced_event**](CoreV1Api.md#delete_namespaced_event) | **DELETE** /api/v1/namespaces/{namespace}/events/{name} | -[**delete_namespaced_limit_range**](CoreV1Api.md#delete_namespaced_limit_range) | **DELETE** /api/v1/namespaces/{namespace}/limitranges/{name} | -[**delete_namespaced_persistent_volume_claim**](CoreV1Api.md#delete_namespaced_persistent_volume_claim) | **DELETE** /api/v1/namespaces/{namespace}/persistentvolumeclaims/{name} | -[**delete_namespaced_pod**](CoreV1Api.md#delete_namespaced_pod) | **DELETE** /api/v1/namespaces/{namespace}/pods/{name} | -[**delete_namespaced_pod_template**](CoreV1Api.md#delete_namespaced_pod_template) | **DELETE** /api/v1/namespaces/{namespace}/podtemplates/{name} | -[**delete_namespaced_replication_controller**](CoreV1Api.md#delete_namespaced_replication_controller) | **DELETE** /api/v1/namespaces/{namespace}/replicationcontrollers/{name} | -[**delete_namespaced_resource_quota**](CoreV1Api.md#delete_namespaced_resource_quota) | **DELETE** /api/v1/namespaces/{namespace}/resourcequotas/{name} | -[**delete_namespaced_secret**](CoreV1Api.md#delete_namespaced_secret) | **DELETE** /api/v1/namespaces/{namespace}/secrets/{name} | -[**delete_namespaced_service**](CoreV1Api.md#delete_namespaced_service) | **DELETE** /api/v1/namespaces/{namespace}/services/{name} | -[**delete_namespaced_service_account**](CoreV1Api.md#delete_namespaced_service_account) | **DELETE** /api/v1/namespaces/{namespace}/serviceaccounts/{name} | -[**delete_node**](CoreV1Api.md#delete_node) | **DELETE** /api/v1/nodes/{name} | -[**delete_persistent_volume**](CoreV1Api.md#delete_persistent_volume) | **DELETE** /api/v1/persistentvolumes/{name} | -[**delete_security_context_constraints**](CoreV1Api.md#delete_security_context_constraints) | **DELETE** /api/v1/securitycontextconstraints/{name} | -[**get_api_resources**](CoreV1Api.md#get_api_resources) | **GET** /api/v1/ | -[**list_component_status**](CoreV1Api.md#list_component_status) | **GET** /api/v1/componentstatuses | -[**list_config_map_for_all_namespaces**](CoreV1Api.md#list_config_map_for_all_namespaces) | **GET** /api/v1/configmaps | -[**list_endpoints_for_all_namespaces**](CoreV1Api.md#list_endpoints_for_all_namespaces) | **GET** /api/v1/endpoints | -[**list_event_for_all_namespaces**](CoreV1Api.md#list_event_for_all_namespaces) | **GET** /api/v1/events | -[**list_limit_range_for_all_namespaces**](CoreV1Api.md#list_limit_range_for_all_namespaces) | **GET** /api/v1/limitranges | -[**list_namespace**](CoreV1Api.md#list_namespace) | **GET** /api/v1/namespaces | -[**list_namespaced_config_map**](CoreV1Api.md#list_namespaced_config_map) | **GET** /api/v1/namespaces/{namespace}/configmaps | -[**list_namespaced_endpoints**](CoreV1Api.md#list_namespaced_endpoints) | **GET** /api/v1/namespaces/{namespace}/endpoints | -[**list_namespaced_event**](CoreV1Api.md#list_namespaced_event) | **GET** /api/v1/namespaces/{namespace}/events | -[**list_namespaced_limit_range**](CoreV1Api.md#list_namespaced_limit_range) | **GET** /api/v1/namespaces/{namespace}/limitranges | -[**list_namespaced_persistent_volume_claim**](CoreV1Api.md#list_namespaced_persistent_volume_claim) | **GET** /api/v1/namespaces/{namespace}/persistentvolumeclaims | -[**list_namespaced_pod**](CoreV1Api.md#list_namespaced_pod) | **GET** /api/v1/namespaces/{namespace}/pods | -[**list_namespaced_pod_template**](CoreV1Api.md#list_namespaced_pod_template) | **GET** /api/v1/namespaces/{namespace}/podtemplates | -[**list_namespaced_replication_controller**](CoreV1Api.md#list_namespaced_replication_controller) | **GET** /api/v1/namespaces/{namespace}/replicationcontrollers | -[**list_namespaced_resource_quota**](CoreV1Api.md#list_namespaced_resource_quota) | **GET** /api/v1/namespaces/{namespace}/resourcequotas | -[**list_namespaced_secret**](CoreV1Api.md#list_namespaced_secret) | **GET** /api/v1/namespaces/{namespace}/secrets | -[**list_namespaced_service**](CoreV1Api.md#list_namespaced_service) | **GET** /api/v1/namespaces/{namespace}/services | -[**list_namespaced_service_account**](CoreV1Api.md#list_namespaced_service_account) | **GET** /api/v1/namespaces/{namespace}/serviceaccounts | -[**list_node**](CoreV1Api.md#list_node) | **GET** /api/v1/nodes | -[**list_persistent_volume**](CoreV1Api.md#list_persistent_volume) | **GET** /api/v1/persistentvolumes | -[**list_persistent_volume_claim_for_all_namespaces**](CoreV1Api.md#list_persistent_volume_claim_for_all_namespaces) | **GET** /api/v1/persistentvolumeclaims | -[**list_pod_for_all_namespaces**](CoreV1Api.md#list_pod_for_all_namespaces) | **GET** /api/v1/pods | -[**list_pod_template_for_all_namespaces**](CoreV1Api.md#list_pod_template_for_all_namespaces) | **GET** /api/v1/podtemplates | -[**list_replication_controller_for_all_namespaces**](CoreV1Api.md#list_replication_controller_for_all_namespaces) | **GET** /api/v1/replicationcontrollers | -[**list_resource_quota_for_all_namespaces**](CoreV1Api.md#list_resource_quota_for_all_namespaces) | **GET** /api/v1/resourcequotas | -[**list_secret_for_all_namespaces**](CoreV1Api.md#list_secret_for_all_namespaces) | **GET** /api/v1/secrets | -[**list_security_context_constraints**](CoreV1Api.md#list_security_context_constraints) | **GET** /api/v1/securitycontextconstraints | -[**list_service_account_for_all_namespaces**](CoreV1Api.md#list_service_account_for_all_namespaces) | **GET** /api/v1/serviceaccounts | -[**list_service_for_all_namespaces**](CoreV1Api.md#list_service_for_all_namespaces) | **GET** /api/v1/services | -[**patch_namespace**](CoreV1Api.md#patch_namespace) | **PATCH** /api/v1/namespaces/{name} | -[**patch_namespace_status**](CoreV1Api.md#patch_namespace_status) | **PATCH** /api/v1/namespaces/{name}/status | -[**patch_namespaced_config_map**](CoreV1Api.md#patch_namespaced_config_map) | **PATCH** /api/v1/namespaces/{namespace}/configmaps/{name} | -[**patch_namespaced_endpoints**](CoreV1Api.md#patch_namespaced_endpoints) | **PATCH** /api/v1/namespaces/{namespace}/endpoints/{name} | -[**patch_namespaced_event**](CoreV1Api.md#patch_namespaced_event) | **PATCH** /api/v1/namespaces/{namespace}/events/{name} | -[**patch_namespaced_limit_range**](CoreV1Api.md#patch_namespaced_limit_range) | **PATCH** /api/v1/namespaces/{namespace}/limitranges/{name} | -[**patch_namespaced_persistent_volume_claim**](CoreV1Api.md#patch_namespaced_persistent_volume_claim) | **PATCH** /api/v1/namespaces/{namespace}/persistentvolumeclaims/{name} | -[**patch_namespaced_persistent_volume_claim_status**](CoreV1Api.md#patch_namespaced_persistent_volume_claim_status) | **PATCH** /api/v1/namespaces/{namespace}/persistentvolumeclaims/{name}/status | -[**patch_namespaced_pod**](CoreV1Api.md#patch_namespaced_pod) | **PATCH** /api/v1/namespaces/{namespace}/pods/{name} | -[**patch_namespaced_pod_status**](CoreV1Api.md#patch_namespaced_pod_status) | **PATCH** /api/v1/namespaces/{namespace}/pods/{name}/status | -[**patch_namespaced_pod_template**](CoreV1Api.md#patch_namespaced_pod_template) | **PATCH** /api/v1/namespaces/{namespace}/podtemplates/{name} | -[**patch_namespaced_replication_controller**](CoreV1Api.md#patch_namespaced_replication_controller) | **PATCH** /api/v1/namespaces/{namespace}/replicationcontrollers/{name} | -[**patch_namespaced_replication_controller_status**](CoreV1Api.md#patch_namespaced_replication_controller_status) | **PATCH** /api/v1/namespaces/{namespace}/replicationcontrollers/{name}/status | -[**patch_namespaced_resource_quota**](CoreV1Api.md#patch_namespaced_resource_quota) | **PATCH** /api/v1/namespaces/{namespace}/resourcequotas/{name} | -[**patch_namespaced_resource_quota_status**](CoreV1Api.md#patch_namespaced_resource_quota_status) | **PATCH** /api/v1/namespaces/{namespace}/resourcequotas/{name}/status | -[**patch_namespaced_scale_scale**](CoreV1Api.md#patch_namespaced_scale_scale) | **PATCH** /api/v1/namespaces/{namespace}/replicationcontrollers/{name}/scale | -[**patch_namespaced_secret**](CoreV1Api.md#patch_namespaced_secret) | **PATCH** /api/v1/namespaces/{namespace}/secrets/{name} | -[**patch_namespaced_service**](CoreV1Api.md#patch_namespaced_service) | **PATCH** /api/v1/namespaces/{namespace}/services/{name} | -[**patch_namespaced_service_account**](CoreV1Api.md#patch_namespaced_service_account) | **PATCH** /api/v1/namespaces/{namespace}/serviceaccounts/{name} | -[**patch_namespaced_service_status**](CoreV1Api.md#patch_namespaced_service_status) | **PATCH** /api/v1/namespaces/{namespace}/services/{name}/status | -[**patch_node**](CoreV1Api.md#patch_node) | **PATCH** /api/v1/nodes/{name} | -[**patch_node_status**](CoreV1Api.md#patch_node_status) | **PATCH** /api/v1/nodes/{name}/status | -[**patch_persistent_volume**](CoreV1Api.md#patch_persistent_volume) | **PATCH** /api/v1/persistentvolumes/{name} | -[**patch_persistent_volume_status**](CoreV1Api.md#patch_persistent_volume_status) | **PATCH** /api/v1/persistentvolumes/{name}/status | -[**patch_security_context_constraints**](CoreV1Api.md#patch_security_context_constraints) | **PATCH** /api/v1/securitycontextconstraints/{name} | -[**proxy_delete_namespaced_pod**](CoreV1Api.md#proxy_delete_namespaced_pod) | **DELETE** /api/v1/proxy/namespaces/{namespace}/pods/{name} | -[**proxy_delete_namespaced_pod_with_path**](CoreV1Api.md#proxy_delete_namespaced_pod_with_path) | **DELETE** /api/v1/proxy/namespaces/{namespace}/pods/{name}/{path} | -[**proxy_delete_namespaced_service**](CoreV1Api.md#proxy_delete_namespaced_service) | **DELETE** /api/v1/proxy/namespaces/{namespace}/services/{name} | -[**proxy_delete_namespaced_service_with_path**](CoreV1Api.md#proxy_delete_namespaced_service_with_path) | **DELETE** /api/v1/proxy/namespaces/{namespace}/services/{name}/{path} | -[**proxy_delete_node**](CoreV1Api.md#proxy_delete_node) | **DELETE** /api/v1/proxy/nodes/{name} | -[**proxy_delete_node_with_path**](CoreV1Api.md#proxy_delete_node_with_path) | **DELETE** /api/v1/proxy/nodes/{name}/{path} | -[**proxy_get_namespaced_pod**](CoreV1Api.md#proxy_get_namespaced_pod) | **GET** /api/v1/proxy/namespaces/{namespace}/pods/{name} | -[**proxy_get_namespaced_pod_with_path**](CoreV1Api.md#proxy_get_namespaced_pod_with_path) | **GET** /api/v1/proxy/namespaces/{namespace}/pods/{name}/{path} | -[**proxy_get_namespaced_service**](CoreV1Api.md#proxy_get_namespaced_service) | **GET** /api/v1/proxy/namespaces/{namespace}/services/{name} | -[**proxy_get_namespaced_service_with_path**](CoreV1Api.md#proxy_get_namespaced_service_with_path) | **GET** /api/v1/proxy/namespaces/{namespace}/services/{name}/{path} | -[**proxy_get_node**](CoreV1Api.md#proxy_get_node) | **GET** /api/v1/proxy/nodes/{name} | -[**proxy_get_node_with_path**](CoreV1Api.md#proxy_get_node_with_path) | **GET** /api/v1/proxy/nodes/{name}/{path} | -[**proxy_head_namespaced_pod**](CoreV1Api.md#proxy_head_namespaced_pod) | **HEAD** /api/v1/proxy/namespaces/{namespace}/pods/{name} | -[**proxy_head_namespaced_pod_with_path**](CoreV1Api.md#proxy_head_namespaced_pod_with_path) | **HEAD** /api/v1/proxy/namespaces/{namespace}/pods/{name}/{path} | -[**proxy_head_namespaced_service**](CoreV1Api.md#proxy_head_namespaced_service) | **HEAD** /api/v1/proxy/namespaces/{namespace}/services/{name} | -[**proxy_head_namespaced_service_with_path**](CoreV1Api.md#proxy_head_namespaced_service_with_path) | **HEAD** /api/v1/proxy/namespaces/{namespace}/services/{name}/{path} | -[**proxy_head_node**](CoreV1Api.md#proxy_head_node) | **HEAD** /api/v1/proxy/nodes/{name} | -[**proxy_head_node_with_path**](CoreV1Api.md#proxy_head_node_with_path) | **HEAD** /api/v1/proxy/nodes/{name}/{path} | -[**proxy_options_namespaced_pod**](CoreV1Api.md#proxy_options_namespaced_pod) | **OPTIONS** /api/v1/proxy/namespaces/{namespace}/pods/{name} | -[**proxy_options_namespaced_pod_with_path**](CoreV1Api.md#proxy_options_namespaced_pod_with_path) | **OPTIONS** /api/v1/proxy/namespaces/{namespace}/pods/{name}/{path} | -[**proxy_options_namespaced_service**](CoreV1Api.md#proxy_options_namespaced_service) | **OPTIONS** /api/v1/proxy/namespaces/{namespace}/services/{name} | -[**proxy_options_namespaced_service_with_path**](CoreV1Api.md#proxy_options_namespaced_service_with_path) | **OPTIONS** /api/v1/proxy/namespaces/{namespace}/services/{name}/{path} | -[**proxy_options_node**](CoreV1Api.md#proxy_options_node) | **OPTIONS** /api/v1/proxy/nodes/{name} | -[**proxy_options_node_with_path**](CoreV1Api.md#proxy_options_node_with_path) | **OPTIONS** /api/v1/proxy/nodes/{name}/{path} | -[**proxy_post_namespaced_pod**](CoreV1Api.md#proxy_post_namespaced_pod) | **POST** /api/v1/proxy/namespaces/{namespace}/pods/{name} | -[**proxy_post_namespaced_pod_with_path**](CoreV1Api.md#proxy_post_namespaced_pod_with_path) | **POST** /api/v1/proxy/namespaces/{namespace}/pods/{name}/{path} | -[**proxy_post_namespaced_service**](CoreV1Api.md#proxy_post_namespaced_service) | **POST** /api/v1/proxy/namespaces/{namespace}/services/{name} | -[**proxy_post_namespaced_service_with_path**](CoreV1Api.md#proxy_post_namespaced_service_with_path) | **POST** /api/v1/proxy/namespaces/{namespace}/services/{name}/{path} | -[**proxy_post_node**](CoreV1Api.md#proxy_post_node) | **POST** /api/v1/proxy/nodes/{name} | -[**proxy_post_node_with_path**](CoreV1Api.md#proxy_post_node_with_path) | **POST** /api/v1/proxy/nodes/{name}/{path} | -[**proxy_put_namespaced_pod**](CoreV1Api.md#proxy_put_namespaced_pod) | **PUT** /api/v1/proxy/namespaces/{namespace}/pods/{name} | -[**proxy_put_namespaced_pod_with_path**](CoreV1Api.md#proxy_put_namespaced_pod_with_path) | **PUT** /api/v1/proxy/namespaces/{namespace}/pods/{name}/{path} | -[**proxy_put_namespaced_service**](CoreV1Api.md#proxy_put_namespaced_service) | **PUT** /api/v1/proxy/namespaces/{namespace}/services/{name} | -[**proxy_put_namespaced_service_with_path**](CoreV1Api.md#proxy_put_namespaced_service_with_path) | **PUT** /api/v1/proxy/namespaces/{namespace}/services/{name}/{path} | -[**proxy_put_node**](CoreV1Api.md#proxy_put_node) | **PUT** /api/v1/proxy/nodes/{name} | -[**proxy_put_node_with_path**](CoreV1Api.md#proxy_put_node_with_path) | **PUT** /api/v1/proxy/nodes/{name}/{path} | -[**read_component_status**](CoreV1Api.md#read_component_status) | **GET** /api/v1/componentstatuses/{name} | -[**read_namespace**](CoreV1Api.md#read_namespace) | **GET** /api/v1/namespaces/{name} | -[**read_namespace_status**](CoreV1Api.md#read_namespace_status) | **GET** /api/v1/namespaces/{name}/status | -[**read_namespaced_config_map**](CoreV1Api.md#read_namespaced_config_map) | **GET** /api/v1/namespaces/{namespace}/configmaps/{name} | -[**read_namespaced_endpoints**](CoreV1Api.md#read_namespaced_endpoints) | **GET** /api/v1/namespaces/{namespace}/endpoints/{name} | -[**read_namespaced_event**](CoreV1Api.md#read_namespaced_event) | **GET** /api/v1/namespaces/{namespace}/events/{name} | -[**read_namespaced_limit_range**](CoreV1Api.md#read_namespaced_limit_range) | **GET** /api/v1/namespaces/{namespace}/limitranges/{name} | -[**read_namespaced_persistent_volume_claim**](CoreV1Api.md#read_namespaced_persistent_volume_claim) | **GET** /api/v1/namespaces/{namespace}/persistentvolumeclaims/{name} | -[**read_namespaced_persistent_volume_claim_status**](CoreV1Api.md#read_namespaced_persistent_volume_claim_status) | **GET** /api/v1/namespaces/{namespace}/persistentvolumeclaims/{name}/status | -[**read_namespaced_pod**](CoreV1Api.md#read_namespaced_pod) | **GET** /api/v1/namespaces/{namespace}/pods/{name} | -[**read_namespaced_pod_log**](CoreV1Api.md#read_namespaced_pod_log) | **GET** /api/v1/namespaces/{namespace}/pods/{name}/log | -[**read_namespaced_pod_status**](CoreV1Api.md#read_namespaced_pod_status) | **GET** /api/v1/namespaces/{namespace}/pods/{name}/status | -[**read_namespaced_pod_template**](CoreV1Api.md#read_namespaced_pod_template) | **GET** /api/v1/namespaces/{namespace}/podtemplates/{name} | -[**read_namespaced_replication_controller**](CoreV1Api.md#read_namespaced_replication_controller) | **GET** /api/v1/namespaces/{namespace}/replicationcontrollers/{name} | -[**read_namespaced_replication_controller_status**](CoreV1Api.md#read_namespaced_replication_controller_status) | **GET** /api/v1/namespaces/{namespace}/replicationcontrollers/{name}/status | -[**read_namespaced_resource_quota**](CoreV1Api.md#read_namespaced_resource_quota) | **GET** /api/v1/namespaces/{namespace}/resourcequotas/{name} | -[**read_namespaced_resource_quota_status**](CoreV1Api.md#read_namespaced_resource_quota_status) | **GET** /api/v1/namespaces/{namespace}/resourcequotas/{name}/status | -[**read_namespaced_scale_scale**](CoreV1Api.md#read_namespaced_scale_scale) | **GET** /api/v1/namespaces/{namespace}/replicationcontrollers/{name}/scale | -[**read_namespaced_secret**](CoreV1Api.md#read_namespaced_secret) | **GET** /api/v1/namespaces/{namespace}/secrets/{name} | -[**read_namespaced_service**](CoreV1Api.md#read_namespaced_service) | **GET** /api/v1/namespaces/{namespace}/services/{name} | -[**read_namespaced_service_account**](CoreV1Api.md#read_namespaced_service_account) | **GET** /api/v1/namespaces/{namespace}/serviceaccounts/{name} | -[**read_namespaced_service_status**](CoreV1Api.md#read_namespaced_service_status) | **GET** /api/v1/namespaces/{namespace}/services/{name}/status | -[**read_node**](CoreV1Api.md#read_node) | **GET** /api/v1/nodes/{name} | -[**read_node_status**](CoreV1Api.md#read_node_status) | **GET** /api/v1/nodes/{name}/status | -[**read_persistent_volume**](CoreV1Api.md#read_persistent_volume) | **GET** /api/v1/persistentvolumes/{name} | -[**read_persistent_volume_status**](CoreV1Api.md#read_persistent_volume_status) | **GET** /api/v1/persistentvolumes/{name}/status | -[**read_security_context_constraints**](CoreV1Api.md#read_security_context_constraints) | **GET** /api/v1/securitycontextconstraints/{name} | -[**replace_namespace**](CoreV1Api.md#replace_namespace) | **PUT** /api/v1/namespaces/{name} | -[**replace_namespace_finalize**](CoreV1Api.md#replace_namespace_finalize) | **PUT** /api/v1/namespaces/{name}/finalize | -[**replace_namespace_status**](CoreV1Api.md#replace_namespace_status) | **PUT** /api/v1/namespaces/{name}/status | -[**replace_namespaced_config_map**](CoreV1Api.md#replace_namespaced_config_map) | **PUT** /api/v1/namespaces/{namespace}/configmaps/{name} | -[**replace_namespaced_endpoints**](CoreV1Api.md#replace_namespaced_endpoints) | **PUT** /api/v1/namespaces/{namespace}/endpoints/{name} | -[**replace_namespaced_event**](CoreV1Api.md#replace_namespaced_event) | **PUT** /api/v1/namespaces/{namespace}/events/{name} | -[**replace_namespaced_limit_range**](CoreV1Api.md#replace_namespaced_limit_range) | **PUT** /api/v1/namespaces/{namespace}/limitranges/{name} | -[**replace_namespaced_persistent_volume_claim**](CoreV1Api.md#replace_namespaced_persistent_volume_claim) | **PUT** /api/v1/namespaces/{namespace}/persistentvolumeclaims/{name} | -[**replace_namespaced_persistent_volume_claim_status**](CoreV1Api.md#replace_namespaced_persistent_volume_claim_status) | **PUT** /api/v1/namespaces/{namespace}/persistentvolumeclaims/{name}/status | -[**replace_namespaced_pod**](CoreV1Api.md#replace_namespaced_pod) | **PUT** /api/v1/namespaces/{namespace}/pods/{name} | -[**replace_namespaced_pod_status**](CoreV1Api.md#replace_namespaced_pod_status) | **PUT** /api/v1/namespaces/{namespace}/pods/{name}/status | -[**replace_namespaced_pod_template**](CoreV1Api.md#replace_namespaced_pod_template) | **PUT** /api/v1/namespaces/{namespace}/podtemplates/{name} | -[**replace_namespaced_replication_controller**](CoreV1Api.md#replace_namespaced_replication_controller) | **PUT** /api/v1/namespaces/{namespace}/replicationcontrollers/{name} | -[**replace_namespaced_replication_controller_status**](CoreV1Api.md#replace_namespaced_replication_controller_status) | **PUT** /api/v1/namespaces/{namespace}/replicationcontrollers/{name}/status | -[**replace_namespaced_resource_quota**](CoreV1Api.md#replace_namespaced_resource_quota) | **PUT** /api/v1/namespaces/{namespace}/resourcequotas/{name} | -[**replace_namespaced_resource_quota_status**](CoreV1Api.md#replace_namespaced_resource_quota_status) | **PUT** /api/v1/namespaces/{namespace}/resourcequotas/{name}/status | -[**replace_namespaced_scale_scale**](CoreV1Api.md#replace_namespaced_scale_scale) | **PUT** /api/v1/namespaces/{namespace}/replicationcontrollers/{name}/scale | -[**replace_namespaced_secret**](CoreV1Api.md#replace_namespaced_secret) | **PUT** /api/v1/namespaces/{namespace}/secrets/{name} | -[**replace_namespaced_service**](CoreV1Api.md#replace_namespaced_service) | **PUT** /api/v1/namespaces/{namespace}/services/{name} | -[**replace_namespaced_service_account**](CoreV1Api.md#replace_namespaced_service_account) | **PUT** /api/v1/namespaces/{namespace}/serviceaccounts/{name} | -[**replace_namespaced_service_status**](CoreV1Api.md#replace_namespaced_service_status) | **PUT** /api/v1/namespaces/{namespace}/services/{name}/status | -[**replace_node**](CoreV1Api.md#replace_node) | **PUT** /api/v1/nodes/{name} | -[**replace_node_status**](CoreV1Api.md#replace_node_status) | **PUT** /api/v1/nodes/{name}/status | -[**replace_persistent_volume**](CoreV1Api.md#replace_persistent_volume) | **PUT** /api/v1/persistentvolumes/{name} | -[**replace_persistent_volume_status**](CoreV1Api.md#replace_persistent_volume_status) | **PUT** /api/v1/persistentvolumes/{name}/status | -[**replace_security_context_constraints**](CoreV1Api.md#replace_security_context_constraints) | **PUT** /api/v1/securitycontextconstraints/{name} | - - -# **connect_delete_namespaced_pod_proxy** -> str connect_delete_namespaced_pod_proxy(name, namespace, path=path) - - - -connect DELETE requests to proxy of Pod - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.CoreV1Api() -name = 'name_example' # str | name of the Pod -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -path = 'path_example' # str | Path is the URL path to use for the current proxy request to pod. (optional) - -try: - api_response = api_instance.connect_delete_namespaced_pod_proxy(name, namespace, path=path) - pprint(api_response) -except ApiException as e: - print("Exception when calling CoreV1Api->connect_delete_namespaced_pod_proxy: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the Pod | - **namespace** | **str**| object name and auth scope, such as for teams and projects | - **path** | **str**| Path is the URL path to use for the current proxy request to pod. | [optional] - -### Return type - -**str** - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: */* - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **connect_delete_namespaced_pod_proxy_with_path** -> str connect_delete_namespaced_pod_proxy_with_path(name, namespace, path, path2=path2) - - - -connect DELETE requests to proxy of Pod - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.CoreV1Api() -name = 'name_example' # str | name of the Pod -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -path = 'path_example' # str | path to the resource -path2 = 'path_example' # str | Path is the URL path to use for the current proxy request to pod. (optional) - -try: - api_response = api_instance.connect_delete_namespaced_pod_proxy_with_path(name, namespace, path, path2=path2) - pprint(api_response) -except ApiException as e: - print("Exception when calling CoreV1Api->connect_delete_namespaced_pod_proxy_with_path: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the Pod | - **namespace** | **str**| object name and auth scope, such as for teams and projects | - **path** | **str**| path to the resource | - **path2** | **str**| Path is the URL path to use for the current proxy request to pod. | [optional] - -### Return type - -**str** - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: */* - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **connect_delete_namespaced_service_proxy** -> str connect_delete_namespaced_service_proxy(name, namespace, path=path) - - - -connect DELETE requests to proxy of Service - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.CoreV1Api() -name = 'name_example' # str | name of the Service -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -path = 'path_example' # str | Path is the part of URLs that include service endpoints, suffixes, and parameters to use for the current proxy request to service. For example, the whole request URL is http://localhost/api/v1/namespaces/kube-system/services/elasticsearch-logging/_search?q=user:kimchy. Path is _search?q=user:kimchy. (optional) - -try: - api_response = api_instance.connect_delete_namespaced_service_proxy(name, namespace, path=path) - pprint(api_response) -except ApiException as e: - print("Exception when calling CoreV1Api->connect_delete_namespaced_service_proxy: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the Service | - **namespace** | **str**| object name and auth scope, such as for teams and projects | - **path** | **str**| Path is the part of URLs that include service endpoints, suffixes, and parameters to use for the current proxy request to service. For example, the whole request URL is http://localhost/api/v1/namespaces/kube-system/services/elasticsearch-logging/_search?q=user:kimchy. Path is _search?q=user:kimchy. | [optional] - -### Return type - -**str** - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: */* - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **connect_delete_namespaced_service_proxy_with_path** -> str connect_delete_namespaced_service_proxy_with_path(name, namespace, path, path2=path2) - - - -connect DELETE requests to proxy of Service - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.CoreV1Api() -name = 'name_example' # str | name of the Service -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -path = 'path_example' # str | path to the resource -path2 = 'path_example' # str | Path is the part of URLs that include service endpoints, suffixes, and parameters to use for the current proxy request to service. For example, the whole request URL is http://localhost/api/v1/namespaces/kube-system/services/elasticsearch-logging/_search?q=user:kimchy. Path is _search?q=user:kimchy. (optional) - -try: - api_response = api_instance.connect_delete_namespaced_service_proxy_with_path(name, namespace, path, path2=path2) - pprint(api_response) -except ApiException as e: - print("Exception when calling CoreV1Api->connect_delete_namespaced_service_proxy_with_path: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the Service | - **namespace** | **str**| object name and auth scope, such as for teams and projects | - **path** | **str**| path to the resource | - **path2** | **str**| Path is the part of URLs that include service endpoints, suffixes, and parameters to use for the current proxy request to service. For example, the whole request URL is http://localhost/api/v1/namespaces/kube-system/services/elasticsearch-logging/_search?q=user:kimchy. Path is _search?q=user:kimchy. | [optional] - -### Return type - -**str** - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: */* - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **connect_delete_node_proxy** -> str connect_delete_node_proxy(name, path=path) - - - -connect DELETE requests to proxy of Node - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.CoreV1Api() -name = 'name_example' # str | name of the Node -path = 'path_example' # str | Path is the URL path to use for the current proxy request to node. (optional) - -try: - api_response = api_instance.connect_delete_node_proxy(name, path=path) - pprint(api_response) -except ApiException as e: - print("Exception when calling CoreV1Api->connect_delete_node_proxy: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the Node | - **path** | **str**| Path is the URL path to use for the current proxy request to node. | [optional] - -### Return type - -**str** - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: */* - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **connect_delete_node_proxy_with_path** -> str connect_delete_node_proxy_with_path(name, path, path2=path2) - - - -connect DELETE requests to proxy of Node - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.CoreV1Api() -name = 'name_example' # str | name of the Node -path = 'path_example' # str | path to the resource -path2 = 'path_example' # str | Path is the URL path to use for the current proxy request to node. (optional) - -try: - api_response = api_instance.connect_delete_node_proxy_with_path(name, path, path2=path2) - pprint(api_response) -except ApiException as e: - print("Exception when calling CoreV1Api->connect_delete_node_proxy_with_path: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the Node | - **path** | **str**| path to the resource | - **path2** | **str**| Path is the URL path to use for the current proxy request to node. | [optional] - -### Return type - -**str** - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: */* - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **connect_get_namespaced_pod_attach** -> str connect_get_namespaced_pod_attach(name, namespace, container=container, stderr=stderr, stdin=stdin, stdout=stdout, tty=tty) - - - -connect GET requests to attach of Pod - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.CoreV1Api() -name = 'name_example' # str | name of the Pod -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -container = 'container_example' # str | The container in which to execute the command. Defaults to only container if there is only one container in the pod. (optional) -stderr = true # bool | Stderr if true indicates that stderr is to be redirected for the attach call. Defaults to true. (optional) -stdin = true # bool | Stdin if true, redirects the standard input stream of the pod for this call. Defaults to false. (optional) -stdout = true # bool | Stdout if true indicates that stdout is to be redirected for the attach call. Defaults to true. (optional) -tty = true # bool | TTY if true indicates that a tty will be allocated for the attach call. This is passed through the container runtime so the tty is allocated on the worker node by the container runtime. Defaults to false. (optional) - -try: - api_response = api_instance.connect_get_namespaced_pod_attach(name, namespace, container=container, stderr=stderr, stdin=stdin, stdout=stdout, tty=tty) - pprint(api_response) -except ApiException as e: - print("Exception when calling CoreV1Api->connect_get_namespaced_pod_attach: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the Pod | - **namespace** | **str**| object name and auth scope, such as for teams and projects | - **container** | **str**| The container in which to execute the command. Defaults to only container if there is only one container in the pod. | [optional] - **stderr** | **bool**| Stderr if true indicates that stderr is to be redirected for the attach call. Defaults to true. | [optional] - **stdin** | **bool**| Stdin if true, redirects the standard input stream of the pod for this call. Defaults to false. | [optional] - **stdout** | **bool**| Stdout if true indicates that stdout is to be redirected for the attach call. Defaults to true. | [optional] - **tty** | **bool**| TTY if true indicates that a tty will be allocated for the attach call. This is passed through the container runtime so the tty is allocated on the worker node by the container runtime. Defaults to false. | [optional] - -### Return type - -**str** - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: */* - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **connect_get_namespaced_pod_exec** -> str connect_get_namespaced_pod_exec(name, namespace, command=command, container=container, stderr=stderr, stdin=stdin, stdout=stdout, tty=tty) - - - -connect GET requests to exec of Pod - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.CoreV1Api() -name = 'name_example' # str | name of the Pod -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -command = 'command_example' # str | Command is the remote command to execute. argv array. Not executed within a shell. (optional) -container = 'container_example' # str | Container in which to execute the command. Defaults to only container if there is only one container in the pod. (optional) -stderr = true # bool | Redirect the standard error stream of the pod for this call. Defaults to true. (optional) -stdin = true # bool | Redirect the standard input stream of the pod for this call. Defaults to false. (optional) -stdout = true # bool | Redirect the standard output stream of the pod for this call. Defaults to true. (optional) -tty = true # bool | TTY if true indicates that a tty will be allocated for the exec call. Defaults to false. (optional) - -try: - api_response = api_instance.connect_get_namespaced_pod_exec(name, namespace, command=command, container=container, stderr=stderr, stdin=stdin, stdout=stdout, tty=tty) - pprint(api_response) -except ApiException as e: - print("Exception when calling CoreV1Api->connect_get_namespaced_pod_exec: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the Pod | - **namespace** | **str**| object name and auth scope, such as for teams and projects | - **command** | **str**| Command is the remote command to execute. argv array. Not executed within a shell. | [optional] - **container** | **str**| Container in which to execute the command. Defaults to only container if there is only one container in the pod. | [optional] - **stderr** | **bool**| Redirect the standard error stream of the pod for this call. Defaults to true. | [optional] - **stdin** | **bool**| Redirect the standard input stream of the pod for this call. Defaults to false. | [optional] - **stdout** | **bool**| Redirect the standard output stream of the pod for this call. Defaults to true. | [optional] - **tty** | **bool**| TTY if true indicates that a tty will be allocated for the exec call. Defaults to false. | [optional] - -### Return type - -**str** - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: */* - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **connect_get_namespaced_pod_portforward** -> str connect_get_namespaced_pod_portforward(name, namespace) - - - -connect GET requests to portforward of Pod - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.CoreV1Api() -name = 'name_example' # str | name of the Pod -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects - -try: - api_response = api_instance.connect_get_namespaced_pod_portforward(name, namespace) - pprint(api_response) -except ApiException as e: - print("Exception when calling CoreV1Api->connect_get_namespaced_pod_portforward: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the Pod | - **namespace** | **str**| object name and auth scope, such as for teams and projects | - -### Return type - -**str** - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: */* - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **connect_get_namespaced_pod_proxy** -> str connect_get_namespaced_pod_proxy(name, namespace, path=path) - - - -connect GET requests to proxy of Pod - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.CoreV1Api() -name = 'name_example' # str | name of the Pod -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -path = 'path_example' # str | Path is the URL path to use for the current proxy request to pod. (optional) - -try: - api_response = api_instance.connect_get_namespaced_pod_proxy(name, namespace, path=path) - pprint(api_response) -except ApiException as e: - print("Exception when calling CoreV1Api->connect_get_namespaced_pod_proxy: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the Pod | - **namespace** | **str**| object name and auth scope, such as for teams and projects | - **path** | **str**| Path is the URL path to use for the current proxy request to pod. | [optional] - -### Return type - -**str** - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: */* - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **connect_get_namespaced_pod_proxy_with_path** -> str connect_get_namespaced_pod_proxy_with_path(name, namespace, path, path2=path2) - - - -connect GET requests to proxy of Pod - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.CoreV1Api() -name = 'name_example' # str | name of the Pod -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -path = 'path_example' # str | path to the resource -path2 = 'path_example' # str | Path is the URL path to use for the current proxy request to pod. (optional) - -try: - api_response = api_instance.connect_get_namespaced_pod_proxy_with_path(name, namespace, path, path2=path2) - pprint(api_response) -except ApiException as e: - print("Exception when calling CoreV1Api->connect_get_namespaced_pod_proxy_with_path: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the Pod | - **namespace** | **str**| object name and auth scope, such as for teams and projects | - **path** | **str**| path to the resource | - **path2** | **str**| Path is the URL path to use for the current proxy request to pod. | [optional] - -### Return type - -**str** - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: */* - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **connect_get_namespaced_service_proxy** -> str connect_get_namespaced_service_proxy(name, namespace, path=path) - - - -connect GET requests to proxy of Service - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.CoreV1Api() -name = 'name_example' # str | name of the Service -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -path = 'path_example' # str | Path is the part of URLs that include service endpoints, suffixes, and parameters to use for the current proxy request to service. For example, the whole request URL is http://localhost/api/v1/namespaces/kube-system/services/elasticsearch-logging/_search?q=user:kimchy. Path is _search?q=user:kimchy. (optional) - -try: - api_response = api_instance.connect_get_namespaced_service_proxy(name, namespace, path=path) - pprint(api_response) -except ApiException as e: - print("Exception when calling CoreV1Api->connect_get_namespaced_service_proxy: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the Service | - **namespace** | **str**| object name and auth scope, such as for teams and projects | - **path** | **str**| Path is the part of URLs that include service endpoints, suffixes, and parameters to use for the current proxy request to service. For example, the whole request URL is http://localhost/api/v1/namespaces/kube-system/services/elasticsearch-logging/_search?q=user:kimchy. Path is _search?q=user:kimchy. | [optional] - -### Return type - -**str** - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: */* - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **connect_get_namespaced_service_proxy_with_path** -> str connect_get_namespaced_service_proxy_with_path(name, namespace, path, path2=path2) - - - -connect GET requests to proxy of Service - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.CoreV1Api() -name = 'name_example' # str | name of the Service -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -path = 'path_example' # str | path to the resource -path2 = 'path_example' # str | Path is the part of URLs that include service endpoints, suffixes, and parameters to use for the current proxy request to service. For example, the whole request URL is http://localhost/api/v1/namespaces/kube-system/services/elasticsearch-logging/_search?q=user:kimchy. Path is _search?q=user:kimchy. (optional) - -try: - api_response = api_instance.connect_get_namespaced_service_proxy_with_path(name, namespace, path, path2=path2) - pprint(api_response) -except ApiException as e: - print("Exception when calling CoreV1Api->connect_get_namespaced_service_proxy_with_path: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the Service | - **namespace** | **str**| object name and auth scope, such as for teams and projects | - **path** | **str**| path to the resource | - **path2** | **str**| Path is the part of URLs that include service endpoints, suffixes, and parameters to use for the current proxy request to service. For example, the whole request URL is http://localhost/api/v1/namespaces/kube-system/services/elasticsearch-logging/_search?q=user:kimchy. Path is _search?q=user:kimchy. | [optional] - -### Return type - -**str** - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: */* - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **connect_get_node_proxy** -> str connect_get_node_proxy(name, path=path) - - - -connect GET requests to proxy of Node - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.CoreV1Api() -name = 'name_example' # str | name of the Node -path = 'path_example' # str | Path is the URL path to use for the current proxy request to node. (optional) - -try: - api_response = api_instance.connect_get_node_proxy(name, path=path) - pprint(api_response) -except ApiException as e: - print("Exception when calling CoreV1Api->connect_get_node_proxy: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the Node | - **path** | **str**| Path is the URL path to use for the current proxy request to node. | [optional] - -### Return type - -**str** - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: */* - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **connect_get_node_proxy_with_path** -> str connect_get_node_proxy_with_path(name, path, path2=path2) - - - -connect GET requests to proxy of Node - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.CoreV1Api() -name = 'name_example' # str | name of the Node -path = 'path_example' # str | path to the resource -path2 = 'path_example' # str | Path is the URL path to use for the current proxy request to node. (optional) - -try: - api_response = api_instance.connect_get_node_proxy_with_path(name, path, path2=path2) - pprint(api_response) -except ApiException as e: - print("Exception when calling CoreV1Api->connect_get_node_proxy_with_path: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the Node | - **path** | **str**| path to the resource | - **path2** | **str**| Path is the URL path to use for the current proxy request to node. | [optional] - -### Return type - -**str** - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: */* - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **connect_head_namespaced_pod_proxy** -> str connect_head_namespaced_pod_proxy(name, namespace, path=path) - - - -connect HEAD requests to proxy of Pod - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.CoreV1Api() -name = 'name_example' # str | name of the Pod -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -path = 'path_example' # str | Path is the URL path to use for the current proxy request to pod. (optional) - -try: - api_response = api_instance.connect_head_namespaced_pod_proxy(name, namespace, path=path) - pprint(api_response) -except ApiException as e: - print("Exception when calling CoreV1Api->connect_head_namespaced_pod_proxy: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the Pod | - **namespace** | **str**| object name and auth scope, such as for teams and projects | - **path** | **str**| Path is the URL path to use for the current proxy request to pod. | [optional] - -### Return type - -**str** - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: */* - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **connect_head_namespaced_pod_proxy_with_path** -> str connect_head_namespaced_pod_proxy_with_path(name, namespace, path, path2=path2) - - - -connect HEAD requests to proxy of Pod - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.CoreV1Api() -name = 'name_example' # str | name of the Pod -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -path = 'path_example' # str | path to the resource -path2 = 'path_example' # str | Path is the URL path to use for the current proxy request to pod. (optional) - -try: - api_response = api_instance.connect_head_namespaced_pod_proxy_with_path(name, namespace, path, path2=path2) - pprint(api_response) -except ApiException as e: - print("Exception when calling CoreV1Api->connect_head_namespaced_pod_proxy_with_path: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the Pod | - **namespace** | **str**| object name and auth scope, such as for teams and projects | - **path** | **str**| path to the resource | - **path2** | **str**| Path is the URL path to use for the current proxy request to pod. | [optional] - -### Return type - -**str** - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: */* - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **connect_head_namespaced_service_proxy** -> str connect_head_namespaced_service_proxy(name, namespace, path=path) - - - -connect HEAD requests to proxy of Service - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.CoreV1Api() -name = 'name_example' # str | name of the Service -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -path = 'path_example' # str | Path is the part of URLs that include service endpoints, suffixes, and parameters to use for the current proxy request to service. For example, the whole request URL is http://localhost/api/v1/namespaces/kube-system/services/elasticsearch-logging/_search?q=user:kimchy. Path is _search?q=user:kimchy. (optional) - -try: - api_response = api_instance.connect_head_namespaced_service_proxy(name, namespace, path=path) - pprint(api_response) -except ApiException as e: - print("Exception when calling CoreV1Api->connect_head_namespaced_service_proxy: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the Service | - **namespace** | **str**| object name and auth scope, such as for teams and projects | - **path** | **str**| Path is the part of URLs that include service endpoints, suffixes, and parameters to use for the current proxy request to service. For example, the whole request URL is http://localhost/api/v1/namespaces/kube-system/services/elasticsearch-logging/_search?q=user:kimchy. Path is _search?q=user:kimchy. | [optional] - -### Return type - -**str** - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: */* - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **connect_head_namespaced_service_proxy_with_path** -> str connect_head_namespaced_service_proxy_with_path(name, namespace, path, path2=path2) - - - -connect HEAD requests to proxy of Service - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.CoreV1Api() -name = 'name_example' # str | name of the Service -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -path = 'path_example' # str | path to the resource -path2 = 'path_example' # str | Path is the part of URLs that include service endpoints, suffixes, and parameters to use for the current proxy request to service. For example, the whole request URL is http://localhost/api/v1/namespaces/kube-system/services/elasticsearch-logging/_search?q=user:kimchy. Path is _search?q=user:kimchy. (optional) - -try: - api_response = api_instance.connect_head_namespaced_service_proxy_with_path(name, namespace, path, path2=path2) - pprint(api_response) -except ApiException as e: - print("Exception when calling CoreV1Api->connect_head_namespaced_service_proxy_with_path: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the Service | - **namespace** | **str**| object name and auth scope, such as for teams and projects | - **path** | **str**| path to the resource | - **path2** | **str**| Path is the part of URLs that include service endpoints, suffixes, and parameters to use for the current proxy request to service. For example, the whole request URL is http://localhost/api/v1/namespaces/kube-system/services/elasticsearch-logging/_search?q=user:kimchy. Path is _search?q=user:kimchy. | [optional] - -### Return type - -**str** - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: */* - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **connect_head_node_proxy** -> str connect_head_node_proxy(name, path=path) - - - -connect HEAD requests to proxy of Node - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.CoreV1Api() -name = 'name_example' # str | name of the Node -path = 'path_example' # str | Path is the URL path to use for the current proxy request to node. (optional) - -try: - api_response = api_instance.connect_head_node_proxy(name, path=path) - pprint(api_response) -except ApiException as e: - print("Exception when calling CoreV1Api->connect_head_node_proxy: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the Node | - **path** | **str**| Path is the URL path to use for the current proxy request to node. | [optional] - -### Return type - -**str** - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: */* - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **connect_head_node_proxy_with_path** -> str connect_head_node_proxy_with_path(name, path, path2=path2) - - - -connect HEAD requests to proxy of Node - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.CoreV1Api() -name = 'name_example' # str | name of the Node -path = 'path_example' # str | path to the resource -path2 = 'path_example' # str | Path is the URL path to use for the current proxy request to node. (optional) - -try: - api_response = api_instance.connect_head_node_proxy_with_path(name, path, path2=path2) - pprint(api_response) -except ApiException as e: - print("Exception when calling CoreV1Api->connect_head_node_proxy_with_path: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the Node | - **path** | **str**| path to the resource | - **path2** | **str**| Path is the URL path to use for the current proxy request to node. | [optional] - -### Return type - -**str** - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: */* - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **connect_options_namespaced_pod_proxy** -> str connect_options_namespaced_pod_proxy(name, namespace, path=path) - - - -connect OPTIONS requests to proxy of Pod - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.CoreV1Api() -name = 'name_example' # str | name of the Pod -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -path = 'path_example' # str | Path is the URL path to use for the current proxy request to pod. (optional) - -try: - api_response = api_instance.connect_options_namespaced_pod_proxy(name, namespace, path=path) - pprint(api_response) -except ApiException as e: - print("Exception when calling CoreV1Api->connect_options_namespaced_pod_proxy: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the Pod | - **namespace** | **str**| object name and auth scope, such as for teams and projects | - **path** | **str**| Path is the URL path to use for the current proxy request to pod. | [optional] - -### Return type - -**str** - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: */* - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **connect_options_namespaced_pod_proxy_with_path** -> str connect_options_namespaced_pod_proxy_with_path(name, namespace, path, path2=path2) - - - -connect OPTIONS requests to proxy of Pod - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.CoreV1Api() -name = 'name_example' # str | name of the Pod -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -path = 'path_example' # str | path to the resource -path2 = 'path_example' # str | Path is the URL path to use for the current proxy request to pod. (optional) - -try: - api_response = api_instance.connect_options_namespaced_pod_proxy_with_path(name, namespace, path, path2=path2) - pprint(api_response) -except ApiException as e: - print("Exception when calling CoreV1Api->connect_options_namespaced_pod_proxy_with_path: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the Pod | - **namespace** | **str**| object name and auth scope, such as for teams and projects | - **path** | **str**| path to the resource | - **path2** | **str**| Path is the URL path to use for the current proxy request to pod. | [optional] - -### Return type - -**str** - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: */* - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **connect_options_namespaced_service_proxy** -> str connect_options_namespaced_service_proxy(name, namespace, path=path) - - - -connect OPTIONS requests to proxy of Service - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.CoreV1Api() -name = 'name_example' # str | name of the Service -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -path = 'path_example' # str | Path is the part of URLs that include service endpoints, suffixes, and parameters to use for the current proxy request to service. For example, the whole request URL is http://localhost/api/v1/namespaces/kube-system/services/elasticsearch-logging/_search?q=user:kimchy. Path is _search?q=user:kimchy. (optional) - -try: - api_response = api_instance.connect_options_namespaced_service_proxy(name, namespace, path=path) - pprint(api_response) -except ApiException as e: - print("Exception when calling CoreV1Api->connect_options_namespaced_service_proxy: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the Service | - **namespace** | **str**| object name and auth scope, such as for teams and projects | - **path** | **str**| Path is the part of URLs that include service endpoints, suffixes, and parameters to use for the current proxy request to service. For example, the whole request URL is http://localhost/api/v1/namespaces/kube-system/services/elasticsearch-logging/_search?q=user:kimchy. Path is _search?q=user:kimchy. | [optional] - -### Return type - -**str** - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: */* - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **connect_options_namespaced_service_proxy_with_path** -> str connect_options_namespaced_service_proxy_with_path(name, namespace, path, path2=path2) - - - -connect OPTIONS requests to proxy of Service - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.CoreV1Api() -name = 'name_example' # str | name of the Service -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -path = 'path_example' # str | path to the resource -path2 = 'path_example' # str | Path is the part of URLs that include service endpoints, suffixes, and parameters to use for the current proxy request to service. For example, the whole request URL is http://localhost/api/v1/namespaces/kube-system/services/elasticsearch-logging/_search?q=user:kimchy. Path is _search?q=user:kimchy. (optional) - -try: - api_response = api_instance.connect_options_namespaced_service_proxy_with_path(name, namespace, path, path2=path2) - pprint(api_response) -except ApiException as e: - print("Exception when calling CoreV1Api->connect_options_namespaced_service_proxy_with_path: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the Service | - **namespace** | **str**| object name and auth scope, such as for teams and projects | - **path** | **str**| path to the resource | - **path2** | **str**| Path is the part of URLs that include service endpoints, suffixes, and parameters to use for the current proxy request to service. For example, the whole request URL is http://localhost/api/v1/namespaces/kube-system/services/elasticsearch-logging/_search?q=user:kimchy. Path is _search?q=user:kimchy. | [optional] - -### Return type - -**str** - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: */* - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **connect_options_node_proxy** -> str connect_options_node_proxy(name, path=path) - - - -connect OPTIONS requests to proxy of Node - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.CoreV1Api() -name = 'name_example' # str | name of the Node -path = 'path_example' # str | Path is the URL path to use for the current proxy request to node. (optional) - -try: - api_response = api_instance.connect_options_node_proxy(name, path=path) - pprint(api_response) -except ApiException as e: - print("Exception when calling CoreV1Api->connect_options_node_proxy: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the Node | - **path** | **str**| Path is the URL path to use for the current proxy request to node. | [optional] - -### Return type - -**str** - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: */* - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **connect_options_node_proxy_with_path** -> str connect_options_node_proxy_with_path(name, path, path2=path2) - - - -connect OPTIONS requests to proxy of Node - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.CoreV1Api() -name = 'name_example' # str | name of the Node -path = 'path_example' # str | path to the resource -path2 = 'path_example' # str | Path is the URL path to use for the current proxy request to node. (optional) - -try: - api_response = api_instance.connect_options_node_proxy_with_path(name, path, path2=path2) - pprint(api_response) -except ApiException as e: - print("Exception when calling CoreV1Api->connect_options_node_proxy_with_path: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the Node | - **path** | **str**| path to the resource | - **path2** | **str**| Path is the URL path to use for the current proxy request to node. | [optional] - -### Return type - -**str** - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: */* - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **connect_post_namespaced_pod_attach** -> str connect_post_namespaced_pod_attach(name, namespace, container=container, stderr=stderr, stdin=stdin, stdout=stdout, tty=tty) - - - -connect POST requests to attach of Pod - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.CoreV1Api() -name = 'name_example' # str | name of the Pod -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -container = 'container_example' # str | The container in which to execute the command. Defaults to only container if there is only one container in the pod. (optional) -stderr = true # bool | Stderr if true indicates that stderr is to be redirected for the attach call. Defaults to true. (optional) -stdin = true # bool | Stdin if true, redirects the standard input stream of the pod for this call. Defaults to false. (optional) -stdout = true # bool | Stdout if true indicates that stdout is to be redirected for the attach call. Defaults to true. (optional) -tty = true # bool | TTY if true indicates that a tty will be allocated for the attach call. This is passed through the container runtime so the tty is allocated on the worker node by the container runtime. Defaults to false. (optional) - -try: - api_response = api_instance.connect_post_namespaced_pod_attach(name, namespace, container=container, stderr=stderr, stdin=stdin, stdout=stdout, tty=tty) - pprint(api_response) -except ApiException as e: - print("Exception when calling CoreV1Api->connect_post_namespaced_pod_attach: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the Pod | - **namespace** | **str**| object name and auth scope, such as for teams and projects | - **container** | **str**| The container in which to execute the command. Defaults to only container if there is only one container in the pod. | [optional] - **stderr** | **bool**| Stderr if true indicates that stderr is to be redirected for the attach call. Defaults to true. | [optional] - **stdin** | **bool**| Stdin if true, redirects the standard input stream of the pod for this call. Defaults to false. | [optional] - **stdout** | **bool**| Stdout if true indicates that stdout is to be redirected for the attach call. Defaults to true. | [optional] - **tty** | **bool**| TTY if true indicates that a tty will be allocated for the attach call. This is passed through the container runtime so the tty is allocated on the worker node by the container runtime. Defaults to false. | [optional] - -### Return type - -**str** - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: */* - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **connect_post_namespaced_pod_exec** -> str connect_post_namespaced_pod_exec(name, namespace, command=command, container=container, stderr=stderr, stdin=stdin, stdout=stdout, tty=tty) - - - -connect POST requests to exec of Pod - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.CoreV1Api() -name = 'name_example' # str | name of the Pod -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -command = 'command_example' # str | Command is the remote command to execute. argv array. Not executed within a shell. (optional) -container = 'container_example' # str | Container in which to execute the command. Defaults to only container if there is only one container in the pod. (optional) -stderr = true # bool | Redirect the standard error stream of the pod for this call. Defaults to true. (optional) -stdin = true # bool | Redirect the standard input stream of the pod for this call. Defaults to false. (optional) -stdout = true # bool | Redirect the standard output stream of the pod for this call. Defaults to true. (optional) -tty = true # bool | TTY if true indicates that a tty will be allocated for the exec call. Defaults to false. (optional) - -try: - api_response = api_instance.connect_post_namespaced_pod_exec(name, namespace, command=command, container=container, stderr=stderr, stdin=stdin, stdout=stdout, tty=tty) - pprint(api_response) -except ApiException as e: - print("Exception when calling CoreV1Api->connect_post_namespaced_pod_exec: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the Pod | - **namespace** | **str**| object name and auth scope, such as for teams and projects | - **command** | **str**| Command is the remote command to execute. argv array. Not executed within a shell. | [optional] - **container** | **str**| Container in which to execute the command. Defaults to only container if there is only one container in the pod. | [optional] - **stderr** | **bool**| Redirect the standard error stream of the pod for this call. Defaults to true. | [optional] - **stdin** | **bool**| Redirect the standard input stream of the pod for this call. Defaults to false. | [optional] - **stdout** | **bool**| Redirect the standard output stream of the pod for this call. Defaults to true. | [optional] - **tty** | **bool**| TTY if true indicates that a tty will be allocated for the exec call. Defaults to false. | [optional] - -### Return type - -**str** - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: */* - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **connect_post_namespaced_pod_portforward** -> str connect_post_namespaced_pod_portforward(name, namespace) - - - -connect POST requests to portforward of Pod - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.CoreV1Api() -name = 'name_example' # str | name of the Pod -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects - -try: - api_response = api_instance.connect_post_namespaced_pod_portforward(name, namespace) - pprint(api_response) -except ApiException as e: - print("Exception when calling CoreV1Api->connect_post_namespaced_pod_portforward: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the Pod | - **namespace** | **str**| object name and auth scope, such as for teams and projects | - -### Return type - -**str** - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: */* - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **connect_post_namespaced_pod_proxy** -> str connect_post_namespaced_pod_proxy(name, namespace, path=path) - - - -connect POST requests to proxy of Pod - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.CoreV1Api() -name = 'name_example' # str | name of the Pod -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -path = 'path_example' # str | Path is the URL path to use for the current proxy request to pod. (optional) - -try: - api_response = api_instance.connect_post_namespaced_pod_proxy(name, namespace, path=path) - pprint(api_response) -except ApiException as e: - print("Exception when calling CoreV1Api->connect_post_namespaced_pod_proxy: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the Pod | - **namespace** | **str**| object name and auth scope, such as for teams and projects | - **path** | **str**| Path is the URL path to use for the current proxy request to pod. | [optional] - -### Return type - -**str** - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: */* - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **connect_post_namespaced_pod_proxy_with_path** -> str connect_post_namespaced_pod_proxy_with_path(name, namespace, path, path2=path2) - - - -connect POST requests to proxy of Pod - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.CoreV1Api() -name = 'name_example' # str | name of the Pod -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -path = 'path_example' # str | path to the resource -path2 = 'path_example' # str | Path is the URL path to use for the current proxy request to pod. (optional) - -try: - api_response = api_instance.connect_post_namespaced_pod_proxy_with_path(name, namespace, path, path2=path2) - pprint(api_response) -except ApiException as e: - print("Exception when calling CoreV1Api->connect_post_namespaced_pod_proxy_with_path: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the Pod | - **namespace** | **str**| object name and auth scope, such as for teams and projects | - **path** | **str**| path to the resource | - **path2** | **str**| Path is the URL path to use for the current proxy request to pod. | [optional] - -### Return type - -**str** - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: */* - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **connect_post_namespaced_service_proxy** -> str connect_post_namespaced_service_proxy(name, namespace, path=path) - - - -connect POST requests to proxy of Service - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.CoreV1Api() -name = 'name_example' # str | name of the Service -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -path = 'path_example' # str | Path is the part of URLs that include service endpoints, suffixes, and parameters to use for the current proxy request to service. For example, the whole request URL is http://localhost/api/v1/namespaces/kube-system/services/elasticsearch-logging/_search?q=user:kimchy. Path is _search?q=user:kimchy. (optional) - -try: - api_response = api_instance.connect_post_namespaced_service_proxy(name, namespace, path=path) - pprint(api_response) -except ApiException as e: - print("Exception when calling CoreV1Api->connect_post_namespaced_service_proxy: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the Service | - **namespace** | **str**| object name and auth scope, such as for teams and projects | - **path** | **str**| Path is the part of URLs that include service endpoints, suffixes, and parameters to use for the current proxy request to service. For example, the whole request URL is http://localhost/api/v1/namespaces/kube-system/services/elasticsearch-logging/_search?q=user:kimchy. Path is _search?q=user:kimchy. | [optional] - -### Return type - -**str** - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: */* - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **connect_post_namespaced_service_proxy_with_path** -> str connect_post_namespaced_service_proxy_with_path(name, namespace, path, path2=path2) - - - -connect POST requests to proxy of Service - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.CoreV1Api() -name = 'name_example' # str | name of the Service -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -path = 'path_example' # str | path to the resource -path2 = 'path_example' # str | Path is the part of URLs that include service endpoints, suffixes, and parameters to use for the current proxy request to service. For example, the whole request URL is http://localhost/api/v1/namespaces/kube-system/services/elasticsearch-logging/_search?q=user:kimchy. Path is _search?q=user:kimchy. (optional) - -try: - api_response = api_instance.connect_post_namespaced_service_proxy_with_path(name, namespace, path, path2=path2) - pprint(api_response) -except ApiException as e: - print("Exception when calling CoreV1Api->connect_post_namespaced_service_proxy_with_path: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the Service | - **namespace** | **str**| object name and auth scope, such as for teams and projects | - **path** | **str**| path to the resource | - **path2** | **str**| Path is the part of URLs that include service endpoints, suffixes, and parameters to use for the current proxy request to service. For example, the whole request URL is http://localhost/api/v1/namespaces/kube-system/services/elasticsearch-logging/_search?q=user:kimchy. Path is _search?q=user:kimchy. | [optional] - -### Return type - -**str** - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: */* - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **connect_post_node_proxy** -> str connect_post_node_proxy(name, path=path) - - - -connect POST requests to proxy of Node - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.CoreV1Api() -name = 'name_example' # str | name of the Node -path = 'path_example' # str | Path is the URL path to use for the current proxy request to node. (optional) - -try: - api_response = api_instance.connect_post_node_proxy(name, path=path) - pprint(api_response) -except ApiException as e: - print("Exception when calling CoreV1Api->connect_post_node_proxy: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the Node | - **path** | **str**| Path is the URL path to use for the current proxy request to node. | [optional] - -### Return type - -**str** - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: */* - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **connect_post_node_proxy_with_path** -> str connect_post_node_proxy_with_path(name, path, path2=path2) - - - -connect POST requests to proxy of Node - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.CoreV1Api() -name = 'name_example' # str | name of the Node -path = 'path_example' # str | path to the resource -path2 = 'path_example' # str | Path is the URL path to use for the current proxy request to node. (optional) - -try: - api_response = api_instance.connect_post_node_proxy_with_path(name, path, path2=path2) - pprint(api_response) -except ApiException as e: - print("Exception when calling CoreV1Api->connect_post_node_proxy_with_path: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the Node | - **path** | **str**| path to the resource | - **path2** | **str**| Path is the URL path to use for the current proxy request to node. | [optional] - -### Return type - -**str** - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: */* - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **connect_put_namespaced_pod_proxy** -> str connect_put_namespaced_pod_proxy(name, namespace, path=path) - - - -connect PUT requests to proxy of Pod - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.CoreV1Api() -name = 'name_example' # str | name of the Pod -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -path = 'path_example' # str | Path is the URL path to use for the current proxy request to pod. (optional) - -try: - api_response = api_instance.connect_put_namespaced_pod_proxy(name, namespace, path=path) - pprint(api_response) -except ApiException as e: - print("Exception when calling CoreV1Api->connect_put_namespaced_pod_proxy: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the Pod | - **namespace** | **str**| object name and auth scope, such as for teams and projects | - **path** | **str**| Path is the URL path to use for the current proxy request to pod. | [optional] - -### Return type - -**str** - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: */* - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **connect_put_namespaced_pod_proxy_with_path** -> str connect_put_namespaced_pod_proxy_with_path(name, namespace, path, path2=path2) - - - -connect PUT requests to proxy of Pod - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.CoreV1Api() -name = 'name_example' # str | name of the Pod -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -path = 'path_example' # str | path to the resource -path2 = 'path_example' # str | Path is the URL path to use for the current proxy request to pod. (optional) - -try: - api_response = api_instance.connect_put_namespaced_pod_proxy_with_path(name, namespace, path, path2=path2) - pprint(api_response) -except ApiException as e: - print("Exception when calling CoreV1Api->connect_put_namespaced_pod_proxy_with_path: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the Pod | - **namespace** | **str**| object name and auth scope, such as for teams and projects | - **path** | **str**| path to the resource | - **path2** | **str**| Path is the URL path to use for the current proxy request to pod. | [optional] - -### Return type - -**str** - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: */* - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **connect_put_namespaced_service_proxy** -> str connect_put_namespaced_service_proxy(name, namespace, path=path) - - - -connect PUT requests to proxy of Service - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.CoreV1Api() -name = 'name_example' # str | name of the Service -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -path = 'path_example' # str | Path is the part of URLs that include service endpoints, suffixes, and parameters to use for the current proxy request to service. For example, the whole request URL is http://localhost/api/v1/namespaces/kube-system/services/elasticsearch-logging/_search?q=user:kimchy. Path is _search?q=user:kimchy. (optional) - -try: - api_response = api_instance.connect_put_namespaced_service_proxy(name, namespace, path=path) - pprint(api_response) -except ApiException as e: - print("Exception when calling CoreV1Api->connect_put_namespaced_service_proxy: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the Service | - **namespace** | **str**| object name and auth scope, such as for teams and projects | - **path** | **str**| Path is the part of URLs that include service endpoints, suffixes, and parameters to use for the current proxy request to service. For example, the whole request URL is http://localhost/api/v1/namespaces/kube-system/services/elasticsearch-logging/_search?q=user:kimchy. Path is _search?q=user:kimchy. | [optional] - -### Return type - -**str** - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: */* - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **connect_put_namespaced_service_proxy_with_path** -> str connect_put_namespaced_service_proxy_with_path(name, namespace, path, path2=path2) - - - -connect PUT requests to proxy of Service - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.CoreV1Api() -name = 'name_example' # str | name of the Service -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -path = 'path_example' # str | path to the resource -path2 = 'path_example' # str | Path is the part of URLs that include service endpoints, suffixes, and parameters to use for the current proxy request to service. For example, the whole request URL is http://localhost/api/v1/namespaces/kube-system/services/elasticsearch-logging/_search?q=user:kimchy. Path is _search?q=user:kimchy. (optional) - -try: - api_response = api_instance.connect_put_namespaced_service_proxy_with_path(name, namespace, path, path2=path2) - pprint(api_response) -except ApiException as e: - print("Exception when calling CoreV1Api->connect_put_namespaced_service_proxy_with_path: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the Service | - **namespace** | **str**| object name and auth scope, such as for teams and projects | - **path** | **str**| path to the resource | - **path2** | **str**| Path is the part of URLs that include service endpoints, suffixes, and parameters to use for the current proxy request to service. For example, the whole request URL is http://localhost/api/v1/namespaces/kube-system/services/elasticsearch-logging/_search?q=user:kimchy. Path is _search?q=user:kimchy. | [optional] - -### Return type - -**str** - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: */* - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **connect_put_node_proxy** -> str connect_put_node_proxy(name, path=path) - - - -connect PUT requests to proxy of Node - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.CoreV1Api() -name = 'name_example' # str | name of the Node -path = 'path_example' # str | Path is the URL path to use for the current proxy request to node. (optional) - -try: - api_response = api_instance.connect_put_node_proxy(name, path=path) - pprint(api_response) -except ApiException as e: - print("Exception when calling CoreV1Api->connect_put_node_proxy: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the Node | - **path** | **str**| Path is the URL path to use for the current proxy request to node. | [optional] - -### Return type - -**str** - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: */* - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **connect_put_node_proxy_with_path** -> str connect_put_node_proxy_with_path(name, path, path2=path2) - - - -connect PUT requests to proxy of Node - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.CoreV1Api() -name = 'name_example' # str | name of the Node -path = 'path_example' # str | path to the resource -path2 = 'path_example' # str | Path is the URL path to use for the current proxy request to node. (optional) - -try: - api_response = api_instance.connect_put_node_proxy_with_path(name, path, path2=path2) - pprint(api_response) -except ApiException as e: - print("Exception when calling CoreV1Api->connect_put_node_proxy_with_path: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the Node | - **path** | **str**| path to the resource | - **path2** | **str**| Path is the URL path to use for the current proxy request to node. | [optional] - -### Return type - -**str** - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: */* - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **create_binding_for_all_namespaces** -> V1Binding create_binding_for_all_namespaces(body, pretty=pretty) - - - -create a Binding - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.CoreV1Api() -body = openshift.client.V1Binding() # V1Binding | -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) - -try: - api_response = api_instance.create_binding_for_all_namespaces(body, pretty=pretty) - pprint(api_response) -except ApiException as e: - print("Exception when calling CoreV1Api->create_binding_for_all_namespaces: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **body** | [**V1Binding**](V1Binding.md)| | - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - -### Return type - -[**V1Binding**](V1Binding.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **create_config_map_for_all_namespaces** -> V1ConfigMap create_config_map_for_all_namespaces(body, pretty=pretty) - - - -create a ConfigMap - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.CoreV1Api() -body = openshift.client.V1ConfigMap() # V1ConfigMap | -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) - -try: - api_response = api_instance.create_config_map_for_all_namespaces(body, pretty=pretty) - pprint(api_response) -except ApiException as e: - print("Exception when calling CoreV1Api->create_config_map_for_all_namespaces: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **body** | [**V1ConfigMap**](V1ConfigMap.md)| | - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - -### Return type - -[**V1ConfigMap**](V1ConfigMap.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **create_endpoints_for_all_namespaces** -> V1Endpoints create_endpoints_for_all_namespaces(body, pretty=pretty) - - - -create Endpoints - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.CoreV1Api() -body = openshift.client.V1Endpoints() # V1Endpoints | -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) - -try: - api_response = api_instance.create_endpoints_for_all_namespaces(body, pretty=pretty) - pprint(api_response) -except ApiException as e: - print("Exception when calling CoreV1Api->create_endpoints_for_all_namespaces: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **body** | [**V1Endpoints**](V1Endpoints.md)| | - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - -### Return type - -[**V1Endpoints**](V1Endpoints.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **create_event_for_all_namespaces** -> V1Event create_event_for_all_namespaces(body, pretty=pretty) - - - -create an Event - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.CoreV1Api() -body = openshift.client.V1Event() # V1Event | -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) - -try: - api_response = api_instance.create_event_for_all_namespaces(body, pretty=pretty) - pprint(api_response) -except ApiException as e: - print("Exception when calling CoreV1Api->create_event_for_all_namespaces: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **body** | [**V1Event**](V1Event.md)| | - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - -### Return type - -[**V1Event**](V1Event.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **create_limit_range_for_all_namespaces** -> V1LimitRange create_limit_range_for_all_namespaces(body, pretty=pretty) - - - -create a LimitRange - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.CoreV1Api() -body = openshift.client.V1LimitRange() # V1LimitRange | -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) - -try: - api_response = api_instance.create_limit_range_for_all_namespaces(body, pretty=pretty) - pprint(api_response) -except ApiException as e: - print("Exception when calling CoreV1Api->create_limit_range_for_all_namespaces: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **body** | [**V1LimitRange**](V1LimitRange.md)| | - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - -### Return type - -[**V1LimitRange**](V1LimitRange.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **create_namespace** -> V1Namespace create_namespace(body, pretty=pretty) - - - -create a Namespace - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.CoreV1Api() -body = openshift.client.V1Namespace() # V1Namespace | -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) - -try: - api_response = api_instance.create_namespace(body, pretty=pretty) - pprint(api_response) -except ApiException as e: - print("Exception when calling CoreV1Api->create_namespace: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **body** | [**V1Namespace**](V1Namespace.md)| | - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - -### Return type - -[**V1Namespace**](V1Namespace.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **create_namespaced_binding** -> V1Binding create_namespaced_binding(body, namespace, pretty=pretty) - - - -create a Binding - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.CoreV1Api() -body = openshift.client.V1Binding() # V1Binding | -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) - -try: - api_response = api_instance.create_namespaced_binding(body, namespace, pretty=pretty) - pprint(api_response) -except ApiException as e: - print("Exception when calling CoreV1Api->create_namespaced_binding: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **body** | [**V1Binding**](V1Binding.md)| | - **namespace** | **str**| object name and auth scope, such as for teams and projects | - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - -### Return type - -[**V1Binding**](V1Binding.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **create_namespaced_binding_binding** -> V1Binding create_namespaced_binding_binding(body, name, namespace, pretty=pretty) - - - -create binding of a Binding - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.CoreV1Api() -body = openshift.client.V1Binding() # V1Binding | -name = 'name_example' # str | name of the Binding -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) - -try: - api_response = api_instance.create_namespaced_binding_binding(body, name, namespace, pretty=pretty) - pprint(api_response) -except ApiException as e: - print("Exception when calling CoreV1Api->create_namespaced_binding_binding: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **body** | [**V1Binding**](V1Binding.md)| | - **name** | **str**| name of the Binding | - **namespace** | **str**| object name and auth scope, such as for teams and projects | - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - -### Return type - -[**V1Binding**](V1Binding.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **create_namespaced_config_map** -> V1ConfigMap create_namespaced_config_map(namespace, body, pretty=pretty) - - - -create a ConfigMap - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.CoreV1Api() -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = openshift.client.V1ConfigMap() # V1ConfigMap | -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) - -try: - api_response = api_instance.create_namespaced_config_map(namespace, body, pretty=pretty) - pprint(api_response) -except ApiException as e: - print("Exception when calling CoreV1Api->create_namespaced_config_map: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **namespace** | **str**| object name and auth scope, such as for teams and projects | - **body** | [**V1ConfigMap**](V1ConfigMap.md)| | - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - -### Return type - -[**V1ConfigMap**](V1ConfigMap.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **create_namespaced_endpoints** -> V1Endpoints create_namespaced_endpoints(namespace, body, pretty=pretty) - - - -create Endpoints - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.CoreV1Api() -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = openshift.client.V1Endpoints() # V1Endpoints | -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) - -try: - api_response = api_instance.create_namespaced_endpoints(namespace, body, pretty=pretty) - pprint(api_response) -except ApiException as e: - print("Exception when calling CoreV1Api->create_namespaced_endpoints: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **namespace** | **str**| object name and auth scope, such as for teams and projects | - **body** | [**V1Endpoints**](V1Endpoints.md)| | - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - -### Return type - -[**V1Endpoints**](V1Endpoints.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **create_namespaced_event** -> V1Event create_namespaced_event(namespace, body, pretty=pretty) - - - -create an Event - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.CoreV1Api() -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = openshift.client.V1Event() # V1Event | -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) - -try: - api_response = api_instance.create_namespaced_event(namespace, body, pretty=pretty) - pprint(api_response) -except ApiException as e: - print("Exception when calling CoreV1Api->create_namespaced_event: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **namespace** | **str**| object name and auth scope, such as for teams and projects | - **body** | [**V1Event**](V1Event.md)| | - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - -### Return type - -[**V1Event**](V1Event.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **create_namespaced_eviction_eviction** -> V1beta1Eviction create_namespaced_eviction_eviction(body, name, namespace, pretty=pretty) - - - -create eviction of an Eviction - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.CoreV1Api() -body = openshift.client.V1beta1Eviction() # V1beta1Eviction | -name = 'name_example' # str | name of the Eviction -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) - -try: - api_response = api_instance.create_namespaced_eviction_eviction(body, name, namespace, pretty=pretty) - pprint(api_response) -except ApiException as e: - print("Exception when calling CoreV1Api->create_namespaced_eviction_eviction: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **body** | [**V1beta1Eviction**](V1beta1Eviction.md)| | - **name** | **str**| name of the Eviction | - **namespace** | **str**| object name and auth scope, such as for teams and projects | - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - -### Return type - -[**V1beta1Eviction**](V1beta1Eviction.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **create_namespaced_limit_range** -> V1LimitRange create_namespaced_limit_range(namespace, body, pretty=pretty) - - - -create a LimitRange - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.CoreV1Api() -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = openshift.client.V1LimitRange() # V1LimitRange | -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) - -try: - api_response = api_instance.create_namespaced_limit_range(namespace, body, pretty=pretty) - pprint(api_response) -except ApiException as e: - print("Exception when calling CoreV1Api->create_namespaced_limit_range: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **namespace** | **str**| object name and auth scope, such as for teams and projects | - **body** | [**V1LimitRange**](V1LimitRange.md)| | - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - -### Return type - -[**V1LimitRange**](V1LimitRange.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **create_namespaced_persistent_volume_claim** -> V1PersistentVolumeClaim create_namespaced_persistent_volume_claim(namespace, body, pretty=pretty) - - - -create a PersistentVolumeClaim - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.CoreV1Api() -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = openshift.client.V1PersistentVolumeClaim() # V1PersistentVolumeClaim | -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) - -try: - api_response = api_instance.create_namespaced_persistent_volume_claim(namespace, body, pretty=pretty) - pprint(api_response) -except ApiException as e: - print("Exception when calling CoreV1Api->create_namespaced_persistent_volume_claim: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **namespace** | **str**| object name and auth scope, such as for teams and projects | - **body** | [**V1PersistentVolumeClaim**](V1PersistentVolumeClaim.md)| | - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - -### Return type - -[**V1PersistentVolumeClaim**](V1PersistentVolumeClaim.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **create_namespaced_pod** -> V1Pod create_namespaced_pod(namespace, body, pretty=pretty) - - - -create a Pod - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.CoreV1Api() -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = openshift.client.V1Pod() # V1Pod | -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) - -try: - api_response = api_instance.create_namespaced_pod(namespace, body, pretty=pretty) - pprint(api_response) -except ApiException as e: - print("Exception when calling CoreV1Api->create_namespaced_pod: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **namespace** | **str**| object name and auth scope, such as for teams and projects | - **body** | [**V1Pod**](V1Pod.md)| | - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - -### Return type - -[**V1Pod**](V1Pod.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **create_namespaced_pod_template** -> V1PodTemplate create_namespaced_pod_template(namespace, body, pretty=pretty) - - - -create a PodTemplate - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.CoreV1Api() -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = openshift.client.V1PodTemplate() # V1PodTemplate | -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) - -try: - api_response = api_instance.create_namespaced_pod_template(namespace, body, pretty=pretty) - pprint(api_response) -except ApiException as e: - print("Exception when calling CoreV1Api->create_namespaced_pod_template: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **namespace** | **str**| object name and auth scope, such as for teams and projects | - **body** | [**V1PodTemplate**](V1PodTemplate.md)| | - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - -### Return type - -[**V1PodTemplate**](V1PodTemplate.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **create_namespaced_replication_controller** -> V1ReplicationController create_namespaced_replication_controller(namespace, body, pretty=pretty) - - - -create a ReplicationController - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.CoreV1Api() -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = openshift.client.V1ReplicationController() # V1ReplicationController | -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) - -try: - api_response = api_instance.create_namespaced_replication_controller(namespace, body, pretty=pretty) - pprint(api_response) -except ApiException as e: - print("Exception when calling CoreV1Api->create_namespaced_replication_controller: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **namespace** | **str**| object name and auth scope, such as for teams and projects | - **body** | [**V1ReplicationController**](V1ReplicationController.md)| | - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - -### Return type - -[**V1ReplicationController**](V1ReplicationController.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **create_namespaced_resource_quota** -> V1ResourceQuota create_namespaced_resource_quota(namespace, body, pretty=pretty) - - - -create a ResourceQuota - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.CoreV1Api() -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = openshift.client.V1ResourceQuota() # V1ResourceQuota | -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) - -try: - api_response = api_instance.create_namespaced_resource_quota(namespace, body, pretty=pretty) - pprint(api_response) -except ApiException as e: - print("Exception when calling CoreV1Api->create_namespaced_resource_quota: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **namespace** | **str**| object name and auth scope, such as for teams and projects | - **body** | [**V1ResourceQuota**](V1ResourceQuota.md)| | - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - -### Return type - -[**V1ResourceQuota**](V1ResourceQuota.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **create_namespaced_secret** -> V1Secret create_namespaced_secret(namespace, body, pretty=pretty) - - - -create a Secret - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.CoreV1Api() -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = openshift.client.V1Secret() # V1Secret | -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) - -try: - api_response = api_instance.create_namespaced_secret(namespace, body, pretty=pretty) - pprint(api_response) -except ApiException as e: - print("Exception when calling CoreV1Api->create_namespaced_secret: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **namespace** | **str**| object name and auth scope, such as for teams and projects | - **body** | [**V1Secret**](V1Secret.md)| | - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - -### Return type - -[**V1Secret**](V1Secret.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **create_namespaced_service** -> V1Service create_namespaced_service(namespace, body, pretty=pretty) - - - -create a Service - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.CoreV1Api() -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = openshift.client.V1Service() # V1Service | -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) - -try: - api_response = api_instance.create_namespaced_service(namespace, body, pretty=pretty) - pprint(api_response) -except ApiException as e: - print("Exception when calling CoreV1Api->create_namespaced_service: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **namespace** | **str**| object name and auth scope, such as for teams and projects | - **body** | [**V1Service**](V1Service.md)| | - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - -### Return type - -[**V1Service**](V1Service.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **create_namespaced_service_account** -> V1ServiceAccount create_namespaced_service_account(namespace, body, pretty=pretty) - - - -create a ServiceAccount - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.CoreV1Api() -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = openshift.client.V1ServiceAccount() # V1ServiceAccount | -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) - -try: - api_response = api_instance.create_namespaced_service_account(namespace, body, pretty=pretty) - pprint(api_response) -except ApiException as e: - print("Exception when calling CoreV1Api->create_namespaced_service_account: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **namespace** | **str**| object name and auth scope, such as for teams and projects | - **body** | [**V1ServiceAccount**](V1ServiceAccount.md)| | - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - -### Return type - -[**V1ServiceAccount**](V1ServiceAccount.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **create_node** -> V1Node create_node(body, pretty=pretty) - - - -create a Node - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.CoreV1Api() -body = openshift.client.V1Node() # V1Node | -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) - -try: - api_response = api_instance.create_node(body, pretty=pretty) - pprint(api_response) -except ApiException as e: - print("Exception when calling CoreV1Api->create_node: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **body** | [**V1Node**](V1Node.md)| | - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - -### Return type - -[**V1Node**](V1Node.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **create_persistent_volume** -> V1PersistentVolume create_persistent_volume(body, pretty=pretty) - - - -create a PersistentVolume - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.CoreV1Api() -body = openshift.client.V1PersistentVolume() # V1PersistentVolume | -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) - -try: - api_response = api_instance.create_persistent_volume(body, pretty=pretty) - pprint(api_response) -except ApiException as e: - print("Exception when calling CoreV1Api->create_persistent_volume: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **body** | [**V1PersistentVolume**](V1PersistentVolume.md)| | - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - -### Return type - -[**V1PersistentVolume**](V1PersistentVolume.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **create_persistent_volume_claim_for_all_namespaces** -> V1PersistentVolumeClaim create_persistent_volume_claim_for_all_namespaces(body, pretty=pretty) - - - -create a PersistentVolumeClaim - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.CoreV1Api() -body = openshift.client.V1PersistentVolumeClaim() # V1PersistentVolumeClaim | -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) - -try: - api_response = api_instance.create_persistent_volume_claim_for_all_namespaces(body, pretty=pretty) - pprint(api_response) -except ApiException as e: - print("Exception when calling CoreV1Api->create_persistent_volume_claim_for_all_namespaces: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **body** | [**V1PersistentVolumeClaim**](V1PersistentVolumeClaim.md)| | - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - -### Return type - -[**V1PersistentVolumeClaim**](V1PersistentVolumeClaim.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **create_pod_for_all_namespaces** -> V1Pod create_pod_for_all_namespaces(body, pretty=pretty) - - - -create a Pod - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.CoreV1Api() -body = openshift.client.V1Pod() # V1Pod | -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) - -try: - api_response = api_instance.create_pod_for_all_namespaces(body, pretty=pretty) - pprint(api_response) -except ApiException as e: - print("Exception when calling CoreV1Api->create_pod_for_all_namespaces: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **body** | [**V1Pod**](V1Pod.md)| | - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - -### Return type - -[**V1Pod**](V1Pod.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **create_pod_template_for_all_namespaces** -> V1PodTemplate create_pod_template_for_all_namespaces(body, pretty=pretty) - - - -create a PodTemplate - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.CoreV1Api() -body = openshift.client.V1PodTemplate() # V1PodTemplate | -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) - -try: - api_response = api_instance.create_pod_template_for_all_namespaces(body, pretty=pretty) - pprint(api_response) -except ApiException as e: - print("Exception when calling CoreV1Api->create_pod_template_for_all_namespaces: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **body** | [**V1PodTemplate**](V1PodTemplate.md)| | - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - -### Return type - -[**V1PodTemplate**](V1PodTemplate.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **create_replication_controller_for_all_namespaces** -> V1ReplicationController create_replication_controller_for_all_namespaces(body, pretty=pretty) - - - -create a ReplicationController - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.CoreV1Api() -body = openshift.client.V1ReplicationController() # V1ReplicationController | -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) - -try: - api_response = api_instance.create_replication_controller_for_all_namespaces(body, pretty=pretty) - pprint(api_response) -except ApiException as e: - print("Exception when calling CoreV1Api->create_replication_controller_for_all_namespaces: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **body** | [**V1ReplicationController**](V1ReplicationController.md)| | - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - -### Return type - -[**V1ReplicationController**](V1ReplicationController.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **create_resource_quota_for_all_namespaces** -> V1ResourceQuota create_resource_quota_for_all_namespaces(body, pretty=pretty) - - - -create a ResourceQuota - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.CoreV1Api() -body = openshift.client.V1ResourceQuota() # V1ResourceQuota | -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) - -try: - api_response = api_instance.create_resource_quota_for_all_namespaces(body, pretty=pretty) - pprint(api_response) -except ApiException as e: - print("Exception when calling CoreV1Api->create_resource_quota_for_all_namespaces: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **body** | [**V1ResourceQuota**](V1ResourceQuota.md)| | - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - -### Return type - -[**V1ResourceQuota**](V1ResourceQuota.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **create_secret_for_all_namespaces** -> V1Secret create_secret_for_all_namespaces(body, pretty=pretty) - - - -create a Secret - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.CoreV1Api() -body = openshift.client.V1Secret() # V1Secret | -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) - -try: - api_response = api_instance.create_secret_for_all_namespaces(body, pretty=pretty) - pprint(api_response) -except ApiException as e: - print("Exception when calling CoreV1Api->create_secret_for_all_namespaces: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **body** | [**V1Secret**](V1Secret.md)| | - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - -### Return type - -[**V1Secret**](V1Secret.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **create_security_context_constraints** -> V1SecurityContextConstraints create_security_context_constraints(body, pretty=pretty) - - - -create SecurityContextConstraints - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.CoreV1Api() -body = openshift.client.V1SecurityContextConstraints() # V1SecurityContextConstraints | -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) - -try: - api_response = api_instance.create_security_context_constraints(body, pretty=pretty) - pprint(api_response) -except ApiException as e: - print("Exception when calling CoreV1Api->create_security_context_constraints: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **body** | [**V1SecurityContextConstraints**](V1SecurityContextConstraints.md)| | - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - -### Return type - -[**V1SecurityContextConstraints**](V1SecurityContextConstraints.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **create_service_account_for_all_namespaces** -> V1ServiceAccount create_service_account_for_all_namespaces(body, pretty=pretty) - - - -create a ServiceAccount - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.CoreV1Api() -body = openshift.client.V1ServiceAccount() # V1ServiceAccount | -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) - -try: - api_response = api_instance.create_service_account_for_all_namespaces(body, pretty=pretty) - pprint(api_response) -except ApiException as e: - print("Exception when calling CoreV1Api->create_service_account_for_all_namespaces: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **body** | [**V1ServiceAccount**](V1ServiceAccount.md)| | - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - -### Return type - -[**V1ServiceAccount**](V1ServiceAccount.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **create_service_for_all_namespaces** -> V1Service create_service_for_all_namespaces(body, pretty=pretty) - - - -create a Service - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.CoreV1Api() -body = openshift.client.V1Service() # V1Service | -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) - -try: - api_response = api_instance.create_service_for_all_namespaces(body, pretty=pretty) - pprint(api_response) -except ApiException as e: - print("Exception when calling CoreV1Api->create_service_for_all_namespaces: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **body** | [**V1Service**](V1Service.md)| | - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - -### Return type - -[**V1Service**](V1Service.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **delete_collection_namespace** -> UnversionedStatus delete_collection_namespace(pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) - - - -delete collection of Namespace - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.CoreV1Api() -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) -field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) -label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. (optional) -timeout_seconds = 56 # int | Timeout for the list/watch call. (optional) -watch = true # bool | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) - -try: - api_response = api_instance.delete_collection_namespace(pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) - pprint(api_response) -except ApiException as e: - print("Exception when calling CoreV1Api->delete_collection_namespace: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] - **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. | [optional] - **timeout_seconds** | **int**| Timeout for the list/watch call. | [optional] - **watch** | **bool**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] - -### Return type - -[**UnversionedStatus**](UnversionedStatus.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **delete_collection_namespaced_config_map** -> UnversionedStatus delete_collection_namespaced_config_map(namespace, pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) - - - -delete collection of ConfigMap - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.CoreV1Api() -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) -field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) -label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. (optional) -timeout_seconds = 56 # int | Timeout for the list/watch call. (optional) -watch = true # bool | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) - -try: - api_response = api_instance.delete_collection_namespaced_config_map(namespace, pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) - pprint(api_response) -except ApiException as e: - print("Exception when calling CoreV1Api->delete_collection_namespaced_config_map: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **namespace** | **str**| object name and auth scope, such as for teams and projects | - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] - **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. | [optional] - **timeout_seconds** | **int**| Timeout for the list/watch call. | [optional] - **watch** | **bool**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] - -### Return type - -[**UnversionedStatus**](UnversionedStatus.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **delete_collection_namespaced_endpoints** -> UnversionedStatus delete_collection_namespaced_endpoints(namespace, pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) - - - -delete collection of Endpoints - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.CoreV1Api() -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) -field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) -label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. (optional) -timeout_seconds = 56 # int | Timeout for the list/watch call. (optional) -watch = true # bool | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) - -try: - api_response = api_instance.delete_collection_namespaced_endpoints(namespace, pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) - pprint(api_response) -except ApiException as e: - print("Exception when calling CoreV1Api->delete_collection_namespaced_endpoints: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **namespace** | **str**| object name and auth scope, such as for teams and projects | - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] - **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. | [optional] - **timeout_seconds** | **int**| Timeout for the list/watch call. | [optional] - **watch** | **bool**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] - -### Return type - -[**UnversionedStatus**](UnversionedStatus.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **delete_collection_namespaced_event** -> UnversionedStatus delete_collection_namespaced_event(namespace, pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) - - - -delete collection of Event - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.CoreV1Api() -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) -field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) -label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. (optional) -timeout_seconds = 56 # int | Timeout for the list/watch call. (optional) -watch = true # bool | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) - -try: - api_response = api_instance.delete_collection_namespaced_event(namespace, pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) - pprint(api_response) -except ApiException as e: - print("Exception when calling CoreV1Api->delete_collection_namespaced_event: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **namespace** | **str**| object name and auth scope, such as for teams and projects | - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] - **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. | [optional] - **timeout_seconds** | **int**| Timeout for the list/watch call. | [optional] - **watch** | **bool**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] - -### Return type - -[**UnversionedStatus**](UnversionedStatus.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **delete_collection_namespaced_limit_range** -> UnversionedStatus delete_collection_namespaced_limit_range(namespace, pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) - - - -delete collection of LimitRange - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.CoreV1Api() -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) -field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) -label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. (optional) -timeout_seconds = 56 # int | Timeout for the list/watch call. (optional) -watch = true # bool | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) - -try: - api_response = api_instance.delete_collection_namespaced_limit_range(namespace, pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) - pprint(api_response) -except ApiException as e: - print("Exception when calling CoreV1Api->delete_collection_namespaced_limit_range: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **namespace** | **str**| object name and auth scope, such as for teams and projects | - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] - **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. | [optional] - **timeout_seconds** | **int**| Timeout for the list/watch call. | [optional] - **watch** | **bool**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] - -### Return type - -[**UnversionedStatus**](UnversionedStatus.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **delete_collection_namespaced_persistent_volume_claim** -> UnversionedStatus delete_collection_namespaced_persistent_volume_claim(namespace, pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) - - - -delete collection of PersistentVolumeClaim - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.CoreV1Api() -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) -field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) -label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. (optional) -timeout_seconds = 56 # int | Timeout for the list/watch call. (optional) -watch = true # bool | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) - -try: - api_response = api_instance.delete_collection_namespaced_persistent_volume_claim(namespace, pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) - pprint(api_response) -except ApiException as e: - print("Exception when calling CoreV1Api->delete_collection_namespaced_persistent_volume_claim: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **namespace** | **str**| object name and auth scope, such as for teams and projects | - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] - **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. | [optional] - **timeout_seconds** | **int**| Timeout for the list/watch call. | [optional] - **watch** | **bool**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] - -### Return type - -[**UnversionedStatus**](UnversionedStatus.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **delete_collection_namespaced_pod** -> UnversionedStatus delete_collection_namespaced_pod(namespace, pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) - - - -delete collection of Pod - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.CoreV1Api() -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) -field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) -label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. (optional) -timeout_seconds = 56 # int | Timeout for the list/watch call. (optional) -watch = true # bool | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) - -try: - api_response = api_instance.delete_collection_namespaced_pod(namespace, pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) - pprint(api_response) -except ApiException as e: - print("Exception when calling CoreV1Api->delete_collection_namespaced_pod: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **namespace** | **str**| object name and auth scope, such as for teams and projects | - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] - **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. | [optional] - **timeout_seconds** | **int**| Timeout for the list/watch call. | [optional] - **watch** | **bool**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] - -### Return type - -[**UnversionedStatus**](UnversionedStatus.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **delete_collection_namespaced_pod_template** -> UnversionedStatus delete_collection_namespaced_pod_template(namespace, pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) - - - -delete collection of PodTemplate - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.CoreV1Api() -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) -field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) -label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. (optional) -timeout_seconds = 56 # int | Timeout for the list/watch call. (optional) -watch = true # bool | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) - -try: - api_response = api_instance.delete_collection_namespaced_pod_template(namespace, pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) - pprint(api_response) -except ApiException as e: - print("Exception when calling CoreV1Api->delete_collection_namespaced_pod_template: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **namespace** | **str**| object name and auth scope, such as for teams and projects | - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] - **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. | [optional] - **timeout_seconds** | **int**| Timeout for the list/watch call. | [optional] - **watch** | **bool**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] - -### Return type - -[**UnversionedStatus**](UnversionedStatus.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **delete_collection_namespaced_replication_controller** -> UnversionedStatus delete_collection_namespaced_replication_controller(namespace, pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) - - - -delete collection of ReplicationController - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.CoreV1Api() -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) -field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) -label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. (optional) -timeout_seconds = 56 # int | Timeout for the list/watch call. (optional) -watch = true # bool | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) - -try: - api_response = api_instance.delete_collection_namespaced_replication_controller(namespace, pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) - pprint(api_response) -except ApiException as e: - print("Exception when calling CoreV1Api->delete_collection_namespaced_replication_controller: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **namespace** | **str**| object name and auth scope, such as for teams and projects | - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] - **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. | [optional] - **timeout_seconds** | **int**| Timeout for the list/watch call. | [optional] - **watch** | **bool**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] - -### Return type - -[**UnversionedStatus**](UnversionedStatus.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **delete_collection_namespaced_resource_quota** -> UnversionedStatus delete_collection_namespaced_resource_quota(namespace, pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) - - - -delete collection of ResourceQuota - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.CoreV1Api() -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) -field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) -label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. (optional) -timeout_seconds = 56 # int | Timeout for the list/watch call. (optional) -watch = true # bool | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) - -try: - api_response = api_instance.delete_collection_namespaced_resource_quota(namespace, pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) - pprint(api_response) -except ApiException as e: - print("Exception when calling CoreV1Api->delete_collection_namespaced_resource_quota: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **namespace** | **str**| object name and auth scope, such as for teams and projects | - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] - **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. | [optional] - **timeout_seconds** | **int**| Timeout for the list/watch call. | [optional] - **watch** | **bool**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] - -### Return type - -[**UnversionedStatus**](UnversionedStatus.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **delete_collection_namespaced_secret** -> UnversionedStatus delete_collection_namespaced_secret(namespace, pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) - - - -delete collection of Secret - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.CoreV1Api() -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) -field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) -label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. (optional) -timeout_seconds = 56 # int | Timeout for the list/watch call. (optional) -watch = true # bool | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) - -try: - api_response = api_instance.delete_collection_namespaced_secret(namespace, pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) - pprint(api_response) -except ApiException as e: - print("Exception when calling CoreV1Api->delete_collection_namespaced_secret: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **namespace** | **str**| object name and auth scope, such as for teams and projects | - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] - **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. | [optional] - **timeout_seconds** | **int**| Timeout for the list/watch call. | [optional] - **watch** | **bool**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] - -### Return type - -[**UnversionedStatus**](UnversionedStatus.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **delete_collection_namespaced_service_account** -> UnversionedStatus delete_collection_namespaced_service_account(namespace, pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) - - - -delete collection of ServiceAccount - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.CoreV1Api() -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) -field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) -label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. (optional) -timeout_seconds = 56 # int | Timeout for the list/watch call. (optional) -watch = true # bool | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) - -try: - api_response = api_instance.delete_collection_namespaced_service_account(namespace, pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) - pprint(api_response) -except ApiException as e: - print("Exception when calling CoreV1Api->delete_collection_namespaced_service_account: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **namespace** | **str**| object name and auth scope, such as for teams and projects | - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] - **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. | [optional] - **timeout_seconds** | **int**| Timeout for the list/watch call. | [optional] - **watch** | **bool**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] - -### Return type - -[**UnversionedStatus**](UnversionedStatus.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **delete_collection_node** -> UnversionedStatus delete_collection_node(pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) - - - -delete collection of Node - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.CoreV1Api() -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) -field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) -label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. (optional) -timeout_seconds = 56 # int | Timeout for the list/watch call. (optional) -watch = true # bool | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) - -try: - api_response = api_instance.delete_collection_node(pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) - pprint(api_response) -except ApiException as e: - print("Exception when calling CoreV1Api->delete_collection_node: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] - **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. | [optional] - **timeout_seconds** | **int**| Timeout for the list/watch call. | [optional] - **watch** | **bool**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] - -### Return type - -[**UnversionedStatus**](UnversionedStatus.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **delete_collection_persistent_volume** -> UnversionedStatus delete_collection_persistent_volume(pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) - - - -delete collection of PersistentVolume - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.CoreV1Api() -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) -field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) -label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. (optional) -timeout_seconds = 56 # int | Timeout for the list/watch call. (optional) -watch = true # bool | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) - -try: - api_response = api_instance.delete_collection_persistent_volume(pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) - pprint(api_response) -except ApiException as e: - print("Exception when calling CoreV1Api->delete_collection_persistent_volume: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] - **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. | [optional] - **timeout_seconds** | **int**| Timeout for the list/watch call. | [optional] - **watch** | **bool**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] - -### Return type - -[**UnversionedStatus**](UnversionedStatus.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **delete_collection_security_context_constraints** -> UnversionedStatus delete_collection_security_context_constraints(pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) - - - -delete collection of SecurityContextConstraints - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.CoreV1Api() -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) -field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) -label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. (optional) -timeout_seconds = 56 # int | Timeout for the list/watch call. (optional) -watch = true # bool | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) - -try: - api_response = api_instance.delete_collection_security_context_constraints(pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) - pprint(api_response) -except ApiException as e: - print("Exception when calling CoreV1Api->delete_collection_security_context_constraints: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] - **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. | [optional] - **timeout_seconds** | **int**| Timeout for the list/watch call. | [optional] - **watch** | **bool**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] - -### Return type - -[**UnversionedStatus**](UnversionedStatus.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **delete_namespace** -> UnversionedStatus delete_namespace(name, body, pretty=pretty, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents) - - - -delete a Namespace - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.CoreV1Api() -name = 'name_example' # str | name of the Namespace -body = openshift.client.V1DeleteOptions() # V1DeleteOptions | -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) -grace_period_seconds = 56 # int | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) -orphan_dependents = true # bool | Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. (optional) - -try: - api_response = api_instance.delete_namespace(name, body, pretty=pretty, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents) - pprint(api_response) -except ApiException as e: - print("Exception when calling CoreV1Api->delete_namespace: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the Namespace | - **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | - **pretty** | **str**| If 'true', then the output is pretty printed. | [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] - **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] - -### Return type - -[**UnversionedStatus**](UnversionedStatus.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **delete_namespaced_config_map** -> UnversionedStatus delete_namespaced_config_map(name, namespace, body, pretty=pretty, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents) - - - -delete a ConfigMap - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.CoreV1Api() -name = 'name_example' # str | name of the ConfigMap -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = openshift.client.V1DeleteOptions() # V1DeleteOptions | -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) -grace_period_seconds = 56 # int | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) -orphan_dependents = true # bool | Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. (optional) - -try: - api_response = api_instance.delete_namespaced_config_map(name, namespace, body, pretty=pretty, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents) - pprint(api_response) -except ApiException as e: - print("Exception when calling CoreV1Api->delete_namespaced_config_map: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the ConfigMap | - **namespace** | **str**| object name and auth scope, such as for teams and projects | - **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | - **pretty** | **str**| If 'true', then the output is pretty printed. | [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] - **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] - -### Return type - -[**UnversionedStatus**](UnversionedStatus.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **delete_namespaced_endpoints** -> UnversionedStatus delete_namespaced_endpoints(name, namespace, body, pretty=pretty, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents) - - - -delete Endpoints - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.CoreV1Api() -name = 'name_example' # str | name of the Endpoints -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = openshift.client.V1DeleteOptions() # V1DeleteOptions | -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) -grace_period_seconds = 56 # int | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) -orphan_dependents = true # bool | Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. (optional) - -try: - api_response = api_instance.delete_namespaced_endpoints(name, namespace, body, pretty=pretty, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents) - pprint(api_response) -except ApiException as e: - print("Exception when calling CoreV1Api->delete_namespaced_endpoints: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the Endpoints | - **namespace** | **str**| object name and auth scope, such as for teams and projects | - **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | - **pretty** | **str**| If 'true', then the output is pretty printed. | [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] - **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] - -### Return type - -[**UnversionedStatus**](UnversionedStatus.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **delete_namespaced_event** -> UnversionedStatus delete_namespaced_event(name, namespace, body, pretty=pretty, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents) - - - -delete an Event - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.CoreV1Api() -name = 'name_example' # str | name of the Event -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = openshift.client.V1DeleteOptions() # V1DeleteOptions | -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) -grace_period_seconds = 56 # int | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) -orphan_dependents = true # bool | Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. (optional) - -try: - api_response = api_instance.delete_namespaced_event(name, namespace, body, pretty=pretty, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents) - pprint(api_response) -except ApiException as e: - print("Exception when calling CoreV1Api->delete_namespaced_event: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the Event | - **namespace** | **str**| object name and auth scope, such as for teams and projects | - **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | - **pretty** | **str**| If 'true', then the output is pretty printed. | [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] - **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] - -### Return type - -[**UnversionedStatus**](UnversionedStatus.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **delete_namespaced_limit_range** -> UnversionedStatus delete_namespaced_limit_range(name, namespace, body, pretty=pretty, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents) - - - -delete a LimitRange - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.CoreV1Api() -name = 'name_example' # str | name of the LimitRange -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = openshift.client.V1DeleteOptions() # V1DeleteOptions | -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) -grace_period_seconds = 56 # int | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) -orphan_dependents = true # bool | Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. (optional) - -try: - api_response = api_instance.delete_namespaced_limit_range(name, namespace, body, pretty=pretty, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents) - pprint(api_response) -except ApiException as e: - print("Exception when calling CoreV1Api->delete_namespaced_limit_range: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the LimitRange | - **namespace** | **str**| object name and auth scope, such as for teams and projects | - **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | - **pretty** | **str**| If 'true', then the output is pretty printed. | [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] - **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] - -### Return type - -[**UnversionedStatus**](UnversionedStatus.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **delete_namespaced_persistent_volume_claim** -> UnversionedStatus delete_namespaced_persistent_volume_claim(name, namespace, body, pretty=pretty, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents) - - - -delete a PersistentVolumeClaim - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.CoreV1Api() -name = 'name_example' # str | name of the PersistentVolumeClaim -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = openshift.client.V1DeleteOptions() # V1DeleteOptions | -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) -grace_period_seconds = 56 # int | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) -orphan_dependents = true # bool | Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. (optional) - -try: - api_response = api_instance.delete_namespaced_persistent_volume_claim(name, namespace, body, pretty=pretty, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents) - pprint(api_response) -except ApiException as e: - print("Exception when calling CoreV1Api->delete_namespaced_persistent_volume_claim: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the PersistentVolumeClaim | - **namespace** | **str**| object name and auth scope, such as for teams and projects | - **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | - **pretty** | **str**| If 'true', then the output is pretty printed. | [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] - **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] - -### Return type - -[**UnversionedStatus**](UnversionedStatus.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **delete_namespaced_pod** -> UnversionedStatus delete_namespaced_pod(name, namespace, body, pretty=pretty, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents) - - - -delete a Pod - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.CoreV1Api() -name = 'name_example' # str | name of the Pod -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = openshift.client.V1DeleteOptions() # V1DeleteOptions | -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) -grace_period_seconds = 56 # int | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) -orphan_dependents = true # bool | Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. (optional) - -try: - api_response = api_instance.delete_namespaced_pod(name, namespace, body, pretty=pretty, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents) - pprint(api_response) -except ApiException as e: - print("Exception when calling CoreV1Api->delete_namespaced_pod: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the Pod | - **namespace** | **str**| object name and auth scope, such as for teams and projects | - **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | - **pretty** | **str**| If 'true', then the output is pretty printed. | [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] - **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] - -### Return type - -[**UnversionedStatus**](UnversionedStatus.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **delete_namespaced_pod_template** -> UnversionedStatus delete_namespaced_pod_template(name, namespace, body, pretty=pretty, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents) - - - -delete a PodTemplate - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.CoreV1Api() -name = 'name_example' # str | name of the PodTemplate -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = openshift.client.V1DeleteOptions() # V1DeleteOptions | -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) -grace_period_seconds = 56 # int | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) -orphan_dependents = true # bool | Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. (optional) - -try: - api_response = api_instance.delete_namespaced_pod_template(name, namespace, body, pretty=pretty, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents) - pprint(api_response) -except ApiException as e: - print("Exception when calling CoreV1Api->delete_namespaced_pod_template: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the PodTemplate | - **namespace** | **str**| object name and auth scope, such as for teams and projects | - **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | - **pretty** | **str**| If 'true', then the output is pretty printed. | [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] - **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] - -### Return type - -[**UnversionedStatus**](UnversionedStatus.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **delete_namespaced_replication_controller** -> UnversionedStatus delete_namespaced_replication_controller(name, namespace, body, pretty=pretty, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents) - - - -delete a ReplicationController - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.CoreV1Api() -name = 'name_example' # str | name of the ReplicationController -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = openshift.client.V1DeleteOptions() # V1DeleteOptions | -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) -grace_period_seconds = 56 # int | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) -orphan_dependents = true # bool | Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. (optional) - -try: - api_response = api_instance.delete_namespaced_replication_controller(name, namespace, body, pretty=pretty, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents) - pprint(api_response) -except ApiException as e: - print("Exception when calling CoreV1Api->delete_namespaced_replication_controller: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the ReplicationController | - **namespace** | **str**| object name and auth scope, such as for teams and projects | - **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | - **pretty** | **str**| If 'true', then the output is pretty printed. | [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] - **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] - -### Return type - -[**UnversionedStatus**](UnversionedStatus.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **delete_namespaced_resource_quota** -> UnversionedStatus delete_namespaced_resource_quota(name, namespace, body, pretty=pretty, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents) - - - -delete a ResourceQuota - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.CoreV1Api() -name = 'name_example' # str | name of the ResourceQuota -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = openshift.client.V1DeleteOptions() # V1DeleteOptions | -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) -grace_period_seconds = 56 # int | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) -orphan_dependents = true # bool | Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. (optional) - -try: - api_response = api_instance.delete_namespaced_resource_quota(name, namespace, body, pretty=pretty, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents) - pprint(api_response) -except ApiException as e: - print("Exception when calling CoreV1Api->delete_namespaced_resource_quota: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the ResourceQuota | - **namespace** | **str**| object name and auth scope, such as for teams and projects | - **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | - **pretty** | **str**| If 'true', then the output is pretty printed. | [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] - **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] - -### Return type - -[**UnversionedStatus**](UnversionedStatus.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **delete_namespaced_secret** -> UnversionedStatus delete_namespaced_secret(name, namespace, body, pretty=pretty, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents) - - - -delete a Secret - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.CoreV1Api() -name = 'name_example' # str | name of the Secret -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = openshift.client.V1DeleteOptions() # V1DeleteOptions | -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) -grace_period_seconds = 56 # int | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) -orphan_dependents = true # bool | Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. (optional) - -try: - api_response = api_instance.delete_namespaced_secret(name, namespace, body, pretty=pretty, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents) - pprint(api_response) -except ApiException as e: - print("Exception when calling CoreV1Api->delete_namespaced_secret: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the Secret | - **namespace** | **str**| object name and auth scope, such as for teams and projects | - **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | - **pretty** | **str**| If 'true', then the output is pretty printed. | [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] - **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] - -### Return type - -[**UnversionedStatus**](UnversionedStatus.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **delete_namespaced_service** -> UnversionedStatus delete_namespaced_service(name, namespace, pretty=pretty) - - - -delete a Service - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.CoreV1Api() -name = 'name_example' # str | name of the Service -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) - -try: - api_response = api_instance.delete_namespaced_service(name, namespace, pretty=pretty) - pprint(api_response) -except ApiException as e: - print("Exception when calling CoreV1Api->delete_namespaced_service: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the Service | - **namespace** | **str**| object name and auth scope, such as for teams and projects | - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - -### Return type - -[**UnversionedStatus**](UnversionedStatus.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **delete_namespaced_service_account** -> UnversionedStatus delete_namespaced_service_account(name, namespace, body, pretty=pretty, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents) - - - -delete a ServiceAccount - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.CoreV1Api() -name = 'name_example' # str | name of the ServiceAccount -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = openshift.client.V1DeleteOptions() # V1DeleteOptions | -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) -grace_period_seconds = 56 # int | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) -orphan_dependents = true # bool | Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. (optional) - -try: - api_response = api_instance.delete_namespaced_service_account(name, namespace, body, pretty=pretty, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents) - pprint(api_response) -except ApiException as e: - print("Exception when calling CoreV1Api->delete_namespaced_service_account: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the ServiceAccount | - **namespace** | **str**| object name and auth scope, such as for teams and projects | - **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | - **pretty** | **str**| If 'true', then the output is pretty printed. | [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] - **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] - -### Return type - -[**UnversionedStatus**](UnversionedStatus.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **delete_node** -> UnversionedStatus delete_node(name, body, pretty=pretty, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents) - - - -delete a Node - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.CoreV1Api() -name = 'name_example' # str | name of the Node -body = openshift.client.V1DeleteOptions() # V1DeleteOptions | -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) -grace_period_seconds = 56 # int | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) -orphan_dependents = true # bool | Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. (optional) - -try: - api_response = api_instance.delete_node(name, body, pretty=pretty, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents) - pprint(api_response) -except ApiException as e: - print("Exception when calling CoreV1Api->delete_node: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the Node | - **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | - **pretty** | **str**| If 'true', then the output is pretty printed. | [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] - **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] - -### Return type - -[**UnversionedStatus**](UnversionedStatus.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **delete_persistent_volume** -> UnversionedStatus delete_persistent_volume(name, body, pretty=pretty, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents) - - - -delete a PersistentVolume - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.CoreV1Api() -name = 'name_example' # str | name of the PersistentVolume -body = openshift.client.V1DeleteOptions() # V1DeleteOptions | -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) -grace_period_seconds = 56 # int | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) -orphan_dependents = true # bool | Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. (optional) - -try: - api_response = api_instance.delete_persistent_volume(name, body, pretty=pretty, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents) - pprint(api_response) -except ApiException as e: - print("Exception when calling CoreV1Api->delete_persistent_volume: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the PersistentVolume | - **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | - **pretty** | **str**| If 'true', then the output is pretty printed. | [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] - **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] - -### Return type - -[**UnversionedStatus**](UnversionedStatus.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **delete_security_context_constraints** -> UnversionedStatus delete_security_context_constraints(name, body, pretty=pretty, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents) - - - -delete SecurityContextConstraints - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.CoreV1Api() -name = 'name_example' # str | name of the SecurityContextConstraints -body = openshift.client.V1DeleteOptions() # V1DeleteOptions | -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) -grace_period_seconds = 56 # int | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) -orphan_dependents = true # bool | Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. (optional) - -try: - api_response = api_instance.delete_security_context_constraints(name, body, pretty=pretty, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents) - pprint(api_response) -except ApiException as e: - print("Exception when calling CoreV1Api->delete_security_context_constraints: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the SecurityContextConstraints | - **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | - **pretty** | **str**| If 'true', then the output is pretty printed. | [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] - **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] - -### Return type - -[**UnversionedStatus**](UnversionedStatus.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **get_api_resources** -> UnversionedAPIResourceList get_api_resources() - - - -get available resources - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.CoreV1Api() - -try: - api_response = api_instance.get_api_resources() - pprint(api_response) -except ApiException as e: - print("Exception when calling CoreV1Api->get_api_resources: %s\n" % e) -``` - -### Parameters -This endpoint does not need any parameter. - -### Return type - -[**UnversionedAPIResourceList**](UnversionedAPIResourceList.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: application/json, application/yaml, application/vnd.kubernetes.protobuf - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **list_component_status** -> V1ComponentStatusList list_component_status(field_selector=field_selector, label_selector=label_selector, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) - - - -list objects of kind ComponentStatus - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.CoreV1Api() -field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) -label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) -resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. (optional) -timeout_seconds = 56 # int | Timeout for the list/watch call. (optional) -watch = true # bool | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) - -try: - api_response = api_instance.list_component_status(field_selector=field_selector, label_selector=label_selector, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) - pprint(api_response) -except ApiException as e: - print("Exception when calling CoreV1Api->list_component_status: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] - **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. | [optional] - **timeout_seconds** | **int**| Timeout for the list/watch call. | [optional] - **watch** | **bool**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] - -### Return type - -[**V1ComponentStatusList**](V1ComponentStatusList.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **list_config_map_for_all_namespaces** -> V1ConfigMapList list_config_map_for_all_namespaces(pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) - - - -list or watch objects of kind ConfigMap - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.CoreV1Api() -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) -field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) -label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. (optional) -timeout_seconds = 56 # int | Timeout for the list/watch call. (optional) -watch = true # bool | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) - -try: - api_response = api_instance.list_config_map_for_all_namespaces(pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) - pprint(api_response) -except ApiException as e: - print("Exception when calling CoreV1Api->list_config_map_for_all_namespaces: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] - **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. | [optional] - **timeout_seconds** | **int**| Timeout for the list/watch call. | [optional] - **watch** | **bool**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] - -### Return type - -[**V1ConfigMapList**](V1ConfigMapList.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **list_endpoints_for_all_namespaces** -> V1EndpointsList list_endpoints_for_all_namespaces(pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) - - - -list or watch objects of kind Endpoints - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.CoreV1Api() -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) -field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) -label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. (optional) -timeout_seconds = 56 # int | Timeout for the list/watch call. (optional) -watch = true # bool | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) - -try: - api_response = api_instance.list_endpoints_for_all_namespaces(pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) - pprint(api_response) -except ApiException as e: - print("Exception when calling CoreV1Api->list_endpoints_for_all_namespaces: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] - **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. | [optional] - **timeout_seconds** | **int**| Timeout for the list/watch call. | [optional] - **watch** | **bool**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] - -### Return type - -[**V1EndpointsList**](V1EndpointsList.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **list_event_for_all_namespaces** -> V1EventList list_event_for_all_namespaces(pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) - - - -list or watch objects of kind Event - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.CoreV1Api() -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) -field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) -label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. (optional) -timeout_seconds = 56 # int | Timeout for the list/watch call. (optional) -watch = true # bool | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) - -try: - api_response = api_instance.list_event_for_all_namespaces(pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) - pprint(api_response) -except ApiException as e: - print("Exception when calling CoreV1Api->list_event_for_all_namespaces: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] - **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. | [optional] - **timeout_seconds** | **int**| Timeout for the list/watch call. | [optional] - **watch** | **bool**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] - -### Return type - -[**V1EventList**](V1EventList.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **list_limit_range_for_all_namespaces** -> V1LimitRangeList list_limit_range_for_all_namespaces(pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) - - - -list or watch objects of kind LimitRange - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.CoreV1Api() -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) -field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) -label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. (optional) -timeout_seconds = 56 # int | Timeout for the list/watch call. (optional) -watch = true # bool | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) - -try: - api_response = api_instance.list_limit_range_for_all_namespaces(pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) - pprint(api_response) -except ApiException as e: - print("Exception when calling CoreV1Api->list_limit_range_for_all_namespaces: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] - **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. | [optional] - **timeout_seconds** | **int**| Timeout for the list/watch call. | [optional] - **watch** | **bool**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] - -### Return type - -[**V1LimitRangeList**](V1LimitRangeList.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **list_namespace** -> V1NamespaceList list_namespace(pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) - - - -list or watch objects of kind Namespace - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.CoreV1Api() -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) -field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) -label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. (optional) -timeout_seconds = 56 # int | Timeout for the list/watch call. (optional) -watch = true # bool | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) - -try: - api_response = api_instance.list_namespace(pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) - pprint(api_response) -except ApiException as e: - print("Exception when calling CoreV1Api->list_namespace: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] - **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. | [optional] - **timeout_seconds** | **int**| Timeout for the list/watch call. | [optional] - **watch** | **bool**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] - -### Return type - -[**V1NamespaceList**](V1NamespaceList.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **list_namespaced_config_map** -> V1ConfigMapList list_namespaced_config_map(namespace, pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) - - - -list or watch objects of kind ConfigMap - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.CoreV1Api() -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) -field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) -label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. (optional) -timeout_seconds = 56 # int | Timeout for the list/watch call. (optional) -watch = true # bool | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) - -try: - api_response = api_instance.list_namespaced_config_map(namespace, pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) - pprint(api_response) -except ApiException as e: - print("Exception when calling CoreV1Api->list_namespaced_config_map: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **namespace** | **str**| object name and auth scope, such as for teams and projects | - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] - **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. | [optional] - **timeout_seconds** | **int**| Timeout for the list/watch call. | [optional] - **watch** | **bool**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] - -### Return type - -[**V1ConfigMapList**](V1ConfigMapList.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **list_namespaced_endpoints** -> V1EndpointsList list_namespaced_endpoints(namespace, pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) - - - -list or watch objects of kind Endpoints - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.CoreV1Api() -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) -field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) -label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. (optional) -timeout_seconds = 56 # int | Timeout for the list/watch call. (optional) -watch = true # bool | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) - -try: - api_response = api_instance.list_namespaced_endpoints(namespace, pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) - pprint(api_response) -except ApiException as e: - print("Exception when calling CoreV1Api->list_namespaced_endpoints: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **namespace** | **str**| object name and auth scope, such as for teams and projects | - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] - **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. | [optional] - **timeout_seconds** | **int**| Timeout for the list/watch call. | [optional] - **watch** | **bool**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] - -### Return type - -[**V1EndpointsList**](V1EndpointsList.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **list_namespaced_event** -> V1EventList list_namespaced_event(namespace, pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) - - - -list or watch objects of kind Event - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.CoreV1Api() -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) -field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) -label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. (optional) -timeout_seconds = 56 # int | Timeout for the list/watch call. (optional) -watch = true # bool | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) - -try: - api_response = api_instance.list_namespaced_event(namespace, pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) - pprint(api_response) -except ApiException as e: - print("Exception when calling CoreV1Api->list_namespaced_event: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **namespace** | **str**| object name and auth scope, such as for teams and projects | - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] - **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. | [optional] - **timeout_seconds** | **int**| Timeout for the list/watch call. | [optional] - **watch** | **bool**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] - -### Return type - -[**V1EventList**](V1EventList.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **list_namespaced_limit_range** -> V1LimitRangeList list_namespaced_limit_range(namespace, pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) - - - -list or watch objects of kind LimitRange - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.CoreV1Api() -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) -field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) -label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. (optional) -timeout_seconds = 56 # int | Timeout for the list/watch call. (optional) -watch = true # bool | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) - -try: - api_response = api_instance.list_namespaced_limit_range(namespace, pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) - pprint(api_response) -except ApiException as e: - print("Exception when calling CoreV1Api->list_namespaced_limit_range: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **namespace** | **str**| object name and auth scope, such as for teams and projects | - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] - **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. | [optional] - **timeout_seconds** | **int**| Timeout for the list/watch call. | [optional] - **watch** | **bool**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] - -### Return type - -[**V1LimitRangeList**](V1LimitRangeList.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **list_namespaced_persistent_volume_claim** -> V1PersistentVolumeClaimList list_namespaced_persistent_volume_claim(namespace, pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) - - - -list or watch objects of kind PersistentVolumeClaim - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.CoreV1Api() -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) -field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) -label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. (optional) -timeout_seconds = 56 # int | Timeout for the list/watch call. (optional) -watch = true # bool | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) - -try: - api_response = api_instance.list_namespaced_persistent_volume_claim(namespace, pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) - pprint(api_response) -except ApiException as e: - print("Exception when calling CoreV1Api->list_namespaced_persistent_volume_claim: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **namespace** | **str**| object name and auth scope, such as for teams and projects | - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] - **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. | [optional] - **timeout_seconds** | **int**| Timeout for the list/watch call. | [optional] - **watch** | **bool**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] - -### Return type - -[**V1PersistentVolumeClaimList**](V1PersistentVolumeClaimList.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **list_namespaced_pod** -> V1PodList list_namespaced_pod(namespace, pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) - - - -list or watch objects of kind Pod - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.CoreV1Api() -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) -field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) -label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. (optional) -timeout_seconds = 56 # int | Timeout for the list/watch call. (optional) -watch = true # bool | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) - -try: - api_response = api_instance.list_namespaced_pod(namespace, pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) - pprint(api_response) -except ApiException as e: - print("Exception when calling CoreV1Api->list_namespaced_pod: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **namespace** | **str**| object name and auth scope, such as for teams and projects | - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] - **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. | [optional] - **timeout_seconds** | **int**| Timeout for the list/watch call. | [optional] - **watch** | **bool**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] - -### Return type - -[**V1PodList**](V1PodList.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **list_namespaced_pod_template** -> V1PodTemplateList list_namespaced_pod_template(namespace, pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) - - - -list or watch objects of kind PodTemplate - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.CoreV1Api() -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) -field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) -label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. (optional) -timeout_seconds = 56 # int | Timeout for the list/watch call. (optional) -watch = true # bool | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) - -try: - api_response = api_instance.list_namespaced_pod_template(namespace, pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) - pprint(api_response) -except ApiException as e: - print("Exception when calling CoreV1Api->list_namespaced_pod_template: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **namespace** | **str**| object name and auth scope, such as for teams and projects | - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] - **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. | [optional] - **timeout_seconds** | **int**| Timeout for the list/watch call. | [optional] - **watch** | **bool**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] - -### Return type - -[**V1PodTemplateList**](V1PodTemplateList.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **list_namespaced_replication_controller** -> V1ReplicationControllerList list_namespaced_replication_controller(namespace, pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) - - - -list or watch objects of kind ReplicationController - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.CoreV1Api() -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) -field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) -label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. (optional) -timeout_seconds = 56 # int | Timeout for the list/watch call. (optional) -watch = true # bool | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) - -try: - api_response = api_instance.list_namespaced_replication_controller(namespace, pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) - pprint(api_response) -except ApiException as e: - print("Exception when calling CoreV1Api->list_namespaced_replication_controller: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **namespace** | **str**| object name and auth scope, such as for teams and projects | - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] - **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. | [optional] - **timeout_seconds** | **int**| Timeout for the list/watch call. | [optional] - **watch** | **bool**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] - -### Return type - -[**V1ReplicationControllerList**](V1ReplicationControllerList.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **list_namespaced_resource_quota** -> V1ResourceQuotaList list_namespaced_resource_quota(namespace, pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) - - - -list or watch objects of kind ResourceQuota - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.CoreV1Api() -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) -field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) -label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. (optional) -timeout_seconds = 56 # int | Timeout for the list/watch call. (optional) -watch = true # bool | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) - -try: - api_response = api_instance.list_namespaced_resource_quota(namespace, pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) - pprint(api_response) -except ApiException as e: - print("Exception when calling CoreV1Api->list_namespaced_resource_quota: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **namespace** | **str**| object name and auth scope, such as for teams and projects | - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] - **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. | [optional] - **timeout_seconds** | **int**| Timeout for the list/watch call. | [optional] - **watch** | **bool**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] - -### Return type - -[**V1ResourceQuotaList**](V1ResourceQuotaList.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **list_namespaced_secret** -> V1SecretList list_namespaced_secret(namespace, pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) - - - -list or watch objects of kind Secret - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.CoreV1Api() -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) -field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) -label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. (optional) -timeout_seconds = 56 # int | Timeout for the list/watch call. (optional) -watch = true # bool | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) - -try: - api_response = api_instance.list_namespaced_secret(namespace, pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) - pprint(api_response) -except ApiException as e: - print("Exception when calling CoreV1Api->list_namespaced_secret: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **namespace** | **str**| object name and auth scope, such as for teams and projects | - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] - **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. | [optional] - **timeout_seconds** | **int**| Timeout for the list/watch call. | [optional] - **watch** | **bool**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] - -### Return type - -[**V1SecretList**](V1SecretList.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **list_namespaced_service** -> V1ServiceList list_namespaced_service(namespace, pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) - - - -list or watch objects of kind Service - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.CoreV1Api() -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) -field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) -label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. (optional) -timeout_seconds = 56 # int | Timeout for the list/watch call. (optional) -watch = true # bool | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) - -try: - api_response = api_instance.list_namespaced_service(namespace, pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) - pprint(api_response) -except ApiException as e: - print("Exception when calling CoreV1Api->list_namespaced_service: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **namespace** | **str**| object name and auth scope, such as for teams and projects | - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] - **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. | [optional] - **timeout_seconds** | **int**| Timeout for the list/watch call. | [optional] - **watch** | **bool**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] - -### Return type - -[**V1ServiceList**](V1ServiceList.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **list_namespaced_service_account** -> V1ServiceAccountList list_namespaced_service_account(namespace, pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) - - - -list or watch objects of kind ServiceAccount - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.CoreV1Api() -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) -field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) -label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. (optional) -timeout_seconds = 56 # int | Timeout for the list/watch call. (optional) -watch = true # bool | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) - -try: - api_response = api_instance.list_namespaced_service_account(namespace, pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) - pprint(api_response) -except ApiException as e: - print("Exception when calling CoreV1Api->list_namespaced_service_account: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **namespace** | **str**| object name and auth scope, such as for teams and projects | - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] - **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. | [optional] - **timeout_seconds** | **int**| Timeout for the list/watch call. | [optional] - **watch** | **bool**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] - -### Return type - -[**V1ServiceAccountList**](V1ServiceAccountList.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **list_node** -> V1NodeList list_node(pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) - - - -list or watch objects of kind Node - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.CoreV1Api() -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) -field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) -label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. (optional) -timeout_seconds = 56 # int | Timeout for the list/watch call. (optional) -watch = true # bool | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) - -try: - api_response = api_instance.list_node(pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) - pprint(api_response) -except ApiException as e: - print("Exception when calling CoreV1Api->list_node: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] - **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. | [optional] - **timeout_seconds** | **int**| Timeout for the list/watch call. | [optional] - **watch** | **bool**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] - -### Return type - -[**V1NodeList**](V1NodeList.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **list_persistent_volume** -> V1PersistentVolumeList list_persistent_volume(pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) - - - -list or watch objects of kind PersistentVolume - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.CoreV1Api() -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) -field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) -label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. (optional) -timeout_seconds = 56 # int | Timeout for the list/watch call. (optional) -watch = true # bool | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) - -try: - api_response = api_instance.list_persistent_volume(pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) - pprint(api_response) -except ApiException as e: - print("Exception when calling CoreV1Api->list_persistent_volume: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] - **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. | [optional] - **timeout_seconds** | **int**| Timeout for the list/watch call. | [optional] - **watch** | **bool**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] - -### Return type - -[**V1PersistentVolumeList**](V1PersistentVolumeList.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **list_persistent_volume_claim_for_all_namespaces** -> V1PersistentVolumeClaimList list_persistent_volume_claim_for_all_namespaces(pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) - - - -list or watch objects of kind PersistentVolumeClaim - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.CoreV1Api() -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) -field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) -label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. (optional) -timeout_seconds = 56 # int | Timeout for the list/watch call. (optional) -watch = true # bool | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) - -try: - api_response = api_instance.list_persistent_volume_claim_for_all_namespaces(pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) - pprint(api_response) -except ApiException as e: - print("Exception when calling CoreV1Api->list_persistent_volume_claim_for_all_namespaces: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] - **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. | [optional] - **timeout_seconds** | **int**| Timeout for the list/watch call. | [optional] - **watch** | **bool**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] - -### Return type - -[**V1PersistentVolumeClaimList**](V1PersistentVolumeClaimList.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **list_pod_for_all_namespaces** -> V1PodList list_pod_for_all_namespaces(pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) - - - -list or watch objects of kind Pod - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.CoreV1Api() -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) -field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) -label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. (optional) -timeout_seconds = 56 # int | Timeout for the list/watch call. (optional) -watch = true # bool | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) - -try: - api_response = api_instance.list_pod_for_all_namespaces(pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) - pprint(api_response) -except ApiException as e: - print("Exception when calling CoreV1Api->list_pod_for_all_namespaces: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] - **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. | [optional] - **timeout_seconds** | **int**| Timeout for the list/watch call. | [optional] - **watch** | **bool**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] - -### Return type - -[**V1PodList**](V1PodList.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **list_pod_template_for_all_namespaces** -> V1PodTemplateList list_pod_template_for_all_namespaces(pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) - - - -list or watch objects of kind PodTemplate - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.CoreV1Api() -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) -field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) -label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. (optional) -timeout_seconds = 56 # int | Timeout for the list/watch call. (optional) -watch = true # bool | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) - -try: - api_response = api_instance.list_pod_template_for_all_namespaces(pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) - pprint(api_response) -except ApiException as e: - print("Exception when calling CoreV1Api->list_pod_template_for_all_namespaces: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] - **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. | [optional] - **timeout_seconds** | **int**| Timeout for the list/watch call. | [optional] - **watch** | **bool**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] - -### Return type - -[**V1PodTemplateList**](V1PodTemplateList.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **list_replication_controller_for_all_namespaces** -> V1ReplicationControllerList list_replication_controller_for_all_namespaces(pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) - - - -list or watch objects of kind ReplicationController - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.CoreV1Api() -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) -field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) -label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. (optional) -timeout_seconds = 56 # int | Timeout for the list/watch call. (optional) -watch = true # bool | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) - -try: - api_response = api_instance.list_replication_controller_for_all_namespaces(pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) - pprint(api_response) -except ApiException as e: - print("Exception when calling CoreV1Api->list_replication_controller_for_all_namespaces: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] - **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. | [optional] - **timeout_seconds** | **int**| Timeout for the list/watch call. | [optional] - **watch** | **bool**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] - -### Return type - -[**V1ReplicationControllerList**](V1ReplicationControllerList.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **list_resource_quota_for_all_namespaces** -> V1ResourceQuotaList list_resource_quota_for_all_namespaces(pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) - - - -list or watch objects of kind ResourceQuota - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.CoreV1Api() -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) -field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) -label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. (optional) -timeout_seconds = 56 # int | Timeout for the list/watch call. (optional) -watch = true # bool | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) - -try: - api_response = api_instance.list_resource_quota_for_all_namespaces(pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) - pprint(api_response) -except ApiException as e: - print("Exception when calling CoreV1Api->list_resource_quota_for_all_namespaces: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] - **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. | [optional] - **timeout_seconds** | **int**| Timeout for the list/watch call. | [optional] - **watch** | **bool**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] - -### Return type - -[**V1ResourceQuotaList**](V1ResourceQuotaList.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **list_secret_for_all_namespaces** -> V1SecretList list_secret_for_all_namespaces(pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) - - - -list or watch objects of kind Secret - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.CoreV1Api() -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) -field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) -label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. (optional) -timeout_seconds = 56 # int | Timeout for the list/watch call. (optional) -watch = true # bool | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) - -try: - api_response = api_instance.list_secret_for_all_namespaces(pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) - pprint(api_response) -except ApiException as e: - print("Exception when calling CoreV1Api->list_secret_for_all_namespaces: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] - **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. | [optional] - **timeout_seconds** | **int**| Timeout for the list/watch call. | [optional] - **watch** | **bool**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] - -### Return type - -[**V1SecretList**](V1SecretList.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **list_security_context_constraints** -> V1SecurityContextConstraintsList list_security_context_constraints(pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) - - - -list or watch objects of kind SecurityContextConstraints - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.CoreV1Api() -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) -field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) -label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. (optional) -timeout_seconds = 56 # int | Timeout for the list/watch call. (optional) -watch = true # bool | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) - -try: - api_response = api_instance.list_security_context_constraints(pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) - pprint(api_response) -except ApiException as e: - print("Exception when calling CoreV1Api->list_security_context_constraints: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] - **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. | [optional] - **timeout_seconds** | **int**| Timeout for the list/watch call. | [optional] - **watch** | **bool**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] - -### Return type - -[**V1SecurityContextConstraintsList**](V1SecurityContextConstraintsList.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **list_service_account_for_all_namespaces** -> V1ServiceAccountList list_service_account_for_all_namespaces(pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) - - - -list or watch objects of kind ServiceAccount - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.CoreV1Api() -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) -field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) -label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. (optional) -timeout_seconds = 56 # int | Timeout for the list/watch call. (optional) -watch = true # bool | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) - -try: - api_response = api_instance.list_service_account_for_all_namespaces(pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) - pprint(api_response) -except ApiException as e: - print("Exception when calling CoreV1Api->list_service_account_for_all_namespaces: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] - **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. | [optional] - **timeout_seconds** | **int**| Timeout for the list/watch call. | [optional] - **watch** | **bool**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] - -### Return type - -[**V1ServiceAccountList**](V1ServiceAccountList.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **list_service_for_all_namespaces** -> V1ServiceList list_service_for_all_namespaces(pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) - - - -list or watch objects of kind Service - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.CoreV1Api() -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) -field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) -label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. (optional) -timeout_seconds = 56 # int | Timeout for the list/watch call. (optional) -watch = true # bool | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) - -try: - api_response = api_instance.list_service_for_all_namespaces(pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) - pprint(api_response) -except ApiException as e: - print("Exception when calling CoreV1Api->list_service_for_all_namespaces: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] - **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. | [optional] - **timeout_seconds** | **int**| Timeout for the list/watch call. | [optional] - **watch** | **bool**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] - -### Return type - -[**V1ServiceList**](V1ServiceList.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **patch_namespace** -> V1Namespace patch_namespace(name, body, pretty=pretty) - - - -partially update the specified Namespace - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.CoreV1Api() -name = 'name_example' # str | name of the Namespace -body = openshift.client.UnversionedPatch() # UnversionedPatch | -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) - -try: - api_response = api_instance.patch_namespace(name, body, pretty=pretty) - pprint(api_response) -except ApiException as e: - print("Exception when calling CoreV1Api->patch_namespace: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the Namespace | - **body** | [**UnversionedPatch**](UnversionedPatch.md)| | - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - -### Return type - -[**V1Namespace**](V1Namespace.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **patch_namespace_status** -> V1Namespace patch_namespace_status(name, body, pretty=pretty) - - - -partially update status of the specified Namespace - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.CoreV1Api() -name = 'name_example' # str | name of the Namespace -body = openshift.client.UnversionedPatch() # UnversionedPatch | -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) - -try: - api_response = api_instance.patch_namespace_status(name, body, pretty=pretty) - pprint(api_response) -except ApiException as e: - print("Exception when calling CoreV1Api->patch_namespace_status: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the Namespace | - **body** | [**UnversionedPatch**](UnversionedPatch.md)| | - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - -### Return type - -[**V1Namespace**](V1Namespace.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **patch_namespaced_config_map** -> V1ConfigMap patch_namespaced_config_map(name, namespace, body, pretty=pretty) - - - -partially update the specified ConfigMap - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.CoreV1Api() -name = 'name_example' # str | name of the ConfigMap -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = openshift.client.UnversionedPatch() # UnversionedPatch | -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) - -try: - api_response = api_instance.patch_namespaced_config_map(name, namespace, body, pretty=pretty) - pprint(api_response) -except ApiException as e: - print("Exception when calling CoreV1Api->patch_namespaced_config_map: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the ConfigMap | - **namespace** | **str**| object name and auth scope, such as for teams and projects | - **body** | [**UnversionedPatch**](UnversionedPatch.md)| | - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - -### Return type - -[**V1ConfigMap**](V1ConfigMap.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **patch_namespaced_endpoints** -> V1Endpoints patch_namespaced_endpoints(name, namespace, body, pretty=pretty) - - - -partially update the specified Endpoints - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.CoreV1Api() -name = 'name_example' # str | name of the Endpoints -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = openshift.client.UnversionedPatch() # UnversionedPatch | -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) - -try: - api_response = api_instance.patch_namespaced_endpoints(name, namespace, body, pretty=pretty) - pprint(api_response) -except ApiException as e: - print("Exception when calling CoreV1Api->patch_namespaced_endpoints: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the Endpoints | - **namespace** | **str**| object name and auth scope, such as for teams and projects | - **body** | [**UnversionedPatch**](UnversionedPatch.md)| | - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - -### Return type - -[**V1Endpoints**](V1Endpoints.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **patch_namespaced_event** -> V1Event patch_namespaced_event(name, namespace, body, pretty=pretty) - - - -partially update the specified Event - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.CoreV1Api() -name = 'name_example' # str | name of the Event -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = openshift.client.UnversionedPatch() # UnversionedPatch | -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) - -try: - api_response = api_instance.patch_namespaced_event(name, namespace, body, pretty=pretty) - pprint(api_response) -except ApiException as e: - print("Exception when calling CoreV1Api->patch_namespaced_event: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the Event | - **namespace** | **str**| object name and auth scope, such as for teams and projects | - **body** | [**UnversionedPatch**](UnversionedPatch.md)| | - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - -### Return type - -[**V1Event**](V1Event.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **patch_namespaced_limit_range** -> V1LimitRange patch_namespaced_limit_range(name, namespace, body, pretty=pretty) - - - -partially update the specified LimitRange - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.CoreV1Api() -name = 'name_example' # str | name of the LimitRange -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = openshift.client.UnversionedPatch() # UnversionedPatch | -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) - -try: - api_response = api_instance.patch_namespaced_limit_range(name, namespace, body, pretty=pretty) - pprint(api_response) -except ApiException as e: - print("Exception when calling CoreV1Api->patch_namespaced_limit_range: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the LimitRange | - **namespace** | **str**| object name and auth scope, such as for teams and projects | - **body** | [**UnversionedPatch**](UnversionedPatch.md)| | - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - -### Return type - -[**V1LimitRange**](V1LimitRange.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **patch_namespaced_persistent_volume_claim** -> V1PersistentVolumeClaim patch_namespaced_persistent_volume_claim(name, namespace, body, pretty=pretty) - - - -partially update the specified PersistentVolumeClaim - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.CoreV1Api() -name = 'name_example' # str | name of the PersistentVolumeClaim -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = openshift.client.UnversionedPatch() # UnversionedPatch | -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) - -try: - api_response = api_instance.patch_namespaced_persistent_volume_claim(name, namespace, body, pretty=pretty) - pprint(api_response) -except ApiException as e: - print("Exception when calling CoreV1Api->patch_namespaced_persistent_volume_claim: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the PersistentVolumeClaim | - **namespace** | **str**| object name and auth scope, such as for teams and projects | - **body** | [**UnversionedPatch**](UnversionedPatch.md)| | - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - -### Return type - -[**V1PersistentVolumeClaim**](V1PersistentVolumeClaim.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **patch_namespaced_persistent_volume_claim_status** -> V1PersistentVolumeClaim patch_namespaced_persistent_volume_claim_status(name, namespace, body, pretty=pretty) - - - -partially update status of the specified PersistentVolumeClaim - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.CoreV1Api() -name = 'name_example' # str | name of the PersistentVolumeClaim -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = openshift.client.UnversionedPatch() # UnversionedPatch | -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) - -try: - api_response = api_instance.patch_namespaced_persistent_volume_claim_status(name, namespace, body, pretty=pretty) - pprint(api_response) -except ApiException as e: - print("Exception when calling CoreV1Api->patch_namespaced_persistent_volume_claim_status: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the PersistentVolumeClaim | - **namespace** | **str**| object name and auth scope, such as for teams and projects | - **body** | [**UnversionedPatch**](UnversionedPatch.md)| | - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - -### Return type - -[**V1PersistentVolumeClaim**](V1PersistentVolumeClaim.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **patch_namespaced_pod** -> V1Pod patch_namespaced_pod(name, namespace, body, pretty=pretty) - - - -partially update the specified Pod - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.CoreV1Api() -name = 'name_example' # str | name of the Pod -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = openshift.client.UnversionedPatch() # UnversionedPatch | -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) - -try: - api_response = api_instance.patch_namespaced_pod(name, namespace, body, pretty=pretty) - pprint(api_response) -except ApiException as e: - print("Exception when calling CoreV1Api->patch_namespaced_pod: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the Pod | - **namespace** | **str**| object name and auth scope, such as for teams and projects | - **body** | [**UnversionedPatch**](UnversionedPatch.md)| | - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - -### Return type - -[**V1Pod**](V1Pod.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **patch_namespaced_pod_status** -> V1Pod patch_namespaced_pod_status(name, namespace, body, pretty=pretty) - - - -partially update status of the specified Pod - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.CoreV1Api() -name = 'name_example' # str | name of the Pod -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = openshift.client.UnversionedPatch() # UnversionedPatch | -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) - -try: - api_response = api_instance.patch_namespaced_pod_status(name, namespace, body, pretty=pretty) - pprint(api_response) -except ApiException as e: - print("Exception when calling CoreV1Api->patch_namespaced_pod_status: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the Pod | - **namespace** | **str**| object name and auth scope, such as for teams and projects | - **body** | [**UnversionedPatch**](UnversionedPatch.md)| | - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - -### Return type - -[**V1Pod**](V1Pod.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **patch_namespaced_pod_template** -> V1PodTemplate patch_namespaced_pod_template(name, namespace, body, pretty=pretty) - - - -partially update the specified PodTemplate - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.CoreV1Api() -name = 'name_example' # str | name of the PodTemplate -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = openshift.client.UnversionedPatch() # UnversionedPatch | -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) - -try: - api_response = api_instance.patch_namespaced_pod_template(name, namespace, body, pretty=pretty) - pprint(api_response) -except ApiException as e: - print("Exception when calling CoreV1Api->patch_namespaced_pod_template: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the PodTemplate | - **namespace** | **str**| object name and auth scope, such as for teams and projects | - **body** | [**UnversionedPatch**](UnversionedPatch.md)| | - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - -### Return type - -[**V1PodTemplate**](V1PodTemplate.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **patch_namespaced_replication_controller** -> V1ReplicationController patch_namespaced_replication_controller(name, namespace, body, pretty=pretty) - - - -partially update the specified ReplicationController - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.CoreV1Api() -name = 'name_example' # str | name of the ReplicationController -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = openshift.client.UnversionedPatch() # UnversionedPatch | -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) - -try: - api_response = api_instance.patch_namespaced_replication_controller(name, namespace, body, pretty=pretty) - pprint(api_response) -except ApiException as e: - print("Exception when calling CoreV1Api->patch_namespaced_replication_controller: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the ReplicationController | - **namespace** | **str**| object name and auth scope, such as for teams and projects | - **body** | [**UnversionedPatch**](UnversionedPatch.md)| | - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - -### Return type - -[**V1ReplicationController**](V1ReplicationController.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **patch_namespaced_replication_controller_status** -> V1ReplicationController patch_namespaced_replication_controller_status(name, namespace, body, pretty=pretty) - - - -partially update status of the specified ReplicationController - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.CoreV1Api() -name = 'name_example' # str | name of the ReplicationController -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = openshift.client.UnversionedPatch() # UnversionedPatch | -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) - -try: - api_response = api_instance.patch_namespaced_replication_controller_status(name, namespace, body, pretty=pretty) - pprint(api_response) -except ApiException as e: - print("Exception when calling CoreV1Api->patch_namespaced_replication_controller_status: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the ReplicationController | - **namespace** | **str**| object name and auth scope, such as for teams and projects | - **body** | [**UnversionedPatch**](UnversionedPatch.md)| | - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - -### Return type - -[**V1ReplicationController**](V1ReplicationController.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **patch_namespaced_resource_quota** -> V1ResourceQuota patch_namespaced_resource_quota(name, namespace, body, pretty=pretty) - - - -partially update the specified ResourceQuota - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.CoreV1Api() -name = 'name_example' # str | name of the ResourceQuota -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = openshift.client.UnversionedPatch() # UnversionedPatch | -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) - -try: - api_response = api_instance.patch_namespaced_resource_quota(name, namespace, body, pretty=pretty) - pprint(api_response) -except ApiException as e: - print("Exception when calling CoreV1Api->patch_namespaced_resource_quota: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the ResourceQuota | - **namespace** | **str**| object name and auth scope, such as for teams and projects | - **body** | [**UnversionedPatch**](UnversionedPatch.md)| | - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - -### Return type - -[**V1ResourceQuota**](V1ResourceQuota.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **patch_namespaced_resource_quota_status** -> V1ResourceQuota patch_namespaced_resource_quota_status(name, namespace, body, pretty=pretty) - - - -partially update status of the specified ResourceQuota - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.CoreV1Api() -name = 'name_example' # str | name of the ResourceQuota -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = openshift.client.UnversionedPatch() # UnversionedPatch | -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) - -try: - api_response = api_instance.patch_namespaced_resource_quota_status(name, namespace, body, pretty=pretty) - pprint(api_response) -except ApiException as e: - print("Exception when calling CoreV1Api->patch_namespaced_resource_quota_status: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the ResourceQuota | - **namespace** | **str**| object name and auth scope, such as for teams and projects | - **body** | [**UnversionedPatch**](UnversionedPatch.md)| | - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - -### Return type - -[**V1ResourceQuota**](V1ResourceQuota.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **patch_namespaced_scale_scale** -> V1Scale patch_namespaced_scale_scale(name, namespace, body, pretty=pretty) - - - -partially update scale of the specified Scale - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.CoreV1Api() -name = 'name_example' # str | name of the Scale -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = openshift.client.UnversionedPatch() # UnversionedPatch | -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) - -try: - api_response = api_instance.patch_namespaced_scale_scale(name, namespace, body, pretty=pretty) - pprint(api_response) -except ApiException as e: - print("Exception when calling CoreV1Api->patch_namespaced_scale_scale: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the Scale | - **namespace** | **str**| object name and auth scope, such as for teams and projects | - **body** | [**UnversionedPatch**](UnversionedPatch.md)| | - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - -### Return type - -[**V1Scale**](V1Scale.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **patch_namespaced_secret** -> V1Secret patch_namespaced_secret(name, namespace, body, pretty=pretty) - - - -partially update the specified Secret - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.CoreV1Api() -name = 'name_example' # str | name of the Secret -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = openshift.client.UnversionedPatch() # UnversionedPatch | -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) - -try: - api_response = api_instance.patch_namespaced_secret(name, namespace, body, pretty=pretty) - pprint(api_response) -except ApiException as e: - print("Exception when calling CoreV1Api->patch_namespaced_secret: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the Secret | - **namespace** | **str**| object name and auth scope, such as for teams and projects | - **body** | [**UnversionedPatch**](UnversionedPatch.md)| | - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - -### Return type - -[**V1Secret**](V1Secret.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **patch_namespaced_service** -> V1Service patch_namespaced_service(name, namespace, body, pretty=pretty) - - - -partially update the specified Service - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.CoreV1Api() -name = 'name_example' # str | name of the Service -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = openshift.client.UnversionedPatch() # UnversionedPatch | -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) - -try: - api_response = api_instance.patch_namespaced_service(name, namespace, body, pretty=pretty) - pprint(api_response) -except ApiException as e: - print("Exception when calling CoreV1Api->patch_namespaced_service: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the Service | - **namespace** | **str**| object name and auth scope, such as for teams and projects | - **body** | [**UnversionedPatch**](UnversionedPatch.md)| | - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - -### Return type - -[**V1Service**](V1Service.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **patch_namespaced_service_account** -> V1ServiceAccount patch_namespaced_service_account(name, namespace, body, pretty=pretty) - - - -partially update the specified ServiceAccount - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.CoreV1Api() -name = 'name_example' # str | name of the ServiceAccount -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = openshift.client.UnversionedPatch() # UnversionedPatch | -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) - -try: - api_response = api_instance.patch_namespaced_service_account(name, namespace, body, pretty=pretty) - pprint(api_response) -except ApiException as e: - print("Exception when calling CoreV1Api->patch_namespaced_service_account: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the ServiceAccount | - **namespace** | **str**| object name and auth scope, such as for teams and projects | - **body** | [**UnversionedPatch**](UnversionedPatch.md)| | - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - -### Return type - -[**V1ServiceAccount**](V1ServiceAccount.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **patch_namespaced_service_status** -> V1Service patch_namespaced_service_status(name, namespace, body, pretty=pretty) - - - -partially update status of the specified Service - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.CoreV1Api() -name = 'name_example' # str | name of the Service -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = openshift.client.UnversionedPatch() # UnversionedPatch | -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) - -try: - api_response = api_instance.patch_namespaced_service_status(name, namespace, body, pretty=pretty) - pprint(api_response) -except ApiException as e: - print("Exception when calling CoreV1Api->patch_namespaced_service_status: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the Service | - **namespace** | **str**| object name and auth scope, such as for teams and projects | - **body** | [**UnversionedPatch**](UnversionedPatch.md)| | - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - -### Return type - -[**V1Service**](V1Service.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **patch_node** -> V1Node patch_node(name, body, pretty=pretty) - - - -partially update the specified Node - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.CoreV1Api() -name = 'name_example' # str | name of the Node -body = openshift.client.UnversionedPatch() # UnversionedPatch | -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) - -try: - api_response = api_instance.patch_node(name, body, pretty=pretty) - pprint(api_response) -except ApiException as e: - print("Exception when calling CoreV1Api->patch_node: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the Node | - **body** | [**UnversionedPatch**](UnversionedPatch.md)| | - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - -### Return type - -[**V1Node**](V1Node.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **patch_node_status** -> V1Node patch_node_status(name, body, pretty=pretty) - - - -partially update status of the specified Node - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.CoreV1Api() -name = 'name_example' # str | name of the Node -body = openshift.client.UnversionedPatch() # UnversionedPatch | -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) - -try: - api_response = api_instance.patch_node_status(name, body, pretty=pretty) - pprint(api_response) -except ApiException as e: - print("Exception when calling CoreV1Api->patch_node_status: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the Node | - **body** | [**UnversionedPatch**](UnversionedPatch.md)| | - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - -### Return type - -[**V1Node**](V1Node.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **patch_persistent_volume** -> V1PersistentVolume patch_persistent_volume(name, body, pretty=pretty) - - - -partially update the specified PersistentVolume - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.CoreV1Api() -name = 'name_example' # str | name of the PersistentVolume -body = openshift.client.UnversionedPatch() # UnversionedPatch | -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) - -try: - api_response = api_instance.patch_persistent_volume(name, body, pretty=pretty) - pprint(api_response) -except ApiException as e: - print("Exception when calling CoreV1Api->patch_persistent_volume: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the PersistentVolume | - **body** | [**UnversionedPatch**](UnversionedPatch.md)| | - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - -### Return type - -[**V1PersistentVolume**](V1PersistentVolume.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **patch_persistent_volume_status** -> V1PersistentVolume patch_persistent_volume_status(name, body, pretty=pretty) - - - -partially update status of the specified PersistentVolume - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.CoreV1Api() -name = 'name_example' # str | name of the PersistentVolume -body = openshift.client.UnversionedPatch() # UnversionedPatch | -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) - -try: - api_response = api_instance.patch_persistent_volume_status(name, body, pretty=pretty) - pprint(api_response) -except ApiException as e: - print("Exception when calling CoreV1Api->patch_persistent_volume_status: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the PersistentVolume | - **body** | [**UnversionedPatch**](UnversionedPatch.md)| | - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - -### Return type - -[**V1PersistentVolume**](V1PersistentVolume.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **patch_security_context_constraints** -> V1SecurityContextConstraints patch_security_context_constraints(name, body, pretty=pretty) - - - -partially update the specified SecurityContextConstraints - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.CoreV1Api() -name = 'name_example' # str | name of the SecurityContextConstraints -body = openshift.client.UnversionedPatch() # UnversionedPatch | -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) - -try: - api_response = api_instance.patch_security_context_constraints(name, body, pretty=pretty) - pprint(api_response) -except ApiException as e: - print("Exception when calling CoreV1Api->patch_security_context_constraints: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the SecurityContextConstraints | - **body** | [**UnversionedPatch**](UnversionedPatch.md)| | - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - -### Return type - -[**V1SecurityContextConstraints**](V1SecurityContextConstraints.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **proxy_delete_namespaced_pod** -> str proxy_delete_namespaced_pod(name, namespace) - - - -proxy DELETE requests to Pod - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.CoreV1Api() -name = 'name_example' # str | name of the Pod -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects - -try: - api_response = api_instance.proxy_delete_namespaced_pod(name, namespace) - pprint(api_response) -except ApiException as e: - print("Exception when calling CoreV1Api->proxy_delete_namespaced_pod: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the Pod | - **namespace** | **str**| object name and auth scope, such as for teams and projects | - -### Return type - -**str** - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: */* - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **proxy_delete_namespaced_pod_with_path** -> str proxy_delete_namespaced_pod_with_path(name, namespace, path) - - - -proxy DELETE requests to Pod - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.CoreV1Api() -name = 'name_example' # str | name of the Pod -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -path = 'path_example' # str | path to the resource - -try: - api_response = api_instance.proxy_delete_namespaced_pod_with_path(name, namespace, path) - pprint(api_response) -except ApiException as e: - print("Exception when calling CoreV1Api->proxy_delete_namespaced_pod_with_path: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the Pod | - **namespace** | **str**| object name and auth scope, such as for teams and projects | - **path** | **str**| path to the resource | - -### Return type - -**str** - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: */* - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **proxy_delete_namespaced_service** -> str proxy_delete_namespaced_service(name, namespace) - - - -proxy DELETE requests to Service - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.CoreV1Api() -name = 'name_example' # str | name of the Service -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects - -try: - api_response = api_instance.proxy_delete_namespaced_service(name, namespace) - pprint(api_response) -except ApiException as e: - print("Exception when calling CoreV1Api->proxy_delete_namespaced_service: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the Service | - **namespace** | **str**| object name and auth scope, such as for teams and projects | - -### Return type - -**str** - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: */* - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **proxy_delete_namespaced_service_with_path** -> str proxy_delete_namespaced_service_with_path(name, namespace, path) - - - -proxy DELETE requests to Service - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.CoreV1Api() -name = 'name_example' # str | name of the Service -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -path = 'path_example' # str | path to the resource - -try: - api_response = api_instance.proxy_delete_namespaced_service_with_path(name, namespace, path) - pprint(api_response) -except ApiException as e: - print("Exception when calling CoreV1Api->proxy_delete_namespaced_service_with_path: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the Service | - **namespace** | **str**| object name and auth scope, such as for teams and projects | - **path** | **str**| path to the resource | - -### Return type - -**str** - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: */* - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **proxy_delete_node** -> str proxy_delete_node(name) - - - -proxy DELETE requests to Node - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.CoreV1Api() -name = 'name_example' # str | name of the Node - -try: - api_response = api_instance.proxy_delete_node(name) - pprint(api_response) -except ApiException as e: - print("Exception when calling CoreV1Api->proxy_delete_node: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the Node | - -### Return type - -**str** - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: */* - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **proxy_delete_node_with_path** -> str proxy_delete_node_with_path(name, path) - - - -proxy DELETE requests to Node - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.CoreV1Api() -name = 'name_example' # str | name of the Node -path = 'path_example' # str | path to the resource - -try: - api_response = api_instance.proxy_delete_node_with_path(name, path) - pprint(api_response) -except ApiException as e: - print("Exception when calling CoreV1Api->proxy_delete_node_with_path: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the Node | - **path** | **str**| path to the resource | - -### Return type - -**str** - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: */* - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **proxy_get_namespaced_pod** -> str proxy_get_namespaced_pod(name, namespace) - - - -proxy GET requests to Pod - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.CoreV1Api() -name = 'name_example' # str | name of the Pod -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects - -try: - api_response = api_instance.proxy_get_namespaced_pod(name, namespace) - pprint(api_response) -except ApiException as e: - print("Exception when calling CoreV1Api->proxy_get_namespaced_pod: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the Pod | - **namespace** | **str**| object name and auth scope, such as for teams and projects | - -### Return type - -**str** - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: */* - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **proxy_get_namespaced_pod_with_path** -> str proxy_get_namespaced_pod_with_path(name, namespace, path) - - - -proxy GET requests to Pod - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.CoreV1Api() -name = 'name_example' # str | name of the Pod -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -path = 'path_example' # str | path to the resource - -try: - api_response = api_instance.proxy_get_namespaced_pod_with_path(name, namespace, path) - pprint(api_response) -except ApiException as e: - print("Exception when calling CoreV1Api->proxy_get_namespaced_pod_with_path: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the Pod | - **namespace** | **str**| object name and auth scope, such as for teams and projects | - **path** | **str**| path to the resource | - -### Return type - -**str** - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: */* - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **proxy_get_namespaced_service** -> str proxy_get_namespaced_service(name, namespace) - - - -proxy GET requests to Service - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.CoreV1Api() -name = 'name_example' # str | name of the Service -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects - -try: - api_response = api_instance.proxy_get_namespaced_service(name, namespace) - pprint(api_response) -except ApiException as e: - print("Exception when calling CoreV1Api->proxy_get_namespaced_service: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the Service | - **namespace** | **str**| object name and auth scope, such as for teams and projects | - -### Return type - -**str** - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: */* - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **proxy_get_namespaced_service_with_path** -> str proxy_get_namespaced_service_with_path(name, namespace, path) - - - -proxy GET requests to Service - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.CoreV1Api() -name = 'name_example' # str | name of the Service -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -path = 'path_example' # str | path to the resource - -try: - api_response = api_instance.proxy_get_namespaced_service_with_path(name, namespace, path) - pprint(api_response) -except ApiException as e: - print("Exception when calling CoreV1Api->proxy_get_namespaced_service_with_path: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the Service | - **namespace** | **str**| object name and auth scope, such as for teams and projects | - **path** | **str**| path to the resource | - -### Return type - -**str** - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: */* - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **proxy_get_node** -> str proxy_get_node(name) - - - -proxy GET requests to Node - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.CoreV1Api() -name = 'name_example' # str | name of the Node - -try: - api_response = api_instance.proxy_get_node(name) - pprint(api_response) -except ApiException as e: - print("Exception when calling CoreV1Api->proxy_get_node: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the Node | - -### Return type - -**str** - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: */* - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **proxy_get_node_with_path** -> str proxy_get_node_with_path(name, path) - - - -proxy GET requests to Node - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.CoreV1Api() -name = 'name_example' # str | name of the Node -path = 'path_example' # str | path to the resource - -try: - api_response = api_instance.proxy_get_node_with_path(name, path) - pprint(api_response) -except ApiException as e: - print("Exception when calling CoreV1Api->proxy_get_node_with_path: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the Node | - **path** | **str**| path to the resource | - -### Return type - -**str** - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: */* - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **proxy_head_namespaced_pod** -> str proxy_head_namespaced_pod(name, namespace) - - - -proxy HEAD requests to Pod - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.CoreV1Api() -name = 'name_example' # str | name of the Pod -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects - -try: - api_response = api_instance.proxy_head_namespaced_pod(name, namespace) - pprint(api_response) -except ApiException as e: - print("Exception when calling CoreV1Api->proxy_head_namespaced_pod: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the Pod | - **namespace** | **str**| object name and auth scope, such as for teams and projects | - -### Return type - -**str** - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: */* - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **proxy_head_namespaced_pod_with_path** -> str proxy_head_namespaced_pod_with_path(name, namespace, path) - - - -proxy HEAD requests to Pod - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.CoreV1Api() -name = 'name_example' # str | name of the Pod -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -path = 'path_example' # str | path to the resource - -try: - api_response = api_instance.proxy_head_namespaced_pod_with_path(name, namespace, path) - pprint(api_response) -except ApiException as e: - print("Exception when calling CoreV1Api->proxy_head_namespaced_pod_with_path: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the Pod | - **namespace** | **str**| object name and auth scope, such as for teams and projects | - **path** | **str**| path to the resource | - -### Return type - -**str** - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: */* - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **proxy_head_namespaced_service** -> str proxy_head_namespaced_service(name, namespace) - - - -proxy HEAD requests to Service - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.CoreV1Api() -name = 'name_example' # str | name of the Service -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects - -try: - api_response = api_instance.proxy_head_namespaced_service(name, namespace) - pprint(api_response) -except ApiException as e: - print("Exception when calling CoreV1Api->proxy_head_namespaced_service: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the Service | - **namespace** | **str**| object name and auth scope, such as for teams and projects | - -### Return type - -**str** - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: */* - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **proxy_head_namespaced_service_with_path** -> str proxy_head_namespaced_service_with_path(name, namespace, path) - - - -proxy HEAD requests to Service - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.CoreV1Api() -name = 'name_example' # str | name of the Service -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -path = 'path_example' # str | path to the resource - -try: - api_response = api_instance.proxy_head_namespaced_service_with_path(name, namespace, path) - pprint(api_response) -except ApiException as e: - print("Exception when calling CoreV1Api->proxy_head_namespaced_service_with_path: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the Service | - **namespace** | **str**| object name and auth scope, such as for teams and projects | - **path** | **str**| path to the resource | - -### Return type - -**str** - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: */* - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **proxy_head_node** -> str proxy_head_node(name) - - - -proxy HEAD requests to Node - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.CoreV1Api() -name = 'name_example' # str | name of the Node - -try: - api_response = api_instance.proxy_head_node(name) - pprint(api_response) -except ApiException as e: - print("Exception when calling CoreV1Api->proxy_head_node: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the Node | - -### Return type - -**str** - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: */* - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **proxy_head_node_with_path** -> str proxy_head_node_with_path(name, path) - - - -proxy HEAD requests to Node - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.CoreV1Api() -name = 'name_example' # str | name of the Node -path = 'path_example' # str | path to the resource - -try: - api_response = api_instance.proxy_head_node_with_path(name, path) - pprint(api_response) -except ApiException as e: - print("Exception when calling CoreV1Api->proxy_head_node_with_path: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the Node | - **path** | **str**| path to the resource | - -### Return type - -**str** - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: */* - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **proxy_options_namespaced_pod** -> str proxy_options_namespaced_pod(name, namespace) - - - -proxy OPTIONS requests to Pod - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.CoreV1Api() -name = 'name_example' # str | name of the Pod -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects - -try: - api_response = api_instance.proxy_options_namespaced_pod(name, namespace) - pprint(api_response) -except ApiException as e: - print("Exception when calling CoreV1Api->proxy_options_namespaced_pod: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the Pod | - **namespace** | **str**| object name and auth scope, such as for teams and projects | - -### Return type - -**str** - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: */* - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **proxy_options_namespaced_pod_with_path** -> str proxy_options_namespaced_pod_with_path(name, namespace, path) - - - -proxy OPTIONS requests to Pod - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.CoreV1Api() -name = 'name_example' # str | name of the Pod -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -path = 'path_example' # str | path to the resource - -try: - api_response = api_instance.proxy_options_namespaced_pod_with_path(name, namespace, path) - pprint(api_response) -except ApiException as e: - print("Exception when calling CoreV1Api->proxy_options_namespaced_pod_with_path: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the Pod | - **namespace** | **str**| object name and auth scope, such as for teams and projects | - **path** | **str**| path to the resource | - -### Return type - -**str** - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: */* - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **proxy_options_namespaced_service** -> str proxy_options_namespaced_service(name, namespace) - - - -proxy OPTIONS requests to Service - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.CoreV1Api() -name = 'name_example' # str | name of the Service -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects - -try: - api_response = api_instance.proxy_options_namespaced_service(name, namespace) - pprint(api_response) -except ApiException as e: - print("Exception when calling CoreV1Api->proxy_options_namespaced_service: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the Service | - **namespace** | **str**| object name and auth scope, such as for teams and projects | - -### Return type - -**str** - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: */* - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **proxy_options_namespaced_service_with_path** -> str proxy_options_namespaced_service_with_path(name, namespace, path) - - - -proxy OPTIONS requests to Service - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.CoreV1Api() -name = 'name_example' # str | name of the Service -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -path = 'path_example' # str | path to the resource - -try: - api_response = api_instance.proxy_options_namespaced_service_with_path(name, namespace, path) - pprint(api_response) -except ApiException as e: - print("Exception when calling CoreV1Api->proxy_options_namespaced_service_with_path: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the Service | - **namespace** | **str**| object name and auth scope, such as for teams and projects | - **path** | **str**| path to the resource | - -### Return type - -**str** - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: */* - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **proxy_options_node** -> str proxy_options_node(name) - - - -proxy OPTIONS requests to Node - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.CoreV1Api() -name = 'name_example' # str | name of the Node - -try: - api_response = api_instance.proxy_options_node(name) - pprint(api_response) -except ApiException as e: - print("Exception when calling CoreV1Api->proxy_options_node: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the Node | - -### Return type - -**str** - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: */* - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **proxy_options_node_with_path** -> str proxy_options_node_with_path(name, path) - - - -proxy OPTIONS requests to Node - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.CoreV1Api() -name = 'name_example' # str | name of the Node -path = 'path_example' # str | path to the resource - -try: - api_response = api_instance.proxy_options_node_with_path(name, path) - pprint(api_response) -except ApiException as e: - print("Exception when calling CoreV1Api->proxy_options_node_with_path: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the Node | - **path** | **str**| path to the resource | - -### Return type - -**str** - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: */* - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **proxy_post_namespaced_pod** -> str proxy_post_namespaced_pod(name, namespace) - - - -proxy POST requests to Pod - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.CoreV1Api() -name = 'name_example' # str | name of the Pod -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects - -try: - api_response = api_instance.proxy_post_namespaced_pod(name, namespace) - pprint(api_response) -except ApiException as e: - print("Exception when calling CoreV1Api->proxy_post_namespaced_pod: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the Pod | - **namespace** | **str**| object name and auth scope, such as for teams and projects | - -### Return type - -**str** - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: */* - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **proxy_post_namespaced_pod_with_path** -> str proxy_post_namespaced_pod_with_path(name, namespace, path) - - - -proxy POST requests to Pod - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.CoreV1Api() -name = 'name_example' # str | name of the Pod -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -path = 'path_example' # str | path to the resource - -try: - api_response = api_instance.proxy_post_namespaced_pod_with_path(name, namespace, path) - pprint(api_response) -except ApiException as e: - print("Exception when calling CoreV1Api->proxy_post_namespaced_pod_with_path: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the Pod | - **namespace** | **str**| object name and auth scope, such as for teams and projects | - **path** | **str**| path to the resource | - -### Return type - -**str** - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: */* - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **proxy_post_namespaced_service** -> str proxy_post_namespaced_service(name, namespace) - - - -proxy POST requests to Service - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.CoreV1Api() -name = 'name_example' # str | name of the Service -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects - -try: - api_response = api_instance.proxy_post_namespaced_service(name, namespace) - pprint(api_response) -except ApiException as e: - print("Exception when calling CoreV1Api->proxy_post_namespaced_service: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the Service | - **namespace** | **str**| object name and auth scope, such as for teams and projects | - -### Return type - -**str** - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: */* - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **proxy_post_namespaced_service_with_path** -> str proxy_post_namespaced_service_with_path(name, namespace, path) - - - -proxy POST requests to Service - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.CoreV1Api() -name = 'name_example' # str | name of the Service -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -path = 'path_example' # str | path to the resource - -try: - api_response = api_instance.proxy_post_namespaced_service_with_path(name, namespace, path) - pprint(api_response) -except ApiException as e: - print("Exception when calling CoreV1Api->proxy_post_namespaced_service_with_path: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the Service | - **namespace** | **str**| object name and auth scope, such as for teams and projects | - **path** | **str**| path to the resource | - -### Return type - -**str** - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: */* - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **proxy_post_node** -> str proxy_post_node(name) - - - -proxy POST requests to Node - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.CoreV1Api() -name = 'name_example' # str | name of the Node - -try: - api_response = api_instance.proxy_post_node(name) - pprint(api_response) -except ApiException as e: - print("Exception when calling CoreV1Api->proxy_post_node: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the Node | - -### Return type - -**str** - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: */* - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **proxy_post_node_with_path** -> str proxy_post_node_with_path(name, path) - - - -proxy POST requests to Node - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.CoreV1Api() -name = 'name_example' # str | name of the Node -path = 'path_example' # str | path to the resource - -try: - api_response = api_instance.proxy_post_node_with_path(name, path) - pprint(api_response) -except ApiException as e: - print("Exception when calling CoreV1Api->proxy_post_node_with_path: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the Node | - **path** | **str**| path to the resource | - -### Return type - -**str** - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: */* - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **proxy_put_namespaced_pod** -> str proxy_put_namespaced_pod(name, namespace) - - - -proxy PUT requests to Pod - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.CoreV1Api() -name = 'name_example' # str | name of the Pod -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects - -try: - api_response = api_instance.proxy_put_namespaced_pod(name, namespace) - pprint(api_response) -except ApiException as e: - print("Exception when calling CoreV1Api->proxy_put_namespaced_pod: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the Pod | - **namespace** | **str**| object name and auth scope, such as for teams and projects | - -### Return type - -**str** - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: */* - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **proxy_put_namespaced_pod_with_path** -> str proxy_put_namespaced_pod_with_path(name, namespace, path) - - - -proxy PUT requests to Pod - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.CoreV1Api() -name = 'name_example' # str | name of the Pod -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -path = 'path_example' # str | path to the resource - -try: - api_response = api_instance.proxy_put_namespaced_pod_with_path(name, namespace, path) - pprint(api_response) -except ApiException as e: - print("Exception when calling CoreV1Api->proxy_put_namespaced_pod_with_path: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the Pod | - **namespace** | **str**| object name and auth scope, such as for teams and projects | - **path** | **str**| path to the resource | - -### Return type - -**str** - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: */* - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **proxy_put_namespaced_service** -> str proxy_put_namespaced_service(name, namespace) - - - -proxy PUT requests to Service - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.CoreV1Api() -name = 'name_example' # str | name of the Service -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects - -try: - api_response = api_instance.proxy_put_namespaced_service(name, namespace) - pprint(api_response) -except ApiException as e: - print("Exception when calling CoreV1Api->proxy_put_namespaced_service: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the Service | - **namespace** | **str**| object name and auth scope, such as for teams and projects | - -### Return type - -**str** - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: */* - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **proxy_put_namespaced_service_with_path** -> str proxy_put_namespaced_service_with_path(name, namespace, path) - - - -proxy PUT requests to Service - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.CoreV1Api() -name = 'name_example' # str | name of the Service -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -path = 'path_example' # str | path to the resource - -try: - api_response = api_instance.proxy_put_namespaced_service_with_path(name, namespace, path) - pprint(api_response) -except ApiException as e: - print("Exception when calling CoreV1Api->proxy_put_namespaced_service_with_path: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the Service | - **namespace** | **str**| object name and auth scope, such as for teams and projects | - **path** | **str**| path to the resource | - -### Return type - -**str** - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: */* - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **proxy_put_node** -> str proxy_put_node(name) - - - -proxy PUT requests to Node - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.CoreV1Api() -name = 'name_example' # str | name of the Node - -try: - api_response = api_instance.proxy_put_node(name) - pprint(api_response) -except ApiException as e: - print("Exception when calling CoreV1Api->proxy_put_node: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the Node | - -### Return type - -**str** - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: */* - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **proxy_put_node_with_path** -> str proxy_put_node_with_path(name, path) - - - -proxy PUT requests to Node - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.CoreV1Api() -name = 'name_example' # str | name of the Node -path = 'path_example' # str | path to the resource - -try: - api_response = api_instance.proxy_put_node_with_path(name, path) - pprint(api_response) -except ApiException as e: - print("Exception when calling CoreV1Api->proxy_put_node_with_path: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the Node | - **path** | **str**| path to the resource | - -### Return type - -**str** - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: */* - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **read_component_status** -> V1ComponentStatus read_component_status(name, pretty=pretty) - - - -read the specified ComponentStatus - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.CoreV1Api() -name = 'name_example' # str | name of the ComponentStatus -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) - -try: - api_response = api_instance.read_component_status(name, pretty=pretty) - pprint(api_response) -except ApiException as e: - print("Exception when calling CoreV1Api->read_component_status: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the ComponentStatus | - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - -### Return type - -[**V1ComponentStatus**](V1ComponentStatus.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **read_namespace** -> V1Namespace read_namespace(name, pretty=pretty, exact=exact, export=export) - - - -read the specified Namespace - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.CoreV1Api() -name = 'name_example' # str | name of the Namespace -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) -exact = true # bool | Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace' (optional) -export = true # bool | Should this value be exported. Export strips fields that a user can not specify. (optional) - -try: - api_response = api_instance.read_namespace(name, pretty=pretty, exact=exact, export=export) - pprint(api_response) -except ApiException as e: - print("Exception when calling CoreV1Api->read_namespace: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the Namespace | - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - **exact** | **bool**| Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace' | [optional] - **export** | **bool**| Should this value be exported. Export strips fields that a user can not specify. | [optional] - -### Return type - -[**V1Namespace**](V1Namespace.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **read_namespace_status** -> V1Namespace read_namespace_status(name, pretty=pretty) - - - -read status of the specified Namespace - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.CoreV1Api() -name = 'name_example' # str | name of the Namespace -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) - -try: - api_response = api_instance.read_namespace_status(name, pretty=pretty) - pprint(api_response) -except ApiException as e: - print("Exception when calling CoreV1Api->read_namespace_status: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the Namespace | - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - -### Return type - -[**V1Namespace**](V1Namespace.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **read_namespaced_config_map** -> V1ConfigMap read_namespaced_config_map(name, namespace, pretty=pretty, exact=exact, export=export) - - - -read the specified ConfigMap - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.CoreV1Api() -name = 'name_example' # str | name of the ConfigMap -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) -exact = true # bool | Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace' (optional) -export = true # bool | Should this value be exported. Export strips fields that a user can not specify. (optional) - -try: - api_response = api_instance.read_namespaced_config_map(name, namespace, pretty=pretty, exact=exact, export=export) - pprint(api_response) -except ApiException as e: - print("Exception when calling CoreV1Api->read_namespaced_config_map: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the ConfigMap | - **namespace** | **str**| object name and auth scope, such as for teams and projects | - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - **exact** | **bool**| Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace' | [optional] - **export** | **bool**| Should this value be exported. Export strips fields that a user can not specify. | [optional] - -### Return type - -[**V1ConfigMap**](V1ConfigMap.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **read_namespaced_endpoints** -> V1Endpoints read_namespaced_endpoints(name, namespace, pretty=pretty, exact=exact, export=export) - - - -read the specified Endpoints - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.CoreV1Api() -name = 'name_example' # str | name of the Endpoints -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) -exact = true # bool | Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace' (optional) -export = true # bool | Should this value be exported. Export strips fields that a user can not specify. (optional) - -try: - api_response = api_instance.read_namespaced_endpoints(name, namespace, pretty=pretty, exact=exact, export=export) - pprint(api_response) -except ApiException as e: - print("Exception when calling CoreV1Api->read_namespaced_endpoints: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the Endpoints | - **namespace** | **str**| object name and auth scope, such as for teams and projects | - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - **exact** | **bool**| Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace' | [optional] - **export** | **bool**| Should this value be exported. Export strips fields that a user can not specify. | [optional] - -### Return type - -[**V1Endpoints**](V1Endpoints.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **read_namespaced_event** -> V1Event read_namespaced_event(name, namespace, pretty=pretty, exact=exact, export=export) - - - -read the specified Event - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.CoreV1Api() -name = 'name_example' # str | name of the Event -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) -exact = true # bool | Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace' (optional) -export = true # bool | Should this value be exported. Export strips fields that a user can not specify. (optional) - -try: - api_response = api_instance.read_namespaced_event(name, namespace, pretty=pretty, exact=exact, export=export) - pprint(api_response) -except ApiException as e: - print("Exception when calling CoreV1Api->read_namespaced_event: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the Event | - **namespace** | **str**| object name and auth scope, such as for teams and projects | - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - **exact** | **bool**| Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace' | [optional] - **export** | **bool**| Should this value be exported. Export strips fields that a user can not specify. | [optional] - -### Return type - -[**V1Event**](V1Event.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **read_namespaced_limit_range** -> V1LimitRange read_namespaced_limit_range(name, namespace, pretty=pretty, exact=exact, export=export) - - - -read the specified LimitRange - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.CoreV1Api() -name = 'name_example' # str | name of the LimitRange -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) -exact = true # bool | Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace' (optional) -export = true # bool | Should this value be exported. Export strips fields that a user can not specify. (optional) - -try: - api_response = api_instance.read_namespaced_limit_range(name, namespace, pretty=pretty, exact=exact, export=export) - pprint(api_response) -except ApiException as e: - print("Exception when calling CoreV1Api->read_namespaced_limit_range: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the LimitRange | - **namespace** | **str**| object name and auth scope, such as for teams and projects | - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - **exact** | **bool**| Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace' | [optional] - **export** | **bool**| Should this value be exported. Export strips fields that a user can not specify. | [optional] - -### Return type - -[**V1LimitRange**](V1LimitRange.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **read_namespaced_persistent_volume_claim** -> V1PersistentVolumeClaim read_namespaced_persistent_volume_claim(name, namespace, pretty=pretty, exact=exact, export=export) - - - -read the specified PersistentVolumeClaim - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.CoreV1Api() -name = 'name_example' # str | name of the PersistentVolumeClaim -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) -exact = true # bool | Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace' (optional) -export = true # bool | Should this value be exported. Export strips fields that a user can not specify. (optional) - -try: - api_response = api_instance.read_namespaced_persistent_volume_claim(name, namespace, pretty=pretty, exact=exact, export=export) - pprint(api_response) -except ApiException as e: - print("Exception when calling CoreV1Api->read_namespaced_persistent_volume_claim: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the PersistentVolumeClaim | - **namespace** | **str**| object name and auth scope, such as for teams and projects | - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - **exact** | **bool**| Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace' | [optional] - **export** | **bool**| Should this value be exported. Export strips fields that a user can not specify. | [optional] - -### Return type - -[**V1PersistentVolumeClaim**](V1PersistentVolumeClaim.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **read_namespaced_persistent_volume_claim_status** -> V1PersistentVolumeClaim read_namespaced_persistent_volume_claim_status(name, namespace, pretty=pretty) - - - -read status of the specified PersistentVolumeClaim - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.CoreV1Api() -name = 'name_example' # str | name of the PersistentVolumeClaim -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) - -try: - api_response = api_instance.read_namespaced_persistent_volume_claim_status(name, namespace, pretty=pretty) - pprint(api_response) -except ApiException as e: - print("Exception when calling CoreV1Api->read_namespaced_persistent_volume_claim_status: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the PersistentVolumeClaim | - **namespace** | **str**| object name and auth scope, such as for teams and projects | - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - -### Return type - -[**V1PersistentVolumeClaim**](V1PersistentVolumeClaim.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **read_namespaced_pod** -> V1Pod read_namespaced_pod(name, namespace, pretty=pretty, exact=exact, export=export) - - - -read the specified Pod - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.CoreV1Api() -name = 'name_example' # str | name of the Pod -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) -exact = true # bool | Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace' (optional) -export = true # bool | Should this value be exported. Export strips fields that a user can not specify. (optional) - -try: - api_response = api_instance.read_namespaced_pod(name, namespace, pretty=pretty, exact=exact, export=export) - pprint(api_response) -except ApiException as e: - print("Exception when calling CoreV1Api->read_namespaced_pod: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the Pod | - **namespace** | **str**| object name and auth scope, such as for teams and projects | - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - **exact** | **bool**| Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace' | [optional] - **export** | **bool**| Should this value be exported. Export strips fields that a user can not specify. | [optional] - -### Return type - -[**V1Pod**](V1Pod.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **read_namespaced_pod_log** -> str read_namespaced_pod_log(name, namespace, container=container, follow=follow, limit_bytes=limit_bytes, pretty=pretty, previous=previous, since_seconds=since_seconds, since_time=since_time, tail_lines=tail_lines, timestamps=timestamps) - - - -read log of the specified Pod - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.CoreV1Api() -name = 'name_example' # str | name of the Pod -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -container = 'container_example' # str | The container for which to stream logs. Defaults to only container if there is one container in the pod. (optional) -follow = true # bool | Follow the log stream of the pod. Defaults to false. (optional) -limit_bytes = 56 # int | If set, the number of bytes to read from the server before terminating the log output. This may not display a complete final line of logging, and may return slightly more or slightly less than the specified limit. (optional) -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) -previous = true # bool | Return previous terminated container logs. Defaults to false. (optional) -since_seconds = 56 # int | A relative time in seconds before the current time from which to show logs. If this value precedes the time a pod was started, only logs since the pod start will be returned. If this value is in the future, no logs will be returned. Only one of sinceSeconds or sinceTime may be specified. (optional) -since_time = 'since_time_example' # str | An RFC3339 timestamp from which to show logs. If this value precedes the time a pod was started, only logs since the pod start will be returned. If this value is in the future, no logs will be returned. Only one of sinceSeconds or sinceTime may be specified. (optional) -tail_lines = 56 # int | If set, the number of lines from the end of the logs to show. If not specified, logs are shown from the creation of the container or sinceSeconds or sinceTime (optional) -timestamps = true # bool | If true, add an RFC3339 or RFC3339Nano timestamp at the beginning of every line of log output. Defaults to false. (optional) - -try: - api_response = api_instance.read_namespaced_pod_log(name, namespace, container=container, follow=follow, limit_bytes=limit_bytes, pretty=pretty, previous=previous, since_seconds=since_seconds, since_time=since_time, tail_lines=tail_lines, timestamps=timestamps) - pprint(api_response) -except ApiException as e: - print("Exception when calling CoreV1Api->read_namespaced_pod_log: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the Pod | - **namespace** | **str**| object name and auth scope, such as for teams and projects | - **container** | **str**| The container for which to stream logs. Defaults to only container if there is one container in the pod. | [optional] - **follow** | **bool**| Follow the log stream of the pod. Defaults to false. | [optional] - **limit_bytes** | **int**| If set, the number of bytes to read from the server before terminating the log output. This may not display a complete final line of logging, and may return slightly more or slightly less than the specified limit. | [optional] - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - **previous** | **bool**| Return previous terminated container logs. Defaults to false. | [optional] - **since_seconds** | **int**| A relative time in seconds before the current time from which to show logs. If this value precedes the time a pod was started, only logs since the pod start will be returned. If this value is in the future, no logs will be returned. Only one of sinceSeconds or sinceTime may be specified. | [optional] - **since_time** | **str**| An RFC3339 timestamp from which to show logs. If this value precedes the time a pod was started, only logs since the pod start will be returned. If this value is in the future, no logs will be returned. Only one of sinceSeconds or sinceTime may be specified. | [optional] - **tail_lines** | **int**| If set, the number of lines from the end of the logs to show. If not specified, logs are shown from the creation of the container or sinceSeconds or sinceTime | [optional] - **timestamps** | **bool**| If true, add an RFC3339 or RFC3339Nano timestamp at the beginning of every line of log output. Defaults to false. | [optional] - -### Return type - -**str** - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: text/plain, application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **read_namespaced_pod_status** -> V1Pod read_namespaced_pod_status(name, namespace, pretty=pretty) - - - -read status of the specified Pod - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.CoreV1Api() -name = 'name_example' # str | name of the Pod -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) - -try: - api_response = api_instance.read_namespaced_pod_status(name, namespace, pretty=pretty) - pprint(api_response) -except ApiException as e: - print("Exception when calling CoreV1Api->read_namespaced_pod_status: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the Pod | - **namespace** | **str**| object name and auth scope, such as for teams and projects | - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - -### Return type - -[**V1Pod**](V1Pod.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **read_namespaced_pod_template** -> V1PodTemplate read_namespaced_pod_template(name, namespace, pretty=pretty, exact=exact, export=export) - - - -read the specified PodTemplate - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.CoreV1Api() -name = 'name_example' # str | name of the PodTemplate -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) -exact = true # bool | Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace' (optional) -export = true # bool | Should this value be exported. Export strips fields that a user can not specify. (optional) - -try: - api_response = api_instance.read_namespaced_pod_template(name, namespace, pretty=pretty, exact=exact, export=export) - pprint(api_response) -except ApiException as e: - print("Exception when calling CoreV1Api->read_namespaced_pod_template: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the PodTemplate | - **namespace** | **str**| object name and auth scope, such as for teams and projects | - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - **exact** | **bool**| Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace' | [optional] - **export** | **bool**| Should this value be exported. Export strips fields that a user can not specify. | [optional] - -### Return type - -[**V1PodTemplate**](V1PodTemplate.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **read_namespaced_replication_controller** -> V1ReplicationController read_namespaced_replication_controller(name, namespace, pretty=pretty, exact=exact, export=export) - - - -read the specified ReplicationController - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.CoreV1Api() -name = 'name_example' # str | name of the ReplicationController -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) -exact = true # bool | Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace' (optional) -export = true # bool | Should this value be exported. Export strips fields that a user can not specify. (optional) - -try: - api_response = api_instance.read_namespaced_replication_controller(name, namespace, pretty=pretty, exact=exact, export=export) - pprint(api_response) -except ApiException as e: - print("Exception when calling CoreV1Api->read_namespaced_replication_controller: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the ReplicationController | - **namespace** | **str**| object name and auth scope, such as for teams and projects | - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - **exact** | **bool**| Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace' | [optional] - **export** | **bool**| Should this value be exported. Export strips fields that a user can not specify. | [optional] - -### Return type - -[**V1ReplicationController**](V1ReplicationController.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **read_namespaced_replication_controller_status** -> V1ReplicationController read_namespaced_replication_controller_status(name, namespace, pretty=pretty) - - - -read status of the specified ReplicationController - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.CoreV1Api() -name = 'name_example' # str | name of the ReplicationController -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) - -try: - api_response = api_instance.read_namespaced_replication_controller_status(name, namespace, pretty=pretty) - pprint(api_response) -except ApiException as e: - print("Exception when calling CoreV1Api->read_namespaced_replication_controller_status: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the ReplicationController | - **namespace** | **str**| object name and auth scope, such as for teams and projects | - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - -### Return type - -[**V1ReplicationController**](V1ReplicationController.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **read_namespaced_resource_quota** -> V1ResourceQuota read_namespaced_resource_quota(name, namespace, pretty=pretty, exact=exact, export=export) - - - -read the specified ResourceQuota - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.CoreV1Api() -name = 'name_example' # str | name of the ResourceQuota -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) -exact = true # bool | Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace' (optional) -export = true # bool | Should this value be exported. Export strips fields that a user can not specify. (optional) - -try: - api_response = api_instance.read_namespaced_resource_quota(name, namespace, pretty=pretty, exact=exact, export=export) - pprint(api_response) -except ApiException as e: - print("Exception when calling CoreV1Api->read_namespaced_resource_quota: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the ResourceQuota | - **namespace** | **str**| object name and auth scope, such as for teams and projects | - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - **exact** | **bool**| Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace' | [optional] - **export** | **bool**| Should this value be exported. Export strips fields that a user can not specify. | [optional] - -### Return type - -[**V1ResourceQuota**](V1ResourceQuota.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **read_namespaced_resource_quota_status** -> V1ResourceQuota read_namespaced_resource_quota_status(name, namespace, pretty=pretty) - - - -read status of the specified ResourceQuota - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.CoreV1Api() -name = 'name_example' # str | name of the ResourceQuota -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) - -try: - api_response = api_instance.read_namespaced_resource_quota_status(name, namespace, pretty=pretty) - pprint(api_response) -except ApiException as e: - print("Exception when calling CoreV1Api->read_namespaced_resource_quota_status: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the ResourceQuota | - **namespace** | **str**| object name and auth scope, such as for teams and projects | - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - -### Return type - -[**V1ResourceQuota**](V1ResourceQuota.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **read_namespaced_scale_scale** -> V1Scale read_namespaced_scale_scale(name, namespace, pretty=pretty) - - - -read scale of the specified Scale - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.CoreV1Api() -name = 'name_example' # str | name of the Scale -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) - -try: - api_response = api_instance.read_namespaced_scale_scale(name, namespace, pretty=pretty) - pprint(api_response) -except ApiException as e: - print("Exception when calling CoreV1Api->read_namespaced_scale_scale: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the Scale | - **namespace** | **str**| object name and auth scope, such as for teams and projects | - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - -### Return type - -[**V1Scale**](V1Scale.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **read_namespaced_secret** -> V1Secret read_namespaced_secret(name, namespace, pretty=pretty, exact=exact, export=export) - - - -read the specified Secret - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.CoreV1Api() -name = 'name_example' # str | name of the Secret -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) -exact = true # bool | Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace' (optional) -export = true # bool | Should this value be exported. Export strips fields that a user can not specify. (optional) - -try: - api_response = api_instance.read_namespaced_secret(name, namespace, pretty=pretty, exact=exact, export=export) - pprint(api_response) -except ApiException as e: - print("Exception when calling CoreV1Api->read_namespaced_secret: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the Secret | - **namespace** | **str**| object name and auth scope, such as for teams and projects | - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - **exact** | **bool**| Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace' | [optional] - **export** | **bool**| Should this value be exported. Export strips fields that a user can not specify. | [optional] - -### Return type - -[**V1Secret**](V1Secret.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **read_namespaced_service** -> V1Service read_namespaced_service(name, namespace, pretty=pretty, exact=exact, export=export) - - - -read the specified Service - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.CoreV1Api() -name = 'name_example' # str | name of the Service -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) -exact = true # bool | Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace' (optional) -export = true # bool | Should this value be exported. Export strips fields that a user can not specify. (optional) - -try: - api_response = api_instance.read_namespaced_service(name, namespace, pretty=pretty, exact=exact, export=export) - pprint(api_response) -except ApiException as e: - print("Exception when calling CoreV1Api->read_namespaced_service: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the Service | - **namespace** | **str**| object name and auth scope, such as for teams and projects | - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - **exact** | **bool**| Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace' | [optional] - **export** | **bool**| Should this value be exported. Export strips fields that a user can not specify. | [optional] - -### Return type - -[**V1Service**](V1Service.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **read_namespaced_service_account** -> V1ServiceAccount read_namespaced_service_account(name, namespace, pretty=pretty, exact=exact, export=export) - - - -read the specified ServiceAccount - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.CoreV1Api() -name = 'name_example' # str | name of the ServiceAccount -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) -exact = true # bool | Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace' (optional) -export = true # bool | Should this value be exported. Export strips fields that a user can not specify. (optional) - -try: - api_response = api_instance.read_namespaced_service_account(name, namespace, pretty=pretty, exact=exact, export=export) - pprint(api_response) -except ApiException as e: - print("Exception when calling CoreV1Api->read_namespaced_service_account: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the ServiceAccount | - **namespace** | **str**| object name and auth scope, such as for teams and projects | - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - **exact** | **bool**| Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace' | [optional] - **export** | **bool**| Should this value be exported. Export strips fields that a user can not specify. | [optional] - -### Return type - -[**V1ServiceAccount**](V1ServiceAccount.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **read_namespaced_service_status** -> V1Service read_namespaced_service_status(name, namespace, pretty=pretty) - - - -read status of the specified Service - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.CoreV1Api() -name = 'name_example' # str | name of the Service -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) - -try: - api_response = api_instance.read_namespaced_service_status(name, namespace, pretty=pretty) - pprint(api_response) -except ApiException as e: - print("Exception when calling CoreV1Api->read_namespaced_service_status: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the Service | - **namespace** | **str**| object name and auth scope, such as for teams and projects | - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - -### Return type - -[**V1Service**](V1Service.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **read_node** -> V1Node read_node(name, pretty=pretty, exact=exact, export=export) - - - -read the specified Node - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.CoreV1Api() -name = 'name_example' # str | name of the Node -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) -exact = true # bool | Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace' (optional) -export = true # bool | Should this value be exported. Export strips fields that a user can not specify. (optional) - -try: - api_response = api_instance.read_node(name, pretty=pretty, exact=exact, export=export) - pprint(api_response) -except ApiException as e: - print("Exception when calling CoreV1Api->read_node: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the Node | - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - **exact** | **bool**| Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace' | [optional] - **export** | **bool**| Should this value be exported. Export strips fields that a user can not specify. | [optional] - -### Return type - -[**V1Node**](V1Node.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **read_node_status** -> V1Node read_node_status(name, pretty=pretty) - - - -read status of the specified Node - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.CoreV1Api() -name = 'name_example' # str | name of the Node -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) - -try: - api_response = api_instance.read_node_status(name, pretty=pretty) - pprint(api_response) -except ApiException as e: - print("Exception when calling CoreV1Api->read_node_status: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the Node | - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - -### Return type - -[**V1Node**](V1Node.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **read_persistent_volume** -> V1PersistentVolume read_persistent_volume(name, pretty=pretty, exact=exact, export=export) - - - -read the specified PersistentVolume - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.CoreV1Api() -name = 'name_example' # str | name of the PersistentVolume -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) -exact = true # bool | Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace' (optional) -export = true # bool | Should this value be exported. Export strips fields that a user can not specify. (optional) - -try: - api_response = api_instance.read_persistent_volume(name, pretty=pretty, exact=exact, export=export) - pprint(api_response) -except ApiException as e: - print("Exception when calling CoreV1Api->read_persistent_volume: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the PersistentVolume | - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - **exact** | **bool**| Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace' | [optional] - **export** | **bool**| Should this value be exported. Export strips fields that a user can not specify. | [optional] - -### Return type - -[**V1PersistentVolume**](V1PersistentVolume.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **read_persistent_volume_status** -> V1PersistentVolume read_persistent_volume_status(name, pretty=pretty) - - - -read status of the specified PersistentVolume - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.CoreV1Api() -name = 'name_example' # str | name of the PersistentVolume -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) - -try: - api_response = api_instance.read_persistent_volume_status(name, pretty=pretty) - pprint(api_response) -except ApiException as e: - print("Exception when calling CoreV1Api->read_persistent_volume_status: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the PersistentVolume | - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - -### Return type - -[**V1PersistentVolume**](V1PersistentVolume.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **read_security_context_constraints** -> V1SecurityContextConstraints read_security_context_constraints(name, pretty=pretty, exact=exact, export=export) - - - -read the specified SecurityContextConstraints - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.CoreV1Api() -name = 'name_example' # str | name of the SecurityContextConstraints -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) -exact = true # bool | Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace' (optional) -export = true # bool | Should this value be exported. Export strips fields that a user can not specify. (optional) - -try: - api_response = api_instance.read_security_context_constraints(name, pretty=pretty, exact=exact, export=export) - pprint(api_response) -except ApiException as e: - print("Exception when calling CoreV1Api->read_security_context_constraints: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the SecurityContextConstraints | - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - **exact** | **bool**| Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace' | [optional] - **export** | **bool**| Should this value be exported. Export strips fields that a user can not specify. | [optional] - -### Return type - -[**V1SecurityContextConstraints**](V1SecurityContextConstraints.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **replace_namespace** -> V1Namespace replace_namespace(name, body, pretty=pretty) - - - -replace the specified Namespace - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.CoreV1Api() -name = 'name_example' # str | name of the Namespace -body = openshift.client.V1Namespace() # V1Namespace | -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) - -try: - api_response = api_instance.replace_namespace(name, body, pretty=pretty) - pprint(api_response) -except ApiException as e: - print("Exception when calling CoreV1Api->replace_namespace: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the Namespace | - **body** | [**V1Namespace**](V1Namespace.md)| | - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - -### Return type - -[**V1Namespace**](V1Namespace.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **replace_namespace_finalize** -> V1Namespace replace_namespace_finalize(body, name, pretty=pretty) - - - -replace finalize of the specified Namespace - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.CoreV1Api() -body = openshift.client.V1Namespace() # V1Namespace | -name = 'name_example' # str | name of the Namespace -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) - -try: - api_response = api_instance.replace_namespace_finalize(body, name, pretty=pretty) - pprint(api_response) -except ApiException as e: - print("Exception when calling CoreV1Api->replace_namespace_finalize: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **body** | [**V1Namespace**](V1Namespace.md)| | - **name** | **str**| name of the Namespace | - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - -### Return type - -[**V1Namespace**](V1Namespace.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **replace_namespace_status** -> V1Namespace replace_namespace_status(name, body, pretty=pretty) - - - -replace status of the specified Namespace - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.CoreV1Api() -name = 'name_example' # str | name of the Namespace -body = openshift.client.V1Namespace() # V1Namespace | -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) - -try: - api_response = api_instance.replace_namespace_status(name, body, pretty=pretty) - pprint(api_response) -except ApiException as e: - print("Exception when calling CoreV1Api->replace_namespace_status: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the Namespace | - **body** | [**V1Namespace**](V1Namespace.md)| | - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - -### Return type - -[**V1Namespace**](V1Namespace.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **replace_namespaced_config_map** -> V1ConfigMap replace_namespaced_config_map(name, namespace, body, pretty=pretty) - - - -replace the specified ConfigMap - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.CoreV1Api() -name = 'name_example' # str | name of the ConfigMap -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = openshift.client.V1ConfigMap() # V1ConfigMap | -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) - -try: - api_response = api_instance.replace_namespaced_config_map(name, namespace, body, pretty=pretty) - pprint(api_response) -except ApiException as e: - print("Exception when calling CoreV1Api->replace_namespaced_config_map: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the ConfigMap | - **namespace** | **str**| object name and auth scope, such as for teams and projects | - **body** | [**V1ConfigMap**](V1ConfigMap.md)| | - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - -### Return type - -[**V1ConfigMap**](V1ConfigMap.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **replace_namespaced_endpoints** -> V1Endpoints replace_namespaced_endpoints(name, namespace, body, pretty=pretty) - - - -replace the specified Endpoints - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.CoreV1Api() -name = 'name_example' # str | name of the Endpoints -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = openshift.client.V1Endpoints() # V1Endpoints | -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) - -try: - api_response = api_instance.replace_namespaced_endpoints(name, namespace, body, pretty=pretty) - pprint(api_response) -except ApiException as e: - print("Exception when calling CoreV1Api->replace_namespaced_endpoints: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the Endpoints | - **namespace** | **str**| object name and auth scope, such as for teams and projects | - **body** | [**V1Endpoints**](V1Endpoints.md)| | - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - -### Return type - -[**V1Endpoints**](V1Endpoints.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **replace_namespaced_event** -> V1Event replace_namespaced_event(name, namespace, body, pretty=pretty) - - - -replace the specified Event - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.CoreV1Api() -name = 'name_example' # str | name of the Event -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = openshift.client.V1Event() # V1Event | -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) - -try: - api_response = api_instance.replace_namespaced_event(name, namespace, body, pretty=pretty) - pprint(api_response) -except ApiException as e: - print("Exception when calling CoreV1Api->replace_namespaced_event: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the Event | - **namespace** | **str**| object name and auth scope, such as for teams and projects | - **body** | [**V1Event**](V1Event.md)| | - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - -### Return type - -[**V1Event**](V1Event.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **replace_namespaced_limit_range** -> V1LimitRange replace_namespaced_limit_range(name, namespace, body, pretty=pretty) - - - -replace the specified LimitRange - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.CoreV1Api() -name = 'name_example' # str | name of the LimitRange -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = openshift.client.V1LimitRange() # V1LimitRange | -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) - -try: - api_response = api_instance.replace_namespaced_limit_range(name, namespace, body, pretty=pretty) - pprint(api_response) -except ApiException as e: - print("Exception when calling CoreV1Api->replace_namespaced_limit_range: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the LimitRange | - **namespace** | **str**| object name and auth scope, such as for teams and projects | - **body** | [**V1LimitRange**](V1LimitRange.md)| | - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - -### Return type - -[**V1LimitRange**](V1LimitRange.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **replace_namespaced_persistent_volume_claim** -> V1PersistentVolumeClaim replace_namespaced_persistent_volume_claim(name, namespace, body, pretty=pretty) - - - -replace the specified PersistentVolumeClaim - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.CoreV1Api() -name = 'name_example' # str | name of the PersistentVolumeClaim -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = openshift.client.V1PersistentVolumeClaim() # V1PersistentVolumeClaim | -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) - -try: - api_response = api_instance.replace_namespaced_persistent_volume_claim(name, namespace, body, pretty=pretty) - pprint(api_response) -except ApiException as e: - print("Exception when calling CoreV1Api->replace_namespaced_persistent_volume_claim: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the PersistentVolumeClaim | - **namespace** | **str**| object name and auth scope, such as for teams and projects | - **body** | [**V1PersistentVolumeClaim**](V1PersistentVolumeClaim.md)| | - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - -### Return type - -[**V1PersistentVolumeClaim**](V1PersistentVolumeClaim.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **replace_namespaced_persistent_volume_claim_status** -> V1PersistentVolumeClaim replace_namespaced_persistent_volume_claim_status(name, namespace, body, pretty=pretty) - - - -replace status of the specified PersistentVolumeClaim - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.CoreV1Api() -name = 'name_example' # str | name of the PersistentVolumeClaim -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = openshift.client.V1PersistentVolumeClaim() # V1PersistentVolumeClaim | -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) - -try: - api_response = api_instance.replace_namespaced_persistent_volume_claim_status(name, namespace, body, pretty=pretty) - pprint(api_response) -except ApiException as e: - print("Exception when calling CoreV1Api->replace_namespaced_persistent_volume_claim_status: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the PersistentVolumeClaim | - **namespace** | **str**| object name and auth scope, such as for teams and projects | - **body** | [**V1PersistentVolumeClaim**](V1PersistentVolumeClaim.md)| | - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - -### Return type - -[**V1PersistentVolumeClaim**](V1PersistentVolumeClaim.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **replace_namespaced_pod** -> V1Pod replace_namespaced_pod(name, namespace, body, pretty=pretty) - - - -replace the specified Pod - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.CoreV1Api() -name = 'name_example' # str | name of the Pod -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = openshift.client.V1Pod() # V1Pod | -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) - -try: - api_response = api_instance.replace_namespaced_pod(name, namespace, body, pretty=pretty) - pprint(api_response) -except ApiException as e: - print("Exception when calling CoreV1Api->replace_namespaced_pod: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the Pod | - **namespace** | **str**| object name and auth scope, such as for teams and projects | - **body** | [**V1Pod**](V1Pod.md)| | - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - -### Return type - -[**V1Pod**](V1Pod.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **replace_namespaced_pod_status** -> V1Pod replace_namespaced_pod_status(name, namespace, body, pretty=pretty) - - - -replace status of the specified Pod - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.CoreV1Api() -name = 'name_example' # str | name of the Pod -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = openshift.client.V1Pod() # V1Pod | -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) - -try: - api_response = api_instance.replace_namespaced_pod_status(name, namespace, body, pretty=pretty) - pprint(api_response) -except ApiException as e: - print("Exception when calling CoreV1Api->replace_namespaced_pod_status: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the Pod | - **namespace** | **str**| object name and auth scope, such as for teams and projects | - **body** | [**V1Pod**](V1Pod.md)| | - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - -### Return type - -[**V1Pod**](V1Pod.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **replace_namespaced_pod_template** -> V1PodTemplate replace_namespaced_pod_template(name, namespace, body, pretty=pretty) - - - -replace the specified PodTemplate - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.CoreV1Api() -name = 'name_example' # str | name of the PodTemplate -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = openshift.client.V1PodTemplate() # V1PodTemplate | -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) - -try: - api_response = api_instance.replace_namespaced_pod_template(name, namespace, body, pretty=pretty) - pprint(api_response) -except ApiException as e: - print("Exception when calling CoreV1Api->replace_namespaced_pod_template: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the PodTemplate | - **namespace** | **str**| object name and auth scope, such as for teams and projects | - **body** | [**V1PodTemplate**](V1PodTemplate.md)| | - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - -### Return type - -[**V1PodTemplate**](V1PodTemplate.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **replace_namespaced_replication_controller** -> V1ReplicationController replace_namespaced_replication_controller(name, namespace, body, pretty=pretty) - - - -replace the specified ReplicationController - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.CoreV1Api() -name = 'name_example' # str | name of the ReplicationController -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = openshift.client.V1ReplicationController() # V1ReplicationController | -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) - -try: - api_response = api_instance.replace_namespaced_replication_controller(name, namespace, body, pretty=pretty) - pprint(api_response) -except ApiException as e: - print("Exception when calling CoreV1Api->replace_namespaced_replication_controller: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the ReplicationController | - **namespace** | **str**| object name and auth scope, such as for teams and projects | - **body** | [**V1ReplicationController**](V1ReplicationController.md)| | - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - -### Return type - -[**V1ReplicationController**](V1ReplicationController.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **replace_namespaced_replication_controller_status** -> V1ReplicationController replace_namespaced_replication_controller_status(name, namespace, body, pretty=pretty) - - - -replace status of the specified ReplicationController - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.CoreV1Api() -name = 'name_example' # str | name of the ReplicationController -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = openshift.client.V1ReplicationController() # V1ReplicationController | -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) - -try: - api_response = api_instance.replace_namespaced_replication_controller_status(name, namespace, body, pretty=pretty) - pprint(api_response) -except ApiException as e: - print("Exception when calling CoreV1Api->replace_namespaced_replication_controller_status: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the ReplicationController | - **namespace** | **str**| object name and auth scope, such as for teams and projects | - **body** | [**V1ReplicationController**](V1ReplicationController.md)| | - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - -### Return type - -[**V1ReplicationController**](V1ReplicationController.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **replace_namespaced_resource_quota** -> V1ResourceQuota replace_namespaced_resource_quota(name, namespace, body, pretty=pretty) - - - -replace the specified ResourceQuota - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.CoreV1Api() -name = 'name_example' # str | name of the ResourceQuota -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = openshift.client.V1ResourceQuota() # V1ResourceQuota | -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) - -try: - api_response = api_instance.replace_namespaced_resource_quota(name, namespace, body, pretty=pretty) - pprint(api_response) -except ApiException as e: - print("Exception when calling CoreV1Api->replace_namespaced_resource_quota: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the ResourceQuota | - **namespace** | **str**| object name and auth scope, such as for teams and projects | - **body** | [**V1ResourceQuota**](V1ResourceQuota.md)| | - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - -### Return type - -[**V1ResourceQuota**](V1ResourceQuota.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **replace_namespaced_resource_quota_status** -> V1ResourceQuota replace_namespaced_resource_quota_status(name, namespace, body, pretty=pretty) - - - -replace status of the specified ResourceQuota - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.CoreV1Api() -name = 'name_example' # str | name of the ResourceQuota -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = openshift.client.V1ResourceQuota() # V1ResourceQuota | -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) - -try: - api_response = api_instance.replace_namespaced_resource_quota_status(name, namespace, body, pretty=pretty) - pprint(api_response) -except ApiException as e: - print("Exception when calling CoreV1Api->replace_namespaced_resource_quota_status: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the ResourceQuota | - **namespace** | **str**| object name and auth scope, such as for teams and projects | - **body** | [**V1ResourceQuota**](V1ResourceQuota.md)| | - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - -### Return type - -[**V1ResourceQuota**](V1ResourceQuota.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **replace_namespaced_scale_scale** -> V1Scale replace_namespaced_scale_scale(name, namespace, body, pretty=pretty) - - - -replace scale of the specified Scale - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.CoreV1Api() -name = 'name_example' # str | name of the Scale -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = openshift.client.V1Scale() # V1Scale | -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) - -try: - api_response = api_instance.replace_namespaced_scale_scale(name, namespace, body, pretty=pretty) - pprint(api_response) -except ApiException as e: - print("Exception when calling CoreV1Api->replace_namespaced_scale_scale: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the Scale | - **namespace** | **str**| object name and auth scope, such as for teams and projects | - **body** | [**V1Scale**](V1Scale.md)| | - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - -### Return type - -[**V1Scale**](V1Scale.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **replace_namespaced_secret** -> V1Secret replace_namespaced_secret(name, namespace, body, pretty=pretty) - - - -replace the specified Secret - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.CoreV1Api() -name = 'name_example' # str | name of the Secret -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = openshift.client.V1Secret() # V1Secret | -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) - -try: - api_response = api_instance.replace_namespaced_secret(name, namespace, body, pretty=pretty) - pprint(api_response) -except ApiException as e: - print("Exception when calling CoreV1Api->replace_namespaced_secret: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the Secret | - **namespace** | **str**| object name and auth scope, such as for teams and projects | - **body** | [**V1Secret**](V1Secret.md)| | - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - -### Return type - -[**V1Secret**](V1Secret.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **replace_namespaced_service** -> V1Service replace_namespaced_service(name, namespace, body, pretty=pretty) - - - -replace the specified Service - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.CoreV1Api() -name = 'name_example' # str | name of the Service -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = openshift.client.V1Service() # V1Service | -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) - -try: - api_response = api_instance.replace_namespaced_service(name, namespace, body, pretty=pretty) - pprint(api_response) -except ApiException as e: - print("Exception when calling CoreV1Api->replace_namespaced_service: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the Service | - **namespace** | **str**| object name and auth scope, such as for teams and projects | - **body** | [**V1Service**](V1Service.md)| | - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - -### Return type - -[**V1Service**](V1Service.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **replace_namespaced_service_account** -> V1ServiceAccount replace_namespaced_service_account(name, namespace, body, pretty=pretty) - - - -replace the specified ServiceAccount - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.CoreV1Api() -name = 'name_example' # str | name of the ServiceAccount -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = openshift.client.V1ServiceAccount() # V1ServiceAccount | -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) - -try: - api_response = api_instance.replace_namespaced_service_account(name, namespace, body, pretty=pretty) - pprint(api_response) -except ApiException as e: - print("Exception when calling CoreV1Api->replace_namespaced_service_account: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the ServiceAccount | - **namespace** | **str**| object name and auth scope, such as for teams and projects | - **body** | [**V1ServiceAccount**](V1ServiceAccount.md)| | - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - -### Return type - -[**V1ServiceAccount**](V1ServiceAccount.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **replace_namespaced_service_status** -> V1Service replace_namespaced_service_status(name, namespace, body, pretty=pretty) - - - -replace status of the specified Service - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.CoreV1Api() -name = 'name_example' # str | name of the Service -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = openshift.client.V1Service() # V1Service | -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) - -try: - api_response = api_instance.replace_namespaced_service_status(name, namespace, body, pretty=pretty) - pprint(api_response) -except ApiException as e: - print("Exception when calling CoreV1Api->replace_namespaced_service_status: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the Service | - **namespace** | **str**| object name and auth scope, such as for teams and projects | - **body** | [**V1Service**](V1Service.md)| | - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - -### Return type - -[**V1Service**](V1Service.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **replace_node** -> V1Node replace_node(name, body, pretty=pretty) - - - -replace the specified Node - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.CoreV1Api() -name = 'name_example' # str | name of the Node -body = openshift.client.V1Node() # V1Node | -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) - -try: - api_response = api_instance.replace_node(name, body, pretty=pretty) - pprint(api_response) -except ApiException as e: - print("Exception when calling CoreV1Api->replace_node: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the Node | - **body** | [**V1Node**](V1Node.md)| | - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - -### Return type - -[**V1Node**](V1Node.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **replace_node_status** -> V1Node replace_node_status(name, body, pretty=pretty) - - - -replace status of the specified Node - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.CoreV1Api() -name = 'name_example' # str | name of the Node -body = openshift.client.V1Node() # V1Node | -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) - -try: - api_response = api_instance.replace_node_status(name, body, pretty=pretty) - pprint(api_response) -except ApiException as e: - print("Exception when calling CoreV1Api->replace_node_status: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the Node | - **body** | [**V1Node**](V1Node.md)| | - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - -### Return type - -[**V1Node**](V1Node.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **replace_persistent_volume** -> V1PersistentVolume replace_persistent_volume(name, body, pretty=pretty) - - - -replace the specified PersistentVolume - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.CoreV1Api() -name = 'name_example' # str | name of the PersistentVolume -body = openshift.client.V1PersistentVolume() # V1PersistentVolume | -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) - -try: - api_response = api_instance.replace_persistent_volume(name, body, pretty=pretty) - pprint(api_response) -except ApiException as e: - print("Exception when calling CoreV1Api->replace_persistent_volume: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the PersistentVolume | - **body** | [**V1PersistentVolume**](V1PersistentVolume.md)| | - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - -### Return type - -[**V1PersistentVolume**](V1PersistentVolume.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **replace_persistent_volume_status** -> V1PersistentVolume replace_persistent_volume_status(name, body, pretty=pretty) - - - -replace status of the specified PersistentVolume - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.CoreV1Api() -name = 'name_example' # str | name of the PersistentVolume -body = openshift.client.V1PersistentVolume() # V1PersistentVolume | -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) - -try: - api_response = api_instance.replace_persistent_volume_status(name, body, pretty=pretty) - pprint(api_response) -except ApiException as e: - print("Exception when calling CoreV1Api->replace_persistent_volume_status: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the PersistentVolume | - **body** | [**V1PersistentVolume**](V1PersistentVolume.md)| | - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - -### Return type - -[**V1PersistentVolume**](V1PersistentVolume.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **replace_security_context_constraints** -> V1SecurityContextConstraints replace_security_context_constraints(name, body, pretty=pretty) - - - -replace the specified SecurityContextConstraints - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.CoreV1Api() -name = 'name_example' # str | name of the SecurityContextConstraints -body = openshift.client.V1SecurityContextConstraints() # V1SecurityContextConstraints | -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) - -try: - api_response = api_instance.replace_security_context_constraints(name, body, pretty=pretty) - pprint(api_response) -except ApiException as e: - print("Exception when calling CoreV1Api->replace_security_context_constraints: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the SecurityContextConstraints | - **body** | [**V1SecurityContextConstraints**](V1SecurityContextConstraints.md)| | - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - -### Return type - -[**V1SecurityContextConstraints**](V1SecurityContextConstraints.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - diff --git a/openshift/docs/ExtensionsApi.md b/openshift/docs/ExtensionsApi.md deleted file mode 100644 index 28cead0b..00000000 --- a/openshift/docs/ExtensionsApi.md +++ /dev/null @@ -1,52 +0,0 @@ -# openshift.client.ExtensionsApi - -All URIs are relative to *https://localhost* - -Method | HTTP request | Description -------------- | ------------- | ------------- -[**get_extensions_api_group**](ExtensionsApi.md#get_extensions_api_group) | **GET** /apis/extensions/ | - - -# **get_extensions_api_group** -> UnversionedAPIGroup get_extensions_api_group() - - - -get information of a group - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.ExtensionsApi() - -try: - api_response = api_instance.get_extensions_api_group() - pprint(api_response) -except ApiException as e: - print("Exception when calling ExtensionsApi->get_extensions_api_group: %s\n" % e) -``` - -### Parameters -This endpoint does not need any parameter. - -### Return type - -[**UnversionedAPIGroup**](UnversionedAPIGroup.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: application/json, application/yaml, application/vnd.kubernetes.protobuf - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - diff --git a/openshift/docs/ExtensionsV1beta1Api.md b/openshift/docs/ExtensionsV1beta1Api.md deleted file mode 100644 index 0b1de023..00000000 --- a/openshift/docs/ExtensionsV1beta1Api.md +++ /dev/null @@ -1,5820 +0,0 @@ -# openshift.client.ExtensionsV1beta1Api - -All URIs are relative to *https://localhost* - -Method | HTTP request | Description -------------- | ------------- | ------------- -[**create_daemon_set_for_all_namespaces**](ExtensionsV1beta1Api.md#create_daemon_set_for_all_namespaces) | **POST** /apis/extensions/v1beta1/daemonsets | -[**create_deployment_for_all_namespaces**](ExtensionsV1beta1Api.md#create_deployment_for_all_namespaces) | **POST** /apis/extensions/v1beta1/deployments | -[**create_horizontal_pod_autoscaler_for_all_namespaces**](ExtensionsV1beta1Api.md#create_horizontal_pod_autoscaler_for_all_namespaces) | **POST** /apis/extensions/v1beta1/horizontalpodautoscalers | -[**create_ingress_for_all_namespaces**](ExtensionsV1beta1Api.md#create_ingress_for_all_namespaces) | **POST** /apis/extensions/v1beta1/ingresses | -[**create_job_for_all_namespaces**](ExtensionsV1beta1Api.md#create_job_for_all_namespaces) | **POST** /apis/extensions/v1beta1/jobs | -[**create_namespaced_daemon_set**](ExtensionsV1beta1Api.md#create_namespaced_daemon_set) | **POST** /apis/extensions/v1beta1/namespaces/{namespace}/daemonsets | -[**create_namespaced_deployment**](ExtensionsV1beta1Api.md#create_namespaced_deployment) | **POST** /apis/extensions/v1beta1/namespaces/{namespace}/deployments | -[**create_namespaced_deployment_rollback_rollback**](ExtensionsV1beta1Api.md#create_namespaced_deployment_rollback_rollback) | **POST** /apis/extensions/v1beta1/namespaces/{namespace}/deployments/{name}/rollback | -[**create_namespaced_horizontal_pod_autoscaler**](ExtensionsV1beta1Api.md#create_namespaced_horizontal_pod_autoscaler) | **POST** /apis/extensions/v1beta1/namespaces/{namespace}/horizontalpodautoscalers | -[**create_namespaced_ingress**](ExtensionsV1beta1Api.md#create_namespaced_ingress) | **POST** /apis/extensions/v1beta1/namespaces/{namespace}/ingresses | -[**create_namespaced_job**](ExtensionsV1beta1Api.md#create_namespaced_job) | **POST** /apis/extensions/v1beta1/namespaces/{namespace}/jobs | -[**create_namespaced_network_policy**](ExtensionsV1beta1Api.md#create_namespaced_network_policy) | **POST** /apis/extensions/v1beta1/namespaces/{namespace}/networkpolicies | -[**create_namespaced_replica_set**](ExtensionsV1beta1Api.md#create_namespaced_replica_set) | **POST** /apis/extensions/v1beta1/namespaces/{namespace}/replicasets | -[**create_network_policy_for_all_namespaces**](ExtensionsV1beta1Api.md#create_network_policy_for_all_namespaces) | **POST** /apis/extensions/v1beta1/networkpolicies | -[**create_pod_security_policy**](ExtensionsV1beta1Api.md#create_pod_security_policy) | **POST** /apis/extensions/v1beta1/podsecuritypolicies | -[**create_replica_set_for_all_namespaces**](ExtensionsV1beta1Api.md#create_replica_set_for_all_namespaces) | **POST** /apis/extensions/v1beta1/replicasets | -[**create_third_party_resource**](ExtensionsV1beta1Api.md#create_third_party_resource) | **POST** /apis/extensions/v1beta1/thirdpartyresources | -[**delete_collection_namespaced_daemon_set**](ExtensionsV1beta1Api.md#delete_collection_namespaced_daemon_set) | **DELETE** /apis/extensions/v1beta1/namespaces/{namespace}/daemonsets | -[**delete_collection_namespaced_deployment**](ExtensionsV1beta1Api.md#delete_collection_namespaced_deployment) | **DELETE** /apis/extensions/v1beta1/namespaces/{namespace}/deployments | -[**delete_collection_namespaced_horizontal_pod_autoscaler**](ExtensionsV1beta1Api.md#delete_collection_namespaced_horizontal_pod_autoscaler) | **DELETE** /apis/extensions/v1beta1/namespaces/{namespace}/horizontalpodautoscalers | -[**delete_collection_namespaced_ingress**](ExtensionsV1beta1Api.md#delete_collection_namespaced_ingress) | **DELETE** /apis/extensions/v1beta1/namespaces/{namespace}/ingresses | -[**delete_collection_namespaced_job**](ExtensionsV1beta1Api.md#delete_collection_namespaced_job) | **DELETE** /apis/extensions/v1beta1/namespaces/{namespace}/jobs | -[**delete_collection_namespaced_network_policy**](ExtensionsV1beta1Api.md#delete_collection_namespaced_network_policy) | **DELETE** /apis/extensions/v1beta1/namespaces/{namespace}/networkpolicies | -[**delete_collection_namespaced_replica_set**](ExtensionsV1beta1Api.md#delete_collection_namespaced_replica_set) | **DELETE** /apis/extensions/v1beta1/namespaces/{namespace}/replicasets | -[**delete_collection_pod_security_policy**](ExtensionsV1beta1Api.md#delete_collection_pod_security_policy) | **DELETE** /apis/extensions/v1beta1/podsecuritypolicies | -[**delete_collection_third_party_resource**](ExtensionsV1beta1Api.md#delete_collection_third_party_resource) | **DELETE** /apis/extensions/v1beta1/thirdpartyresources | -[**delete_namespaced_daemon_set**](ExtensionsV1beta1Api.md#delete_namespaced_daemon_set) | **DELETE** /apis/extensions/v1beta1/namespaces/{namespace}/daemonsets/{name} | -[**delete_namespaced_deployment**](ExtensionsV1beta1Api.md#delete_namespaced_deployment) | **DELETE** /apis/extensions/v1beta1/namespaces/{namespace}/deployments/{name} | -[**delete_namespaced_horizontal_pod_autoscaler**](ExtensionsV1beta1Api.md#delete_namespaced_horizontal_pod_autoscaler) | **DELETE** /apis/extensions/v1beta1/namespaces/{namespace}/horizontalpodautoscalers/{name} | -[**delete_namespaced_ingress**](ExtensionsV1beta1Api.md#delete_namespaced_ingress) | **DELETE** /apis/extensions/v1beta1/namespaces/{namespace}/ingresses/{name} | -[**delete_namespaced_job**](ExtensionsV1beta1Api.md#delete_namespaced_job) | **DELETE** /apis/extensions/v1beta1/namespaces/{namespace}/jobs/{name} | -[**delete_namespaced_network_policy**](ExtensionsV1beta1Api.md#delete_namespaced_network_policy) | **DELETE** /apis/extensions/v1beta1/namespaces/{namespace}/networkpolicies/{name} | -[**delete_namespaced_replica_set**](ExtensionsV1beta1Api.md#delete_namespaced_replica_set) | **DELETE** /apis/extensions/v1beta1/namespaces/{namespace}/replicasets/{name} | -[**delete_pod_security_policy**](ExtensionsV1beta1Api.md#delete_pod_security_policy) | **DELETE** /apis/extensions/v1beta1/podsecuritypolicies/{name} | -[**delete_third_party_resource**](ExtensionsV1beta1Api.md#delete_third_party_resource) | **DELETE** /apis/extensions/v1beta1/thirdpartyresources/{name} | -[**get_api_resources**](ExtensionsV1beta1Api.md#get_api_resources) | **GET** /apis/extensions/v1beta1/ | -[**list_daemon_set_for_all_namespaces**](ExtensionsV1beta1Api.md#list_daemon_set_for_all_namespaces) | **GET** /apis/extensions/v1beta1/daemonsets | -[**list_deployment_for_all_namespaces**](ExtensionsV1beta1Api.md#list_deployment_for_all_namespaces) | **GET** /apis/extensions/v1beta1/deployments | -[**list_horizontal_pod_autoscaler_for_all_namespaces**](ExtensionsV1beta1Api.md#list_horizontal_pod_autoscaler_for_all_namespaces) | **GET** /apis/extensions/v1beta1/horizontalpodautoscalers | -[**list_ingress_for_all_namespaces**](ExtensionsV1beta1Api.md#list_ingress_for_all_namespaces) | **GET** /apis/extensions/v1beta1/ingresses | -[**list_job_for_all_namespaces**](ExtensionsV1beta1Api.md#list_job_for_all_namespaces) | **GET** /apis/extensions/v1beta1/jobs | -[**list_namespaced_daemon_set**](ExtensionsV1beta1Api.md#list_namespaced_daemon_set) | **GET** /apis/extensions/v1beta1/namespaces/{namespace}/daemonsets | -[**list_namespaced_deployment**](ExtensionsV1beta1Api.md#list_namespaced_deployment) | **GET** /apis/extensions/v1beta1/namespaces/{namespace}/deployments | -[**list_namespaced_horizontal_pod_autoscaler**](ExtensionsV1beta1Api.md#list_namespaced_horizontal_pod_autoscaler) | **GET** /apis/extensions/v1beta1/namespaces/{namespace}/horizontalpodautoscalers | -[**list_namespaced_ingress**](ExtensionsV1beta1Api.md#list_namespaced_ingress) | **GET** /apis/extensions/v1beta1/namespaces/{namespace}/ingresses | -[**list_namespaced_job**](ExtensionsV1beta1Api.md#list_namespaced_job) | **GET** /apis/extensions/v1beta1/namespaces/{namespace}/jobs | -[**list_namespaced_network_policy**](ExtensionsV1beta1Api.md#list_namespaced_network_policy) | **GET** /apis/extensions/v1beta1/namespaces/{namespace}/networkpolicies | -[**list_namespaced_replica_set**](ExtensionsV1beta1Api.md#list_namespaced_replica_set) | **GET** /apis/extensions/v1beta1/namespaces/{namespace}/replicasets | -[**list_network_policy_for_all_namespaces**](ExtensionsV1beta1Api.md#list_network_policy_for_all_namespaces) | **GET** /apis/extensions/v1beta1/networkpolicies | -[**list_pod_security_policy**](ExtensionsV1beta1Api.md#list_pod_security_policy) | **GET** /apis/extensions/v1beta1/podsecuritypolicies | -[**list_replica_set_for_all_namespaces**](ExtensionsV1beta1Api.md#list_replica_set_for_all_namespaces) | **GET** /apis/extensions/v1beta1/replicasets | -[**list_third_party_resource**](ExtensionsV1beta1Api.md#list_third_party_resource) | **GET** /apis/extensions/v1beta1/thirdpartyresources | -[**patch_namespaced_daemon_set**](ExtensionsV1beta1Api.md#patch_namespaced_daemon_set) | **PATCH** /apis/extensions/v1beta1/namespaces/{namespace}/daemonsets/{name} | -[**patch_namespaced_daemon_set_status**](ExtensionsV1beta1Api.md#patch_namespaced_daemon_set_status) | **PATCH** /apis/extensions/v1beta1/namespaces/{namespace}/daemonsets/{name}/status | -[**patch_namespaced_deployment**](ExtensionsV1beta1Api.md#patch_namespaced_deployment) | **PATCH** /apis/extensions/v1beta1/namespaces/{namespace}/deployments/{name} | -[**patch_namespaced_deployment_status**](ExtensionsV1beta1Api.md#patch_namespaced_deployment_status) | **PATCH** /apis/extensions/v1beta1/namespaces/{namespace}/deployments/{name}/status | -[**patch_namespaced_deployments_scale**](ExtensionsV1beta1Api.md#patch_namespaced_deployments_scale) | **PATCH** /apis/extensions/v1beta1/namespaces/{namespace}/deployments/{name}/scale | -[**patch_namespaced_horizontal_pod_autoscaler**](ExtensionsV1beta1Api.md#patch_namespaced_horizontal_pod_autoscaler) | **PATCH** /apis/extensions/v1beta1/namespaces/{namespace}/horizontalpodautoscalers/{name} | -[**patch_namespaced_horizontal_pod_autoscaler_status**](ExtensionsV1beta1Api.md#patch_namespaced_horizontal_pod_autoscaler_status) | **PATCH** /apis/extensions/v1beta1/namespaces/{namespace}/horizontalpodautoscalers/{name}/status | -[**patch_namespaced_ingress**](ExtensionsV1beta1Api.md#patch_namespaced_ingress) | **PATCH** /apis/extensions/v1beta1/namespaces/{namespace}/ingresses/{name} | -[**patch_namespaced_ingress_status**](ExtensionsV1beta1Api.md#patch_namespaced_ingress_status) | **PATCH** /apis/extensions/v1beta1/namespaces/{namespace}/ingresses/{name}/status | -[**patch_namespaced_job**](ExtensionsV1beta1Api.md#patch_namespaced_job) | **PATCH** /apis/extensions/v1beta1/namespaces/{namespace}/jobs/{name} | -[**patch_namespaced_job_status**](ExtensionsV1beta1Api.md#patch_namespaced_job_status) | **PATCH** /apis/extensions/v1beta1/namespaces/{namespace}/jobs/{name}/status | -[**patch_namespaced_network_policy**](ExtensionsV1beta1Api.md#patch_namespaced_network_policy) | **PATCH** /apis/extensions/v1beta1/namespaces/{namespace}/networkpolicies/{name} | -[**patch_namespaced_replica_set**](ExtensionsV1beta1Api.md#patch_namespaced_replica_set) | **PATCH** /apis/extensions/v1beta1/namespaces/{namespace}/replicasets/{name} | -[**patch_namespaced_replica_set_status**](ExtensionsV1beta1Api.md#patch_namespaced_replica_set_status) | **PATCH** /apis/extensions/v1beta1/namespaces/{namespace}/replicasets/{name}/status | -[**patch_namespaced_replicasets_scale**](ExtensionsV1beta1Api.md#patch_namespaced_replicasets_scale) | **PATCH** /apis/extensions/v1beta1/namespaces/{namespace}/replicasets/{name}/scale | -[**patch_namespaced_replicationcontrollers_scale**](ExtensionsV1beta1Api.md#patch_namespaced_replicationcontrollers_scale) | **PATCH** /apis/extensions/v1beta1/namespaces/{namespace}/replicationcontrollers/{name}/scale | -[**patch_pod_security_policy**](ExtensionsV1beta1Api.md#patch_pod_security_policy) | **PATCH** /apis/extensions/v1beta1/podsecuritypolicies/{name} | -[**patch_third_party_resource**](ExtensionsV1beta1Api.md#patch_third_party_resource) | **PATCH** /apis/extensions/v1beta1/thirdpartyresources/{name} | -[**read_namespaced_daemon_set**](ExtensionsV1beta1Api.md#read_namespaced_daemon_set) | **GET** /apis/extensions/v1beta1/namespaces/{namespace}/daemonsets/{name} | -[**read_namespaced_daemon_set_status**](ExtensionsV1beta1Api.md#read_namespaced_daemon_set_status) | **GET** /apis/extensions/v1beta1/namespaces/{namespace}/daemonsets/{name}/status | -[**read_namespaced_deployment**](ExtensionsV1beta1Api.md#read_namespaced_deployment) | **GET** /apis/extensions/v1beta1/namespaces/{namespace}/deployments/{name} | -[**read_namespaced_deployment_status**](ExtensionsV1beta1Api.md#read_namespaced_deployment_status) | **GET** /apis/extensions/v1beta1/namespaces/{namespace}/deployments/{name}/status | -[**read_namespaced_deployments_scale**](ExtensionsV1beta1Api.md#read_namespaced_deployments_scale) | **GET** /apis/extensions/v1beta1/namespaces/{namespace}/deployments/{name}/scale | -[**read_namespaced_horizontal_pod_autoscaler**](ExtensionsV1beta1Api.md#read_namespaced_horizontal_pod_autoscaler) | **GET** /apis/extensions/v1beta1/namespaces/{namespace}/horizontalpodautoscalers/{name} | -[**read_namespaced_horizontal_pod_autoscaler_status**](ExtensionsV1beta1Api.md#read_namespaced_horizontal_pod_autoscaler_status) | **GET** /apis/extensions/v1beta1/namespaces/{namespace}/horizontalpodautoscalers/{name}/status | -[**read_namespaced_ingress**](ExtensionsV1beta1Api.md#read_namespaced_ingress) | **GET** /apis/extensions/v1beta1/namespaces/{namespace}/ingresses/{name} | -[**read_namespaced_ingress_status**](ExtensionsV1beta1Api.md#read_namespaced_ingress_status) | **GET** /apis/extensions/v1beta1/namespaces/{namespace}/ingresses/{name}/status | -[**read_namespaced_job**](ExtensionsV1beta1Api.md#read_namespaced_job) | **GET** /apis/extensions/v1beta1/namespaces/{namespace}/jobs/{name} | -[**read_namespaced_job_status**](ExtensionsV1beta1Api.md#read_namespaced_job_status) | **GET** /apis/extensions/v1beta1/namespaces/{namespace}/jobs/{name}/status | -[**read_namespaced_network_policy**](ExtensionsV1beta1Api.md#read_namespaced_network_policy) | **GET** /apis/extensions/v1beta1/namespaces/{namespace}/networkpolicies/{name} | -[**read_namespaced_replica_set**](ExtensionsV1beta1Api.md#read_namespaced_replica_set) | **GET** /apis/extensions/v1beta1/namespaces/{namespace}/replicasets/{name} | -[**read_namespaced_replica_set_status**](ExtensionsV1beta1Api.md#read_namespaced_replica_set_status) | **GET** /apis/extensions/v1beta1/namespaces/{namespace}/replicasets/{name}/status | -[**read_namespaced_replicasets_scale**](ExtensionsV1beta1Api.md#read_namespaced_replicasets_scale) | **GET** /apis/extensions/v1beta1/namespaces/{namespace}/replicasets/{name}/scale | -[**read_namespaced_replicationcontrollers_scale**](ExtensionsV1beta1Api.md#read_namespaced_replicationcontrollers_scale) | **GET** /apis/extensions/v1beta1/namespaces/{namespace}/replicationcontrollers/{name}/scale | -[**read_pod_security_policy**](ExtensionsV1beta1Api.md#read_pod_security_policy) | **GET** /apis/extensions/v1beta1/podsecuritypolicies/{name} | -[**read_third_party_resource**](ExtensionsV1beta1Api.md#read_third_party_resource) | **GET** /apis/extensions/v1beta1/thirdpartyresources/{name} | -[**replace_namespaced_daemon_set**](ExtensionsV1beta1Api.md#replace_namespaced_daemon_set) | **PUT** /apis/extensions/v1beta1/namespaces/{namespace}/daemonsets/{name} | -[**replace_namespaced_daemon_set_status**](ExtensionsV1beta1Api.md#replace_namespaced_daemon_set_status) | **PUT** /apis/extensions/v1beta1/namespaces/{namespace}/daemonsets/{name}/status | -[**replace_namespaced_deployment**](ExtensionsV1beta1Api.md#replace_namespaced_deployment) | **PUT** /apis/extensions/v1beta1/namespaces/{namespace}/deployments/{name} | -[**replace_namespaced_deployment_status**](ExtensionsV1beta1Api.md#replace_namespaced_deployment_status) | **PUT** /apis/extensions/v1beta1/namespaces/{namespace}/deployments/{name}/status | -[**replace_namespaced_deployments_scale**](ExtensionsV1beta1Api.md#replace_namespaced_deployments_scale) | **PUT** /apis/extensions/v1beta1/namespaces/{namespace}/deployments/{name}/scale | -[**replace_namespaced_horizontal_pod_autoscaler**](ExtensionsV1beta1Api.md#replace_namespaced_horizontal_pod_autoscaler) | **PUT** /apis/extensions/v1beta1/namespaces/{namespace}/horizontalpodautoscalers/{name} | -[**replace_namespaced_horizontal_pod_autoscaler_status**](ExtensionsV1beta1Api.md#replace_namespaced_horizontal_pod_autoscaler_status) | **PUT** /apis/extensions/v1beta1/namespaces/{namespace}/horizontalpodautoscalers/{name}/status | -[**replace_namespaced_ingress**](ExtensionsV1beta1Api.md#replace_namespaced_ingress) | **PUT** /apis/extensions/v1beta1/namespaces/{namespace}/ingresses/{name} | -[**replace_namespaced_ingress_status**](ExtensionsV1beta1Api.md#replace_namespaced_ingress_status) | **PUT** /apis/extensions/v1beta1/namespaces/{namespace}/ingresses/{name}/status | -[**replace_namespaced_job**](ExtensionsV1beta1Api.md#replace_namespaced_job) | **PUT** /apis/extensions/v1beta1/namespaces/{namespace}/jobs/{name} | -[**replace_namespaced_job_status**](ExtensionsV1beta1Api.md#replace_namespaced_job_status) | **PUT** /apis/extensions/v1beta1/namespaces/{namespace}/jobs/{name}/status | -[**replace_namespaced_network_policy**](ExtensionsV1beta1Api.md#replace_namespaced_network_policy) | **PUT** /apis/extensions/v1beta1/namespaces/{namespace}/networkpolicies/{name} | -[**replace_namespaced_replica_set**](ExtensionsV1beta1Api.md#replace_namespaced_replica_set) | **PUT** /apis/extensions/v1beta1/namespaces/{namespace}/replicasets/{name} | -[**replace_namespaced_replica_set_status**](ExtensionsV1beta1Api.md#replace_namespaced_replica_set_status) | **PUT** /apis/extensions/v1beta1/namespaces/{namespace}/replicasets/{name}/status | -[**replace_namespaced_replicasets_scale**](ExtensionsV1beta1Api.md#replace_namespaced_replicasets_scale) | **PUT** /apis/extensions/v1beta1/namespaces/{namespace}/replicasets/{name}/scale | -[**replace_namespaced_replicationcontrollers_scale**](ExtensionsV1beta1Api.md#replace_namespaced_replicationcontrollers_scale) | **PUT** /apis/extensions/v1beta1/namespaces/{namespace}/replicationcontrollers/{name}/scale | -[**replace_pod_security_policy**](ExtensionsV1beta1Api.md#replace_pod_security_policy) | **PUT** /apis/extensions/v1beta1/podsecuritypolicies/{name} | -[**replace_third_party_resource**](ExtensionsV1beta1Api.md#replace_third_party_resource) | **PUT** /apis/extensions/v1beta1/thirdpartyresources/{name} | - - -# **create_daemon_set_for_all_namespaces** -> V1beta1DaemonSet create_daemon_set_for_all_namespaces(body, pretty=pretty) - - - -create a DaemonSet - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.ExtensionsV1beta1Api() -body = openshift.client.V1beta1DaemonSet() # V1beta1DaemonSet | -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) - -try: - api_response = api_instance.create_daemon_set_for_all_namespaces(body, pretty=pretty) - pprint(api_response) -except ApiException as e: - print("Exception when calling ExtensionsV1beta1Api->create_daemon_set_for_all_namespaces: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **body** | [**V1beta1DaemonSet**](V1beta1DaemonSet.md)| | - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - -### Return type - -[**V1beta1DaemonSet**](V1beta1DaemonSet.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **create_deployment_for_all_namespaces** -> V1beta1Deployment create_deployment_for_all_namespaces(body, pretty=pretty) - - - -create a Deployment - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.ExtensionsV1beta1Api() -body = openshift.client.V1beta1Deployment() # V1beta1Deployment | -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) - -try: - api_response = api_instance.create_deployment_for_all_namespaces(body, pretty=pretty) - pprint(api_response) -except ApiException as e: - print("Exception when calling ExtensionsV1beta1Api->create_deployment_for_all_namespaces: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **body** | [**V1beta1Deployment**](V1beta1Deployment.md)| | - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - -### Return type - -[**V1beta1Deployment**](V1beta1Deployment.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **create_horizontal_pod_autoscaler_for_all_namespaces** -> V1beta1HorizontalPodAutoscaler create_horizontal_pod_autoscaler_for_all_namespaces(body, pretty=pretty) - - - -create a HorizontalPodAutoscaler - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.ExtensionsV1beta1Api() -body = openshift.client.V1beta1HorizontalPodAutoscaler() # V1beta1HorizontalPodAutoscaler | -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) - -try: - api_response = api_instance.create_horizontal_pod_autoscaler_for_all_namespaces(body, pretty=pretty) - pprint(api_response) -except ApiException as e: - print("Exception when calling ExtensionsV1beta1Api->create_horizontal_pod_autoscaler_for_all_namespaces: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **body** | [**V1beta1HorizontalPodAutoscaler**](V1beta1HorizontalPodAutoscaler.md)| | - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - -### Return type - -[**V1beta1HorizontalPodAutoscaler**](V1beta1HorizontalPodAutoscaler.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **create_ingress_for_all_namespaces** -> V1beta1Ingress create_ingress_for_all_namespaces(body, pretty=pretty) - - - -create an Ingress - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.ExtensionsV1beta1Api() -body = openshift.client.V1beta1Ingress() # V1beta1Ingress | -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) - -try: - api_response = api_instance.create_ingress_for_all_namespaces(body, pretty=pretty) - pprint(api_response) -except ApiException as e: - print("Exception when calling ExtensionsV1beta1Api->create_ingress_for_all_namespaces: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **body** | [**V1beta1Ingress**](V1beta1Ingress.md)| | - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - -### Return type - -[**V1beta1Ingress**](V1beta1Ingress.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **create_job_for_all_namespaces** -> V1beta1Job create_job_for_all_namespaces(body, pretty=pretty) - - - -create a Job - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.ExtensionsV1beta1Api() -body = openshift.client.V1beta1Job() # V1beta1Job | -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) - -try: - api_response = api_instance.create_job_for_all_namespaces(body, pretty=pretty) - pprint(api_response) -except ApiException as e: - print("Exception when calling ExtensionsV1beta1Api->create_job_for_all_namespaces: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **body** | [**V1beta1Job**](V1beta1Job.md)| | - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - -### Return type - -[**V1beta1Job**](V1beta1Job.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **create_namespaced_daemon_set** -> V1beta1DaemonSet create_namespaced_daemon_set(namespace, body, pretty=pretty) - - - -create a DaemonSet - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.ExtensionsV1beta1Api() -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = openshift.client.V1beta1DaemonSet() # V1beta1DaemonSet | -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) - -try: - api_response = api_instance.create_namespaced_daemon_set(namespace, body, pretty=pretty) - pprint(api_response) -except ApiException as e: - print("Exception when calling ExtensionsV1beta1Api->create_namespaced_daemon_set: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **namespace** | **str**| object name and auth scope, such as for teams and projects | - **body** | [**V1beta1DaemonSet**](V1beta1DaemonSet.md)| | - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - -### Return type - -[**V1beta1DaemonSet**](V1beta1DaemonSet.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **create_namespaced_deployment** -> V1beta1Deployment create_namespaced_deployment(namespace, body, pretty=pretty) - - - -create a Deployment - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.ExtensionsV1beta1Api() -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = openshift.client.V1beta1Deployment() # V1beta1Deployment | -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) - -try: - api_response = api_instance.create_namespaced_deployment(namespace, body, pretty=pretty) - pprint(api_response) -except ApiException as e: - print("Exception when calling ExtensionsV1beta1Api->create_namespaced_deployment: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **namespace** | **str**| object name and auth scope, such as for teams and projects | - **body** | [**V1beta1Deployment**](V1beta1Deployment.md)| | - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - -### Return type - -[**V1beta1Deployment**](V1beta1Deployment.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **create_namespaced_deployment_rollback_rollback** -> V1beta1DeploymentRollback create_namespaced_deployment_rollback_rollback(body, name, namespace, pretty=pretty) - - - -create rollback of a DeploymentRollback - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.ExtensionsV1beta1Api() -body = openshift.client.V1beta1DeploymentRollback() # V1beta1DeploymentRollback | -name = 'name_example' # str | name of the DeploymentRollback -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) - -try: - api_response = api_instance.create_namespaced_deployment_rollback_rollback(body, name, namespace, pretty=pretty) - pprint(api_response) -except ApiException as e: - print("Exception when calling ExtensionsV1beta1Api->create_namespaced_deployment_rollback_rollback: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **body** | [**V1beta1DeploymentRollback**](V1beta1DeploymentRollback.md)| | - **name** | **str**| name of the DeploymentRollback | - **namespace** | **str**| object name and auth scope, such as for teams and projects | - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - -### Return type - -[**V1beta1DeploymentRollback**](V1beta1DeploymentRollback.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **create_namespaced_horizontal_pod_autoscaler** -> V1beta1HorizontalPodAutoscaler create_namespaced_horizontal_pod_autoscaler(namespace, body, pretty=pretty) - - - -create a HorizontalPodAutoscaler - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.ExtensionsV1beta1Api() -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = openshift.client.V1beta1HorizontalPodAutoscaler() # V1beta1HorizontalPodAutoscaler | -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) - -try: - api_response = api_instance.create_namespaced_horizontal_pod_autoscaler(namespace, body, pretty=pretty) - pprint(api_response) -except ApiException as e: - print("Exception when calling ExtensionsV1beta1Api->create_namespaced_horizontal_pod_autoscaler: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **namespace** | **str**| object name and auth scope, such as for teams and projects | - **body** | [**V1beta1HorizontalPodAutoscaler**](V1beta1HorizontalPodAutoscaler.md)| | - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - -### Return type - -[**V1beta1HorizontalPodAutoscaler**](V1beta1HorizontalPodAutoscaler.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **create_namespaced_ingress** -> V1beta1Ingress create_namespaced_ingress(namespace, body, pretty=pretty) - - - -create an Ingress - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.ExtensionsV1beta1Api() -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = openshift.client.V1beta1Ingress() # V1beta1Ingress | -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) - -try: - api_response = api_instance.create_namespaced_ingress(namespace, body, pretty=pretty) - pprint(api_response) -except ApiException as e: - print("Exception when calling ExtensionsV1beta1Api->create_namespaced_ingress: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **namespace** | **str**| object name and auth scope, such as for teams and projects | - **body** | [**V1beta1Ingress**](V1beta1Ingress.md)| | - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - -### Return type - -[**V1beta1Ingress**](V1beta1Ingress.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **create_namespaced_job** -> V1beta1Job create_namespaced_job(namespace, body, pretty=pretty) - - - -create a Job - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.ExtensionsV1beta1Api() -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = openshift.client.V1beta1Job() # V1beta1Job | -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) - -try: - api_response = api_instance.create_namespaced_job(namespace, body, pretty=pretty) - pprint(api_response) -except ApiException as e: - print("Exception when calling ExtensionsV1beta1Api->create_namespaced_job: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **namespace** | **str**| object name and auth scope, such as for teams and projects | - **body** | [**V1beta1Job**](V1beta1Job.md)| | - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - -### Return type - -[**V1beta1Job**](V1beta1Job.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **create_namespaced_network_policy** -> V1beta1NetworkPolicy create_namespaced_network_policy(namespace, body, pretty=pretty) - - - -create a NetworkPolicy - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.ExtensionsV1beta1Api() -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = openshift.client.V1beta1NetworkPolicy() # V1beta1NetworkPolicy | -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) - -try: - api_response = api_instance.create_namespaced_network_policy(namespace, body, pretty=pretty) - pprint(api_response) -except ApiException as e: - print("Exception when calling ExtensionsV1beta1Api->create_namespaced_network_policy: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **namespace** | **str**| object name and auth scope, such as for teams and projects | - **body** | [**V1beta1NetworkPolicy**](V1beta1NetworkPolicy.md)| | - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - -### Return type - -[**V1beta1NetworkPolicy**](V1beta1NetworkPolicy.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **create_namespaced_replica_set** -> V1beta1ReplicaSet create_namespaced_replica_set(namespace, body, pretty=pretty) - - - -create a ReplicaSet - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.ExtensionsV1beta1Api() -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = openshift.client.V1beta1ReplicaSet() # V1beta1ReplicaSet | -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) - -try: - api_response = api_instance.create_namespaced_replica_set(namespace, body, pretty=pretty) - pprint(api_response) -except ApiException as e: - print("Exception when calling ExtensionsV1beta1Api->create_namespaced_replica_set: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **namespace** | **str**| object name and auth scope, such as for teams and projects | - **body** | [**V1beta1ReplicaSet**](V1beta1ReplicaSet.md)| | - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - -### Return type - -[**V1beta1ReplicaSet**](V1beta1ReplicaSet.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **create_network_policy_for_all_namespaces** -> V1beta1NetworkPolicy create_network_policy_for_all_namespaces(body, pretty=pretty) - - - -create a NetworkPolicy - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.ExtensionsV1beta1Api() -body = openshift.client.V1beta1NetworkPolicy() # V1beta1NetworkPolicy | -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) - -try: - api_response = api_instance.create_network_policy_for_all_namespaces(body, pretty=pretty) - pprint(api_response) -except ApiException as e: - print("Exception when calling ExtensionsV1beta1Api->create_network_policy_for_all_namespaces: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **body** | [**V1beta1NetworkPolicy**](V1beta1NetworkPolicy.md)| | - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - -### Return type - -[**V1beta1NetworkPolicy**](V1beta1NetworkPolicy.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **create_pod_security_policy** -> V1beta1PodSecurityPolicy create_pod_security_policy(body, pretty=pretty) - - - -create a PodSecurityPolicy - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.ExtensionsV1beta1Api() -body = openshift.client.V1beta1PodSecurityPolicy() # V1beta1PodSecurityPolicy | -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) - -try: - api_response = api_instance.create_pod_security_policy(body, pretty=pretty) - pprint(api_response) -except ApiException as e: - print("Exception when calling ExtensionsV1beta1Api->create_pod_security_policy: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **body** | [**V1beta1PodSecurityPolicy**](V1beta1PodSecurityPolicy.md)| | - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - -### Return type - -[**V1beta1PodSecurityPolicy**](V1beta1PodSecurityPolicy.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **create_replica_set_for_all_namespaces** -> V1beta1ReplicaSet create_replica_set_for_all_namespaces(body, pretty=pretty) - - - -create a ReplicaSet - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.ExtensionsV1beta1Api() -body = openshift.client.V1beta1ReplicaSet() # V1beta1ReplicaSet | -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) - -try: - api_response = api_instance.create_replica_set_for_all_namespaces(body, pretty=pretty) - pprint(api_response) -except ApiException as e: - print("Exception when calling ExtensionsV1beta1Api->create_replica_set_for_all_namespaces: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **body** | [**V1beta1ReplicaSet**](V1beta1ReplicaSet.md)| | - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - -### Return type - -[**V1beta1ReplicaSet**](V1beta1ReplicaSet.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **create_third_party_resource** -> V1beta1ThirdPartyResource create_third_party_resource(body, pretty=pretty) - - - -create a ThirdPartyResource - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.ExtensionsV1beta1Api() -body = openshift.client.V1beta1ThirdPartyResource() # V1beta1ThirdPartyResource | -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) - -try: - api_response = api_instance.create_third_party_resource(body, pretty=pretty) - pprint(api_response) -except ApiException as e: - print("Exception when calling ExtensionsV1beta1Api->create_third_party_resource: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **body** | [**V1beta1ThirdPartyResource**](V1beta1ThirdPartyResource.md)| | - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - -### Return type - -[**V1beta1ThirdPartyResource**](V1beta1ThirdPartyResource.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **delete_collection_namespaced_daemon_set** -> UnversionedStatus delete_collection_namespaced_daemon_set(namespace, pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) - - - -delete collection of DaemonSet - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.ExtensionsV1beta1Api() -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) -field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) -label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. (optional) -timeout_seconds = 56 # int | Timeout for the list/watch call. (optional) -watch = true # bool | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) - -try: - api_response = api_instance.delete_collection_namespaced_daemon_set(namespace, pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) - pprint(api_response) -except ApiException as e: - print("Exception when calling ExtensionsV1beta1Api->delete_collection_namespaced_daemon_set: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **namespace** | **str**| object name and auth scope, such as for teams and projects | - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] - **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. | [optional] - **timeout_seconds** | **int**| Timeout for the list/watch call. | [optional] - **watch** | **bool**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] - -### Return type - -[**UnversionedStatus**](UnversionedStatus.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **delete_collection_namespaced_deployment** -> UnversionedStatus delete_collection_namespaced_deployment(namespace, pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) - - - -delete collection of Deployment - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.ExtensionsV1beta1Api() -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) -field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) -label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. (optional) -timeout_seconds = 56 # int | Timeout for the list/watch call. (optional) -watch = true # bool | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) - -try: - api_response = api_instance.delete_collection_namespaced_deployment(namespace, pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) - pprint(api_response) -except ApiException as e: - print("Exception when calling ExtensionsV1beta1Api->delete_collection_namespaced_deployment: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **namespace** | **str**| object name and auth scope, such as for teams and projects | - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] - **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. | [optional] - **timeout_seconds** | **int**| Timeout for the list/watch call. | [optional] - **watch** | **bool**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] - -### Return type - -[**UnversionedStatus**](UnversionedStatus.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **delete_collection_namespaced_horizontal_pod_autoscaler** -> UnversionedStatus delete_collection_namespaced_horizontal_pod_autoscaler(namespace, pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) - - - -delete collection of HorizontalPodAutoscaler - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.ExtensionsV1beta1Api() -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) -field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) -label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. (optional) -timeout_seconds = 56 # int | Timeout for the list/watch call. (optional) -watch = true # bool | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) - -try: - api_response = api_instance.delete_collection_namespaced_horizontal_pod_autoscaler(namespace, pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) - pprint(api_response) -except ApiException as e: - print("Exception when calling ExtensionsV1beta1Api->delete_collection_namespaced_horizontal_pod_autoscaler: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **namespace** | **str**| object name and auth scope, such as for teams and projects | - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] - **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. | [optional] - **timeout_seconds** | **int**| Timeout for the list/watch call. | [optional] - **watch** | **bool**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] - -### Return type - -[**UnversionedStatus**](UnversionedStatus.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **delete_collection_namespaced_ingress** -> UnversionedStatus delete_collection_namespaced_ingress(namespace, pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) - - - -delete collection of Ingress - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.ExtensionsV1beta1Api() -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) -field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) -label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. (optional) -timeout_seconds = 56 # int | Timeout for the list/watch call. (optional) -watch = true # bool | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) - -try: - api_response = api_instance.delete_collection_namespaced_ingress(namespace, pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) - pprint(api_response) -except ApiException as e: - print("Exception when calling ExtensionsV1beta1Api->delete_collection_namespaced_ingress: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **namespace** | **str**| object name and auth scope, such as for teams and projects | - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] - **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. | [optional] - **timeout_seconds** | **int**| Timeout for the list/watch call. | [optional] - **watch** | **bool**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] - -### Return type - -[**UnversionedStatus**](UnversionedStatus.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **delete_collection_namespaced_job** -> UnversionedStatus delete_collection_namespaced_job(namespace, pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) - - - -delete collection of Job - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.ExtensionsV1beta1Api() -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) -field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) -label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. (optional) -timeout_seconds = 56 # int | Timeout for the list/watch call. (optional) -watch = true # bool | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) - -try: - api_response = api_instance.delete_collection_namespaced_job(namespace, pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) - pprint(api_response) -except ApiException as e: - print("Exception when calling ExtensionsV1beta1Api->delete_collection_namespaced_job: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **namespace** | **str**| object name and auth scope, such as for teams and projects | - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] - **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. | [optional] - **timeout_seconds** | **int**| Timeout for the list/watch call. | [optional] - **watch** | **bool**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] - -### Return type - -[**UnversionedStatus**](UnversionedStatus.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **delete_collection_namespaced_network_policy** -> UnversionedStatus delete_collection_namespaced_network_policy(namespace, pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) - - - -delete collection of NetworkPolicy - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.ExtensionsV1beta1Api() -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) -field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) -label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. (optional) -timeout_seconds = 56 # int | Timeout for the list/watch call. (optional) -watch = true # bool | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) - -try: - api_response = api_instance.delete_collection_namespaced_network_policy(namespace, pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) - pprint(api_response) -except ApiException as e: - print("Exception when calling ExtensionsV1beta1Api->delete_collection_namespaced_network_policy: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **namespace** | **str**| object name and auth scope, such as for teams and projects | - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] - **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. | [optional] - **timeout_seconds** | **int**| Timeout for the list/watch call. | [optional] - **watch** | **bool**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] - -### Return type - -[**UnversionedStatus**](UnversionedStatus.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **delete_collection_namespaced_replica_set** -> UnversionedStatus delete_collection_namespaced_replica_set(namespace, pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) - - - -delete collection of ReplicaSet - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.ExtensionsV1beta1Api() -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) -field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) -label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. (optional) -timeout_seconds = 56 # int | Timeout for the list/watch call. (optional) -watch = true # bool | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) - -try: - api_response = api_instance.delete_collection_namespaced_replica_set(namespace, pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) - pprint(api_response) -except ApiException as e: - print("Exception when calling ExtensionsV1beta1Api->delete_collection_namespaced_replica_set: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **namespace** | **str**| object name and auth scope, such as for teams and projects | - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] - **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. | [optional] - **timeout_seconds** | **int**| Timeout for the list/watch call. | [optional] - **watch** | **bool**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] - -### Return type - -[**UnversionedStatus**](UnversionedStatus.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **delete_collection_pod_security_policy** -> UnversionedStatus delete_collection_pod_security_policy(pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) - - - -delete collection of PodSecurityPolicy - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.ExtensionsV1beta1Api() -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) -field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) -label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. (optional) -timeout_seconds = 56 # int | Timeout for the list/watch call. (optional) -watch = true # bool | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) - -try: - api_response = api_instance.delete_collection_pod_security_policy(pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) - pprint(api_response) -except ApiException as e: - print("Exception when calling ExtensionsV1beta1Api->delete_collection_pod_security_policy: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] - **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. | [optional] - **timeout_seconds** | **int**| Timeout for the list/watch call. | [optional] - **watch** | **bool**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] - -### Return type - -[**UnversionedStatus**](UnversionedStatus.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **delete_collection_third_party_resource** -> UnversionedStatus delete_collection_third_party_resource(pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) - - - -delete collection of ThirdPartyResource - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.ExtensionsV1beta1Api() -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) -field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) -label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. (optional) -timeout_seconds = 56 # int | Timeout for the list/watch call. (optional) -watch = true # bool | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) - -try: - api_response = api_instance.delete_collection_third_party_resource(pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) - pprint(api_response) -except ApiException as e: - print("Exception when calling ExtensionsV1beta1Api->delete_collection_third_party_resource: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] - **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. | [optional] - **timeout_seconds** | **int**| Timeout for the list/watch call. | [optional] - **watch** | **bool**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] - -### Return type - -[**UnversionedStatus**](UnversionedStatus.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **delete_namespaced_daemon_set** -> UnversionedStatus delete_namespaced_daemon_set(name, namespace, body, pretty=pretty, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents) - - - -delete a DaemonSet - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.ExtensionsV1beta1Api() -name = 'name_example' # str | name of the DaemonSet -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = openshift.client.V1DeleteOptions() # V1DeleteOptions | -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) -grace_period_seconds = 56 # int | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) -orphan_dependents = true # bool | Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. (optional) - -try: - api_response = api_instance.delete_namespaced_daemon_set(name, namespace, body, pretty=pretty, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents) - pprint(api_response) -except ApiException as e: - print("Exception when calling ExtensionsV1beta1Api->delete_namespaced_daemon_set: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the DaemonSet | - **namespace** | **str**| object name and auth scope, such as for teams and projects | - **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | - **pretty** | **str**| If 'true', then the output is pretty printed. | [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] - **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] - -### Return type - -[**UnversionedStatus**](UnversionedStatus.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **delete_namespaced_deployment** -> UnversionedStatus delete_namespaced_deployment(name, namespace, body, pretty=pretty, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents) - - - -delete a Deployment - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.ExtensionsV1beta1Api() -name = 'name_example' # str | name of the Deployment -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = openshift.client.V1DeleteOptions() # V1DeleteOptions | -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) -grace_period_seconds = 56 # int | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) -orphan_dependents = true # bool | Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. (optional) - -try: - api_response = api_instance.delete_namespaced_deployment(name, namespace, body, pretty=pretty, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents) - pprint(api_response) -except ApiException as e: - print("Exception when calling ExtensionsV1beta1Api->delete_namespaced_deployment: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the Deployment | - **namespace** | **str**| object name and auth scope, such as for teams and projects | - **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | - **pretty** | **str**| If 'true', then the output is pretty printed. | [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] - **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] - -### Return type - -[**UnversionedStatus**](UnversionedStatus.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **delete_namespaced_horizontal_pod_autoscaler** -> UnversionedStatus delete_namespaced_horizontal_pod_autoscaler(name, namespace, body, pretty=pretty, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents) - - - -delete a HorizontalPodAutoscaler - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.ExtensionsV1beta1Api() -name = 'name_example' # str | name of the HorizontalPodAutoscaler -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = openshift.client.V1DeleteOptions() # V1DeleteOptions | -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) -grace_period_seconds = 56 # int | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) -orphan_dependents = true # bool | Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. (optional) - -try: - api_response = api_instance.delete_namespaced_horizontal_pod_autoscaler(name, namespace, body, pretty=pretty, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents) - pprint(api_response) -except ApiException as e: - print("Exception when calling ExtensionsV1beta1Api->delete_namespaced_horizontal_pod_autoscaler: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the HorizontalPodAutoscaler | - **namespace** | **str**| object name and auth scope, such as for teams and projects | - **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | - **pretty** | **str**| If 'true', then the output is pretty printed. | [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] - **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] - -### Return type - -[**UnversionedStatus**](UnversionedStatus.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **delete_namespaced_ingress** -> UnversionedStatus delete_namespaced_ingress(name, namespace, body, pretty=pretty, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents) - - - -delete an Ingress - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.ExtensionsV1beta1Api() -name = 'name_example' # str | name of the Ingress -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = openshift.client.V1DeleteOptions() # V1DeleteOptions | -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) -grace_period_seconds = 56 # int | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) -orphan_dependents = true # bool | Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. (optional) - -try: - api_response = api_instance.delete_namespaced_ingress(name, namespace, body, pretty=pretty, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents) - pprint(api_response) -except ApiException as e: - print("Exception when calling ExtensionsV1beta1Api->delete_namespaced_ingress: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the Ingress | - **namespace** | **str**| object name and auth scope, such as for teams and projects | - **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | - **pretty** | **str**| If 'true', then the output is pretty printed. | [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] - **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] - -### Return type - -[**UnversionedStatus**](UnversionedStatus.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **delete_namespaced_job** -> UnversionedStatus delete_namespaced_job(name, namespace, body, pretty=pretty, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents) - - - -delete a Job - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.ExtensionsV1beta1Api() -name = 'name_example' # str | name of the Job -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = openshift.client.V1DeleteOptions() # V1DeleteOptions | -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) -grace_period_seconds = 56 # int | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) -orphan_dependents = true # bool | Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. (optional) - -try: - api_response = api_instance.delete_namespaced_job(name, namespace, body, pretty=pretty, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents) - pprint(api_response) -except ApiException as e: - print("Exception when calling ExtensionsV1beta1Api->delete_namespaced_job: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the Job | - **namespace** | **str**| object name and auth scope, such as for teams and projects | - **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | - **pretty** | **str**| If 'true', then the output is pretty printed. | [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] - **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] - -### Return type - -[**UnversionedStatus**](UnversionedStatus.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **delete_namespaced_network_policy** -> UnversionedStatus delete_namespaced_network_policy(name, namespace, body, pretty=pretty, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents) - - - -delete a NetworkPolicy - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.ExtensionsV1beta1Api() -name = 'name_example' # str | name of the NetworkPolicy -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = openshift.client.V1DeleteOptions() # V1DeleteOptions | -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) -grace_period_seconds = 56 # int | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) -orphan_dependents = true # bool | Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. (optional) - -try: - api_response = api_instance.delete_namespaced_network_policy(name, namespace, body, pretty=pretty, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents) - pprint(api_response) -except ApiException as e: - print("Exception when calling ExtensionsV1beta1Api->delete_namespaced_network_policy: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the NetworkPolicy | - **namespace** | **str**| object name and auth scope, such as for teams and projects | - **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | - **pretty** | **str**| If 'true', then the output is pretty printed. | [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] - **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] - -### Return type - -[**UnversionedStatus**](UnversionedStatus.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **delete_namespaced_replica_set** -> UnversionedStatus delete_namespaced_replica_set(name, namespace, body, pretty=pretty, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents) - - - -delete a ReplicaSet - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.ExtensionsV1beta1Api() -name = 'name_example' # str | name of the ReplicaSet -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = openshift.client.V1DeleteOptions() # V1DeleteOptions | -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) -grace_period_seconds = 56 # int | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) -orphan_dependents = true # bool | Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. (optional) - -try: - api_response = api_instance.delete_namespaced_replica_set(name, namespace, body, pretty=pretty, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents) - pprint(api_response) -except ApiException as e: - print("Exception when calling ExtensionsV1beta1Api->delete_namespaced_replica_set: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the ReplicaSet | - **namespace** | **str**| object name and auth scope, such as for teams and projects | - **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | - **pretty** | **str**| If 'true', then the output is pretty printed. | [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] - **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] - -### Return type - -[**UnversionedStatus**](UnversionedStatus.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **delete_pod_security_policy** -> UnversionedStatus delete_pod_security_policy(name, body, pretty=pretty, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents) - - - -delete a PodSecurityPolicy - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.ExtensionsV1beta1Api() -name = 'name_example' # str | name of the PodSecurityPolicy -body = openshift.client.V1DeleteOptions() # V1DeleteOptions | -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) -grace_period_seconds = 56 # int | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) -orphan_dependents = true # bool | Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. (optional) - -try: - api_response = api_instance.delete_pod_security_policy(name, body, pretty=pretty, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents) - pprint(api_response) -except ApiException as e: - print("Exception when calling ExtensionsV1beta1Api->delete_pod_security_policy: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the PodSecurityPolicy | - **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | - **pretty** | **str**| If 'true', then the output is pretty printed. | [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] - **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] - -### Return type - -[**UnversionedStatus**](UnversionedStatus.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **delete_third_party_resource** -> UnversionedStatus delete_third_party_resource(name, body, pretty=pretty, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents) - - - -delete a ThirdPartyResource - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.ExtensionsV1beta1Api() -name = 'name_example' # str | name of the ThirdPartyResource -body = openshift.client.V1DeleteOptions() # V1DeleteOptions | -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) -grace_period_seconds = 56 # int | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) -orphan_dependents = true # bool | Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. (optional) - -try: - api_response = api_instance.delete_third_party_resource(name, body, pretty=pretty, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents) - pprint(api_response) -except ApiException as e: - print("Exception when calling ExtensionsV1beta1Api->delete_third_party_resource: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the ThirdPartyResource | - **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | - **pretty** | **str**| If 'true', then the output is pretty printed. | [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] - **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] - -### Return type - -[**UnversionedStatus**](UnversionedStatus.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **get_api_resources** -> UnversionedAPIResourceList get_api_resources() - - - -get available resources - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.ExtensionsV1beta1Api() - -try: - api_response = api_instance.get_api_resources() - pprint(api_response) -except ApiException as e: - print("Exception when calling ExtensionsV1beta1Api->get_api_resources: %s\n" % e) -``` - -### Parameters -This endpoint does not need any parameter. - -### Return type - -[**UnversionedAPIResourceList**](UnversionedAPIResourceList.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: application/json, application/yaml, application/vnd.kubernetes.protobuf - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **list_daemon_set_for_all_namespaces** -> V1beta1DaemonSetList list_daemon_set_for_all_namespaces(pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) - - - -list or watch objects of kind DaemonSet - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.ExtensionsV1beta1Api() -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) -field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) -label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. (optional) -timeout_seconds = 56 # int | Timeout for the list/watch call. (optional) -watch = true # bool | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) - -try: - api_response = api_instance.list_daemon_set_for_all_namespaces(pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) - pprint(api_response) -except ApiException as e: - print("Exception when calling ExtensionsV1beta1Api->list_daemon_set_for_all_namespaces: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] - **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. | [optional] - **timeout_seconds** | **int**| Timeout for the list/watch call. | [optional] - **watch** | **bool**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] - -### Return type - -[**V1beta1DaemonSetList**](V1beta1DaemonSetList.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **list_deployment_for_all_namespaces** -> V1beta1DeploymentList list_deployment_for_all_namespaces(pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) - - - -list or watch objects of kind Deployment - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.ExtensionsV1beta1Api() -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) -field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) -label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. (optional) -timeout_seconds = 56 # int | Timeout for the list/watch call. (optional) -watch = true # bool | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) - -try: - api_response = api_instance.list_deployment_for_all_namespaces(pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) - pprint(api_response) -except ApiException as e: - print("Exception when calling ExtensionsV1beta1Api->list_deployment_for_all_namespaces: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] - **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. | [optional] - **timeout_seconds** | **int**| Timeout for the list/watch call. | [optional] - **watch** | **bool**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] - -### Return type - -[**V1beta1DeploymentList**](V1beta1DeploymentList.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **list_horizontal_pod_autoscaler_for_all_namespaces** -> V1beta1HorizontalPodAutoscalerList list_horizontal_pod_autoscaler_for_all_namespaces(pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) - - - -list or watch objects of kind HorizontalPodAutoscaler - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.ExtensionsV1beta1Api() -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) -field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) -label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. (optional) -timeout_seconds = 56 # int | Timeout for the list/watch call. (optional) -watch = true # bool | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) - -try: - api_response = api_instance.list_horizontal_pod_autoscaler_for_all_namespaces(pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) - pprint(api_response) -except ApiException as e: - print("Exception when calling ExtensionsV1beta1Api->list_horizontal_pod_autoscaler_for_all_namespaces: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] - **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. | [optional] - **timeout_seconds** | **int**| Timeout for the list/watch call. | [optional] - **watch** | **bool**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] - -### Return type - -[**V1beta1HorizontalPodAutoscalerList**](V1beta1HorizontalPodAutoscalerList.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **list_ingress_for_all_namespaces** -> V1beta1IngressList list_ingress_for_all_namespaces(pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) - - - -list or watch objects of kind Ingress - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.ExtensionsV1beta1Api() -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) -field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) -label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. (optional) -timeout_seconds = 56 # int | Timeout for the list/watch call. (optional) -watch = true # bool | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) - -try: - api_response = api_instance.list_ingress_for_all_namespaces(pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) - pprint(api_response) -except ApiException as e: - print("Exception when calling ExtensionsV1beta1Api->list_ingress_for_all_namespaces: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] - **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. | [optional] - **timeout_seconds** | **int**| Timeout for the list/watch call. | [optional] - **watch** | **bool**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] - -### Return type - -[**V1beta1IngressList**](V1beta1IngressList.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **list_job_for_all_namespaces** -> V1beta1JobList list_job_for_all_namespaces(pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) - - - -list or watch objects of kind Job - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.ExtensionsV1beta1Api() -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) -field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) -label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. (optional) -timeout_seconds = 56 # int | Timeout for the list/watch call. (optional) -watch = true # bool | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) - -try: - api_response = api_instance.list_job_for_all_namespaces(pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) - pprint(api_response) -except ApiException as e: - print("Exception when calling ExtensionsV1beta1Api->list_job_for_all_namespaces: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] - **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. | [optional] - **timeout_seconds** | **int**| Timeout for the list/watch call. | [optional] - **watch** | **bool**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] - -### Return type - -[**V1beta1JobList**](V1beta1JobList.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **list_namespaced_daemon_set** -> V1beta1DaemonSetList list_namespaced_daemon_set(namespace, pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) - - - -list or watch objects of kind DaemonSet - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.ExtensionsV1beta1Api() -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) -field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) -label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. (optional) -timeout_seconds = 56 # int | Timeout for the list/watch call. (optional) -watch = true # bool | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) - -try: - api_response = api_instance.list_namespaced_daemon_set(namespace, pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) - pprint(api_response) -except ApiException as e: - print("Exception when calling ExtensionsV1beta1Api->list_namespaced_daemon_set: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **namespace** | **str**| object name and auth scope, such as for teams and projects | - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] - **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. | [optional] - **timeout_seconds** | **int**| Timeout for the list/watch call. | [optional] - **watch** | **bool**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] - -### Return type - -[**V1beta1DaemonSetList**](V1beta1DaemonSetList.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **list_namespaced_deployment** -> V1beta1DeploymentList list_namespaced_deployment(namespace, pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) - - - -list or watch objects of kind Deployment - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.ExtensionsV1beta1Api() -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) -field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) -label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. (optional) -timeout_seconds = 56 # int | Timeout for the list/watch call. (optional) -watch = true # bool | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) - -try: - api_response = api_instance.list_namespaced_deployment(namespace, pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) - pprint(api_response) -except ApiException as e: - print("Exception when calling ExtensionsV1beta1Api->list_namespaced_deployment: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **namespace** | **str**| object name and auth scope, such as for teams and projects | - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] - **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. | [optional] - **timeout_seconds** | **int**| Timeout for the list/watch call. | [optional] - **watch** | **bool**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] - -### Return type - -[**V1beta1DeploymentList**](V1beta1DeploymentList.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **list_namespaced_horizontal_pod_autoscaler** -> V1beta1HorizontalPodAutoscalerList list_namespaced_horizontal_pod_autoscaler(namespace, pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) - - - -list or watch objects of kind HorizontalPodAutoscaler - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.ExtensionsV1beta1Api() -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) -field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) -label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. (optional) -timeout_seconds = 56 # int | Timeout for the list/watch call. (optional) -watch = true # bool | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) - -try: - api_response = api_instance.list_namespaced_horizontal_pod_autoscaler(namespace, pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) - pprint(api_response) -except ApiException as e: - print("Exception when calling ExtensionsV1beta1Api->list_namespaced_horizontal_pod_autoscaler: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **namespace** | **str**| object name and auth scope, such as for teams and projects | - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] - **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. | [optional] - **timeout_seconds** | **int**| Timeout for the list/watch call. | [optional] - **watch** | **bool**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] - -### Return type - -[**V1beta1HorizontalPodAutoscalerList**](V1beta1HorizontalPodAutoscalerList.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **list_namespaced_ingress** -> V1beta1IngressList list_namespaced_ingress(namespace, pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) - - - -list or watch objects of kind Ingress - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.ExtensionsV1beta1Api() -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) -field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) -label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. (optional) -timeout_seconds = 56 # int | Timeout for the list/watch call. (optional) -watch = true # bool | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) - -try: - api_response = api_instance.list_namespaced_ingress(namespace, pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) - pprint(api_response) -except ApiException as e: - print("Exception when calling ExtensionsV1beta1Api->list_namespaced_ingress: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **namespace** | **str**| object name and auth scope, such as for teams and projects | - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] - **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. | [optional] - **timeout_seconds** | **int**| Timeout for the list/watch call. | [optional] - **watch** | **bool**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] - -### Return type - -[**V1beta1IngressList**](V1beta1IngressList.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **list_namespaced_job** -> V1beta1JobList list_namespaced_job(namespace, pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) - - - -list or watch objects of kind Job - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.ExtensionsV1beta1Api() -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) -field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) -label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. (optional) -timeout_seconds = 56 # int | Timeout for the list/watch call. (optional) -watch = true # bool | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) - -try: - api_response = api_instance.list_namespaced_job(namespace, pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) - pprint(api_response) -except ApiException as e: - print("Exception when calling ExtensionsV1beta1Api->list_namespaced_job: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **namespace** | **str**| object name and auth scope, such as for teams and projects | - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] - **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. | [optional] - **timeout_seconds** | **int**| Timeout for the list/watch call. | [optional] - **watch** | **bool**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] - -### Return type - -[**V1beta1JobList**](V1beta1JobList.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **list_namespaced_network_policy** -> V1beta1NetworkPolicyList list_namespaced_network_policy(namespace, pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) - - - -list or watch objects of kind NetworkPolicy - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.ExtensionsV1beta1Api() -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) -field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) -label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. (optional) -timeout_seconds = 56 # int | Timeout for the list/watch call. (optional) -watch = true # bool | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) - -try: - api_response = api_instance.list_namespaced_network_policy(namespace, pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) - pprint(api_response) -except ApiException as e: - print("Exception when calling ExtensionsV1beta1Api->list_namespaced_network_policy: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **namespace** | **str**| object name and auth scope, such as for teams and projects | - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] - **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. | [optional] - **timeout_seconds** | **int**| Timeout for the list/watch call. | [optional] - **watch** | **bool**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] - -### Return type - -[**V1beta1NetworkPolicyList**](V1beta1NetworkPolicyList.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **list_namespaced_replica_set** -> V1beta1ReplicaSetList list_namespaced_replica_set(namespace, pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) - - - -list or watch objects of kind ReplicaSet - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.ExtensionsV1beta1Api() -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) -field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) -label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. (optional) -timeout_seconds = 56 # int | Timeout for the list/watch call. (optional) -watch = true # bool | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) - -try: - api_response = api_instance.list_namespaced_replica_set(namespace, pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) - pprint(api_response) -except ApiException as e: - print("Exception when calling ExtensionsV1beta1Api->list_namespaced_replica_set: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **namespace** | **str**| object name and auth scope, such as for teams and projects | - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] - **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. | [optional] - **timeout_seconds** | **int**| Timeout for the list/watch call. | [optional] - **watch** | **bool**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] - -### Return type - -[**V1beta1ReplicaSetList**](V1beta1ReplicaSetList.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **list_network_policy_for_all_namespaces** -> V1beta1NetworkPolicyList list_network_policy_for_all_namespaces(pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) - - - -list or watch objects of kind NetworkPolicy - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.ExtensionsV1beta1Api() -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) -field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) -label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. (optional) -timeout_seconds = 56 # int | Timeout for the list/watch call. (optional) -watch = true # bool | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) - -try: - api_response = api_instance.list_network_policy_for_all_namespaces(pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) - pprint(api_response) -except ApiException as e: - print("Exception when calling ExtensionsV1beta1Api->list_network_policy_for_all_namespaces: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] - **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. | [optional] - **timeout_seconds** | **int**| Timeout for the list/watch call. | [optional] - **watch** | **bool**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] - -### Return type - -[**V1beta1NetworkPolicyList**](V1beta1NetworkPolicyList.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **list_pod_security_policy** -> V1beta1PodSecurityPolicyList list_pod_security_policy(pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) - - - -list or watch objects of kind PodSecurityPolicy - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.ExtensionsV1beta1Api() -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) -field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) -label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. (optional) -timeout_seconds = 56 # int | Timeout for the list/watch call. (optional) -watch = true # bool | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) - -try: - api_response = api_instance.list_pod_security_policy(pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) - pprint(api_response) -except ApiException as e: - print("Exception when calling ExtensionsV1beta1Api->list_pod_security_policy: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] - **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. | [optional] - **timeout_seconds** | **int**| Timeout for the list/watch call. | [optional] - **watch** | **bool**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] - -### Return type - -[**V1beta1PodSecurityPolicyList**](V1beta1PodSecurityPolicyList.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **list_replica_set_for_all_namespaces** -> V1beta1ReplicaSetList list_replica_set_for_all_namespaces(pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) - - - -list or watch objects of kind ReplicaSet - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.ExtensionsV1beta1Api() -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) -field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) -label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. (optional) -timeout_seconds = 56 # int | Timeout for the list/watch call. (optional) -watch = true # bool | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) - -try: - api_response = api_instance.list_replica_set_for_all_namespaces(pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) - pprint(api_response) -except ApiException as e: - print("Exception when calling ExtensionsV1beta1Api->list_replica_set_for_all_namespaces: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] - **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. | [optional] - **timeout_seconds** | **int**| Timeout for the list/watch call. | [optional] - **watch** | **bool**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] - -### Return type - -[**V1beta1ReplicaSetList**](V1beta1ReplicaSetList.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **list_third_party_resource** -> V1beta1ThirdPartyResourceList list_third_party_resource(pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) - - - -list or watch objects of kind ThirdPartyResource - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.ExtensionsV1beta1Api() -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) -field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) -label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. (optional) -timeout_seconds = 56 # int | Timeout for the list/watch call. (optional) -watch = true # bool | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) - -try: - api_response = api_instance.list_third_party_resource(pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) - pprint(api_response) -except ApiException as e: - print("Exception when calling ExtensionsV1beta1Api->list_third_party_resource: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] - **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. | [optional] - **timeout_seconds** | **int**| Timeout for the list/watch call. | [optional] - **watch** | **bool**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] - -### Return type - -[**V1beta1ThirdPartyResourceList**](V1beta1ThirdPartyResourceList.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **patch_namespaced_daemon_set** -> V1beta1DaemonSet patch_namespaced_daemon_set(name, namespace, body, pretty=pretty) - - - -partially update the specified DaemonSet - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.ExtensionsV1beta1Api() -name = 'name_example' # str | name of the DaemonSet -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = openshift.client.UnversionedPatch() # UnversionedPatch | -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) - -try: - api_response = api_instance.patch_namespaced_daemon_set(name, namespace, body, pretty=pretty) - pprint(api_response) -except ApiException as e: - print("Exception when calling ExtensionsV1beta1Api->patch_namespaced_daemon_set: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the DaemonSet | - **namespace** | **str**| object name and auth scope, such as for teams and projects | - **body** | [**UnversionedPatch**](UnversionedPatch.md)| | - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - -### Return type - -[**V1beta1DaemonSet**](V1beta1DaemonSet.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **patch_namespaced_daemon_set_status** -> V1beta1DaemonSet patch_namespaced_daemon_set_status(name, namespace, body, pretty=pretty) - - - -partially update status of the specified DaemonSet - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.ExtensionsV1beta1Api() -name = 'name_example' # str | name of the DaemonSet -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = openshift.client.UnversionedPatch() # UnversionedPatch | -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) - -try: - api_response = api_instance.patch_namespaced_daemon_set_status(name, namespace, body, pretty=pretty) - pprint(api_response) -except ApiException as e: - print("Exception when calling ExtensionsV1beta1Api->patch_namespaced_daemon_set_status: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the DaemonSet | - **namespace** | **str**| object name and auth scope, such as for teams and projects | - **body** | [**UnversionedPatch**](UnversionedPatch.md)| | - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - -### Return type - -[**V1beta1DaemonSet**](V1beta1DaemonSet.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **patch_namespaced_deployment** -> V1beta1Deployment patch_namespaced_deployment(name, namespace, body, pretty=pretty) - - - -partially update the specified Deployment - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.ExtensionsV1beta1Api() -name = 'name_example' # str | name of the Deployment -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = openshift.client.UnversionedPatch() # UnversionedPatch | -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) - -try: - api_response = api_instance.patch_namespaced_deployment(name, namespace, body, pretty=pretty) - pprint(api_response) -except ApiException as e: - print("Exception when calling ExtensionsV1beta1Api->patch_namespaced_deployment: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the Deployment | - **namespace** | **str**| object name and auth scope, such as for teams and projects | - **body** | [**UnversionedPatch**](UnversionedPatch.md)| | - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - -### Return type - -[**V1beta1Deployment**](V1beta1Deployment.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **patch_namespaced_deployment_status** -> V1beta1Deployment patch_namespaced_deployment_status(name, namespace, body, pretty=pretty) - - - -partially update status of the specified Deployment - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.ExtensionsV1beta1Api() -name = 'name_example' # str | name of the Deployment -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = openshift.client.UnversionedPatch() # UnversionedPatch | -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) - -try: - api_response = api_instance.patch_namespaced_deployment_status(name, namespace, body, pretty=pretty) - pprint(api_response) -except ApiException as e: - print("Exception when calling ExtensionsV1beta1Api->patch_namespaced_deployment_status: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the Deployment | - **namespace** | **str**| object name and auth scope, such as for teams and projects | - **body** | [**UnversionedPatch**](UnversionedPatch.md)| | - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - -### Return type - -[**V1beta1Deployment**](V1beta1Deployment.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **patch_namespaced_deployments_scale** -> V1beta1Scale patch_namespaced_deployments_scale(name, namespace, body, pretty=pretty) - - - -partially update scale of the specified Scale - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.ExtensionsV1beta1Api() -name = 'name_example' # str | name of the Scale -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = openshift.client.UnversionedPatch() # UnversionedPatch | -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) - -try: - api_response = api_instance.patch_namespaced_deployments_scale(name, namespace, body, pretty=pretty) - pprint(api_response) -except ApiException as e: - print("Exception when calling ExtensionsV1beta1Api->patch_namespaced_deployments_scale: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the Scale | - **namespace** | **str**| object name and auth scope, such as for teams and projects | - **body** | [**UnversionedPatch**](UnversionedPatch.md)| | - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - -### Return type - -[**V1beta1Scale**](V1beta1Scale.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **patch_namespaced_horizontal_pod_autoscaler** -> V1beta1HorizontalPodAutoscaler patch_namespaced_horizontal_pod_autoscaler(name, namespace, body, pretty=pretty) - - - -partially update the specified HorizontalPodAutoscaler - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.ExtensionsV1beta1Api() -name = 'name_example' # str | name of the HorizontalPodAutoscaler -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = openshift.client.UnversionedPatch() # UnversionedPatch | -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) - -try: - api_response = api_instance.patch_namespaced_horizontal_pod_autoscaler(name, namespace, body, pretty=pretty) - pprint(api_response) -except ApiException as e: - print("Exception when calling ExtensionsV1beta1Api->patch_namespaced_horizontal_pod_autoscaler: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the HorizontalPodAutoscaler | - **namespace** | **str**| object name and auth scope, such as for teams and projects | - **body** | [**UnversionedPatch**](UnversionedPatch.md)| | - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - -### Return type - -[**V1beta1HorizontalPodAutoscaler**](V1beta1HorizontalPodAutoscaler.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **patch_namespaced_horizontal_pod_autoscaler_status** -> V1beta1HorizontalPodAutoscaler patch_namespaced_horizontal_pod_autoscaler_status(name, namespace, body, pretty=pretty) - - - -partially update status of the specified HorizontalPodAutoscaler - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.ExtensionsV1beta1Api() -name = 'name_example' # str | name of the HorizontalPodAutoscaler -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = openshift.client.UnversionedPatch() # UnversionedPatch | -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) - -try: - api_response = api_instance.patch_namespaced_horizontal_pod_autoscaler_status(name, namespace, body, pretty=pretty) - pprint(api_response) -except ApiException as e: - print("Exception when calling ExtensionsV1beta1Api->patch_namespaced_horizontal_pod_autoscaler_status: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the HorizontalPodAutoscaler | - **namespace** | **str**| object name and auth scope, such as for teams and projects | - **body** | [**UnversionedPatch**](UnversionedPatch.md)| | - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - -### Return type - -[**V1beta1HorizontalPodAutoscaler**](V1beta1HorizontalPodAutoscaler.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **patch_namespaced_ingress** -> V1beta1Ingress patch_namespaced_ingress(name, namespace, body, pretty=pretty) - - - -partially update the specified Ingress - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.ExtensionsV1beta1Api() -name = 'name_example' # str | name of the Ingress -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = openshift.client.UnversionedPatch() # UnversionedPatch | -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) - -try: - api_response = api_instance.patch_namespaced_ingress(name, namespace, body, pretty=pretty) - pprint(api_response) -except ApiException as e: - print("Exception when calling ExtensionsV1beta1Api->patch_namespaced_ingress: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the Ingress | - **namespace** | **str**| object name and auth scope, such as for teams and projects | - **body** | [**UnversionedPatch**](UnversionedPatch.md)| | - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - -### Return type - -[**V1beta1Ingress**](V1beta1Ingress.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **patch_namespaced_ingress_status** -> V1beta1Ingress patch_namespaced_ingress_status(name, namespace, body, pretty=pretty) - - - -partially update status of the specified Ingress - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.ExtensionsV1beta1Api() -name = 'name_example' # str | name of the Ingress -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = openshift.client.UnversionedPatch() # UnversionedPatch | -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) - -try: - api_response = api_instance.patch_namespaced_ingress_status(name, namespace, body, pretty=pretty) - pprint(api_response) -except ApiException as e: - print("Exception when calling ExtensionsV1beta1Api->patch_namespaced_ingress_status: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the Ingress | - **namespace** | **str**| object name and auth scope, such as for teams and projects | - **body** | [**UnversionedPatch**](UnversionedPatch.md)| | - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - -### Return type - -[**V1beta1Ingress**](V1beta1Ingress.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **patch_namespaced_job** -> V1beta1Job patch_namespaced_job(name, namespace, body, pretty=pretty) - - - -partially update the specified Job - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.ExtensionsV1beta1Api() -name = 'name_example' # str | name of the Job -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = openshift.client.UnversionedPatch() # UnversionedPatch | -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) - -try: - api_response = api_instance.patch_namespaced_job(name, namespace, body, pretty=pretty) - pprint(api_response) -except ApiException as e: - print("Exception when calling ExtensionsV1beta1Api->patch_namespaced_job: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the Job | - **namespace** | **str**| object name and auth scope, such as for teams and projects | - **body** | [**UnversionedPatch**](UnversionedPatch.md)| | - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - -### Return type - -[**V1beta1Job**](V1beta1Job.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **patch_namespaced_job_status** -> V1beta1Job patch_namespaced_job_status(name, namespace, body, pretty=pretty) - - - -partially update status of the specified Job - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.ExtensionsV1beta1Api() -name = 'name_example' # str | name of the Job -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = openshift.client.UnversionedPatch() # UnversionedPatch | -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) - -try: - api_response = api_instance.patch_namespaced_job_status(name, namespace, body, pretty=pretty) - pprint(api_response) -except ApiException as e: - print("Exception when calling ExtensionsV1beta1Api->patch_namespaced_job_status: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the Job | - **namespace** | **str**| object name and auth scope, such as for teams and projects | - **body** | [**UnversionedPatch**](UnversionedPatch.md)| | - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - -### Return type - -[**V1beta1Job**](V1beta1Job.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **patch_namespaced_network_policy** -> V1beta1NetworkPolicy patch_namespaced_network_policy(name, namespace, body, pretty=pretty) - - - -partially update the specified NetworkPolicy - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.ExtensionsV1beta1Api() -name = 'name_example' # str | name of the NetworkPolicy -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = openshift.client.UnversionedPatch() # UnversionedPatch | -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) - -try: - api_response = api_instance.patch_namespaced_network_policy(name, namespace, body, pretty=pretty) - pprint(api_response) -except ApiException as e: - print("Exception when calling ExtensionsV1beta1Api->patch_namespaced_network_policy: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the NetworkPolicy | - **namespace** | **str**| object name and auth scope, such as for teams and projects | - **body** | [**UnversionedPatch**](UnversionedPatch.md)| | - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - -### Return type - -[**V1beta1NetworkPolicy**](V1beta1NetworkPolicy.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **patch_namespaced_replica_set** -> V1beta1ReplicaSet patch_namespaced_replica_set(name, namespace, body, pretty=pretty) - - - -partially update the specified ReplicaSet - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.ExtensionsV1beta1Api() -name = 'name_example' # str | name of the ReplicaSet -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = openshift.client.UnversionedPatch() # UnversionedPatch | -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) - -try: - api_response = api_instance.patch_namespaced_replica_set(name, namespace, body, pretty=pretty) - pprint(api_response) -except ApiException as e: - print("Exception when calling ExtensionsV1beta1Api->patch_namespaced_replica_set: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the ReplicaSet | - **namespace** | **str**| object name and auth scope, such as for teams and projects | - **body** | [**UnversionedPatch**](UnversionedPatch.md)| | - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - -### Return type - -[**V1beta1ReplicaSet**](V1beta1ReplicaSet.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **patch_namespaced_replica_set_status** -> V1beta1ReplicaSet patch_namespaced_replica_set_status(name, namespace, body, pretty=pretty) - - - -partially update status of the specified ReplicaSet - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.ExtensionsV1beta1Api() -name = 'name_example' # str | name of the ReplicaSet -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = openshift.client.UnversionedPatch() # UnversionedPatch | -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) - -try: - api_response = api_instance.patch_namespaced_replica_set_status(name, namespace, body, pretty=pretty) - pprint(api_response) -except ApiException as e: - print("Exception when calling ExtensionsV1beta1Api->patch_namespaced_replica_set_status: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the ReplicaSet | - **namespace** | **str**| object name and auth scope, such as for teams and projects | - **body** | [**UnversionedPatch**](UnversionedPatch.md)| | - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - -### Return type - -[**V1beta1ReplicaSet**](V1beta1ReplicaSet.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **patch_namespaced_replicasets_scale** -> V1beta1Scale patch_namespaced_replicasets_scale(name, namespace, body, pretty=pretty) - - - -partially update scale of the specified Scale - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.ExtensionsV1beta1Api() -name = 'name_example' # str | name of the Scale -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = openshift.client.UnversionedPatch() # UnversionedPatch | -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) - -try: - api_response = api_instance.patch_namespaced_replicasets_scale(name, namespace, body, pretty=pretty) - pprint(api_response) -except ApiException as e: - print("Exception when calling ExtensionsV1beta1Api->patch_namespaced_replicasets_scale: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the Scale | - **namespace** | **str**| object name and auth scope, such as for teams and projects | - **body** | [**UnversionedPatch**](UnversionedPatch.md)| | - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - -### Return type - -[**V1beta1Scale**](V1beta1Scale.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **patch_namespaced_replicationcontrollers_scale** -> V1beta1Scale patch_namespaced_replicationcontrollers_scale(name, namespace, body, pretty=pretty) - - - -partially update scale of the specified Scale - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.ExtensionsV1beta1Api() -name = 'name_example' # str | name of the Scale -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = openshift.client.UnversionedPatch() # UnversionedPatch | -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) - -try: - api_response = api_instance.patch_namespaced_replicationcontrollers_scale(name, namespace, body, pretty=pretty) - pprint(api_response) -except ApiException as e: - print("Exception when calling ExtensionsV1beta1Api->patch_namespaced_replicationcontrollers_scale: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the Scale | - **namespace** | **str**| object name and auth scope, such as for teams and projects | - **body** | [**UnversionedPatch**](UnversionedPatch.md)| | - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - -### Return type - -[**V1beta1Scale**](V1beta1Scale.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **patch_pod_security_policy** -> V1beta1PodSecurityPolicy patch_pod_security_policy(name, body, pretty=pretty) - - - -partially update the specified PodSecurityPolicy - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.ExtensionsV1beta1Api() -name = 'name_example' # str | name of the PodSecurityPolicy -body = openshift.client.UnversionedPatch() # UnversionedPatch | -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) - -try: - api_response = api_instance.patch_pod_security_policy(name, body, pretty=pretty) - pprint(api_response) -except ApiException as e: - print("Exception when calling ExtensionsV1beta1Api->patch_pod_security_policy: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the PodSecurityPolicy | - **body** | [**UnversionedPatch**](UnversionedPatch.md)| | - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - -### Return type - -[**V1beta1PodSecurityPolicy**](V1beta1PodSecurityPolicy.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **patch_third_party_resource** -> V1beta1ThirdPartyResource patch_third_party_resource(name, body, pretty=pretty) - - - -partially update the specified ThirdPartyResource - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.ExtensionsV1beta1Api() -name = 'name_example' # str | name of the ThirdPartyResource -body = openshift.client.UnversionedPatch() # UnversionedPatch | -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) - -try: - api_response = api_instance.patch_third_party_resource(name, body, pretty=pretty) - pprint(api_response) -except ApiException as e: - print("Exception when calling ExtensionsV1beta1Api->patch_third_party_resource: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the ThirdPartyResource | - **body** | [**UnversionedPatch**](UnversionedPatch.md)| | - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - -### Return type - -[**V1beta1ThirdPartyResource**](V1beta1ThirdPartyResource.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **read_namespaced_daemon_set** -> V1beta1DaemonSet read_namespaced_daemon_set(name, namespace, pretty=pretty, exact=exact, export=export) - - - -read the specified DaemonSet - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.ExtensionsV1beta1Api() -name = 'name_example' # str | name of the DaemonSet -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) -exact = true # bool | Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace' (optional) -export = true # bool | Should this value be exported. Export strips fields that a user can not specify. (optional) - -try: - api_response = api_instance.read_namespaced_daemon_set(name, namespace, pretty=pretty, exact=exact, export=export) - pprint(api_response) -except ApiException as e: - print("Exception when calling ExtensionsV1beta1Api->read_namespaced_daemon_set: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the DaemonSet | - **namespace** | **str**| object name and auth scope, such as for teams and projects | - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - **exact** | **bool**| Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace' | [optional] - **export** | **bool**| Should this value be exported. Export strips fields that a user can not specify. | [optional] - -### Return type - -[**V1beta1DaemonSet**](V1beta1DaemonSet.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **read_namespaced_daemon_set_status** -> V1beta1DaemonSet read_namespaced_daemon_set_status(name, namespace, pretty=pretty) - - - -read status of the specified DaemonSet - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.ExtensionsV1beta1Api() -name = 'name_example' # str | name of the DaemonSet -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) - -try: - api_response = api_instance.read_namespaced_daemon_set_status(name, namespace, pretty=pretty) - pprint(api_response) -except ApiException as e: - print("Exception when calling ExtensionsV1beta1Api->read_namespaced_daemon_set_status: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the DaemonSet | - **namespace** | **str**| object name and auth scope, such as for teams and projects | - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - -### Return type - -[**V1beta1DaemonSet**](V1beta1DaemonSet.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **read_namespaced_deployment** -> V1beta1Deployment read_namespaced_deployment(name, namespace, pretty=pretty, exact=exact, export=export) - - - -read the specified Deployment - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.ExtensionsV1beta1Api() -name = 'name_example' # str | name of the Deployment -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) -exact = true # bool | Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace' (optional) -export = true # bool | Should this value be exported. Export strips fields that a user can not specify. (optional) - -try: - api_response = api_instance.read_namespaced_deployment(name, namespace, pretty=pretty, exact=exact, export=export) - pprint(api_response) -except ApiException as e: - print("Exception when calling ExtensionsV1beta1Api->read_namespaced_deployment: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the Deployment | - **namespace** | **str**| object name and auth scope, such as for teams and projects | - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - **exact** | **bool**| Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace' | [optional] - **export** | **bool**| Should this value be exported. Export strips fields that a user can not specify. | [optional] - -### Return type - -[**V1beta1Deployment**](V1beta1Deployment.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **read_namespaced_deployment_status** -> V1beta1Deployment read_namespaced_deployment_status(name, namespace, pretty=pretty) - - - -read status of the specified Deployment - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.ExtensionsV1beta1Api() -name = 'name_example' # str | name of the Deployment -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) - -try: - api_response = api_instance.read_namespaced_deployment_status(name, namespace, pretty=pretty) - pprint(api_response) -except ApiException as e: - print("Exception when calling ExtensionsV1beta1Api->read_namespaced_deployment_status: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the Deployment | - **namespace** | **str**| object name and auth scope, such as for teams and projects | - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - -### Return type - -[**V1beta1Deployment**](V1beta1Deployment.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **read_namespaced_deployments_scale** -> V1beta1Scale read_namespaced_deployments_scale(name, namespace, pretty=pretty) - - - -read scale of the specified Scale - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.ExtensionsV1beta1Api() -name = 'name_example' # str | name of the Scale -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) - -try: - api_response = api_instance.read_namespaced_deployments_scale(name, namespace, pretty=pretty) - pprint(api_response) -except ApiException as e: - print("Exception when calling ExtensionsV1beta1Api->read_namespaced_deployments_scale: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the Scale | - **namespace** | **str**| object name and auth scope, such as for teams and projects | - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - -### Return type - -[**V1beta1Scale**](V1beta1Scale.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **read_namespaced_horizontal_pod_autoscaler** -> V1beta1HorizontalPodAutoscaler read_namespaced_horizontal_pod_autoscaler(name, namespace, pretty=pretty, exact=exact, export=export) - - - -read the specified HorizontalPodAutoscaler - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.ExtensionsV1beta1Api() -name = 'name_example' # str | name of the HorizontalPodAutoscaler -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) -exact = true # bool | Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace' (optional) -export = true # bool | Should this value be exported. Export strips fields that a user can not specify. (optional) - -try: - api_response = api_instance.read_namespaced_horizontal_pod_autoscaler(name, namespace, pretty=pretty, exact=exact, export=export) - pprint(api_response) -except ApiException as e: - print("Exception when calling ExtensionsV1beta1Api->read_namespaced_horizontal_pod_autoscaler: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the HorizontalPodAutoscaler | - **namespace** | **str**| object name and auth scope, such as for teams and projects | - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - **exact** | **bool**| Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace' | [optional] - **export** | **bool**| Should this value be exported. Export strips fields that a user can not specify. | [optional] - -### Return type - -[**V1beta1HorizontalPodAutoscaler**](V1beta1HorizontalPodAutoscaler.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **read_namespaced_horizontal_pod_autoscaler_status** -> V1beta1HorizontalPodAutoscaler read_namespaced_horizontal_pod_autoscaler_status(name, namespace, pretty=pretty) - - - -read status of the specified HorizontalPodAutoscaler - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.ExtensionsV1beta1Api() -name = 'name_example' # str | name of the HorizontalPodAutoscaler -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) - -try: - api_response = api_instance.read_namespaced_horizontal_pod_autoscaler_status(name, namespace, pretty=pretty) - pprint(api_response) -except ApiException as e: - print("Exception when calling ExtensionsV1beta1Api->read_namespaced_horizontal_pod_autoscaler_status: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the HorizontalPodAutoscaler | - **namespace** | **str**| object name and auth scope, such as for teams and projects | - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - -### Return type - -[**V1beta1HorizontalPodAutoscaler**](V1beta1HorizontalPodAutoscaler.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **read_namespaced_ingress** -> V1beta1Ingress read_namespaced_ingress(name, namespace, pretty=pretty, exact=exact, export=export) - - - -read the specified Ingress - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.ExtensionsV1beta1Api() -name = 'name_example' # str | name of the Ingress -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) -exact = true # bool | Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace' (optional) -export = true # bool | Should this value be exported. Export strips fields that a user can not specify. (optional) - -try: - api_response = api_instance.read_namespaced_ingress(name, namespace, pretty=pretty, exact=exact, export=export) - pprint(api_response) -except ApiException as e: - print("Exception when calling ExtensionsV1beta1Api->read_namespaced_ingress: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the Ingress | - **namespace** | **str**| object name and auth scope, such as for teams and projects | - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - **exact** | **bool**| Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace' | [optional] - **export** | **bool**| Should this value be exported. Export strips fields that a user can not specify. | [optional] - -### Return type - -[**V1beta1Ingress**](V1beta1Ingress.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **read_namespaced_ingress_status** -> V1beta1Ingress read_namespaced_ingress_status(name, namespace, pretty=pretty) - - - -read status of the specified Ingress - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.ExtensionsV1beta1Api() -name = 'name_example' # str | name of the Ingress -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) - -try: - api_response = api_instance.read_namespaced_ingress_status(name, namespace, pretty=pretty) - pprint(api_response) -except ApiException as e: - print("Exception when calling ExtensionsV1beta1Api->read_namespaced_ingress_status: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the Ingress | - **namespace** | **str**| object name and auth scope, such as for teams and projects | - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - -### Return type - -[**V1beta1Ingress**](V1beta1Ingress.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **read_namespaced_job** -> V1beta1Job read_namespaced_job(name, namespace, pretty=pretty, exact=exact, export=export) - - - -read the specified Job - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.ExtensionsV1beta1Api() -name = 'name_example' # str | name of the Job -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) -exact = true # bool | Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace' (optional) -export = true # bool | Should this value be exported. Export strips fields that a user can not specify. (optional) - -try: - api_response = api_instance.read_namespaced_job(name, namespace, pretty=pretty, exact=exact, export=export) - pprint(api_response) -except ApiException as e: - print("Exception when calling ExtensionsV1beta1Api->read_namespaced_job: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the Job | - **namespace** | **str**| object name and auth scope, such as for teams and projects | - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - **exact** | **bool**| Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace' | [optional] - **export** | **bool**| Should this value be exported. Export strips fields that a user can not specify. | [optional] - -### Return type - -[**V1beta1Job**](V1beta1Job.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **read_namespaced_job_status** -> V1beta1Job read_namespaced_job_status(name, namespace, pretty=pretty) - - - -read status of the specified Job - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.ExtensionsV1beta1Api() -name = 'name_example' # str | name of the Job -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) - -try: - api_response = api_instance.read_namespaced_job_status(name, namespace, pretty=pretty) - pprint(api_response) -except ApiException as e: - print("Exception when calling ExtensionsV1beta1Api->read_namespaced_job_status: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the Job | - **namespace** | **str**| object name and auth scope, such as for teams and projects | - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - -### Return type - -[**V1beta1Job**](V1beta1Job.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **read_namespaced_network_policy** -> V1beta1NetworkPolicy read_namespaced_network_policy(name, namespace, pretty=pretty, exact=exact, export=export) - - - -read the specified NetworkPolicy - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.ExtensionsV1beta1Api() -name = 'name_example' # str | name of the NetworkPolicy -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) -exact = true # bool | Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace' (optional) -export = true # bool | Should this value be exported. Export strips fields that a user can not specify. (optional) - -try: - api_response = api_instance.read_namespaced_network_policy(name, namespace, pretty=pretty, exact=exact, export=export) - pprint(api_response) -except ApiException as e: - print("Exception when calling ExtensionsV1beta1Api->read_namespaced_network_policy: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the NetworkPolicy | - **namespace** | **str**| object name and auth scope, such as for teams and projects | - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - **exact** | **bool**| Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace' | [optional] - **export** | **bool**| Should this value be exported. Export strips fields that a user can not specify. | [optional] - -### Return type - -[**V1beta1NetworkPolicy**](V1beta1NetworkPolicy.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **read_namespaced_replica_set** -> V1beta1ReplicaSet read_namespaced_replica_set(name, namespace, pretty=pretty, exact=exact, export=export) - - - -read the specified ReplicaSet - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.ExtensionsV1beta1Api() -name = 'name_example' # str | name of the ReplicaSet -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) -exact = true # bool | Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace' (optional) -export = true # bool | Should this value be exported. Export strips fields that a user can not specify. (optional) - -try: - api_response = api_instance.read_namespaced_replica_set(name, namespace, pretty=pretty, exact=exact, export=export) - pprint(api_response) -except ApiException as e: - print("Exception when calling ExtensionsV1beta1Api->read_namespaced_replica_set: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the ReplicaSet | - **namespace** | **str**| object name and auth scope, such as for teams and projects | - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - **exact** | **bool**| Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace' | [optional] - **export** | **bool**| Should this value be exported. Export strips fields that a user can not specify. | [optional] - -### Return type - -[**V1beta1ReplicaSet**](V1beta1ReplicaSet.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **read_namespaced_replica_set_status** -> V1beta1ReplicaSet read_namespaced_replica_set_status(name, namespace, pretty=pretty) - - - -read status of the specified ReplicaSet - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.ExtensionsV1beta1Api() -name = 'name_example' # str | name of the ReplicaSet -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) - -try: - api_response = api_instance.read_namespaced_replica_set_status(name, namespace, pretty=pretty) - pprint(api_response) -except ApiException as e: - print("Exception when calling ExtensionsV1beta1Api->read_namespaced_replica_set_status: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the ReplicaSet | - **namespace** | **str**| object name and auth scope, such as for teams and projects | - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - -### Return type - -[**V1beta1ReplicaSet**](V1beta1ReplicaSet.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **read_namespaced_replicasets_scale** -> V1beta1Scale read_namespaced_replicasets_scale(name, namespace, pretty=pretty) - - - -read scale of the specified Scale - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.ExtensionsV1beta1Api() -name = 'name_example' # str | name of the Scale -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) - -try: - api_response = api_instance.read_namespaced_replicasets_scale(name, namespace, pretty=pretty) - pprint(api_response) -except ApiException as e: - print("Exception when calling ExtensionsV1beta1Api->read_namespaced_replicasets_scale: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the Scale | - **namespace** | **str**| object name and auth scope, such as for teams and projects | - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - -### Return type - -[**V1beta1Scale**](V1beta1Scale.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **read_namespaced_replicationcontrollers_scale** -> V1beta1Scale read_namespaced_replicationcontrollers_scale(name, namespace, pretty=pretty) - - - -read scale of the specified Scale - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.ExtensionsV1beta1Api() -name = 'name_example' # str | name of the Scale -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) - -try: - api_response = api_instance.read_namespaced_replicationcontrollers_scale(name, namespace, pretty=pretty) - pprint(api_response) -except ApiException as e: - print("Exception when calling ExtensionsV1beta1Api->read_namespaced_replicationcontrollers_scale: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the Scale | - **namespace** | **str**| object name and auth scope, such as for teams and projects | - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - -### Return type - -[**V1beta1Scale**](V1beta1Scale.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **read_pod_security_policy** -> V1beta1PodSecurityPolicy read_pod_security_policy(name, pretty=pretty, exact=exact, export=export) - - - -read the specified PodSecurityPolicy - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.ExtensionsV1beta1Api() -name = 'name_example' # str | name of the PodSecurityPolicy -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) -exact = true # bool | Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace' (optional) -export = true # bool | Should this value be exported. Export strips fields that a user can not specify. (optional) - -try: - api_response = api_instance.read_pod_security_policy(name, pretty=pretty, exact=exact, export=export) - pprint(api_response) -except ApiException as e: - print("Exception when calling ExtensionsV1beta1Api->read_pod_security_policy: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the PodSecurityPolicy | - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - **exact** | **bool**| Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace' | [optional] - **export** | **bool**| Should this value be exported. Export strips fields that a user can not specify. | [optional] - -### Return type - -[**V1beta1PodSecurityPolicy**](V1beta1PodSecurityPolicy.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **read_third_party_resource** -> V1beta1ThirdPartyResource read_third_party_resource(name, pretty=pretty, exact=exact, export=export) - - - -read the specified ThirdPartyResource - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.ExtensionsV1beta1Api() -name = 'name_example' # str | name of the ThirdPartyResource -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) -exact = true # bool | Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace' (optional) -export = true # bool | Should this value be exported. Export strips fields that a user can not specify. (optional) - -try: - api_response = api_instance.read_third_party_resource(name, pretty=pretty, exact=exact, export=export) - pprint(api_response) -except ApiException as e: - print("Exception when calling ExtensionsV1beta1Api->read_third_party_resource: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the ThirdPartyResource | - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - **exact** | **bool**| Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace' | [optional] - **export** | **bool**| Should this value be exported. Export strips fields that a user can not specify. | [optional] - -### Return type - -[**V1beta1ThirdPartyResource**](V1beta1ThirdPartyResource.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **replace_namespaced_daemon_set** -> V1beta1DaemonSet replace_namespaced_daemon_set(name, namespace, body, pretty=pretty) - - - -replace the specified DaemonSet - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.ExtensionsV1beta1Api() -name = 'name_example' # str | name of the DaemonSet -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = openshift.client.V1beta1DaemonSet() # V1beta1DaemonSet | -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) - -try: - api_response = api_instance.replace_namespaced_daemon_set(name, namespace, body, pretty=pretty) - pprint(api_response) -except ApiException as e: - print("Exception when calling ExtensionsV1beta1Api->replace_namespaced_daemon_set: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the DaemonSet | - **namespace** | **str**| object name and auth scope, such as for teams and projects | - **body** | [**V1beta1DaemonSet**](V1beta1DaemonSet.md)| | - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - -### Return type - -[**V1beta1DaemonSet**](V1beta1DaemonSet.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **replace_namespaced_daemon_set_status** -> V1beta1DaemonSet replace_namespaced_daemon_set_status(name, namespace, body, pretty=pretty) - - - -replace status of the specified DaemonSet - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.ExtensionsV1beta1Api() -name = 'name_example' # str | name of the DaemonSet -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = openshift.client.V1beta1DaemonSet() # V1beta1DaemonSet | -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) - -try: - api_response = api_instance.replace_namespaced_daemon_set_status(name, namespace, body, pretty=pretty) - pprint(api_response) -except ApiException as e: - print("Exception when calling ExtensionsV1beta1Api->replace_namespaced_daemon_set_status: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the DaemonSet | - **namespace** | **str**| object name and auth scope, such as for teams and projects | - **body** | [**V1beta1DaemonSet**](V1beta1DaemonSet.md)| | - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - -### Return type - -[**V1beta1DaemonSet**](V1beta1DaemonSet.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **replace_namespaced_deployment** -> V1beta1Deployment replace_namespaced_deployment(name, namespace, body, pretty=pretty) - - - -replace the specified Deployment - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.ExtensionsV1beta1Api() -name = 'name_example' # str | name of the Deployment -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = openshift.client.V1beta1Deployment() # V1beta1Deployment | -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) - -try: - api_response = api_instance.replace_namespaced_deployment(name, namespace, body, pretty=pretty) - pprint(api_response) -except ApiException as e: - print("Exception when calling ExtensionsV1beta1Api->replace_namespaced_deployment: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the Deployment | - **namespace** | **str**| object name and auth scope, such as for teams and projects | - **body** | [**V1beta1Deployment**](V1beta1Deployment.md)| | - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - -### Return type - -[**V1beta1Deployment**](V1beta1Deployment.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **replace_namespaced_deployment_status** -> V1beta1Deployment replace_namespaced_deployment_status(name, namespace, body, pretty=pretty) - - - -replace status of the specified Deployment - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.ExtensionsV1beta1Api() -name = 'name_example' # str | name of the Deployment -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = openshift.client.V1beta1Deployment() # V1beta1Deployment | -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) - -try: - api_response = api_instance.replace_namespaced_deployment_status(name, namespace, body, pretty=pretty) - pprint(api_response) -except ApiException as e: - print("Exception when calling ExtensionsV1beta1Api->replace_namespaced_deployment_status: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the Deployment | - **namespace** | **str**| object name and auth scope, such as for teams and projects | - **body** | [**V1beta1Deployment**](V1beta1Deployment.md)| | - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - -### Return type - -[**V1beta1Deployment**](V1beta1Deployment.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **replace_namespaced_deployments_scale** -> V1beta1Scale replace_namespaced_deployments_scale(name, namespace, body, pretty=pretty) - - - -replace scale of the specified Scale - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.ExtensionsV1beta1Api() -name = 'name_example' # str | name of the Scale -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = openshift.client.V1beta1Scale() # V1beta1Scale | -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) - -try: - api_response = api_instance.replace_namespaced_deployments_scale(name, namespace, body, pretty=pretty) - pprint(api_response) -except ApiException as e: - print("Exception when calling ExtensionsV1beta1Api->replace_namespaced_deployments_scale: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the Scale | - **namespace** | **str**| object name and auth scope, such as for teams and projects | - **body** | [**V1beta1Scale**](V1beta1Scale.md)| | - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - -### Return type - -[**V1beta1Scale**](V1beta1Scale.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **replace_namespaced_horizontal_pod_autoscaler** -> V1beta1HorizontalPodAutoscaler replace_namespaced_horizontal_pod_autoscaler(name, namespace, body, pretty=pretty) - - - -replace the specified HorizontalPodAutoscaler - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.ExtensionsV1beta1Api() -name = 'name_example' # str | name of the HorizontalPodAutoscaler -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = openshift.client.V1beta1HorizontalPodAutoscaler() # V1beta1HorizontalPodAutoscaler | -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) - -try: - api_response = api_instance.replace_namespaced_horizontal_pod_autoscaler(name, namespace, body, pretty=pretty) - pprint(api_response) -except ApiException as e: - print("Exception when calling ExtensionsV1beta1Api->replace_namespaced_horizontal_pod_autoscaler: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the HorizontalPodAutoscaler | - **namespace** | **str**| object name and auth scope, such as for teams and projects | - **body** | [**V1beta1HorizontalPodAutoscaler**](V1beta1HorizontalPodAutoscaler.md)| | - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - -### Return type - -[**V1beta1HorizontalPodAutoscaler**](V1beta1HorizontalPodAutoscaler.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **replace_namespaced_horizontal_pod_autoscaler_status** -> V1beta1HorizontalPodAutoscaler replace_namespaced_horizontal_pod_autoscaler_status(name, namespace, body, pretty=pretty) - - - -replace status of the specified HorizontalPodAutoscaler - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.ExtensionsV1beta1Api() -name = 'name_example' # str | name of the HorizontalPodAutoscaler -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = openshift.client.V1beta1HorizontalPodAutoscaler() # V1beta1HorizontalPodAutoscaler | -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) - -try: - api_response = api_instance.replace_namespaced_horizontal_pod_autoscaler_status(name, namespace, body, pretty=pretty) - pprint(api_response) -except ApiException as e: - print("Exception when calling ExtensionsV1beta1Api->replace_namespaced_horizontal_pod_autoscaler_status: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the HorizontalPodAutoscaler | - **namespace** | **str**| object name and auth scope, such as for teams and projects | - **body** | [**V1beta1HorizontalPodAutoscaler**](V1beta1HorizontalPodAutoscaler.md)| | - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - -### Return type - -[**V1beta1HorizontalPodAutoscaler**](V1beta1HorizontalPodAutoscaler.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **replace_namespaced_ingress** -> V1beta1Ingress replace_namespaced_ingress(name, namespace, body, pretty=pretty) - - - -replace the specified Ingress - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.ExtensionsV1beta1Api() -name = 'name_example' # str | name of the Ingress -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = openshift.client.V1beta1Ingress() # V1beta1Ingress | -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) - -try: - api_response = api_instance.replace_namespaced_ingress(name, namespace, body, pretty=pretty) - pprint(api_response) -except ApiException as e: - print("Exception when calling ExtensionsV1beta1Api->replace_namespaced_ingress: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the Ingress | - **namespace** | **str**| object name and auth scope, such as for teams and projects | - **body** | [**V1beta1Ingress**](V1beta1Ingress.md)| | - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - -### Return type - -[**V1beta1Ingress**](V1beta1Ingress.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **replace_namespaced_ingress_status** -> V1beta1Ingress replace_namespaced_ingress_status(name, namespace, body, pretty=pretty) - - - -replace status of the specified Ingress - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.ExtensionsV1beta1Api() -name = 'name_example' # str | name of the Ingress -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = openshift.client.V1beta1Ingress() # V1beta1Ingress | -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) - -try: - api_response = api_instance.replace_namespaced_ingress_status(name, namespace, body, pretty=pretty) - pprint(api_response) -except ApiException as e: - print("Exception when calling ExtensionsV1beta1Api->replace_namespaced_ingress_status: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the Ingress | - **namespace** | **str**| object name and auth scope, such as for teams and projects | - **body** | [**V1beta1Ingress**](V1beta1Ingress.md)| | - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - -### Return type - -[**V1beta1Ingress**](V1beta1Ingress.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **replace_namespaced_job** -> V1beta1Job replace_namespaced_job(name, namespace, body, pretty=pretty) - - - -replace the specified Job - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.ExtensionsV1beta1Api() -name = 'name_example' # str | name of the Job -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = openshift.client.V1beta1Job() # V1beta1Job | -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) - -try: - api_response = api_instance.replace_namespaced_job(name, namespace, body, pretty=pretty) - pprint(api_response) -except ApiException as e: - print("Exception when calling ExtensionsV1beta1Api->replace_namespaced_job: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the Job | - **namespace** | **str**| object name and auth scope, such as for teams and projects | - **body** | [**V1beta1Job**](V1beta1Job.md)| | - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - -### Return type - -[**V1beta1Job**](V1beta1Job.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **replace_namespaced_job_status** -> V1beta1Job replace_namespaced_job_status(name, namespace, body, pretty=pretty) - - - -replace status of the specified Job - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.ExtensionsV1beta1Api() -name = 'name_example' # str | name of the Job -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = openshift.client.V1beta1Job() # V1beta1Job | -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) - -try: - api_response = api_instance.replace_namespaced_job_status(name, namespace, body, pretty=pretty) - pprint(api_response) -except ApiException as e: - print("Exception when calling ExtensionsV1beta1Api->replace_namespaced_job_status: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the Job | - **namespace** | **str**| object name and auth scope, such as for teams and projects | - **body** | [**V1beta1Job**](V1beta1Job.md)| | - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - -### Return type - -[**V1beta1Job**](V1beta1Job.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **replace_namespaced_network_policy** -> V1beta1NetworkPolicy replace_namespaced_network_policy(name, namespace, body, pretty=pretty) - - - -replace the specified NetworkPolicy - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.ExtensionsV1beta1Api() -name = 'name_example' # str | name of the NetworkPolicy -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = openshift.client.V1beta1NetworkPolicy() # V1beta1NetworkPolicy | -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) - -try: - api_response = api_instance.replace_namespaced_network_policy(name, namespace, body, pretty=pretty) - pprint(api_response) -except ApiException as e: - print("Exception when calling ExtensionsV1beta1Api->replace_namespaced_network_policy: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the NetworkPolicy | - **namespace** | **str**| object name and auth scope, such as for teams and projects | - **body** | [**V1beta1NetworkPolicy**](V1beta1NetworkPolicy.md)| | - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - -### Return type - -[**V1beta1NetworkPolicy**](V1beta1NetworkPolicy.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **replace_namespaced_replica_set** -> V1beta1ReplicaSet replace_namespaced_replica_set(name, namespace, body, pretty=pretty) - - - -replace the specified ReplicaSet - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.ExtensionsV1beta1Api() -name = 'name_example' # str | name of the ReplicaSet -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = openshift.client.V1beta1ReplicaSet() # V1beta1ReplicaSet | -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) - -try: - api_response = api_instance.replace_namespaced_replica_set(name, namespace, body, pretty=pretty) - pprint(api_response) -except ApiException as e: - print("Exception when calling ExtensionsV1beta1Api->replace_namespaced_replica_set: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the ReplicaSet | - **namespace** | **str**| object name and auth scope, such as for teams and projects | - **body** | [**V1beta1ReplicaSet**](V1beta1ReplicaSet.md)| | - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - -### Return type - -[**V1beta1ReplicaSet**](V1beta1ReplicaSet.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **replace_namespaced_replica_set_status** -> V1beta1ReplicaSet replace_namespaced_replica_set_status(name, namespace, body, pretty=pretty) - - - -replace status of the specified ReplicaSet - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.ExtensionsV1beta1Api() -name = 'name_example' # str | name of the ReplicaSet -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = openshift.client.V1beta1ReplicaSet() # V1beta1ReplicaSet | -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) - -try: - api_response = api_instance.replace_namespaced_replica_set_status(name, namespace, body, pretty=pretty) - pprint(api_response) -except ApiException as e: - print("Exception when calling ExtensionsV1beta1Api->replace_namespaced_replica_set_status: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the ReplicaSet | - **namespace** | **str**| object name and auth scope, such as for teams and projects | - **body** | [**V1beta1ReplicaSet**](V1beta1ReplicaSet.md)| | - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - -### Return type - -[**V1beta1ReplicaSet**](V1beta1ReplicaSet.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **replace_namespaced_replicasets_scale** -> V1beta1Scale replace_namespaced_replicasets_scale(name, namespace, body, pretty=pretty) - - - -replace scale of the specified Scale - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.ExtensionsV1beta1Api() -name = 'name_example' # str | name of the Scale -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = openshift.client.V1beta1Scale() # V1beta1Scale | -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) - -try: - api_response = api_instance.replace_namespaced_replicasets_scale(name, namespace, body, pretty=pretty) - pprint(api_response) -except ApiException as e: - print("Exception when calling ExtensionsV1beta1Api->replace_namespaced_replicasets_scale: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the Scale | - **namespace** | **str**| object name and auth scope, such as for teams and projects | - **body** | [**V1beta1Scale**](V1beta1Scale.md)| | - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - -### Return type - -[**V1beta1Scale**](V1beta1Scale.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **replace_namespaced_replicationcontrollers_scale** -> V1beta1Scale replace_namespaced_replicationcontrollers_scale(name, namespace, body, pretty=pretty) - - - -replace scale of the specified Scale - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.ExtensionsV1beta1Api() -name = 'name_example' # str | name of the Scale -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = openshift.client.V1beta1Scale() # V1beta1Scale | -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) - -try: - api_response = api_instance.replace_namespaced_replicationcontrollers_scale(name, namespace, body, pretty=pretty) - pprint(api_response) -except ApiException as e: - print("Exception when calling ExtensionsV1beta1Api->replace_namespaced_replicationcontrollers_scale: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the Scale | - **namespace** | **str**| object name and auth scope, such as for teams and projects | - **body** | [**V1beta1Scale**](V1beta1Scale.md)| | - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - -### Return type - -[**V1beta1Scale**](V1beta1Scale.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **replace_pod_security_policy** -> V1beta1PodSecurityPolicy replace_pod_security_policy(name, body, pretty=pretty) - - - -replace the specified PodSecurityPolicy - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.ExtensionsV1beta1Api() -name = 'name_example' # str | name of the PodSecurityPolicy -body = openshift.client.V1beta1PodSecurityPolicy() # V1beta1PodSecurityPolicy | -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) - -try: - api_response = api_instance.replace_pod_security_policy(name, body, pretty=pretty) - pprint(api_response) -except ApiException as e: - print("Exception when calling ExtensionsV1beta1Api->replace_pod_security_policy: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the PodSecurityPolicy | - **body** | [**V1beta1PodSecurityPolicy**](V1beta1PodSecurityPolicy.md)| | - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - -### Return type - -[**V1beta1PodSecurityPolicy**](V1beta1PodSecurityPolicy.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **replace_third_party_resource** -> V1beta1ThirdPartyResource replace_third_party_resource(name, body, pretty=pretty) - - - -replace the specified ThirdPartyResource - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.ExtensionsV1beta1Api() -name = 'name_example' # str | name of the ThirdPartyResource -body = openshift.client.V1beta1ThirdPartyResource() # V1beta1ThirdPartyResource | -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) - -try: - api_response = api_instance.replace_third_party_resource(name, body, pretty=pretty) - pprint(api_response) -except ApiException as e: - print("Exception when calling ExtensionsV1beta1Api->replace_third_party_resource: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the ThirdPartyResource | - **body** | [**V1beta1ThirdPartyResource**](V1beta1ThirdPartyResource.md)| | - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - -### Return type - -[**V1beta1ThirdPartyResource**](V1beta1ThirdPartyResource.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - diff --git a/openshift/docs/ImageOpenshiftIo0Api.md b/openshift/docs/ImageOpenshiftIo0Api.md deleted file mode 100644 index 6ea0329f..00000000 --- a/openshift/docs/ImageOpenshiftIo0Api.md +++ /dev/null @@ -1,52 +0,0 @@ -# openshift.client.ImageOpenshiftIo0Api - -All URIs are relative to *https://localhost* - -Method | HTTP request | Description -------------- | ------------- | ------------- -[**get_image_openshift_io0_api_resources**](ImageOpenshiftIo0Api.md#get_image_openshift_io0_api_resources) | **GET** /apis/image.openshift.io/1.0/ | - - -# **get_image_openshift_io0_api_resources** -> UnversionedAPIResourceList get_image_openshift_io0_api_resources() - - - -get available resources - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.ImageOpenshiftIo0Api() - -try: - api_response = api_instance.get_image_openshift_io0_api_resources() - pprint(api_response) -except ApiException as e: - print("Exception when calling ImageOpenshiftIo0Api->get_image_openshift_io0_api_resources: %s\n" % e) -``` - -### Parameters -This endpoint does not need any parameter. - -### Return type - -[**UnversionedAPIResourceList**](UnversionedAPIResourceList.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: application/json, application/yaml, application/vnd.kubernetes.protobuf - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - diff --git a/openshift/docs/ImageOpenshiftIoApi.md b/openshift/docs/ImageOpenshiftIoApi.md index 40797060..fbb57ab3 100644 --- a/openshift/docs/ImageOpenshiftIoApi.md +++ b/openshift/docs/ImageOpenshiftIoApi.md @@ -4,11 +4,11 @@ All URIs are relative to *https://localhost* Method | HTTP request | Description ------------- | ------------- | ------------- -[**get_image_openshift_io_api_group**](ImageOpenshiftIoApi.md#get_image_openshift_io_api_group) | **GET** /apis/image.openshift.io/ | +[**get_api_group**](ImageOpenshiftIoApi.md#get_api_group) | **GET** /apis/image.openshift.io/ | -# **get_image_openshift_io_api_group** -> UnversionedAPIGroup get_image_openshift_io_api_group() +# **get_api_group** +> V1APIGroup get_api_group() @@ -22,14 +22,23 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.ImageOpenshiftIoApi() try: - api_response = api_instance.get_image_openshift_io_api_group() + api_response = api_instance.get_api_group() pprint(api_response) except ApiException as e: - print("Exception when calling ImageOpenshiftIoApi->get_image_openshift_io_api_group: %s\n" % e) + print("Exception when calling ImageOpenshiftIoApi->get_api_group: %s\n" % e) ``` ### Parameters @@ -37,11 +46,11 @@ This endpoint does not need any parameter. ### Return type -[**UnversionedAPIGroup**](UnversionedAPIGroup.md) +[**V1APIGroup**](V1APIGroup.md) ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers diff --git a/openshift/docs/ImageOpenshiftIoPre012Api.md b/openshift/docs/ImageOpenshiftIoPre012Api.md deleted file mode 100644 index 4bb3ee00..00000000 --- a/openshift/docs/ImageOpenshiftIoPre012Api.md +++ /dev/null @@ -1,52 +0,0 @@ -# openshift.client.ImageOpenshiftIoPre012Api - -All URIs are relative to *https://localhost* - -Method | HTTP request | Description -------------- | ------------- | ------------- -[**get_image_openshift_io_pre012_api_resources**](ImageOpenshiftIoPre012Api.md#get_image_openshift_io_pre012_api_resources) | **GET** /apis/image.openshift.io/pre012/ | - - -# **get_image_openshift_io_pre012_api_resources** -> UnversionedAPIResourceList get_image_openshift_io_pre012_api_resources() - - - -get available resources - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.ImageOpenshiftIoPre012Api() - -try: - api_response = api_instance.get_image_openshift_io_pre012_api_resources() - pprint(api_response) -except ApiException as e: - print("Exception when calling ImageOpenshiftIoPre012Api->get_image_openshift_io_pre012_api_resources: %s\n" % e) -``` - -### Parameters -This endpoint does not need any parameter. - -### Return type - -[**UnversionedAPIResourceList**](UnversionedAPIResourceList.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: application/json, application/yaml, application/vnd.kubernetes.protobuf - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - diff --git a/openshift/docs/ImageOpenshiftIoV1Api.md b/openshift/docs/ImageOpenshiftIoV1Api.md index 59ec1af5..f820aac0 100644 --- a/openshift/docs/ImageOpenshiftIoV1Api.md +++ b/openshift/docs/ImageOpenshiftIoV1Api.md @@ -4,46 +4,46 @@ All URIs are relative to *https://localhost* Method | HTTP request | Description ------------- | ------------- | ------------- -[**create_image_openshift_io_v1_image**](ImageOpenshiftIoV1Api.md#create_image_openshift_io_v1_image) | **POST** /apis/image.openshift.io/v1/images | -[**create_image_openshift_io_v1_image_signature**](ImageOpenshiftIoV1Api.md#create_image_openshift_io_v1_image_signature) | **POST** /apis/image.openshift.io/v1/imagesignatures | -[**create_image_openshift_io_v1_image_stream_for_all_namespaces**](ImageOpenshiftIoV1Api.md#create_image_openshift_io_v1_image_stream_for_all_namespaces) | **POST** /apis/image.openshift.io/v1/imagestreams | -[**create_image_openshift_io_v1_image_stream_import_for_all_namespaces**](ImageOpenshiftIoV1Api.md#create_image_openshift_io_v1_image_stream_import_for_all_namespaces) | **POST** /apis/image.openshift.io/v1/imagestreamimports | -[**create_image_openshift_io_v1_image_stream_mapping_for_all_namespaces**](ImageOpenshiftIoV1Api.md#create_image_openshift_io_v1_image_stream_mapping_for_all_namespaces) | **POST** /apis/image.openshift.io/v1/imagestreammappings | -[**create_image_openshift_io_v1_image_stream_tag_for_all_namespaces**](ImageOpenshiftIoV1Api.md#create_image_openshift_io_v1_image_stream_tag_for_all_namespaces) | **POST** /apis/image.openshift.io/v1/imagestreamtags | -[**create_image_openshift_io_v1_namespaced_image_stream**](ImageOpenshiftIoV1Api.md#create_image_openshift_io_v1_namespaced_image_stream) | **POST** /apis/image.openshift.io/v1/namespaces/{namespace}/imagestreams | -[**create_image_openshift_io_v1_namespaced_image_stream_import**](ImageOpenshiftIoV1Api.md#create_image_openshift_io_v1_namespaced_image_stream_import) | **POST** /apis/image.openshift.io/v1/namespaces/{namespace}/imagestreamimports | -[**create_image_openshift_io_v1_namespaced_image_stream_mapping**](ImageOpenshiftIoV1Api.md#create_image_openshift_io_v1_namespaced_image_stream_mapping) | **POST** /apis/image.openshift.io/v1/namespaces/{namespace}/imagestreammappings | -[**create_image_openshift_io_v1_namespaced_image_stream_tag**](ImageOpenshiftIoV1Api.md#create_image_openshift_io_v1_namespaced_image_stream_tag) | **POST** /apis/image.openshift.io/v1/namespaces/{namespace}/imagestreamtags | -[**delete_image_openshift_io_v1_collection_image**](ImageOpenshiftIoV1Api.md#delete_image_openshift_io_v1_collection_image) | **DELETE** /apis/image.openshift.io/v1/images | -[**delete_image_openshift_io_v1_collection_namespaced_image_stream**](ImageOpenshiftIoV1Api.md#delete_image_openshift_io_v1_collection_namespaced_image_stream) | **DELETE** /apis/image.openshift.io/v1/namespaces/{namespace}/imagestreams | -[**delete_image_openshift_io_v1_image**](ImageOpenshiftIoV1Api.md#delete_image_openshift_io_v1_image) | **DELETE** /apis/image.openshift.io/v1/images/{name} | -[**delete_image_openshift_io_v1_image_signature**](ImageOpenshiftIoV1Api.md#delete_image_openshift_io_v1_image_signature) | **DELETE** /apis/image.openshift.io/v1/imagesignatures/{name} | -[**delete_image_openshift_io_v1_namespaced_image_stream**](ImageOpenshiftIoV1Api.md#delete_image_openshift_io_v1_namespaced_image_stream) | **DELETE** /apis/image.openshift.io/v1/namespaces/{namespace}/imagestreams/{name} | -[**delete_image_openshift_io_v1_namespaced_image_stream_tag**](ImageOpenshiftIoV1Api.md#delete_image_openshift_io_v1_namespaced_image_stream_tag) | **DELETE** /apis/image.openshift.io/v1/namespaces/{namespace}/imagestreamtags/{name} | -[**get_image_openshift_io_v1_api_resources**](ImageOpenshiftIoV1Api.md#get_image_openshift_io_v1_api_resources) | **GET** /apis/image.openshift.io/v1/ | -[**list_image_openshift_io_v1_image**](ImageOpenshiftIoV1Api.md#list_image_openshift_io_v1_image) | **GET** /apis/image.openshift.io/v1/images | -[**list_image_openshift_io_v1_image_stream_for_all_namespaces**](ImageOpenshiftIoV1Api.md#list_image_openshift_io_v1_image_stream_for_all_namespaces) | **GET** /apis/image.openshift.io/v1/imagestreams | -[**list_image_openshift_io_v1_image_stream_tag_for_all_namespaces**](ImageOpenshiftIoV1Api.md#list_image_openshift_io_v1_image_stream_tag_for_all_namespaces) | **GET** /apis/image.openshift.io/v1/imagestreamtags | -[**list_image_openshift_io_v1_namespaced_image_stream**](ImageOpenshiftIoV1Api.md#list_image_openshift_io_v1_namespaced_image_stream) | **GET** /apis/image.openshift.io/v1/namespaces/{namespace}/imagestreams | -[**list_image_openshift_io_v1_namespaced_image_stream_tag**](ImageOpenshiftIoV1Api.md#list_image_openshift_io_v1_namespaced_image_stream_tag) | **GET** /apis/image.openshift.io/v1/namespaces/{namespace}/imagestreamtags | -[**patch_image_openshift_io_v1_image**](ImageOpenshiftIoV1Api.md#patch_image_openshift_io_v1_image) | **PATCH** /apis/image.openshift.io/v1/images/{name} | -[**patch_image_openshift_io_v1_namespaced_image_stream**](ImageOpenshiftIoV1Api.md#patch_image_openshift_io_v1_namespaced_image_stream) | **PATCH** /apis/image.openshift.io/v1/namespaces/{namespace}/imagestreams/{name} | -[**patch_image_openshift_io_v1_namespaced_image_stream_status**](ImageOpenshiftIoV1Api.md#patch_image_openshift_io_v1_namespaced_image_stream_status) | **PATCH** /apis/image.openshift.io/v1/namespaces/{namespace}/imagestreams/{name}/status | -[**patch_image_openshift_io_v1_namespaced_image_stream_tag**](ImageOpenshiftIoV1Api.md#patch_image_openshift_io_v1_namespaced_image_stream_tag) | **PATCH** /apis/image.openshift.io/v1/namespaces/{namespace}/imagestreamtags/{name} | -[**read_image_openshift_io_v1_image**](ImageOpenshiftIoV1Api.md#read_image_openshift_io_v1_image) | **GET** /apis/image.openshift.io/v1/images/{name} | -[**read_image_openshift_io_v1_namespaced_image_stream**](ImageOpenshiftIoV1Api.md#read_image_openshift_io_v1_namespaced_image_stream) | **GET** /apis/image.openshift.io/v1/namespaces/{namespace}/imagestreams/{name} | -[**read_image_openshift_io_v1_namespaced_image_stream_image**](ImageOpenshiftIoV1Api.md#read_image_openshift_io_v1_namespaced_image_stream_image) | **GET** /apis/image.openshift.io/v1/namespaces/{namespace}/imagestreamimages/{name} | -[**read_image_openshift_io_v1_namespaced_image_stream_status**](ImageOpenshiftIoV1Api.md#read_image_openshift_io_v1_namespaced_image_stream_status) | **GET** /apis/image.openshift.io/v1/namespaces/{namespace}/imagestreams/{name}/status | -[**read_image_openshift_io_v1_namespaced_image_stream_tag**](ImageOpenshiftIoV1Api.md#read_image_openshift_io_v1_namespaced_image_stream_tag) | **GET** /apis/image.openshift.io/v1/namespaces/{namespace}/imagestreamtags/{name} | -[**read_image_openshift_io_v1_namespaced_secret_list_secrets**](ImageOpenshiftIoV1Api.md#read_image_openshift_io_v1_namespaced_secret_list_secrets) | **GET** /apis/image.openshift.io/v1/namespaces/{namespace}/imagestreams/{name}/secrets | -[**replace_image_openshift_io_v1_image**](ImageOpenshiftIoV1Api.md#replace_image_openshift_io_v1_image) | **PUT** /apis/image.openshift.io/v1/images/{name} | -[**replace_image_openshift_io_v1_namespaced_image_stream**](ImageOpenshiftIoV1Api.md#replace_image_openshift_io_v1_namespaced_image_stream) | **PUT** /apis/image.openshift.io/v1/namespaces/{namespace}/imagestreams/{name} | -[**replace_image_openshift_io_v1_namespaced_image_stream_status**](ImageOpenshiftIoV1Api.md#replace_image_openshift_io_v1_namespaced_image_stream_status) | **PUT** /apis/image.openshift.io/v1/namespaces/{namespace}/imagestreams/{name}/status | -[**replace_image_openshift_io_v1_namespaced_image_stream_tag**](ImageOpenshiftIoV1Api.md#replace_image_openshift_io_v1_namespaced_image_stream_tag) | **PUT** /apis/image.openshift.io/v1/namespaces/{namespace}/imagestreamtags/{name} | - - -# **create_image_openshift_io_v1_image** -> V1Image create_image_openshift_io_v1_image(body, pretty=pretty) +[**create_image**](ImageOpenshiftIoV1Api.md#create_image) | **POST** /apis/image.openshift.io/v1/images | +[**create_image_signature**](ImageOpenshiftIoV1Api.md#create_image_signature) | **POST** /apis/image.openshift.io/v1/imagesignatures | +[**create_image_stream_for_all_namespaces**](ImageOpenshiftIoV1Api.md#create_image_stream_for_all_namespaces) | **POST** /apis/image.openshift.io/v1/imagestreams | +[**create_image_stream_import_for_all_namespaces**](ImageOpenshiftIoV1Api.md#create_image_stream_import_for_all_namespaces) | **POST** /apis/image.openshift.io/v1/imagestreamimports | +[**create_image_stream_mapping_for_all_namespaces**](ImageOpenshiftIoV1Api.md#create_image_stream_mapping_for_all_namespaces) | **POST** /apis/image.openshift.io/v1/imagestreammappings | +[**create_image_stream_tag_for_all_namespaces**](ImageOpenshiftIoV1Api.md#create_image_stream_tag_for_all_namespaces) | **POST** /apis/image.openshift.io/v1/imagestreamtags | +[**create_namespaced_image_stream**](ImageOpenshiftIoV1Api.md#create_namespaced_image_stream) | **POST** /apis/image.openshift.io/v1/namespaces/{namespace}/imagestreams | +[**create_namespaced_image_stream_import**](ImageOpenshiftIoV1Api.md#create_namespaced_image_stream_import) | **POST** /apis/image.openshift.io/v1/namespaces/{namespace}/imagestreamimports | +[**create_namespaced_image_stream_mapping**](ImageOpenshiftIoV1Api.md#create_namespaced_image_stream_mapping) | **POST** /apis/image.openshift.io/v1/namespaces/{namespace}/imagestreammappings | +[**create_namespaced_image_stream_tag**](ImageOpenshiftIoV1Api.md#create_namespaced_image_stream_tag) | **POST** /apis/image.openshift.io/v1/namespaces/{namespace}/imagestreamtags | +[**delete_collection_image**](ImageOpenshiftIoV1Api.md#delete_collection_image) | **DELETE** /apis/image.openshift.io/v1/images | +[**delete_collection_namespaced_image_stream**](ImageOpenshiftIoV1Api.md#delete_collection_namespaced_image_stream) | **DELETE** /apis/image.openshift.io/v1/namespaces/{namespace}/imagestreams | +[**delete_image**](ImageOpenshiftIoV1Api.md#delete_image) | **DELETE** /apis/image.openshift.io/v1/images/{name} | +[**delete_image_signature**](ImageOpenshiftIoV1Api.md#delete_image_signature) | **DELETE** /apis/image.openshift.io/v1/imagesignatures/{name} | +[**delete_namespaced_image_stream**](ImageOpenshiftIoV1Api.md#delete_namespaced_image_stream) | **DELETE** /apis/image.openshift.io/v1/namespaces/{namespace}/imagestreams/{name} | +[**delete_namespaced_image_stream_tag**](ImageOpenshiftIoV1Api.md#delete_namespaced_image_stream_tag) | **DELETE** /apis/image.openshift.io/v1/namespaces/{namespace}/imagestreamtags/{name} | +[**get_api_resources**](ImageOpenshiftIoV1Api.md#get_api_resources) | **GET** /apis/image.openshift.io/v1/ | +[**list_image**](ImageOpenshiftIoV1Api.md#list_image) | **GET** /apis/image.openshift.io/v1/images | +[**list_image_stream_for_all_namespaces**](ImageOpenshiftIoV1Api.md#list_image_stream_for_all_namespaces) | **GET** /apis/image.openshift.io/v1/imagestreams | +[**list_image_stream_tag_for_all_namespaces**](ImageOpenshiftIoV1Api.md#list_image_stream_tag_for_all_namespaces) | **GET** /apis/image.openshift.io/v1/imagestreamtags | +[**list_namespaced_image_stream**](ImageOpenshiftIoV1Api.md#list_namespaced_image_stream) | **GET** /apis/image.openshift.io/v1/namespaces/{namespace}/imagestreams | +[**list_namespaced_image_stream_tag**](ImageOpenshiftIoV1Api.md#list_namespaced_image_stream_tag) | **GET** /apis/image.openshift.io/v1/namespaces/{namespace}/imagestreamtags | +[**patch_image**](ImageOpenshiftIoV1Api.md#patch_image) | **PATCH** /apis/image.openshift.io/v1/images/{name} | +[**patch_namespaced_image_stream**](ImageOpenshiftIoV1Api.md#patch_namespaced_image_stream) | **PATCH** /apis/image.openshift.io/v1/namespaces/{namespace}/imagestreams/{name} | +[**patch_namespaced_image_stream_status**](ImageOpenshiftIoV1Api.md#patch_namespaced_image_stream_status) | **PATCH** /apis/image.openshift.io/v1/namespaces/{namespace}/imagestreams/{name}/status | +[**patch_namespaced_image_stream_tag**](ImageOpenshiftIoV1Api.md#patch_namespaced_image_stream_tag) | **PATCH** /apis/image.openshift.io/v1/namespaces/{namespace}/imagestreamtags/{name} | +[**read_image**](ImageOpenshiftIoV1Api.md#read_image) | **GET** /apis/image.openshift.io/v1/images/{name} | +[**read_namespaced_image_stream**](ImageOpenshiftIoV1Api.md#read_namespaced_image_stream) | **GET** /apis/image.openshift.io/v1/namespaces/{namespace}/imagestreams/{name} | +[**read_namespaced_image_stream_image**](ImageOpenshiftIoV1Api.md#read_namespaced_image_stream_image) | **GET** /apis/image.openshift.io/v1/namespaces/{namespace}/imagestreamimages/{name} | +[**read_namespaced_image_stream_status**](ImageOpenshiftIoV1Api.md#read_namespaced_image_stream_status) | **GET** /apis/image.openshift.io/v1/namespaces/{namespace}/imagestreams/{name}/status | +[**read_namespaced_image_stream_tag**](ImageOpenshiftIoV1Api.md#read_namespaced_image_stream_tag) | **GET** /apis/image.openshift.io/v1/namespaces/{namespace}/imagestreamtags/{name} | +[**read_namespaced_secret_list_secrets**](ImageOpenshiftIoV1Api.md#read_namespaced_secret_list_secrets) | **GET** /apis/image.openshift.io/v1/namespaces/{namespace}/imagestreams/{name}/secrets | +[**replace_image**](ImageOpenshiftIoV1Api.md#replace_image) | **PUT** /apis/image.openshift.io/v1/images/{name} | +[**replace_namespaced_image_stream**](ImageOpenshiftIoV1Api.md#replace_namespaced_image_stream) | **PUT** /apis/image.openshift.io/v1/namespaces/{namespace}/imagestreams/{name} | +[**replace_namespaced_image_stream_status**](ImageOpenshiftIoV1Api.md#replace_namespaced_image_stream_status) | **PUT** /apis/image.openshift.io/v1/namespaces/{namespace}/imagestreams/{name}/status | +[**replace_namespaced_image_stream_tag**](ImageOpenshiftIoV1Api.md#replace_namespaced_image_stream_tag) | **PUT** /apis/image.openshift.io/v1/namespaces/{namespace}/imagestreamtags/{name} | + + +# **create_image** +> V1Image create_image(body, pretty=pretty) @@ -57,16 +57,25 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.ImageOpenshiftIoV1Api() body = openshift.client.V1Image() # V1Image | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) try: - api_response = api_instance.create_image_openshift_io_v1_image(body, pretty=pretty) + api_response = api_instance.create_image(body, pretty=pretty) pprint(api_response) except ApiException as e: - print("Exception when calling ImageOpenshiftIoV1Api->create_image_openshift_io_v1_image: %s\n" % e) + print("Exception when calling ImageOpenshiftIoV1Api->create_image: %s\n" % e) ``` ### Parameters @@ -82,7 +91,7 @@ Name | Type | Description | Notes ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -91,8 +100,8 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **create_image_openshift_io_v1_image_signature** -> V1ImageSignature create_image_openshift_io_v1_image_signature(body, pretty=pretty) +# **create_image_signature** +> V1ImageSignature create_image_signature(body, pretty=pretty) @@ -106,16 +115,25 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.ImageOpenshiftIoV1Api() body = openshift.client.V1ImageSignature() # V1ImageSignature | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) try: - api_response = api_instance.create_image_openshift_io_v1_image_signature(body, pretty=pretty) + api_response = api_instance.create_image_signature(body, pretty=pretty) pprint(api_response) except ApiException as e: - print("Exception when calling ImageOpenshiftIoV1Api->create_image_openshift_io_v1_image_signature: %s\n" % e) + print("Exception when calling ImageOpenshiftIoV1Api->create_image_signature: %s\n" % e) ``` ### Parameters @@ -131,7 +149,7 @@ Name | Type | Description | Notes ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -140,8 +158,8 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **create_image_openshift_io_v1_image_stream_for_all_namespaces** -> V1ImageStream create_image_openshift_io_v1_image_stream_for_all_namespaces(body, pretty=pretty) +# **create_image_stream_for_all_namespaces** +> V1ImageStream create_image_stream_for_all_namespaces(body, pretty=pretty) @@ -155,16 +173,25 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.ImageOpenshiftIoV1Api() body = openshift.client.V1ImageStream() # V1ImageStream | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) try: - api_response = api_instance.create_image_openshift_io_v1_image_stream_for_all_namespaces(body, pretty=pretty) + api_response = api_instance.create_image_stream_for_all_namespaces(body, pretty=pretty) pprint(api_response) except ApiException as e: - print("Exception when calling ImageOpenshiftIoV1Api->create_image_openshift_io_v1_image_stream_for_all_namespaces: %s\n" % e) + print("Exception when calling ImageOpenshiftIoV1Api->create_image_stream_for_all_namespaces: %s\n" % e) ``` ### Parameters @@ -180,7 +207,7 @@ Name | Type | Description | Notes ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -189,8 +216,8 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **create_image_openshift_io_v1_image_stream_import_for_all_namespaces** -> V1ImageStreamImport create_image_openshift_io_v1_image_stream_import_for_all_namespaces(body, pretty=pretty) +# **create_image_stream_import_for_all_namespaces** +> V1ImageStreamImport create_image_stream_import_for_all_namespaces(body, pretty=pretty) @@ -204,16 +231,25 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.ImageOpenshiftIoV1Api() body = openshift.client.V1ImageStreamImport() # V1ImageStreamImport | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) try: - api_response = api_instance.create_image_openshift_io_v1_image_stream_import_for_all_namespaces(body, pretty=pretty) + api_response = api_instance.create_image_stream_import_for_all_namespaces(body, pretty=pretty) pprint(api_response) except ApiException as e: - print("Exception when calling ImageOpenshiftIoV1Api->create_image_openshift_io_v1_image_stream_import_for_all_namespaces: %s\n" % e) + print("Exception when calling ImageOpenshiftIoV1Api->create_image_stream_import_for_all_namespaces: %s\n" % e) ``` ### Parameters @@ -229,7 +265,7 @@ Name | Type | Description | Notes ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -238,8 +274,8 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **create_image_openshift_io_v1_image_stream_mapping_for_all_namespaces** -> V1ImageStreamMapping create_image_openshift_io_v1_image_stream_mapping_for_all_namespaces(body, pretty=pretty) +# **create_image_stream_mapping_for_all_namespaces** +> V1ImageStreamMapping create_image_stream_mapping_for_all_namespaces(body, pretty=pretty) @@ -253,16 +289,25 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.ImageOpenshiftIoV1Api() body = openshift.client.V1ImageStreamMapping() # V1ImageStreamMapping | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) try: - api_response = api_instance.create_image_openshift_io_v1_image_stream_mapping_for_all_namespaces(body, pretty=pretty) + api_response = api_instance.create_image_stream_mapping_for_all_namespaces(body, pretty=pretty) pprint(api_response) except ApiException as e: - print("Exception when calling ImageOpenshiftIoV1Api->create_image_openshift_io_v1_image_stream_mapping_for_all_namespaces: %s\n" % e) + print("Exception when calling ImageOpenshiftIoV1Api->create_image_stream_mapping_for_all_namespaces: %s\n" % e) ``` ### Parameters @@ -278,7 +323,7 @@ Name | Type | Description | Notes ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -287,8 +332,8 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **create_image_openshift_io_v1_image_stream_tag_for_all_namespaces** -> V1ImageStreamTag create_image_openshift_io_v1_image_stream_tag_for_all_namespaces(body, pretty=pretty) +# **create_image_stream_tag_for_all_namespaces** +> V1ImageStreamTag create_image_stream_tag_for_all_namespaces(body, pretty=pretty) @@ -302,16 +347,25 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.ImageOpenshiftIoV1Api() body = openshift.client.V1ImageStreamTag() # V1ImageStreamTag | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) try: - api_response = api_instance.create_image_openshift_io_v1_image_stream_tag_for_all_namespaces(body, pretty=pretty) + api_response = api_instance.create_image_stream_tag_for_all_namespaces(body, pretty=pretty) pprint(api_response) except ApiException as e: - print("Exception when calling ImageOpenshiftIoV1Api->create_image_openshift_io_v1_image_stream_tag_for_all_namespaces: %s\n" % e) + print("Exception when calling ImageOpenshiftIoV1Api->create_image_stream_tag_for_all_namespaces: %s\n" % e) ``` ### Parameters @@ -327,7 +381,7 @@ Name | Type | Description | Notes ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -336,8 +390,8 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **create_image_openshift_io_v1_namespaced_image_stream** -> V1ImageStream create_image_openshift_io_v1_namespaced_image_stream(namespace, body, pretty=pretty) +# **create_namespaced_image_stream** +> V1ImageStream create_namespaced_image_stream(namespace, body, pretty=pretty) @@ -351,6 +405,15 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.ImageOpenshiftIoV1Api() namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects @@ -358,10 +421,10 @@ body = openshift.client.V1ImageStream() # V1ImageStream | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) try: - api_response = api_instance.create_image_openshift_io_v1_namespaced_image_stream(namespace, body, pretty=pretty) + api_response = api_instance.create_namespaced_image_stream(namespace, body, pretty=pretty) pprint(api_response) except ApiException as e: - print("Exception when calling ImageOpenshiftIoV1Api->create_image_openshift_io_v1_namespaced_image_stream: %s\n" % e) + print("Exception when calling ImageOpenshiftIoV1Api->create_namespaced_image_stream: %s\n" % e) ``` ### Parameters @@ -378,7 +441,7 @@ Name | Type | Description | Notes ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -387,8 +450,8 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **create_image_openshift_io_v1_namespaced_image_stream_import** -> V1ImageStreamImport create_image_openshift_io_v1_namespaced_image_stream_import(body, namespace, pretty=pretty) +# **create_namespaced_image_stream_import** +> V1ImageStreamImport create_namespaced_image_stream_import(namespace, body, pretty=pretty) @@ -402,25 +465,34 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.ImageOpenshiftIoV1Api() -body = openshift.client.V1ImageStreamImport() # V1ImageStreamImport | namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects +body = openshift.client.V1ImageStreamImport() # V1ImageStreamImport | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) try: - api_response = api_instance.create_image_openshift_io_v1_namespaced_image_stream_import(body, namespace, pretty=pretty) + api_response = api_instance.create_namespaced_image_stream_import(namespace, body, pretty=pretty) pprint(api_response) except ApiException as e: - print("Exception when calling ImageOpenshiftIoV1Api->create_image_openshift_io_v1_namespaced_image_stream_import: %s\n" % e) + print("Exception when calling ImageOpenshiftIoV1Api->create_namespaced_image_stream_import: %s\n" % e) ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **body** | [**V1ImageStreamImport**](V1ImageStreamImport.md)| | **namespace** | **str**| object name and auth scope, such as for teams and projects | + **body** | [**V1ImageStreamImport**](V1ImageStreamImport.md)| | **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] ### Return type @@ -429,7 +501,7 @@ Name | Type | Description | Notes ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -438,8 +510,8 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **create_image_openshift_io_v1_namespaced_image_stream_mapping** -> V1ImageStreamMapping create_image_openshift_io_v1_namespaced_image_stream_mapping(body, namespace, pretty=pretty) +# **create_namespaced_image_stream_mapping** +> V1ImageStreamMapping create_namespaced_image_stream_mapping(namespace, body, pretty=pretty) @@ -453,25 +525,34 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.ImageOpenshiftIoV1Api() -body = openshift.client.V1ImageStreamMapping() # V1ImageStreamMapping | namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects +body = openshift.client.V1ImageStreamMapping() # V1ImageStreamMapping | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) try: - api_response = api_instance.create_image_openshift_io_v1_namespaced_image_stream_mapping(body, namespace, pretty=pretty) + api_response = api_instance.create_namespaced_image_stream_mapping(namespace, body, pretty=pretty) pprint(api_response) except ApiException as e: - print("Exception when calling ImageOpenshiftIoV1Api->create_image_openshift_io_v1_namespaced_image_stream_mapping: %s\n" % e) + print("Exception when calling ImageOpenshiftIoV1Api->create_namespaced_image_stream_mapping: %s\n" % e) ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **body** | [**V1ImageStreamMapping**](V1ImageStreamMapping.md)| | **namespace** | **str**| object name and auth scope, such as for teams and projects | + **body** | [**V1ImageStreamMapping**](V1ImageStreamMapping.md)| | **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] ### Return type @@ -480,7 +561,7 @@ Name | Type | Description | Notes ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -489,8 +570,8 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **create_image_openshift_io_v1_namespaced_image_stream_tag** -> V1ImageStreamTag create_image_openshift_io_v1_namespaced_image_stream_tag(namespace, body, pretty=pretty) +# **create_namespaced_image_stream_tag** +> V1ImageStreamTag create_namespaced_image_stream_tag(namespace, body, pretty=pretty) @@ -504,6 +585,15 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.ImageOpenshiftIoV1Api() namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects @@ -511,10 +601,10 @@ body = openshift.client.V1ImageStreamTag() # V1ImageStreamTag | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) try: - api_response = api_instance.create_image_openshift_io_v1_namespaced_image_stream_tag(namespace, body, pretty=pretty) + api_response = api_instance.create_namespaced_image_stream_tag(namespace, body, pretty=pretty) pprint(api_response) except ApiException as e: - print("Exception when calling ImageOpenshiftIoV1Api->create_image_openshift_io_v1_namespaced_image_stream_tag: %s\n" % e) + print("Exception when calling ImageOpenshiftIoV1Api->create_namespaced_image_stream_tag: %s\n" % e) ``` ### Parameters @@ -531,7 +621,7 @@ Name | Type | Description | Notes ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -540,8 +630,8 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **delete_image_openshift_io_v1_collection_image** -> UnversionedStatus delete_image_openshift_io_v1_collection_image(pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) +# **delete_collection_image** +> V1Status delete_collection_image(pretty=pretty, field_selector=field_selector, include_uninitialized=include_uninitialized, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) @@ -555,20 +645,30 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.ImageOpenshiftIoV1Api() pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) +include_uninitialized = true # bool | If true, partially initialized resources are included in the response. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. (optional) +resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) timeout_seconds = 56 # int | Timeout for the list/watch call. (optional) watch = true # bool | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) try: - api_response = api_instance.delete_image_openshift_io_v1_collection_image(pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) + api_response = api_instance.delete_collection_image(pretty=pretty, field_selector=field_selector, include_uninitialized=include_uninitialized, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) pprint(api_response) except ApiException as e: - print("Exception when calling ImageOpenshiftIoV1Api->delete_image_openshift_io_v1_collection_image: %s\n" % e) + print("Exception when calling ImageOpenshiftIoV1Api->delete_collection_image: %s\n" % e) ``` ### Parameters @@ -577,18 +677,19 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] + **include_uninitialized** | **bool**| If true, partially initialized resources are included in the response. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. | [optional] + **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] **timeout_seconds** | **int**| Timeout for the list/watch call. | [optional] **watch** | **bool**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] ### Return type -[**UnversionedStatus**](UnversionedStatus.md) +[**V1Status**](V1Status.md) ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -597,8 +698,8 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **delete_image_openshift_io_v1_collection_namespaced_image_stream** -> UnversionedStatus delete_image_openshift_io_v1_collection_namespaced_image_stream(namespace, pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) +# **delete_collection_namespaced_image_stream** +> V1Status delete_collection_namespaced_image_stream(namespace, pretty=pretty, field_selector=field_selector, include_uninitialized=include_uninitialized, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) @@ -612,21 +713,31 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.ImageOpenshiftIoV1Api() namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) +include_uninitialized = true # bool | If true, partially initialized resources are included in the response. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. (optional) +resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) timeout_seconds = 56 # int | Timeout for the list/watch call. (optional) watch = true # bool | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) try: - api_response = api_instance.delete_image_openshift_io_v1_collection_namespaced_image_stream(namespace, pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) + api_response = api_instance.delete_collection_namespaced_image_stream(namespace, pretty=pretty, field_selector=field_selector, include_uninitialized=include_uninitialized, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) pprint(api_response) except ApiException as e: - print("Exception when calling ImageOpenshiftIoV1Api->delete_image_openshift_io_v1_collection_namespaced_image_stream: %s\n" % e) + print("Exception when calling ImageOpenshiftIoV1Api->delete_collection_namespaced_image_stream: %s\n" % e) ``` ### Parameters @@ -636,18 +747,19 @@ Name | Type | Description | Notes **namespace** | **str**| object name and auth scope, such as for teams and projects | **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] + **include_uninitialized** | **bool**| If true, partially initialized resources are included in the response. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. | [optional] + **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] **timeout_seconds** | **int**| Timeout for the list/watch call. | [optional] **watch** | **bool**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] ### Return type -[**UnversionedStatus**](UnversionedStatus.md) +[**V1Status**](V1Status.md) ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -656,8 +768,8 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **delete_image_openshift_io_v1_image** -> UnversionedStatus delete_image_openshift_io_v1_image(name, body, pretty=pretty, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents) +# **delete_image** +> V1Status delete_image(name, body, pretty=pretty, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) @@ -671,19 +783,29 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.ImageOpenshiftIoV1Api() name = 'name_example' # str | name of the Image body = openshift.client.V1DeleteOptions() # V1DeleteOptions | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) grace_period_seconds = 56 # int | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) -orphan_dependents = true # bool | Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. (optional) +orphan_dependents = true # bool | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) +propagation_policy = 'propagation_policy_example' # str | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. (optional) try: - api_response = api_instance.delete_image_openshift_io_v1_image(name, body, pretty=pretty, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents) + api_response = api_instance.delete_image(name, body, pretty=pretty, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) pprint(api_response) except ApiException as e: - print("Exception when calling ImageOpenshiftIoV1Api->delete_image_openshift_io_v1_image: %s\n" % e) + print("Exception when calling ImageOpenshiftIoV1Api->delete_image: %s\n" % e) ``` ### Parameters @@ -694,15 +816,16 @@ Name | Type | Description | Notes **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | **pretty** | **str**| If 'true', then the output is pretty printed. | [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] - **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] + **orphan_dependents** | **bool**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional] + **propagation_policy** | **str**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. | [optional] ### Return type -[**UnversionedStatus**](UnversionedStatus.md) +[**V1Status**](V1Status.md) ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -711,8 +834,8 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **delete_image_openshift_io_v1_image_signature** -> UnversionedStatus delete_image_openshift_io_v1_image_signature(name, pretty=pretty) +# **delete_image_signature** +> V1Status delete_image_signature(name, pretty=pretty) @@ -726,16 +849,25 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.ImageOpenshiftIoV1Api() name = 'name_example' # str | name of the ImageSignature pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) try: - api_response = api_instance.delete_image_openshift_io_v1_image_signature(name, pretty=pretty) + api_response = api_instance.delete_image_signature(name, pretty=pretty) pprint(api_response) except ApiException as e: - print("Exception when calling ImageOpenshiftIoV1Api->delete_image_openshift_io_v1_image_signature: %s\n" % e) + print("Exception when calling ImageOpenshiftIoV1Api->delete_image_signature: %s\n" % e) ``` ### Parameters @@ -747,11 +879,11 @@ Name | Type | Description | Notes ### Return type -[**UnversionedStatus**](UnversionedStatus.md) +[**V1Status**](V1Status.md) ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -760,8 +892,8 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **delete_image_openshift_io_v1_namespaced_image_stream** -> UnversionedStatus delete_image_openshift_io_v1_namespaced_image_stream(name, namespace, body, pretty=pretty, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents) +# **delete_namespaced_image_stream** +> V1Status delete_namespaced_image_stream(name, namespace, body, pretty=pretty, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) @@ -775,6 +907,15 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.ImageOpenshiftIoV1Api() name = 'name_example' # str | name of the ImageStream @@ -782,13 +923,14 @@ namespace = 'namespace_example' # str | object name and auth scope, such as for body = openshift.client.V1DeleteOptions() # V1DeleteOptions | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) grace_period_seconds = 56 # int | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) -orphan_dependents = true # bool | Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. (optional) +orphan_dependents = true # bool | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) +propagation_policy = 'propagation_policy_example' # str | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. (optional) try: - api_response = api_instance.delete_image_openshift_io_v1_namespaced_image_stream(name, namespace, body, pretty=pretty, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents) + api_response = api_instance.delete_namespaced_image_stream(name, namespace, body, pretty=pretty, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) pprint(api_response) except ApiException as e: - print("Exception when calling ImageOpenshiftIoV1Api->delete_image_openshift_io_v1_namespaced_image_stream: %s\n" % e) + print("Exception when calling ImageOpenshiftIoV1Api->delete_namespaced_image_stream: %s\n" % e) ``` ### Parameters @@ -800,15 +942,16 @@ Name | Type | Description | Notes **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | **pretty** | **str**| If 'true', then the output is pretty printed. | [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] - **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] + **orphan_dependents** | **bool**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional] + **propagation_policy** | **str**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. | [optional] ### Return type -[**UnversionedStatus**](UnversionedStatus.md) +[**V1Status**](V1Status.md) ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -817,8 +960,8 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **delete_image_openshift_io_v1_namespaced_image_stream_tag** -> UnversionedStatus delete_image_openshift_io_v1_namespaced_image_stream_tag(name, namespace, pretty=pretty) +# **delete_namespaced_image_stream_tag** +> V1Status delete_namespaced_image_stream_tag(name, namespace, pretty=pretty) @@ -832,6 +975,15 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.ImageOpenshiftIoV1Api() name = 'name_example' # str | name of the ImageStreamTag @@ -839,10 +991,10 @@ namespace = 'namespace_example' # str | object name and auth scope, such as for pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) try: - api_response = api_instance.delete_image_openshift_io_v1_namespaced_image_stream_tag(name, namespace, pretty=pretty) + api_response = api_instance.delete_namespaced_image_stream_tag(name, namespace, pretty=pretty) pprint(api_response) except ApiException as e: - print("Exception when calling ImageOpenshiftIoV1Api->delete_image_openshift_io_v1_namespaced_image_stream_tag: %s\n" % e) + print("Exception when calling ImageOpenshiftIoV1Api->delete_namespaced_image_stream_tag: %s\n" % e) ``` ### Parameters @@ -855,11 +1007,11 @@ Name | Type | Description | Notes ### Return type -[**UnversionedStatus**](UnversionedStatus.md) +[**V1Status**](V1Status.md) ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -868,8 +1020,8 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **get_image_openshift_io_v1_api_resources** -> UnversionedAPIResourceList get_image_openshift_io_v1_api_resources() +# **get_api_resources** +> V1APIResourceList get_api_resources() @@ -883,14 +1035,23 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.ImageOpenshiftIoV1Api() try: - api_response = api_instance.get_image_openshift_io_v1_api_resources() + api_response = api_instance.get_api_resources() pprint(api_response) except ApiException as e: - print("Exception when calling ImageOpenshiftIoV1Api->get_image_openshift_io_v1_api_resources: %s\n" % e) + print("Exception when calling ImageOpenshiftIoV1Api->get_api_resources: %s\n" % e) ``` ### Parameters @@ -898,11 +1059,11 @@ This endpoint does not need any parameter. ### Return type -[**UnversionedAPIResourceList**](UnversionedAPIResourceList.md) +[**V1APIResourceList**](V1APIResourceList.md) ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -911,8 +1072,8 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **list_image_openshift_io_v1_image** -> V1ImageList list_image_openshift_io_v1_image(pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) +# **list_image** +> V1ImageList list_image(pretty=pretty, field_selector=field_selector, include_uninitialized=include_uninitialized, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) @@ -926,20 +1087,30 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.ImageOpenshiftIoV1Api() pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) +include_uninitialized = true # bool | If true, partially initialized resources are included in the response. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. (optional) +resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) timeout_seconds = 56 # int | Timeout for the list/watch call. (optional) watch = true # bool | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) try: - api_response = api_instance.list_image_openshift_io_v1_image(pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) + api_response = api_instance.list_image(pretty=pretty, field_selector=field_selector, include_uninitialized=include_uninitialized, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) pprint(api_response) except ApiException as e: - print("Exception when calling ImageOpenshiftIoV1Api->list_image_openshift_io_v1_image: %s\n" % e) + print("Exception when calling ImageOpenshiftIoV1Api->list_image: %s\n" % e) ``` ### Parameters @@ -948,8 +1119,9 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] + **include_uninitialized** | **bool**| If true, partially initialized resources are included in the response. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. | [optional] + **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] **timeout_seconds** | **int**| Timeout for the list/watch call. | [optional] **watch** | **bool**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] @@ -959,7 +1131,7 @@ Name | Type | Description | Notes ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -968,8 +1140,8 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **list_image_openshift_io_v1_image_stream_for_all_namespaces** -> V1ImageStreamList list_image_openshift_io_v1_image_stream_for_all_namespaces(pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) +# **list_image_stream_for_all_namespaces** +> V1ImageStreamList list_image_stream_for_all_namespaces(pretty=pretty, field_selector=field_selector, include_uninitialized=include_uninitialized, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) @@ -983,20 +1155,30 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.ImageOpenshiftIoV1Api() pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) +include_uninitialized = true # bool | If true, partially initialized resources are included in the response. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. (optional) +resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) timeout_seconds = 56 # int | Timeout for the list/watch call. (optional) watch = true # bool | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) try: - api_response = api_instance.list_image_openshift_io_v1_image_stream_for_all_namespaces(pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) + api_response = api_instance.list_image_stream_for_all_namespaces(pretty=pretty, field_selector=field_selector, include_uninitialized=include_uninitialized, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) pprint(api_response) except ApiException as e: - print("Exception when calling ImageOpenshiftIoV1Api->list_image_openshift_io_v1_image_stream_for_all_namespaces: %s\n" % e) + print("Exception when calling ImageOpenshiftIoV1Api->list_image_stream_for_all_namespaces: %s\n" % e) ``` ### Parameters @@ -1005,8 +1187,9 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] + **include_uninitialized** | **bool**| If true, partially initialized resources are included in the response. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. | [optional] + **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] **timeout_seconds** | **int**| Timeout for the list/watch call. | [optional] **watch** | **bool**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] @@ -1016,7 +1199,7 @@ Name | Type | Description | Notes ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -1025,8 +1208,8 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **list_image_openshift_io_v1_image_stream_tag_for_all_namespaces** -> V1ImageStreamTagList list_image_openshift_io_v1_image_stream_tag_for_all_namespaces(pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) +# **list_image_stream_tag_for_all_namespaces** +> V1ImageStreamTagList list_image_stream_tag_for_all_namespaces(pretty=pretty, field_selector=field_selector, include_uninitialized=include_uninitialized, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) @@ -1040,20 +1223,30 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.ImageOpenshiftIoV1Api() pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) +include_uninitialized = true # bool | If true, partially initialized resources are included in the response. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. (optional) +resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) timeout_seconds = 56 # int | Timeout for the list/watch call. (optional) watch = true # bool | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) try: - api_response = api_instance.list_image_openshift_io_v1_image_stream_tag_for_all_namespaces(pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) + api_response = api_instance.list_image_stream_tag_for_all_namespaces(pretty=pretty, field_selector=field_selector, include_uninitialized=include_uninitialized, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) pprint(api_response) except ApiException as e: - print("Exception when calling ImageOpenshiftIoV1Api->list_image_openshift_io_v1_image_stream_tag_for_all_namespaces: %s\n" % e) + print("Exception when calling ImageOpenshiftIoV1Api->list_image_stream_tag_for_all_namespaces: %s\n" % e) ``` ### Parameters @@ -1062,8 +1255,9 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] + **include_uninitialized** | **bool**| If true, partially initialized resources are included in the response. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. | [optional] + **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] **timeout_seconds** | **int**| Timeout for the list/watch call. | [optional] **watch** | **bool**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] @@ -1073,7 +1267,7 @@ Name | Type | Description | Notes ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -1082,8 +1276,8 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **list_image_openshift_io_v1_namespaced_image_stream** -> V1ImageStreamList list_image_openshift_io_v1_namespaced_image_stream(namespace, pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) +# **list_namespaced_image_stream** +> V1ImageStreamList list_namespaced_image_stream(namespace, pretty=pretty, field_selector=field_selector, include_uninitialized=include_uninitialized, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) @@ -1097,21 +1291,31 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.ImageOpenshiftIoV1Api() namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) +include_uninitialized = true # bool | If true, partially initialized resources are included in the response. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. (optional) +resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) timeout_seconds = 56 # int | Timeout for the list/watch call. (optional) watch = true # bool | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) try: - api_response = api_instance.list_image_openshift_io_v1_namespaced_image_stream(namespace, pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) + api_response = api_instance.list_namespaced_image_stream(namespace, pretty=pretty, field_selector=field_selector, include_uninitialized=include_uninitialized, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) pprint(api_response) except ApiException as e: - print("Exception when calling ImageOpenshiftIoV1Api->list_image_openshift_io_v1_namespaced_image_stream: %s\n" % e) + print("Exception when calling ImageOpenshiftIoV1Api->list_namespaced_image_stream: %s\n" % e) ``` ### Parameters @@ -1121,8 +1325,9 @@ Name | Type | Description | Notes **namespace** | **str**| object name and auth scope, such as for teams and projects | **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] + **include_uninitialized** | **bool**| If true, partially initialized resources are included in the response. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. | [optional] + **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] **timeout_seconds** | **int**| Timeout for the list/watch call. | [optional] **watch** | **bool**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] @@ -1132,7 +1337,7 @@ Name | Type | Description | Notes ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -1141,8 +1346,8 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **list_image_openshift_io_v1_namespaced_image_stream_tag** -> V1ImageStreamTagList list_image_openshift_io_v1_namespaced_image_stream_tag(namespace, pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) +# **list_namespaced_image_stream_tag** +> V1ImageStreamTagList list_namespaced_image_stream_tag(namespace, pretty=pretty, field_selector=field_selector, include_uninitialized=include_uninitialized, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) @@ -1156,21 +1361,31 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.ImageOpenshiftIoV1Api() namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) +include_uninitialized = true # bool | If true, partially initialized resources are included in the response. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. (optional) +resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) timeout_seconds = 56 # int | Timeout for the list/watch call. (optional) watch = true # bool | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) try: - api_response = api_instance.list_image_openshift_io_v1_namespaced_image_stream_tag(namespace, pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) + api_response = api_instance.list_namespaced_image_stream_tag(namespace, pretty=pretty, field_selector=field_selector, include_uninitialized=include_uninitialized, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) pprint(api_response) except ApiException as e: - print("Exception when calling ImageOpenshiftIoV1Api->list_image_openshift_io_v1_namespaced_image_stream_tag: %s\n" % e) + print("Exception when calling ImageOpenshiftIoV1Api->list_namespaced_image_stream_tag: %s\n" % e) ``` ### Parameters @@ -1180,8 +1395,9 @@ Name | Type | Description | Notes **namespace** | **str**| object name and auth scope, such as for teams and projects | **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] + **include_uninitialized** | **bool**| If true, partially initialized resources are included in the response. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. | [optional] + **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] **timeout_seconds** | **int**| Timeout for the list/watch call. | [optional] **watch** | **bool**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] @@ -1191,7 +1407,7 @@ Name | Type | Description | Notes ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -1200,8 +1416,8 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **patch_image_openshift_io_v1_image** -> V1Image patch_image_openshift_io_v1_image(name, body, pretty=pretty) +# **patch_image** +> V1Image patch_image(name, body, pretty=pretty) @@ -1215,17 +1431,26 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.ImageOpenshiftIoV1Api() name = 'name_example' # str | name of the Image -body = openshift.client.UnversionedPatch() # UnversionedPatch | +body = NULL # object | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) try: - api_response = api_instance.patch_image_openshift_io_v1_image(name, body, pretty=pretty) + api_response = api_instance.patch_image(name, body, pretty=pretty) pprint(api_response) except ApiException as e: - print("Exception when calling ImageOpenshiftIoV1Api->patch_image_openshift_io_v1_image: %s\n" % e) + print("Exception when calling ImageOpenshiftIoV1Api->patch_image: %s\n" % e) ``` ### Parameters @@ -1233,7 +1458,7 @@ except ApiException as e: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **name** | **str**| name of the Image | - **body** | [**UnversionedPatch**](UnversionedPatch.md)| | + **body** | **object**| | **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] ### Return type @@ -1242,7 +1467,7 @@ Name | Type | Description | Notes ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -1251,8 +1476,8 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **patch_image_openshift_io_v1_namespaced_image_stream** -> V1ImageStream patch_image_openshift_io_v1_namespaced_image_stream(name, namespace, body, pretty=pretty) +# **patch_namespaced_image_stream** +> V1ImageStream patch_namespaced_image_stream(name, namespace, body, pretty=pretty) @@ -1266,18 +1491,27 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.ImageOpenshiftIoV1Api() name = 'name_example' # str | name of the ImageStream namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = openshift.client.UnversionedPatch() # UnversionedPatch | +body = NULL # object | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) try: - api_response = api_instance.patch_image_openshift_io_v1_namespaced_image_stream(name, namespace, body, pretty=pretty) + api_response = api_instance.patch_namespaced_image_stream(name, namespace, body, pretty=pretty) pprint(api_response) except ApiException as e: - print("Exception when calling ImageOpenshiftIoV1Api->patch_image_openshift_io_v1_namespaced_image_stream: %s\n" % e) + print("Exception when calling ImageOpenshiftIoV1Api->patch_namespaced_image_stream: %s\n" % e) ``` ### Parameters @@ -1286,7 +1520,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **name** | **str**| name of the ImageStream | **namespace** | **str**| object name and auth scope, such as for teams and projects | - **body** | [**UnversionedPatch**](UnversionedPatch.md)| | + **body** | **object**| | **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] ### Return type @@ -1295,7 +1529,7 @@ Name | Type | Description | Notes ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -1304,8 +1538,8 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **patch_image_openshift_io_v1_namespaced_image_stream_status** -> V1ImageStream patch_image_openshift_io_v1_namespaced_image_stream_status(name, namespace, body, pretty=pretty) +# **patch_namespaced_image_stream_status** +> V1ImageStream patch_namespaced_image_stream_status(name, namespace, body, pretty=pretty) @@ -1319,18 +1553,27 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.ImageOpenshiftIoV1Api() name = 'name_example' # str | name of the ImageStream namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = openshift.client.UnversionedPatch() # UnversionedPatch | +body = NULL # object | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) try: - api_response = api_instance.patch_image_openshift_io_v1_namespaced_image_stream_status(name, namespace, body, pretty=pretty) + api_response = api_instance.patch_namespaced_image_stream_status(name, namespace, body, pretty=pretty) pprint(api_response) except ApiException as e: - print("Exception when calling ImageOpenshiftIoV1Api->patch_image_openshift_io_v1_namespaced_image_stream_status: %s\n" % e) + print("Exception when calling ImageOpenshiftIoV1Api->patch_namespaced_image_stream_status: %s\n" % e) ``` ### Parameters @@ -1339,7 +1582,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **name** | **str**| name of the ImageStream | **namespace** | **str**| object name and auth scope, such as for teams and projects | - **body** | [**UnversionedPatch**](UnversionedPatch.md)| | + **body** | **object**| | **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] ### Return type @@ -1348,7 +1591,7 @@ Name | Type | Description | Notes ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -1357,8 +1600,8 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **patch_image_openshift_io_v1_namespaced_image_stream_tag** -> V1ImageStreamTag patch_image_openshift_io_v1_namespaced_image_stream_tag(name, namespace, body, pretty=pretty) +# **patch_namespaced_image_stream_tag** +> V1ImageStreamTag patch_namespaced_image_stream_tag(name, namespace, body, pretty=pretty) @@ -1372,18 +1615,27 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.ImageOpenshiftIoV1Api() name = 'name_example' # str | name of the ImageStreamTag namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = openshift.client.UnversionedPatch() # UnversionedPatch | +body = NULL # object | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) try: - api_response = api_instance.patch_image_openshift_io_v1_namespaced_image_stream_tag(name, namespace, body, pretty=pretty) + api_response = api_instance.patch_namespaced_image_stream_tag(name, namespace, body, pretty=pretty) pprint(api_response) except ApiException as e: - print("Exception when calling ImageOpenshiftIoV1Api->patch_image_openshift_io_v1_namespaced_image_stream_tag: %s\n" % e) + print("Exception when calling ImageOpenshiftIoV1Api->patch_namespaced_image_stream_tag: %s\n" % e) ``` ### Parameters @@ -1392,7 +1644,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **name** | **str**| name of the ImageStreamTag | **namespace** | **str**| object name and auth scope, such as for teams and projects | - **body** | [**UnversionedPatch**](UnversionedPatch.md)| | + **body** | **object**| | **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] ### Return type @@ -1401,7 +1653,7 @@ Name | Type | Description | Notes ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -1410,8 +1662,8 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **read_image_openshift_io_v1_image** -> V1Image read_image_openshift_io_v1_image(name, pretty=pretty, exact=exact, export=export) +# **read_image** +> V1Image read_image(name, pretty=pretty, exact=exact, export=export) @@ -1425,18 +1677,27 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.ImageOpenshiftIoV1Api() name = 'name_example' # str | name of the Image pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) -exact = true # bool | Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace' (optional) +exact = true # bool | Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. (optional) export = true # bool | Should this value be exported. Export strips fields that a user can not specify. (optional) try: - api_response = api_instance.read_image_openshift_io_v1_image(name, pretty=pretty, exact=exact, export=export) + api_response = api_instance.read_image(name, pretty=pretty, exact=exact, export=export) pprint(api_response) except ApiException as e: - print("Exception when calling ImageOpenshiftIoV1Api->read_image_openshift_io_v1_image: %s\n" % e) + print("Exception when calling ImageOpenshiftIoV1Api->read_image: %s\n" % e) ``` ### Parameters @@ -1445,7 +1706,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **name** | **str**| name of the Image | **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - **exact** | **bool**| Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace' | [optional] + **exact** | **bool**| Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. | [optional] **export** | **bool**| Should this value be exported. Export strips fields that a user can not specify. | [optional] ### Return type @@ -1454,7 +1715,7 @@ Name | Type | Description | Notes ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -1463,8 +1724,8 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **read_image_openshift_io_v1_namespaced_image_stream** -> V1ImageStream read_image_openshift_io_v1_namespaced_image_stream(name, namespace, pretty=pretty, exact=exact, export=export) +# **read_namespaced_image_stream** +> V1ImageStream read_namespaced_image_stream(name, namespace, pretty=pretty, exact=exact, export=export) @@ -1478,19 +1739,28 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.ImageOpenshiftIoV1Api() name = 'name_example' # str | name of the ImageStream namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) -exact = true # bool | Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace' (optional) +exact = true # bool | Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. (optional) export = true # bool | Should this value be exported. Export strips fields that a user can not specify. (optional) try: - api_response = api_instance.read_image_openshift_io_v1_namespaced_image_stream(name, namespace, pretty=pretty, exact=exact, export=export) + api_response = api_instance.read_namespaced_image_stream(name, namespace, pretty=pretty, exact=exact, export=export) pprint(api_response) except ApiException as e: - print("Exception when calling ImageOpenshiftIoV1Api->read_image_openshift_io_v1_namespaced_image_stream: %s\n" % e) + print("Exception when calling ImageOpenshiftIoV1Api->read_namespaced_image_stream: %s\n" % e) ``` ### Parameters @@ -1500,7 +1770,7 @@ Name | Type | Description | Notes **name** | **str**| name of the ImageStream | **namespace** | **str**| object name and auth scope, such as for teams and projects | **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - **exact** | **bool**| Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace' | [optional] + **exact** | **bool**| Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. | [optional] **export** | **bool**| Should this value be exported. Export strips fields that a user can not specify. | [optional] ### Return type @@ -1509,7 +1779,7 @@ Name | Type | Description | Notes ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -1518,8 +1788,8 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **read_image_openshift_io_v1_namespaced_image_stream_image** -> V1ImageStreamImage read_image_openshift_io_v1_namespaced_image_stream_image(name, namespace, pretty=pretty) +# **read_namespaced_image_stream_image** +> V1ImageStreamImage read_namespaced_image_stream_image(name, namespace, pretty=pretty) @@ -1533,6 +1803,15 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.ImageOpenshiftIoV1Api() name = 'name_example' # str | name of the ImageStreamImage @@ -1540,10 +1819,10 @@ namespace = 'namespace_example' # str | object name and auth scope, such as for pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) try: - api_response = api_instance.read_image_openshift_io_v1_namespaced_image_stream_image(name, namespace, pretty=pretty) + api_response = api_instance.read_namespaced_image_stream_image(name, namespace, pretty=pretty) pprint(api_response) except ApiException as e: - print("Exception when calling ImageOpenshiftIoV1Api->read_image_openshift_io_v1_namespaced_image_stream_image: %s\n" % e) + print("Exception when calling ImageOpenshiftIoV1Api->read_namespaced_image_stream_image: %s\n" % e) ``` ### Parameters @@ -1560,7 +1839,7 @@ Name | Type | Description | Notes ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -1569,8 +1848,8 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **read_image_openshift_io_v1_namespaced_image_stream_status** -> V1ImageStream read_image_openshift_io_v1_namespaced_image_stream_status(name, namespace, pretty=pretty) +# **read_namespaced_image_stream_status** +> V1ImageStream read_namespaced_image_stream_status(name, namespace, pretty=pretty) @@ -1584,6 +1863,15 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.ImageOpenshiftIoV1Api() name = 'name_example' # str | name of the ImageStream @@ -1591,10 +1879,10 @@ namespace = 'namespace_example' # str | object name and auth scope, such as for pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) try: - api_response = api_instance.read_image_openshift_io_v1_namespaced_image_stream_status(name, namespace, pretty=pretty) + api_response = api_instance.read_namespaced_image_stream_status(name, namespace, pretty=pretty) pprint(api_response) except ApiException as e: - print("Exception when calling ImageOpenshiftIoV1Api->read_image_openshift_io_v1_namespaced_image_stream_status: %s\n" % e) + print("Exception when calling ImageOpenshiftIoV1Api->read_namespaced_image_stream_status: %s\n" % e) ``` ### Parameters @@ -1611,7 +1899,7 @@ Name | Type | Description | Notes ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -1620,8 +1908,8 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **read_image_openshift_io_v1_namespaced_image_stream_tag** -> V1ImageStreamTag read_image_openshift_io_v1_namespaced_image_stream_tag(name, namespace, pretty=pretty) +# **read_namespaced_image_stream_tag** +> V1ImageStreamTag read_namespaced_image_stream_tag(name, namespace, pretty=pretty) @@ -1635,6 +1923,15 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.ImageOpenshiftIoV1Api() name = 'name_example' # str | name of the ImageStreamTag @@ -1642,10 +1939,10 @@ namespace = 'namespace_example' # str | object name and auth scope, such as for pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) try: - api_response = api_instance.read_image_openshift_io_v1_namespaced_image_stream_tag(name, namespace, pretty=pretty) + api_response = api_instance.read_namespaced_image_stream_tag(name, namespace, pretty=pretty) pprint(api_response) except ApiException as e: - print("Exception when calling ImageOpenshiftIoV1Api->read_image_openshift_io_v1_namespaced_image_stream_tag: %s\n" % e) + print("Exception when calling ImageOpenshiftIoV1Api->read_namespaced_image_stream_tag: %s\n" % e) ``` ### Parameters @@ -1662,7 +1959,7 @@ Name | Type | Description | Notes ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -1671,8 +1968,8 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **read_image_openshift_io_v1_namespaced_secret_list_secrets** -> V1SecretList read_image_openshift_io_v1_namespaced_secret_list_secrets(name, namespace, field_selector=field_selector, label_selector=label_selector, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) +# **read_namespaced_secret_list_secrets** +> V1SecretList read_namespaced_secret_list_secrets(name, namespace, field_selector=field_selector, include_uninitialized=include_uninitialized, label_selector=label_selector, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) @@ -1686,22 +1983,32 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.ImageOpenshiftIoV1Api() name = 'name_example' # str | name of the SecretList namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) +include_uninitialized = true # bool | If true, partially initialized resources are included in the response. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) -resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. (optional) +resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) timeout_seconds = 56 # int | Timeout for the list/watch call. (optional) watch = true # bool | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) try: - api_response = api_instance.read_image_openshift_io_v1_namespaced_secret_list_secrets(name, namespace, field_selector=field_selector, label_selector=label_selector, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) + api_response = api_instance.read_namespaced_secret_list_secrets(name, namespace, field_selector=field_selector, include_uninitialized=include_uninitialized, label_selector=label_selector, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) pprint(api_response) except ApiException as e: - print("Exception when calling ImageOpenshiftIoV1Api->read_image_openshift_io_v1_namespaced_secret_list_secrets: %s\n" % e) + print("Exception when calling ImageOpenshiftIoV1Api->read_namespaced_secret_list_secrets: %s\n" % e) ``` ### Parameters @@ -1711,9 +2018,10 @@ Name | Type | Description | Notes **name** | **str**| name of the SecretList | **namespace** | **str**| object name and auth scope, such as for teams and projects | **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] + **include_uninitialized** | **bool**| If true, partially initialized resources are included in the response. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. | [optional] + **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] **timeout_seconds** | **int**| Timeout for the list/watch call. | [optional] **watch** | **bool**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] @@ -1723,7 +2031,7 @@ Name | Type | Description | Notes ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -1732,8 +2040,8 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **replace_image_openshift_io_v1_image** -> V1Image replace_image_openshift_io_v1_image(name, body, pretty=pretty) +# **replace_image** +> V1Image replace_image(name, body, pretty=pretty) @@ -1747,6 +2055,15 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.ImageOpenshiftIoV1Api() name = 'name_example' # str | name of the Image @@ -1754,10 +2071,10 @@ body = openshift.client.V1Image() # V1Image | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) try: - api_response = api_instance.replace_image_openshift_io_v1_image(name, body, pretty=pretty) + api_response = api_instance.replace_image(name, body, pretty=pretty) pprint(api_response) except ApiException as e: - print("Exception when calling ImageOpenshiftIoV1Api->replace_image_openshift_io_v1_image: %s\n" % e) + print("Exception when calling ImageOpenshiftIoV1Api->replace_image: %s\n" % e) ``` ### Parameters @@ -1774,7 +2091,7 @@ Name | Type | Description | Notes ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -1783,8 +2100,8 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **replace_image_openshift_io_v1_namespaced_image_stream** -> V1ImageStream replace_image_openshift_io_v1_namespaced_image_stream(name, namespace, body, pretty=pretty) +# **replace_namespaced_image_stream** +> V1ImageStream replace_namespaced_image_stream(name, namespace, body, pretty=pretty) @@ -1798,6 +2115,15 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.ImageOpenshiftIoV1Api() name = 'name_example' # str | name of the ImageStream @@ -1806,10 +2132,10 @@ body = openshift.client.V1ImageStream() # V1ImageStream | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) try: - api_response = api_instance.replace_image_openshift_io_v1_namespaced_image_stream(name, namespace, body, pretty=pretty) + api_response = api_instance.replace_namespaced_image_stream(name, namespace, body, pretty=pretty) pprint(api_response) except ApiException as e: - print("Exception when calling ImageOpenshiftIoV1Api->replace_image_openshift_io_v1_namespaced_image_stream: %s\n" % e) + print("Exception when calling ImageOpenshiftIoV1Api->replace_namespaced_image_stream: %s\n" % e) ``` ### Parameters @@ -1827,7 +2153,7 @@ Name | Type | Description | Notes ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -1836,8 +2162,8 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **replace_image_openshift_io_v1_namespaced_image_stream_status** -> V1ImageStream replace_image_openshift_io_v1_namespaced_image_stream_status(name, namespace, body, pretty=pretty) +# **replace_namespaced_image_stream_status** +> V1ImageStream replace_namespaced_image_stream_status(name, namespace, body, pretty=pretty) @@ -1851,6 +2177,15 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.ImageOpenshiftIoV1Api() name = 'name_example' # str | name of the ImageStream @@ -1859,10 +2194,10 @@ body = openshift.client.V1ImageStream() # V1ImageStream | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) try: - api_response = api_instance.replace_image_openshift_io_v1_namespaced_image_stream_status(name, namespace, body, pretty=pretty) + api_response = api_instance.replace_namespaced_image_stream_status(name, namespace, body, pretty=pretty) pprint(api_response) except ApiException as e: - print("Exception when calling ImageOpenshiftIoV1Api->replace_image_openshift_io_v1_namespaced_image_stream_status: %s\n" % e) + print("Exception when calling ImageOpenshiftIoV1Api->replace_namespaced_image_stream_status: %s\n" % e) ``` ### Parameters @@ -1880,7 +2215,7 @@ Name | Type | Description | Notes ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -1889,8 +2224,8 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **replace_image_openshift_io_v1_namespaced_image_stream_tag** -> V1ImageStreamTag replace_image_openshift_io_v1_namespaced_image_stream_tag(name, namespace, body, pretty=pretty) +# **replace_namespaced_image_stream_tag** +> V1ImageStreamTag replace_namespaced_image_stream_tag(name, namespace, body, pretty=pretty) @@ -1904,6 +2239,15 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.ImageOpenshiftIoV1Api() name = 'name_example' # str | name of the ImageStreamTag @@ -1912,10 +2256,10 @@ body = openshift.client.V1ImageStreamTag() # V1ImageStreamTag | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) try: - api_response = api_instance.replace_image_openshift_io_v1_namespaced_image_stream_tag(name, namespace, body, pretty=pretty) + api_response = api_instance.replace_namespaced_image_stream_tag(name, namespace, body, pretty=pretty) pprint(api_response) except ApiException as e: - print("Exception when calling ImageOpenshiftIoV1Api->replace_image_openshift_io_v1_namespaced_image_stream_tag: %s\n" % e) + print("Exception when calling ImageOpenshiftIoV1Api->replace_namespaced_image_stream_tag: %s\n" % e) ``` ### Parameters @@ -1933,7 +2277,7 @@ Name | Type | Description | Notes ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers diff --git a/openshift/docs/NetworkOpenshiftIoApi.md b/openshift/docs/NetworkOpenshiftIoApi.md index e503611d..6b9084d3 100644 --- a/openshift/docs/NetworkOpenshiftIoApi.md +++ b/openshift/docs/NetworkOpenshiftIoApi.md @@ -4,11 +4,11 @@ All URIs are relative to *https://localhost* Method | HTTP request | Description ------------- | ------------- | ------------- -[**get_network_openshift_io_api_group**](NetworkOpenshiftIoApi.md#get_network_openshift_io_api_group) | **GET** /apis/network.openshift.io/ | +[**get_api_group**](NetworkOpenshiftIoApi.md#get_api_group) | **GET** /apis/network.openshift.io/ | -# **get_network_openshift_io_api_group** -> UnversionedAPIGroup get_network_openshift_io_api_group() +# **get_api_group** +> V1APIGroup get_api_group() @@ -22,14 +22,23 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.NetworkOpenshiftIoApi() try: - api_response = api_instance.get_network_openshift_io_api_group() + api_response = api_instance.get_api_group() pprint(api_response) except ApiException as e: - print("Exception when calling NetworkOpenshiftIoApi->get_network_openshift_io_api_group: %s\n" % e) + print("Exception when calling NetworkOpenshiftIoApi->get_api_group: %s\n" % e) ``` ### Parameters @@ -37,11 +46,11 @@ This endpoint does not need any parameter. ### Return type -[**UnversionedAPIGroup**](UnversionedAPIGroup.md) +[**V1APIGroup**](V1APIGroup.md) ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers diff --git a/openshift/docs/NetworkOpenshiftIoV1Api.md b/openshift/docs/NetworkOpenshiftIoV1Api.md index 62c331bd..4e6a4eb2 100644 --- a/openshift/docs/NetworkOpenshiftIoV1Api.md +++ b/openshift/docs/NetworkOpenshiftIoV1Api.md @@ -4,41 +4,41 @@ All URIs are relative to *https://localhost* Method | HTTP request | Description ------------- | ------------- | ------------- -[**create_network_openshift_io_v1_cluster_network**](NetworkOpenshiftIoV1Api.md#create_network_openshift_io_v1_cluster_network) | **POST** /apis/network.openshift.io/v1/clusternetworks | -[**create_network_openshift_io_v1_egress_network_policy_for_all_namespaces**](NetworkOpenshiftIoV1Api.md#create_network_openshift_io_v1_egress_network_policy_for_all_namespaces) | **POST** /apis/network.openshift.io/v1/egressnetworkpolicies | -[**create_network_openshift_io_v1_host_subnet**](NetworkOpenshiftIoV1Api.md#create_network_openshift_io_v1_host_subnet) | **POST** /apis/network.openshift.io/v1/hostsubnets | -[**create_network_openshift_io_v1_namespaced_egress_network_policy**](NetworkOpenshiftIoV1Api.md#create_network_openshift_io_v1_namespaced_egress_network_policy) | **POST** /apis/network.openshift.io/v1/namespaces/{namespace}/egressnetworkpolicies | -[**create_network_openshift_io_v1_net_namespace**](NetworkOpenshiftIoV1Api.md#create_network_openshift_io_v1_net_namespace) | **POST** /apis/network.openshift.io/v1/netnamespaces | -[**delete_network_openshift_io_v1_cluster_network**](NetworkOpenshiftIoV1Api.md#delete_network_openshift_io_v1_cluster_network) | **DELETE** /apis/network.openshift.io/v1/clusternetworks/{name} | -[**delete_network_openshift_io_v1_collection_cluster_network**](NetworkOpenshiftIoV1Api.md#delete_network_openshift_io_v1_collection_cluster_network) | **DELETE** /apis/network.openshift.io/v1/clusternetworks | -[**delete_network_openshift_io_v1_collection_host_subnet**](NetworkOpenshiftIoV1Api.md#delete_network_openshift_io_v1_collection_host_subnet) | **DELETE** /apis/network.openshift.io/v1/hostsubnets | -[**delete_network_openshift_io_v1_collection_namespaced_egress_network_policy**](NetworkOpenshiftIoV1Api.md#delete_network_openshift_io_v1_collection_namespaced_egress_network_policy) | **DELETE** /apis/network.openshift.io/v1/namespaces/{namespace}/egressnetworkpolicies | -[**delete_network_openshift_io_v1_collection_net_namespace**](NetworkOpenshiftIoV1Api.md#delete_network_openshift_io_v1_collection_net_namespace) | **DELETE** /apis/network.openshift.io/v1/netnamespaces | -[**delete_network_openshift_io_v1_host_subnet**](NetworkOpenshiftIoV1Api.md#delete_network_openshift_io_v1_host_subnet) | **DELETE** /apis/network.openshift.io/v1/hostsubnets/{name} | -[**delete_network_openshift_io_v1_namespaced_egress_network_policy**](NetworkOpenshiftIoV1Api.md#delete_network_openshift_io_v1_namespaced_egress_network_policy) | **DELETE** /apis/network.openshift.io/v1/namespaces/{namespace}/egressnetworkpolicies/{name} | -[**delete_network_openshift_io_v1_net_namespace**](NetworkOpenshiftIoV1Api.md#delete_network_openshift_io_v1_net_namespace) | **DELETE** /apis/network.openshift.io/v1/netnamespaces/{name} | -[**get_network_openshift_io_v1_api_resources**](NetworkOpenshiftIoV1Api.md#get_network_openshift_io_v1_api_resources) | **GET** /apis/network.openshift.io/v1/ | -[**list_network_openshift_io_v1_cluster_network**](NetworkOpenshiftIoV1Api.md#list_network_openshift_io_v1_cluster_network) | **GET** /apis/network.openshift.io/v1/clusternetworks | -[**list_network_openshift_io_v1_egress_network_policy_for_all_namespaces**](NetworkOpenshiftIoV1Api.md#list_network_openshift_io_v1_egress_network_policy_for_all_namespaces) | **GET** /apis/network.openshift.io/v1/egressnetworkpolicies | -[**list_network_openshift_io_v1_host_subnet**](NetworkOpenshiftIoV1Api.md#list_network_openshift_io_v1_host_subnet) | **GET** /apis/network.openshift.io/v1/hostsubnets | -[**list_network_openshift_io_v1_namespaced_egress_network_policy**](NetworkOpenshiftIoV1Api.md#list_network_openshift_io_v1_namespaced_egress_network_policy) | **GET** /apis/network.openshift.io/v1/namespaces/{namespace}/egressnetworkpolicies | -[**list_network_openshift_io_v1_net_namespace**](NetworkOpenshiftIoV1Api.md#list_network_openshift_io_v1_net_namespace) | **GET** /apis/network.openshift.io/v1/netnamespaces | -[**patch_network_openshift_io_v1_cluster_network**](NetworkOpenshiftIoV1Api.md#patch_network_openshift_io_v1_cluster_network) | **PATCH** /apis/network.openshift.io/v1/clusternetworks/{name} | -[**patch_network_openshift_io_v1_host_subnet**](NetworkOpenshiftIoV1Api.md#patch_network_openshift_io_v1_host_subnet) | **PATCH** /apis/network.openshift.io/v1/hostsubnets/{name} | -[**patch_network_openshift_io_v1_namespaced_egress_network_policy**](NetworkOpenshiftIoV1Api.md#patch_network_openshift_io_v1_namespaced_egress_network_policy) | **PATCH** /apis/network.openshift.io/v1/namespaces/{namespace}/egressnetworkpolicies/{name} | -[**patch_network_openshift_io_v1_net_namespace**](NetworkOpenshiftIoV1Api.md#patch_network_openshift_io_v1_net_namespace) | **PATCH** /apis/network.openshift.io/v1/netnamespaces/{name} | -[**read_network_openshift_io_v1_cluster_network**](NetworkOpenshiftIoV1Api.md#read_network_openshift_io_v1_cluster_network) | **GET** /apis/network.openshift.io/v1/clusternetworks/{name} | -[**read_network_openshift_io_v1_host_subnet**](NetworkOpenshiftIoV1Api.md#read_network_openshift_io_v1_host_subnet) | **GET** /apis/network.openshift.io/v1/hostsubnets/{name} | -[**read_network_openshift_io_v1_namespaced_egress_network_policy**](NetworkOpenshiftIoV1Api.md#read_network_openshift_io_v1_namespaced_egress_network_policy) | **GET** /apis/network.openshift.io/v1/namespaces/{namespace}/egressnetworkpolicies/{name} | -[**read_network_openshift_io_v1_net_namespace**](NetworkOpenshiftIoV1Api.md#read_network_openshift_io_v1_net_namespace) | **GET** /apis/network.openshift.io/v1/netnamespaces/{name} | -[**replace_network_openshift_io_v1_cluster_network**](NetworkOpenshiftIoV1Api.md#replace_network_openshift_io_v1_cluster_network) | **PUT** /apis/network.openshift.io/v1/clusternetworks/{name} | -[**replace_network_openshift_io_v1_host_subnet**](NetworkOpenshiftIoV1Api.md#replace_network_openshift_io_v1_host_subnet) | **PUT** /apis/network.openshift.io/v1/hostsubnets/{name} | -[**replace_network_openshift_io_v1_namespaced_egress_network_policy**](NetworkOpenshiftIoV1Api.md#replace_network_openshift_io_v1_namespaced_egress_network_policy) | **PUT** /apis/network.openshift.io/v1/namespaces/{namespace}/egressnetworkpolicies/{name} | -[**replace_network_openshift_io_v1_net_namespace**](NetworkOpenshiftIoV1Api.md#replace_network_openshift_io_v1_net_namespace) | **PUT** /apis/network.openshift.io/v1/netnamespaces/{name} | - - -# **create_network_openshift_io_v1_cluster_network** -> V1ClusterNetwork create_network_openshift_io_v1_cluster_network(body, pretty=pretty) +[**create_cluster_network**](NetworkOpenshiftIoV1Api.md#create_cluster_network) | **POST** /apis/network.openshift.io/v1/clusternetworks | +[**create_egress_network_policy_for_all_namespaces**](NetworkOpenshiftIoV1Api.md#create_egress_network_policy_for_all_namespaces) | **POST** /apis/network.openshift.io/v1/egressnetworkpolicies | +[**create_host_subnet**](NetworkOpenshiftIoV1Api.md#create_host_subnet) | **POST** /apis/network.openshift.io/v1/hostsubnets | +[**create_namespaced_egress_network_policy**](NetworkOpenshiftIoV1Api.md#create_namespaced_egress_network_policy) | **POST** /apis/network.openshift.io/v1/namespaces/{namespace}/egressnetworkpolicies | +[**create_net_namespace**](NetworkOpenshiftIoV1Api.md#create_net_namespace) | **POST** /apis/network.openshift.io/v1/netnamespaces | +[**delete_cluster_network**](NetworkOpenshiftIoV1Api.md#delete_cluster_network) | **DELETE** /apis/network.openshift.io/v1/clusternetworks/{name} | +[**delete_collection_cluster_network**](NetworkOpenshiftIoV1Api.md#delete_collection_cluster_network) | **DELETE** /apis/network.openshift.io/v1/clusternetworks | +[**delete_collection_host_subnet**](NetworkOpenshiftIoV1Api.md#delete_collection_host_subnet) | **DELETE** /apis/network.openshift.io/v1/hostsubnets | +[**delete_collection_namespaced_egress_network_policy**](NetworkOpenshiftIoV1Api.md#delete_collection_namespaced_egress_network_policy) | **DELETE** /apis/network.openshift.io/v1/namespaces/{namespace}/egressnetworkpolicies | +[**delete_collection_net_namespace**](NetworkOpenshiftIoV1Api.md#delete_collection_net_namespace) | **DELETE** /apis/network.openshift.io/v1/netnamespaces | +[**delete_host_subnet**](NetworkOpenshiftIoV1Api.md#delete_host_subnet) | **DELETE** /apis/network.openshift.io/v1/hostsubnets/{name} | +[**delete_namespaced_egress_network_policy**](NetworkOpenshiftIoV1Api.md#delete_namespaced_egress_network_policy) | **DELETE** /apis/network.openshift.io/v1/namespaces/{namespace}/egressnetworkpolicies/{name} | +[**delete_net_namespace**](NetworkOpenshiftIoV1Api.md#delete_net_namespace) | **DELETE** /apis/network.openshift.io/v1/netnamespaces/{name} | +[**get_api_resources**](NetworkOpenshiftIoV1Api.md#get_api_resources) | **GET** /apis/network.openshift.io/v1/ | +[**list_cluster_network**](NetworkOpenshiftIoV1Api.md#list_cluster_network) | **GET** /apis/network.openshift.io/v1/clusternetworks | +[**list_egress_network_policy_for_all_namespaces**](NetworkOpenshiftIoV1Api.md#list_egress_network_policy_for_all_namespaces) | **GET** /apis/network.openshift.io/v1/egressnetworkpolicies | +[**list_host_subnet**](NetworkOpenshiftIoV1Api.md#list_host_subnet) | **GET** /apis/network.openshift.io/v1/hostsubnets | +[**list_namespaced_egress_network_policy**](NetworkOpenshiftIoV1Api.md#list_namespaced_egress_network_policy) | **GET** /apis/network.openshift.io/v1/namespaces/{namespace}/egressnetworkpolicies | +[**list_net_namespace**](NetworkOpenshiftIoV1Api.md#list_net_namespace) | **GET** /apis/network.openshift.io/v1/netnamespaces | +[**patch_cluster_network**](NetworkOpenshiftIoV1Api.md#patch_cluster_network) | **PATCH** /apis/network.openshift.io/v1/clusternetworks/{name} | +[**patch_host_subnet**](NetworkOpenshiftIoV1Api.md#patch_host_subnet) | **PATCH** /apis/network.openshift.io/v1/hostsubnets/{name} | +[**patch_namespaced_egress_network_policy**](NetworkOpenshiftIoV1Api.md#patch_namespaced_egress_network_policy) | **PATCH** /apis/network.openshift.io/v1/namespaces/{namespace}/egressnetworkpolicies/{name} | +[**patch_net_namespace**](NetworkOpenshiftIoV1Api.md#patch_net_namespace) | **PATCH** /apis/network.openshift.io/v1/netnamespaces/{name} | +[**read_cluster_network**](NetworkOpenshiftIoV1Api.md#read_cluster_network) | **GET** /apis/network.openshift.io/v1/clusternetworks/{name} | +[**read_host_subnet**](NetworkOpenshiftIoV1Api.md#read_host_subnet) | **GET** /apis/network.openshift.io/v1/hostsubnets/{name} | +[**read_namespaced_egress_network_policy**](NetworkOpenshiftIoV1Api.md#read_namespaced_egress_network_policy) | **GET** /apis/network.openshift.io/v1/namespaces/{namespace}/egressnetworkpolicies/{name} | +[**read_net_namespace**](NetworkOpenshiftIoV1Api.md#read_net_namespace) | **GET** /apis/network.openshift.io/v1/netnamespaces/{name} | +[**replace_cluster_network**](NetworkOpenshiftIoV1Api.md#replace_cluster_network) | **PUT** /apis/network.openshift.io/v1/clusternetworks/{name} | +[**replace_host_subnet**](NetworkOpenshiftIoV1Api.md#replace_host_subnet) | **PUT** /apis/network.openshift.io/v1/hostsubnets/{name} | +[**replace_namespaced_egress_network_policy**](NetworkOpenshiftIoV1Api.md#replace_namespaced_egress_network_policy) | **PUT** /apis/network.openshift.io/v1/namespaces/{namespace}/egressnetworkpolicies/{name} | +[**replace_net_namespace**](NetworkOpenshiftIoV1Api.md#replace_net_namespace) | **PUT** /apis/network.openshift.io/v1/netnamespaces/{name} | + + +# **create_cluster_network** +> V1ClusterNetwork create_cluster_network(body, pretty=pretty) @@ -52,16 +52,25 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.NetworkOpenshiftIoV1Api() body = openshift.client.V1ClusterNetwork() # V1ClusterNetwork | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) try: - api_response = api_instance.create_network_openshift_io_v1_cluster_network(body, pretty=pretty) + api_response = api_instance.create_cluster_network(body, pretty=pretty) pprint(api_response) except ApiException as e: - print("Exception when calling NetworkOpenshiftIoV1Api->create_network_openshift_io_v1_cluster_network: %s\n" % e) + print("Exception when calling NetworkOpenshiftIoV1Api->create_cluster_network: %s\n" % e) ``` ### Parameters @@ -77,7 +86,7 @@ Name | Type | Description | Notes ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -86,8 +95,8 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **create_network_openshift_io_v1_egress_network_policy_for_all_namespaces** -> V1EgressNetworkPolicy create_network_openshift_io_v1_egress_network_policy_for_all_namespaces(body, pretty=pretty) +# **create_egress_network_policy_for_all_namespaces** +> V1EgressNetworkPolicy create_egress_network_policy_for_all_namespaces(body, pretty=pretty) @@ -101,16 +110,25 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.NetworkOpenshiftIoV1Api() body = openshift.client.V1EgressNetworkPolicy() # V1EgressNetworkPolicy | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) try: - api_response = api_instance.create_network_openshift_io_v1_egress_network_policy_for_all_namespaces(body, pretty=pretty) + api_response = api_instance.create_egress_network_policy_for_all_namespaces(body, pretty=pretty) pprint(api_response) except ApiException as e: - print("Exception when calling NetworkOpenshiftIoV1Api->create_network_openshift_io_v1_egress_network_policy_for_all_namespaces: %s\n" % e) + print("Exception when calling NetworkOpenshiftIoV1Api->create_egress_network_policy_for_all_namespaces: %s\n" % e) ``` ### Parameters @@ -126,7 +144,7 @@ Name | Type | Description | Notes ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -135,8 +153,8 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **create_network_openshift_io_v1_host_subnet** -> V1HostSubnet create_network_openshift_io_v1_host_subnet(body, pretty=pretty) +# **create_host_subnet** +> V1HostSubnet create_host_subnet(body, pretty=pretty) @@ -150,16 +168,25 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.NetworkOpenshiftIoV1Api() body = openshift.client.V1HostSubnet() # V1HostSubnet | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) try: - api_response = api_instance.create_network_openshift_io_v1_host_subnet(body, pretty=pretty) + api_response = api_instance.create_host_subnet(body, pretty=pretty) pprint(api_response) except ApiException as e: - print("Exception when calling NetworkOpenshiftIoV1Api->create_network_openshift_io_v1_host_subnet: %s\n" % e) + print("Exception when calling NetworkOpenshiftIoV1Api->create_host_subnet: %s\n" % e) ``` ### Parameters @@ -175,7 +202,7 @@ Name | Type | Description | Notes ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -184,8 +211,8 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **create_network_openshift_io_v1_namespaced_egress_network_policy** -> V1EgressNetworkPolicy create_network_openshift_io_v1_namespaced_egress_network_policy(namespace, body, pretty=pretty) +# **create_namespaced_egress_network_policy** +> V1EgressNetworkPolicy create_namespaced_egress_network_policy(namespace, body, pretty=pretty) @@ -199,6 +226,15 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.NetworkOpenshiftIoV1Api() namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects @@ -206,10 +242,10 @@ body = openshift.client.V1EgressNetworkPolicy() # V1EgressNetworkPolicy | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) try: - api_response = api_instance.create_network_openshift_io_v1_namespaced_egress_network_policy(namespace, body, pretty=pretty) + api_response = api_instance.create_namespaced_egress_network_policy(namespace, body, pretty=pretty) pprint(api_response) except ApiException as e: - print("Exception when calling NetworkOpenshiftIoV1Api->create_network_openshift_io_v1_namespaced_egress_network_policy: %s\n" % e) + print("Exception when calling NetworkOpenshiftIoV1Api->create_namespaced_egress_network_policy: %s\n" % e) ``` ### Parameters @@ -226,7 +262,7 @@ Name | Type | Description | Notes ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -235,8 +271,8 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **create_network_openshift_io_v1_net_namespace** -> V1NetNamespace create_network_openshift_io_v1_net_namespace(body, pretty=pretty) +# **create_net_namespace** +> V1NetNamespace create_net_namespace(body, pretty=pretty) @@ -250,16 +286,25 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.NetworkOpenshiftIoV1Api() body = openshift.client.V1NetNamespace() # V1NetNamespace | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) try: - api_response = api_instance.create_network_openshift_io_v1_net_namespace(body, pretty=pretty) + api_response = api_instance.create_net_namespace(body, pretty=pretty) pprint(api_response) except ApiException as e: - print("Exception when calling NetworkOpenshiftIoV1Api->create_network_openshift_io_v1_net_namespace: %s\n" % e) + print("Exception when calling NetworkOpenshiftIoV1Api->create_net_namespace: %s\n" % e) ``` ### Parameters @@ -275,7 +320,7 @@ Name | Type | Description | Notes ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -284,8 +329,8 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **delete_network_openshift_io_v1_cluster_network** -> UnversionedStatus delete_network_openshift_io_v1_cluster_network(name, body, pretty=pretty, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents) +# **delete_cluster_network** +> V1Status delete_cluster_network(name, body, pretty=pretty, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) @@ -299,19 +344,29 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.NetworkOpenshiftIoV1Api() name = 'name_example' # str | name of the ClusterNetwork body = openshift.client.V1DeleteOptions() # V1DeleteOptions | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) grace_period_seconds = 56 # int | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) -orphan_dependents = true # bool | Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. (optional) +orphan_dependents = true # bool | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) +propagation_policy = 'propagation_policy_example' # str | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. (optional) try: - api_response = api_instance.delete_network_openshift_io_v1_cluster_network(name, body, pretty=pretty, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents) + api_response = api_instance.delete_cluster_network(name, body, pretty=pretty, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) pprint(api_response) except ApiException as e: - print("Exception when calling NetworkOpenshiftIoV1Api->delete_network_openshift_io_v1_cluster_network: %s\n" % e) + print("Exception when calling NetworkOpenshiftIoV1Api->delete_cluster_network: %s\n" % e) ``` ### Parameters @@ -322,15 +377,16 @@ Name | Type | Description | Notes **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | **pretty** | **str**| If 'true', then the output is pretty printed. | [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] - **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] + **orphan_dependents** | **bool**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional] + **propagation_policy** | **str**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. | [optional] ### Return type -[**UnversionedStatus**](UnversionedStatus.md) +[**V1Status**](V1Status.md) ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -339,8 +395,8 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **delete_network_openshift_io_v1_collection_cluster_network** -> UnversionedStatus delete_network_openshift_io_v1_collection_cluster_network(pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) +# **delete_collection_cluster_network** +> V1Status delete_collection_cluster_network(pretty=pretty, field_selector=field_selector, include_uninitialized=include_uninitialized, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) @@ -354,20 +410,30 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.NetworkOpenshiftIoV1Api() pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) +include_uninitialized = true # bool | If true, partially initialized resources are included in the response. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. (optional) +resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) timeout_seconds = 56 # int | Timeout for the list/watch call. (optional) watch = true # bool | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) try: - api_response = api_instance.delete_network_openshift_io_v1_collection_cluster_network(pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) + api_response = api_instance.delete_collection_cluster_network(pretty=pretty, field_selector=field_selector, include_uninitialized=include_uninitialized, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) pprint(api_response) except ApiException as e: - print("Exception when calling NetworkOpenshiftIoV1Api->delete_network_openshift_io_v1_collection_cluster_network: %s\n" % e) + print("Exception when calling NetworkOpenshiftIoV1Api->delete_collection_cluster_network: %s\n" % e) ``` ### Parameters @@ -376,18 +442,19 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] + **include_uninitialized** | **bool**| If true, partially initialized resources are included in the response. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. | [optional] + **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] **timeout_seconds** | **int**| Timeout for the list/watch call. | [optional] **watch** | **bool**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] ### Return type -[**UnversionedStatus**](UnversionedStatus.md) +[**V1Status**](V1Status.md) ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -396,8 +463,8 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **delete_network_openshift_io_v1_collection_host_subnet** -> UnversionedStatus delete_network_openshift_io_v1_collection_host_subnet(pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) +# **delete_collection_host_subnet** +> V1Status delete_collection_host_subnet(pretty=pretty, field_selector=field_selector, include_uninitialized=include_uninitialized, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) @@ -411,20 +478,30 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.NetworkOpenshiftIoV1Api() pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) +include_uninitialized = true # bool | If true, partially initialized resources are included in the response. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. (optional) +resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) timeout_seconds = 56 # int | Timeout for the list/watch call. (optional) watch = true # bool | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) try: - api_response = api_instance.delete_network_openshift_io_v1_collection_host_subnet(pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) + api_response = api_instance.delete_collection_host_subnet(pretty=pretty, field_selector=field_selector, include_uninitialized=include_uninitialized, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) pprint(api_response) except ApiException as e: - print("Exception when calling NetworkOpenshiftIoV1Api->delete_network_openshift_io_v1_collection_host_subnet: %s\n" % e) + print("Exception when calling NetworkOpenshiftIoV1Api->delete_collection_host_subnet: %s\n" % e) ``` ### Parameters @@ -433,18 +510,19 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] + **include_uninitialized** | **bool**| If true, partially initialized resources are included in the response. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. | [optional] + **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] **timeout_seconds** | **int**| Timeout for the list/watch call. | [optional] **watch** | **bool**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] ### Return type -[**UnversionedStatus**](UnversionedStatus.md) +[**V1Status**](V1Status.md) ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -453,8 +531,8 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **delete_network_openshift_io_v1_collection_namespaced_egress_network_policy** -> UnversionedStatus delete_network_openshift_io_v1_collection_namespaced_egress_network_policy(namespace, pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) +# **delete_collection_namespaced_egress_network_policy** +> V1Status delete_collection_namespaced_egress_network_policy(namespace, pretty=pretty, field_selector=field_selector, include_uninitialized=include_uninitialized, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) @@ -468,21 +546,31 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.NetworkOpenshiftIoV1Api() namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) +include_uninitialized = true # bool | If true, partially initialized resources are included in the response. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. (optional) +resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) timeout_seconds = 56 # int | Timeout for the list/watch call. (optional) watch = true # bool | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) try: - api_response = api_instance.delete_network_openshift_io_v1_collection_namespaced_egress_network_policy(namespace, pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) + api_response = api_instance.delete_collection_namespaced_egress_network_policy(namespace, pretty=pretty, field_selector=field_selector, include_uninitialized=include_uninitialized, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) pprint(api_response) except ApiException as e: - print("Exception when calling NetworkOpenshiftIoV1Api->delete_network_openshift_io_v1_collection_namespaced_egress_network_policy: %s\n" % e) + print("Exception when calling NetworkOpenshiftIoV1Api->delete_collection_namespaced_egress_network_policy: %s\n" % e) ``` ### Parameters @@ -492,18 +580,19 @@ Name | Type | Description | Notes **namespace** | **str**| object name and auth scope, such as for teams and projects | **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] + **include_uninitialized** | **bool**| If true, partially initialized resources are included in the response. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. | [optional] + **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] **timeout_seconds** | **int**| Timeout for the list/watch call. | [optional] **watch** | **bool**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] ### Return type -[**UnversionedStatus**](UnversionedStatus.md) +[**V1Status**](V1Status.md) ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -512,8 +601,8 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **delete_network_openshift_io_v1_collection_net_namespace** -> UnversionedStatus delete_network_openshift_io_v1_collection_net_namespace(pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) +# **delete_collection_net_namespace** +> V1Status delete_collection_net_namespace(pretty=pretty, field_selector=field_selector, include_uninitialized=include_uninitialized, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) @@ -527,20 +616,30 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.NetworkOpenshiftIoV1Api() pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) +include_uninitialized = true # bool | If true, partially initialized resources are included in the response. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. (optional) +resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) timeout_seconds = 56 # int | Timeout for the list/watch call. (optional) watch = true # bool | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) try: - api_response = api_instance.delete_network_openshift_io_v1_collection_net_namespace(pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) + api_response = api_instance.delete_collection_net_namespace(pretty=pretty, field_selector=field_selector, include_uninitialized=include_uninitialized, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) pprint(api_response) except ApiException as e: - print("Exception when calling NetworkOpenshiftIoV1Api->delete_network_openshift_io_v1_collection_net_namespace: %s\n" % e) + print("Exception when calling NetworkOpenshiftIoV1Api->delete_collection_net_namespace: %s\n" % e) ``` ### Parameters @@ -549,18 +648,19 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] + **include_uninitialized** | **bool**| If true, partially initialized resources are included in the response. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. | [optional] + **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] **timeout_seconds** | **int**| Timeout for the list/watch call. | [optional] **watch** | **bool**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] ### Return type -[**UnversionedStatus**](UnversionedStatus.md) +[**V1Status**](V1Status.md) ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -569,8 +669,8 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **delete_network_openshift_io_v1_host_subnet** -> UnversionedStatus delete_network_openshift_io_v1_host_subnet(name, body, pretty=pretty, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents) +# **delete_host_subnet** +> V1Status delete_host_subnet(name, body, pretty=pretty, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) @@ -584,19 +684,29 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.NetworkOpenshiftIoV1Api() name = 'name_example' # str | name of the HostSubnet body = openshift.client.V1DeleteOptions() # V1DeleteOptions | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) grace_period_seconds = 56 # int | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) -orphan_dependents = true # bool | Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. (optional) +orphan_dependents = true # bool | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) +propagation_policy = 'propagation_policy_example' # str | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. (optional) try: - api_response = api_instance.delete_network_openshift_io_v1_host_subnet(name, body, pretty=pretty, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents) + api_response = api_instance.delete_host_subnet(name, body, pretty=pretty, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) pprint(api_response) except ApiException as e: - print("Exception when calling NetworkOpenshiftIoV1Api->delete_network_openshift_io_v1_host_subnet: %s\n" % e) + print("Exception when calling NetworkOpenshiftIoV1Api->delete_host_subnet: %s\n" % e) ``` ### Parameters @@ -607,15 +717,16 @@ Name | Type | Description | Notes **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | **pretty** | **str**| If 'true', then the output is pretty printed. | [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] - **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] + **orphan_dependents** | **bool**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional] + **propagation_policy** | **str**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. | [optional] ### Return type -[**UnversionedStatus**](UnversionedStatus.md) +[**V1Status**](V1Status.md) ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -624,8 +735,8 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **delete_network_openshift_io_v1_namespaced_egress_network_policy** -> UnversionedStatus delete_network_openshift_io_v1_namespaced_egress_network_policy(name, namespace, body, pretty=pretty, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents) +# **delete_namespaced_egress_network_policy** +> V1Status delete_namespaced_egress_network_policy(name, namespace, body, pretty=pretty, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) @@ -639,6 +750,15 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.NetworkOpenshiftIoV1Api() name = 'name_example' # str | name of the EgressNetworkPolicy @@ -646,13 +766,14 @@ namespace = 'namespace_example' # str | object name and auth scope, such as for body = openshift.client.V1DeleteOptions() # V1DeleteOptions | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) grace_period_seconds = 56 # int | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) -orphan_dependents = true # bool | Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. (optional) +orphan_dependents = true # bool | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) +propagation_policy = 'propagation_policy_example' # str | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. (optional) try: - api_response = api_instance.delete_network_openshift_io_v1_namespaced_egress_network_policy(name, namespace, body, pretty=pretty, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents) + api_response = api_instance.delete_namespaced_egress_network_policy(name, namespace, body, pretty=pretty, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) pprint(api_response) except ApiException as e: - print("Exception when calling NetworkOpenshiftIoV1Api->delete_network_openshift_io_v1_namespaced_egress_network_policy: %s\n" % e) + print("Exception when calling NetworkOpenshiftIoV1Api->delete_namespaced_egress_network_policy: %s\n" % e) ``` ### Parameters @@ -664,15 +785,16 @@ Name | Type | Description | Notes **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | **pretty** | **str**| If 'true', then the output is pretty printed. | [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] - **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] + **orphan_dependents** | **bool**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional] + **propagation_policy** | **str**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. | [optional] ### Return type -[**UnversionedStatus**](UnversionedStatus.md) +[**V1Status**](V1Status.md) ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -681,8 +803,8 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **delete_network_openshift_io_v1_net_namespace** -> UnversionedStatus delete_network_openshift_io_v1_net_namespace(name, body, pretty=pretty, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents) +# **delete_net_namespace** +> V1Status delete_net_namespace(name, body, pretty=pretty, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) @@ -696,19 +818,29 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.NetworkOpenshiftIoV1Api() name = 'name_example' # str | name of the NetNamespace body = openshift.client.V1DeleteOptions() # V1DeleteOptions | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) grace_period_seconds = 56 # int | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) -orphan_dependents = true # bool | Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. (optional) +orphan_dependents = true # bool | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) +propagation_policy = 'propagation_policy_example' # str | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. (optional) try: - api_response = api_instance.delete_network_openshift_io_v1_net_namespace(name, body, pretty=pretty, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents) + api_response = api_instance.delete_net_namespace(name, body, pretty=pretty, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) pprint(api_response) except ApiException as e: - print("Exception when calling NetworkOpenshiftIoV1Api->delete_network_openshift_io_v1_net_namespace: %s\n" % e) + print("Exception when calling NetworkOpenshiftIoV1Api->delete_net_namespace: %s\n" % e) ``` ### Parameters @@ -719,15 +851,16 @@ Name | Type | Description | Notes **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | **pretty** | **str**| If 'true', then the output is pretty printed. | [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] - **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] + **orphan_dependents** | **bool**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional] + **propagation_policy** | **str**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. | [optional] ### Return type -[**UnversionedStatus**](UnversionedStatus.md) +[**V1Status**](V1Status.md) ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -736,8 +869,8 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **get_network_openshift_io_v1_api_resources** -> UnversionedAPIResourceList get_network_openshift_io_v1_api_resources() +# **get_api_resources** +> V1APIResourceList get_api_resources() @@ -751,14 +884,23 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.NetworkOpenshiftIoV1Api() try: - api_response = api_instance.get_network_openshift_io_v1_api_resources() + api_response = api_instance.get_api_resources() pprint(api_response) except ApiException as e: - print("Exception when calling NetworkOpenshiftIoV1Api->get_network_openshift_io_v1_api_resources: %s\n" % e) + print("Exception when calling NetworkOpenshiftIoV1Api->get_api_resources: %s\n" % e) ``` ### Parameters @@ -766,11 +908,11 @@ This endpoint does not need any parameter. ### Return type -[**UnversionedAPIResourceList**](UnversionedAPIResourceList.md) +[**V1APIResourceList**](V1APIResourceList.md) ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -779,8 +921,8 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **list_network_openshift_io_v1_cluster_network** -> V1ClusterNetworkList list_network_openshift_io_v1_cluster_network(pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) +# **list_cluster_network** +> V1ClusterNetworkList list_cluster_network(pretty=pretty, field_selector=field_selector, include_uninitialized=include_uninitialized, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) @@ -794,20 +936,30 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.NetworkOpenshiftIoV1Api() pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) +include_uninitialized = true # bool | If true, partially initialized resources are included in the response. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. (optional) +resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) timeout_seconds = 56 # int | Timeout for the list/watch call. (optional) watch = true # bool | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) try: - api_response = api_instance.list_network_openshift_io_v1_cluster_network(pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) + api_response = api_instance.list_cluster_network(pretty=pretty, field_selector=field_selector, include_uninitialized=include_uninitialized, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) pprint(api_response) except ApiException as e: - print("Exception when calling NetworkOpenshiftIoV1Api->list_network_openshift_io_v1_cluster_network: %s\n" % e) + print("Exception when calling NetworkOpenshiftIoV1Api->list_cluster_network: %s\n" % e) ``` ### Parameters @@ -816,8 +968,9 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] + **include_uninitialized** | **bool**| If true, partially initialized resources are included in the response. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. | [optional] + **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] **timeout_seconds** | **int**| Timeout for the list/watch call. | [optional] **watch** | **bool**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] @@ -827,7 +980,7 @@ Name | Type | Description | Notes ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -836,8 +989,8 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **list_network_openshift_io_v1_egress_network_policy_for_all_namespaces** -> V1EgressNetworkPolicyList list_network_openshift_io_v1_egress_network_policy_for_all_namespaces(pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) +# **list_egress_network_policy_for_all_namespaces** +> V1EgressNetworkPolicyList list_egress_network_policy_for_all_namespaces(pretty=pretty, field_selector=field_selector, include_uninitialized=include_uninitialized, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) @@ -851,20 +1004,30 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.NetworkOpenshiftIoV1Api() pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) +include_uninitialized = true # bool | If true, partially initialized resources are included in the response. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. (optional) +resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) timeout_seconds = 56 # int | Timeout for the list/watch call. (optional) watch = true # bool | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) try: - api_response = api_instance.list_network_openshift_io_v1_egress_network_policy_for_all_namespaces(pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) + api_response = api_instance.list_egress_network_policy_for_all_namespaces(pretty=pretty, field_selector=field_selector, include_uninitialized=include_uninitialized, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) pprint(api_response) except ApiException as e: - print("Exception when calling NetworkOpenshiftIoV1Api->list_network_openshift_io_v1_egress_network_policy_for_all_namespaces: %s\n" % e) + print("Exception when calling NetworkOpenshiftIoV1Api->list_egress_network_policy_for_all_namespaces: %s\n" % e) ``` ### Parameters @@ -873,8 +1036,9 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] + **include_uninitialized** | **bool**| If true, partially initialized resources are included in the response. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. | [optional] + **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] **timeout_seconds** | **int**| Timeout for the list/watch call. | [optional] **watch** | **bool**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] @@ -884,7 +1048,7 @@ Name | Type | Description | Notes ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -893,8 +1057,8 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **list_network_openshift_io_v1_host_subnet** -> V1HostSubnetList list_network_openshift_io_v1_host_subnet(pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) +# **list_host_subnet** +> V1HostSubnetList list_host_subnet(pretty=pretty, field_selector=field_selector, include_uninitialized=include_uninitialized, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) @@ -908,20 +1072,30 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.NetworkOpenshiftIoV1Api() pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) +include_uninitialized = true # bool | If true, partially initialized resources are included in the response. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. (optional) +resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) timeout_seconds = 56 # int | Timeout for the list/watch call. (optional) watch = true # bool | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) try: - api_response = api_instance.list_network_openshift_io_v1_host_subnet(pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) + api_response = api_instance.list_host_subnet(pretty=pretty, field_selector=field_selector, include_uninitialized=include_uninitialized, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) pprint(api_response) except ApiException as e: - print("Exception when calling NetworkOpenshiftIoV1Api->list_network_openshift_io_v1_host_subnet: %s\n" % e) + print("Exception when calling NetworkOpenshiftIoV1Api->list_host_subnet: %s\n" % e) ``` ### Parameters @@ -930,8 +1104,9 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] + **include_uninitialized** | **bool**| If true, partially initialized resources are included in the response. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. | [optional] + **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] **timeout_seconds** | **int**| Timeout for the list/watch call. | [optional] **watch** | **bool**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] @@ -941,7 +1116,7 @@ Name | Type | Description | Notes ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -950,8 +1125,8 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **list_network_openshift_io_v1_namespaced_egress_network_policy** -> V1EgressNetworkPolicyList list_network_openshift_io_v1_namespaced_egress_network_policy(namespace, pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) +# **list_namespaced_egress_network_policy** +> V1EgressNetworkPolicyList list_namespaced_egress_network_policy(namespace, pretty=pretty, field_selector=field_selector, include_uninitialized=include_uninitialized, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) @@ -965,21 +1140,31 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.NetworkOpenshiftIoV1Api() namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) +include_uninitialized = true # bool | If true, partially initialized resources are included in the response. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. (optional) +resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) timeout_seconds = 56 # int | Timeout for the list/watch call. (optional) watch = true # bool | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) try: - api_response = api_instance.list_network_openshift_io_v1_namespaced_egress_network_policy(namespace, pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) + api_response = api_instance.list_namespaced_egress_network_policy(namespace, pretty=pretty, field_selector=field_selector, include_uninitialized=include_uninitialized, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) pprint(api_response) except ApiException as e: - print("Exception when calling NetworkOpenshiftIoV1Api->list_network_openshift_io_v1_namespaced_egress_network_policy: %s\n" % e) + print("Exception when calling NetworkOpenshiftIoV1Api->list_namespaced_egress_network_policy: %s\n" % e) ``` ### Parameters @@ -989,8 +1174,9 @@ Name | Type | Description | Notes **namespace** | **str**| object name and auth scope, such as for teams and projects | **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] + **include_uninitialized** | **bool**| If true, partially initialized resources are included in the response. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. | [optional] + **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] **timeout_seconds** | **int**| Timeout for the list/watch call. | [optional] **watch** | **bool**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] @@ -1000,7 +1186,7 @@ Name | Type | Description | Notes ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -1009,8 +1195,8 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **list_network_openshift_io_v1_net_namespace** -> V1NetNamespaceList list_network_openshift_io_v1_net_namespace(pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) +# **list_net_namespace** +> V1NetNamespaceList list_net_namespace(pretty=pretty, field_selector=field_selector, include_uninitialized=include_uninitialized, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) @@ -1024,20 +1210,30 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.NetworkOpenshiftIoV1Api() pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) +include_uninitialized = true # bool | If true, partially initialized resources are included in the response. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. (optional) +resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) timeout_seconds = 56 # int | Timeout for the list/watch call. (optional) watch = true # bool | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) try: - api_response = api_instance.list_network_openshift_io_v1_net_namespace(pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) + api_response = api_instance.list_net_namespace(pretty=pretty, field_selector=field_selector, include_uninitialized=include_uninitialized, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) pprint(api_response) except ApiException as e: - print("Exception when calling NetworkOpenshiftIoV1Api->list_network_openshift_io_v1_net_namespace: %s\n" % e) + print("Exception when calling NetworkOpenshiftIoV1Api->list_net_namespace: %s\n" % e) ``` ### Parameters @@ -1046,8 +1242,9 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] + **include_uninitialized** | **bool**| If true, partially initialized resources are included in the response. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. | [optional] + **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] **timeout_seconds** | **int**| Timeout for the list/watch call. | [optional] **watch** | **bool**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] @@ -1057,7 +1254,7 @@ Name | Type | Description | Notes ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -1066,8 +1263,8 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **patch_network_openshift_io_v1_cluster_network** -> V1ClusterNetwork patch_network_openshift_io_v1_cluster_network(name, body, pretty=pretty) +# **patch_cluster_network** +> V1ClusterNetwork patch_cluster_network(name, body, pretty=pretty) @@ -1081,17 +1278,26 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.NetworkOpenshiftIoV1Api() name = 'name_example' # str | name of the ClusterNetwork -body = openshift.client.UnversionedPatch() # UnversionedPatch | +body = NULL # object | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) try: - api_response = api_instance.patch_network_openshift_io_v1_cluster_network(name, body, pretty=pretty) + api_response = api_instance.patch_cluster_network(name, body, pretty=pretty) pprint(api_response) except ApiException as e: - print("Exception when calling NetworkOpenshiftIoV1Api->patch_network_openshift_io_v1_cluster_network: %s\n" % e) + print("Exception when calling NetworkOpenshiftIoV1Api->patch_cluster_network: %s\n" % e) ``` ### Parameters @@ -1099,7 +1305,7 @@ except ApiException as e: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **name** | **str**| name of the ClusterNetwork | - **body** | [**UnversionedPatch**](UnversionedPatch.md)| | + **body** | **object**| | **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] ### Return type @@ -1108,7 +1314,7 @@ Name | Type | Description | Notes ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -1117,8 +1323,8 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **patch_network_openshift_io_v1_host_subnet** -> V1HostSubnet patch_network_openshift_io_v1_host_subnet(name, body, pretty=pretty) +# **patch_host_subnet** +> V1HostSubnet patch_host_subnet(name, body, pretty=pretty) @@ -1132,17 +1338,26 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.NetworkOpenshiftIoV1Api() name = 'name_example' # str | name of the HostSubnet -body = openshift.client.UnversionedPatch() # UnversionedPatch | +body = NULL # object | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) try: - api_response = api_instance.patch_network_openshift_io_v1_host_subnet(name, body, pretty=pretty) + api_response = api_instance.patch_host_subnet(name, body, pretty=pretty) pprint(api_response) except ApiException as e: - print("Exception when calling NetworkOpenshiftIoV1Api->patch_network_openshift_io_v1_host_subnet: %s\n" % e) + print("Exception when calling NetworkOpenshiftIoV1Api->patch_host_subnet: %s\n" % e) ``` ### Parameters @@ -1150,7 +1365,7 @@ except ApiException as e: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **name** | **str**| name of the HostSubnet | - **body** | [**UnversionedPatch**](UnversionedPatch.md)| | + **body** | **object**| | **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] ### Return type @@ -1159,7 +1374,7 @@ Name | Type | Description | Notes ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -1168,8 +1383,8 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **patch_network_openshift_io_v1_namespaced_egress_network_policy** -> V1EgressNetworkPolicy patch_network_openshift_io_v1_namespaced_egress_network_policy(name, namespace, body, pretty=pretty) +# **patch_namespaced_egress_network_policy** +> V1EgressNetworkPolicy patch_namespaced_egress_network_policy(name, namespace, body, pretty=pretty) @@ -1183,18 +1398,27 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.NetworkOpenshiftIoV1Api() name = 'name_example' # str | name of the EgressNetworkPolicy namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = openshift.client.UnversionedPatch() # UnversionedPatch | +body = NULL # object | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) try: - api_response = api_instance.patch_network_openshift_io_v1_namespaced_egress_network_policy(name, namespace, body, pretty=pretty) + api_response = api_instance.patch_namespaced_egress_network_policy(name, namespace, body, pretty=pretty) pprint(api_response) except ApiException as e: - print("Exception when calling NetworkOpenshiftIoV1Api->patch_network_openshift_io_v1_namespaced_egress_network_policy: %s\n" % e) + print("Exception when calling NetworkOpenshiftIoV1Api->patch_namespaced_egress_network_policy: %s\n" % e) ``` ### Parameters @@ -1203,7 +1427,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **name** | **str**| name of the EgressNetworkPolicy | **namespace** | **str**| object name and auth scope, such as for teams and projects | - **body** | [**UnversionedPatch**](UnversionedPatch.md)| | + **body** | **object**| | **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] ### Return type @@ -1212,7 +1436,7 @@ Name | Type | Description | Notes ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -1221,8 +1445,8 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **patch_network_openshift_io_v1_net_namespace** -> V1NetNamespace patch_network_openshift_io_v1_net_namespace(name, body, pretty=pretty) +# **patch_net_namespace** +> V1NetNamespace patch_net_namespace(name, body, pretty=pretty) @@ -1236,17 +1460,26 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.NetworkOpenshiftIoV1Api() name = 'name_example' # str | name of the NetNamespace -body = openshift.client.UnversionedPatch() # UnversionedPatch | +body = NULL # object | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) try: - api_response = api_instance.patch_network_openshift_io_v1_net_namespace(name, body, pretty=pretty) + api_response = api_instance.patch_net_namespace(name, body, pretty=pretty) pprint(api_response) except ApiException as e: - print("Exception when calling NetworkOpenshiftIoV1Api->patch_network_openshift_io_v1_net_namespace: %s\n" % e) + print("Exception when calling NetworkOpenshiftIoV1Api->patch_net_namespace: %s\n" % e) ``` ### Parameters @@ -1254,7 +1487,7 @@ except ApiException as e: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **name** | **str**| name of the NetNamespace | - **body** | [**UnversionedPatch**](UnversionedPatch.md)| | + **body** | **object**| | **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] ### Return type @@ -1263,7 +1496,7 @@ Name | Type | Description | Notes ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -1272,8 +1505,8 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **read_network_openshift_io_v1_cluster_network** -> V1ClusterNetwork read_network_openshift_io_v1_cluster_network(name, pretty=pretty, exact=exact, export=export) +# **read_cluster_network** +> V1ClusterNetwork read_cluster_network(name, pretty=pretty, exact=exact, export=export) @@ -1287,18 +1520,27 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.NetworkOpenshiftIoV1Api() name = 'name_example' # str | name of the ClusterNetwork pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) -exact = true # bool | Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace' (optional) +exact = true # bool | Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. (optional) export = true # bool | Should this value be exported. Export strips fields that a user can not specify. (optional) try: - api_response = api_instance.read_network_openshift_io_v1_cluster_network(name, pretty=pretty, exact=exact, export=export) + api_response = api_instance.read_cluster_network(name, pretty=pretty, exact=exact, export=export) pprint(api_response) except ApiException as e: - print("Exception when calling NetworkOpenshiftIoV1Api->read_network_openshift_io_v1_cluster_network: %s\n" % e) + print("Exception when calling NetworkOpenshiftIoV1Api->read_cluster_network: %s\n" % e) ``` ### Parameters @@ -1307,7 +1549,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **name** | **str**| name of the ClusterNetwork | **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - **exact** | **bool**| Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace' | [optional] + **exact** | **bool**| Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. | [optional] **export** | **bool**| Should this value be exported. Export strips fields that a user can not specify. | [optional] ### Return type @@ -1316,7 +1558,7 @@ Name | Type | Description | Notes ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -1325,8 +1567,8 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **read_network_openshift_io_v1_host_subnet** -> V1HostSubnet read_network_openshift_io_v1_host_subnet(name, pretty=pretty, exact=exact, export=export) +# **read_host_subnet** +> V1HostSubnet read_host_subnet(name, pretty=pretty, exact=exact, export=export) @@ -1340,18 +1582,27 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.NetworkOpenshiftIoV1Api() name = 'name_example' # str | name of the HostSubnet pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) -exact = true # bool | Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace' (optional) +exact = true # bool | Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. (optional) export = true # bool | Should this value be exported. Export strips fields that a user can not specify. (optional) try: - api_response = api_instance.read_network_openshift_io_v1_host_subnet(name, pretty=pretty, exact=exact, export=export) + api_response = api_instance.read_host_subnet(name, pretty=pretty, exact=exact, export=export) pprint(api_response) except ApiException as e: - print("Exception when calling NetworkOpenshiftIoV1Api->read_network_openshift_io_v1_host_subnet: %s\n" % e) + print("Exception when calling NetworkOpenshiftIoV1Api->read_host_subnet: %s\n" % e) ``` ### Parameters @@ -1360,7 +1611,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **name** | **str**| name of the HostSubnet | **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - **exact** | **bool**| Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace' | [optional] + **exact** | **bool**| Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. | [optional] **export** | **bool**| Should this value be exported. Export strips fields that a user can not specify. | [optional] ### Return type @@ -1369,7 +1620,7 @@ Name | Type | Description | Notes ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -1378,8 +1629,8 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **read_network_openshift_io_v1_namespaced_egress_network_policy** -> V1EgressNetworkPolicy read_network_openshift_io_v1_namespaced_egress_network_policy(name, namespace, pretty=pretty, exact=exact, export=export) +# **read_namespaced_egress_network_policy** +> V1EgressNetworkPolicy read_namespaced_egress_network_policy(name, namespace, pretty=pretty, exact=exact, export=export) @@ -1393,19 +1644,28 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.NetworkOpenshiftIoV1Api() name = 'name_example' # str | name of the EgressNetworkPolicy namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) -exact = true # bool | Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace' (optional) +exact = true # bool | Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. (optional) export = true # bool | Should this value be exported. Export strips fields that a user can not specify. (optional) try: - api_response = api_instance.read_network_openshift_io_v1_namespaced_egress_network_policy(name, namespace, pretty=pretty, exact=exact, export=export) + api_response = api_instance.read_namespaced_egress_network_policy(name, namespace, pretty=pretty, exact=exact, export=export) pprint(api_response) except ApiException as e: - print("Exception when calling NetworkOpenshiftIoV1Api->read_network_openshift_io_v1_namespaced_egress_network_policy: %s\n" % e) + print("Exception when calling NetworkOpenshiftIoV1Api->read_namespaced_egress_network_policy: %s\n" % e) ``` ### Parameters @@ -1415,7 +1675,7 @@ Name | Type | Description | Notes **name** | **str**| name of the EgressNetworkPolicy | **namespace** | **str**| object name and auth scope, such as for teams and projects | **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - **exact** | **bool**| Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace' | [optional] + **exact** | **bool**| Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. | [optional] **export** | **bool**| Should this value be exported. Export strips fields that a user can not specify. | [optional] ### Return type @@ -1424,7 +1684,7 @@ Name | Type | Description | Notes ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -1433,8 +1693,8 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **read_network_openshift_io_v1_net_namespace** -> V1NetNamespace read_network_openshift_io_v1_net_namespace(name, pretty=pretty, exact=exact, export=export) +# **read_net_namespace** +> V1NetNamespace read_net_namespace(name, pretty=pretty, exact=exact, export=export) @@ -1448,18 +1708,27 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.NetworkOpenshiftIoV1Api() name = 'name_example' # str | name of the NetNamespace pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) -exact = true # bool | Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace' (optional) +exact = true # bool | Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. (optional) export = true # bool | Should this value be exported. Export strips fields that a user can not specify. (optional) try: - api_response = api_instance.read_network_openshift_io_v1_net_namespace(name, pretty=pretty, exact=exact, export=export) + api_response = api_instance.read_net_namespace(name, pretty=pretty, exact=exact, export=export) pprint(api_response) except ApiException as e: - print("Exception when calling NetworkOpenshiftIoV1Api->read_network_openshift_io_v1_net_namespace: %s\n" % e) + print("Exception when calling NetworkOpenshiftIoV1Api->read_net_namespace: %s\n" % e) ``` ### Parameters @@ -1468,7 +1737,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **name** | **str**| name of the NetNamespace | **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - **exact** | **bool**| Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace' | [optional] + **exact** | **bool**| Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. | [optional] **export** | **bool**| Should this value be exported. Export strips fields that a user can not specify. | [optional] ### Return type @@ -1477,7 +1746,7 @@ Name | Type | Description | Notes ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -1486,8 +1755,8 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **replace_network_openshift_io_v1_cluster_network** -> V1ClusterNetwork replace_network_openshift_io_v1_cluster_network(name, body, pretty=pretty) +# **replace_cluster_network** +> V1ClusterNetwork replace_cluster_network(name, body, pretty=pretty) @@ -1501,6 +1770,15 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.NetworkOpenshiftIoV1Api() name = 'name_example' # str | name of the ClusterNetwork @@ -1508,10 +1786,10 @@ body = openshift.client.V1ClusterNetwork() # V1ClusterNetwork | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) try: - api_response = api_instance.replace_network_openshift_io_v1_cluster_network(name, body, pretty=pretty) + api_response = api_instance.replace_cluster_network(name, body, pretty=pretty) pprint(api_response) except ApiException as e: - print("Exception when calling NetworkOpenshiftIoV1Api->replace_network_openshift_io_v1_cluster_network: %s\n" % e) + print("Exception when calling NetworkOpenshiftIoV1Api->replace_cluster_network: %s\n" % e) ``` ### Parameters @@ -1528,7 +1806,7 @@ Name | Type | Description | Notes ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -1537,8 +1815,8 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **replace_network_openshift_io_v1_host_subnet** -> V1HostSubnet replace_network_openshift_io_v1_host_subnet(name, body, pretty=pretty) +# **replace_host_subnet** +> V1HostSubnet replace_host_subnet(name, body, pretty=pretty) @@ -1552,6 +1830,15 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.NetworkOpenshiftIoV1Api() name = 'name_example' # str | name of the HostSubnet @@ -1559,10 +1846,10 @@ body = openshift.client.V1HostSubnet() # V1HostSubnet | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) try: - api_response = api_instance.replace_network_openshift_io_v1_host_subnet(name, body, pretty=pretty) + api_response = api_instance.replace_host_subnet(name, body, pretty=pretty) pprint(api_response) except ApiException as e: - print("Exception when calling NetworkOpenshiftIoV1Api->replace_network_openshift_io_v1_host_subnet: %s\n" % e) + print("Exception when calling NetworkOpenshiftIoV1Api->replace_host_subnet: %s\n" % e) ``` ### Parameters @@ -1579,7 +1866,7 @@ Name | Type | Description | Notes ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -1588,8 +1875,8 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **replace_network_openshift_io_v1_namespaced_egress_network_policy** -> V1EgressNetworkPolicy replace_network_openshift_io_v1_namespaced_egress_network_policy(name, namespace, body, pretty=pretty) +# **replace_namespaced_egress_network_policy** +> V1EgressNetworkPolicy replace_namespaced_egress_network_policy(name, namespace, body, pretty=pretty) @@ -1603,6 +1890,15 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.NetworkOpenshiftIoV1Api() name = 'name_example' # str | name of the EgressNetworkPolicy @@ -1611,10 +1907,10 @@ body = openshift.client.V1EgressNetworkPolicy() # V1EgressNetworkPolicy | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) try: - api_response = api_instance.replace_network_openshift_io_v1_namespaced_egress_network_policy(name, namespace, body, pretty=pretty) + api_response = api_instance.replace_namespaced_egress_network_policy(name, namespace, body, pretty=pretty) pprint(api_response) except ApiException as e: - print("Exception when calling NetworkOpenshiftIoV1Api->replace_network_openshift_io_v1_namespaced_egress_network_policy: %s\n" % e) + print("Exception when calling NetworkOpenshiftIoV1Api->replace_namespaced_egress_network_policy: %s\n" % e) ``` ### Parameters @@ -1632,7 +1928,7 @@ Name | Type | Description | Notes ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -1641,8 +1937,8 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **replace_network_openshift_io_v1_net_namespace** -> V1NetNamespace replace_network_openshift_io_v1_net_namespace(name, body, pretty=pretty) +# **replace_net_namespace** +> V1NetNamespace replace_net_namespace(name, body, pretty=pretty) @@ -1656,6 +1952,15 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.NetworkOpenshiftIoV1Api() name = 'name_example' # str | name of the NetNamespace @@ -1663,10 +1968,10 @@ body = openshift.client.V1NetNamespace() # V1NetNamespace | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) try: - api_response = api_instance.replace_network_openshift_io_v1_net_namespace(name, body, pretty=pretty) + api_response = api_instance.replace_net_namespace(name, body, pretty=pretty) pprint(api_response) except ApiException as e: - print("Exception when calling NetworkOpenshiftIoV1Api->replace_network_openshift_io_v1_net_namespace: %s\n" % e) + print("Exception when calling NetworkOpenshiftIoV1Api->replace_net_namespace: %s\n" % e) ``` ### Parameters @@ -1683,7 +1988,7 @@ Name | Type | Description | Notes ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers diff --git a/openshift/docs/OapiApi.md b/openshift/docs/OapiApi.md index fe0fef6e..db2cdbb1 100644 --- a/openshift/docs/OapiApi.md +++ b/openshift/docs/OapiApi.md @@ -5,13 +5,11 @@ All URIs are relative to *https://localhost* Method | HTTP request | Description ------------- | ------------- | ------------- [**connect_post_namespaced_binary_build_request_options_instantiatebinary**](OapiApi.md#connect_post_namespaced_binary_build_request_options_instantiatebinary) | **POST** /oapi/v1/namespaces/{namespace}/buildconfigs/{name}/instantiatebinary | -[**connect_post_namespaced_status_webhooks**](OapiApi.md#connect_post_namespaced_status_webhooks) | **POST** /oapi/v1/namespaces/{namespace}/buildconfigs/{name}/webhooks | -[**connect_post_namespaced_status_webhooks_with_path**](OapiApi.md#connect_post_namespaced_status_webhooks_with_path) | **POST** /oapi/v1/namespaces/{namespace}/buildconfigs/{name}/webhooks/{path} | +[**connect_post_namespaced_build_webhooks**](OapiApi.md#connect_post_namespaced_build_webhooks) | **POST** /oapi/v1/namespaces/{namespace}/buildconfigs/{name}/webhooks | +[**connect_post_namespaced_build_webhooks_with_path**](OapiApi.md#connect_post_namespaced_build_webhooks_with_path) | **POST** /oapi/v1/namespaces/{namespace}/buildconfigs/{name}/webhooks/{path} | [**create_build_config_for_all_namespaces**](OapiApi.md#create_build_config_for_all_namespaces) | **POST** /oapi/v1/buildconfigs | [**create_build_for_all_namespaces**](OapiApi.md#create_build_for_all_namespaces) | **POST** /oapi/v1/builds | [**create_cluster_network**](OapiApi.md#create_cluster_network) | **POST** /oapi/v1/clusternetworks | -[**create_cluster_policy**](OapiApi.md#create_cluster_policy) | **POST** /oapi/v1/clusterpolicies | -[**create_cluster_policy_binding**](OapiApi.md#create_cluster_policy_binding) | **POST** /oapi/v1/clusterpolicybindings | [**create_cluster_resource_quota**](OapiApi.md#create_cluster_resource_quota) | **POST** /oapi/v1/clusterresourcequotas | [**create_cluster_role**](OapiApi.md#create_cluster_role) | **POST** /oapi/v1/clusterroles | [**create_cluster_role_binding**](OapiApi.md#create_cluster_role_binding) | **POST** /oapi/v1/clusterrolebindings | @@ -47,8 +45,6 @@ Method | HTTP request | Description [**create_namespaced_pod_security_policy_review**](OapiApi.md#create_namespaced_pod_security_policy_review) | **POST** /oapi/v1/namespaces/{namespace}/podsecuritypolicyreviews | [**create_namespaced_pod_security_policy_self_subject_review**](OapiApi.md#create_namespaced_pod_security_policy_self_subject_review) | **POST** /oapi/v1/namespaces/{namespace}/podsecuritypolicyselfsubjectreviews | [**create_namespaced_pod_security_policy_subject_review**](OapiApi.md#create_namespaced_pod_security_policy_subject_review) | **POST** /oapi/v1/namespaces/{namespace}/podsecuritypolicysubjectreviews | -[**create_namespaced_policy**](OapiApi.md#create_namespaced_policy) | **POST** /oapi/v1/namespaces/{namespace}/policies | -[**create_namespaced_policy_binding**](OapiApi.md#create_namespaced_policy_binding) | **POST** /oapi/v1/namespaces/{namespace}/policybindings | [**create_namespaced_processed_template**](OapiApi.md#create_namespaced_processed_template) | **POST** /oapi/v1/namespaces/{namespace}/processedtemplates | [**create_namespaced_resource_access_review**](OapiApi.md#create_namespaced_resource_access_review) | **POST** /oapi/v1/namespaces/{namespace}/resourceaccessreviews | [**create_namespaced_role**](OapiApi.md#create_namespaced_role) | **POST** /oapi/v1/namespaces/{namespace}/roles | @@ -67,8 +63,6 @@ Method | HTTP request | Description [**create_pod_security_policy_review_for_all_namespaces**](OapiApi.md#create_pod_security_policy_review_for_all_namespaces) | **POST** /oapi/v1/podsecuritypolicyreviews | [**create_pod_security_policy_self_subject_review_for_all_namespaces**](OapiApi.md#create_pod_security_policy_self_subject_review_for_all_namespaces) | **POST** /oapi/v1/podsecuritypolicyselfsubjectreviews | [**create_pod_security_policy_subject_review_for_all_namespaces**](OapiApi.md#create_pod_security_policy_subject_review_for_all_namespaces) | **POST** /oapi/v1/podsecuritypolicysubjectreviews | -[**create_policy_binding_for_all_namespaces**](OapiApi.md#create_policy_binding_for_all_namespaces) | **POST** /oapi/v1/policybindings | -[**create_policy_for_all_namespaces**](OapiApi.md#create_policy_for_all_namespaces) | **POST** /oapi/v1/policies | [**create_processed_template_for_all_namespaces_v1**](OapiApi.md#create_processed_template_for_all_namespaces_v1) | **POST** /oapi/v1/processedtemplates | [**create_project**](OapiApi.md#create_project) | **POST** /oapi/v1/projects | [**create_project_request**](OapiApi.md#create_project_request) | **POST** /oapi/v1/projectrequests | @@ -84,14 +78,10 @@ Method | HTTP request | Description [**create_user**](OapiApi.md#create_user) | **POST** /oapi/v1/users | [**create_user_identity_mapping**](OapiApi.md#create_user_identity_mapping) | **POST** /oapi/v1/useridentitymappings | [**delete_cluster_network**](OapiApi.md#delete_cluster_network) | **DELETE** /oapi/v1/clusternetworks/{name} | -[**delete_cluster_policy**](OapiApi.md#delete_cluster_policy) | **DELETE** /oapi/v1/clusterpolicies/{name} | -[**delete_cluster_policy_binding**](OapiApi.md#delete_cluster_policy_binding) | **DELETE** /oapi/v1/clusterpolicybindings/{name} | [**delete_cluster_resource_quota**](OapiApi.md#delete_cluster_resource_quota) | **DELETE** /oapi/v1/clusterresourcequotas/{name} | [**delete_cluster_role**](OapiApi.md#delete_cluster_role) | **DELETE** /oapi/v1/clusterroles/{name} | [**delete_cluster_role_binding**](OapiApi.md#delete_cluster_role_binding) | **DELETE** /oapi/v1/clusterrolebindings/{name} | [**delete_collection_cluster_network**](OapiApi.md#delete_collection_cluster_network) | **DELETE** /oapi/v1/clusternetworks | -[**delete_collection_cluster_policy**](OapiApi.md#delete_collection_cluster_policy) | **DELETE** /oapi/v1/clusterpolicies | -[**delete_collection_cluster_policy_binding**](OapiApi.md#delete_collection_cluster_policy_binding) | **DELETE** /oapi/v1/clusterpolicybindings | [**delete_collection_cluster_resource_quota**](OapiApi.md#delete_collection_cluster_resource_quota) | **DELETE** /oapi/v1/clusterresourcequotas | [**delete_collection_group**](OapiApi.md#delete_collection_group) | **DELETE** /oapi/v1/groups | [**delete_collection_host_subnet**](OapiApi.md#delete_collection_host_subnet) | **DELETE** /oapi/v1/hostsubnets | @@ -102,8 +92,6 @@ Method | HTTP request | Description [**delete_collection_namespaced_deployment_config**](OapiApi.md#delete_collection_namespaced_deployment_config) | **DELETE** /oapi/v1/namespaces/{namespace}/deploymentconfigs | [**delete_collection_namespaced_egress_network_policy**](OapiApi.md#delete_collection_namespaced_egress_network_policy) | **DELETE** /oapi/v1/namespaces/{namespace}/egressnetworkpolicies | [**delete_collection_namespaced_image_stream**](OapiApi.md#delete_collection_namespaced_image_stream) | **DELETE** /oapi/v1/namespaces/{namespace}/imagestreams | -[**delete_collection_namespaced_policy**](OapiApi.md#delete_collection_namespaced_policy) | **DELETE** /oapi/v1/namespaces/{namespace}/policies | -[**delete_collection_namespaced_policy_binding**](OapiApi.md#delete_collection_namespaced_policy_binding) | **DELETE** /oapi/v1/namespaces/{namespace}/policybindings | [**delete_collection_namespaced_role_binding_restriction**](OapiApi.md#delete_collection_namespaced_role_binding_restriction) | **DELETE** /oapi/v1/namespaces/{namespace}/rolebindingrestrictions | [**delete_collection_namespaced_route**](OapiApi.md#delete_collection_namespaced_route) | **DELETE** /oapi/v1/namespaces/{namespace}/routes | [**delete_collection_namespaced_template**](OapiApi.md#delete_collection_namespaced_template) | **DELETE** /oapi/v1/namespaces/{namespace}/templates | @@ -124,8 +112,6 @@ Method | HTTP request | Description [**delete_namespaced_egress_network_policy**](OapiApi.md#delete_namespaced_egress_network_policy) | **DELETE** /oapi/v1/namespaces/{namespace}/egressnetworkpolicies/{name} | [**delete_namespaced_image_stream**](OapiApi.md#delete_namespaced_image_stream) | **DELETE** /oapi/v1/namespaces/{namespace}/imagestreams/{name} | [**delete_namespaced_image_stream_tag**](OapiApi.md#delete_namespaced_image_stream_tag) | **DELETE** /oapi/v1/namespaces/{namespace}/imagestreamtags/{name} | -[**delete_namespaced_policy**](OapiApi.md#delete_namespaced_policy) | **DELETE** /oapi/v1/namespaces/{namespace}/policies/{name} | -[**delete_namespaced_policy_binding**](OapiApi.md#delete_namespaced_policy_binding) | **DELETE** /oapi/v1/namespaces/{namespace}/policybindings/{name} | [**delete_namespaced_role**](OapiApi.md#delete_namespaced_role) | **DELETE** /oapi/v1/namespaces/{namespace}/roles/{name} | [**delete_namespaced_role_binding**](OapiApi.md#delete_namespaced_role_binding) | **DELETE** /oapi/v1/namespaces/{namespace}/rolebindings/{name} | [**delete_namespaced_role_binding_restriction**](OapiApi.md#delete_namespaced_role_binding_restriction) | **DELETE** /oapi/v1/namespaces/{namespace}/rolebindingrestrictions/{name} | @@ -139,15 +125,12 @@ Method | HTTP request | Description [**delete_project**](OapiApi.md#delete_project) | **DELETE** /oapi/v1/projects/{name} | [**delete_user**](OapiApi.md#delete_user) | **DELETE** /oapi/v1/users/{name} | [**delete_user_identity_mapping**](OapiApi.md#delete_user_identity_mapping) | **DELETE** /oapi/v1/useridentitymappings/{name} | -[**generate_namespaced_deployment_config**](OapiApi.md#generate_namespaced_deployment_config) | **GET** /oapi/v1/namespaces/{namespace}/generatedeploymentconfigs/{name} | [**get_api_resources**](OapiApi.md#get_api_resources) | **GET** /oapi/v1/ | -[**get_oapi_version**](OapiApi.md#get_oapi_version) | **GET** /oapi/ | +[**get_legacy_api_versions**](OapiApi.md#get_legacy_api_versions) | **GET** /oapi/ | [**list_applied_cluster_resource_quota_for_all_namespaces**](OapiApi.md#list_applied_cluster_resource_quota_for_all_namespaces) | **GET** /oapi/v1/appliedclusterresourcequotas | [**list_build_config_for_all_namespaces**](OapiApi.md#list_build_config_for_all_namespaces) | **GET** /oapi/v1/buildconfigs | [**list_build_for_all_namespaces**](OapiApi.md#list_build_for_all_namespaces) | **GET** /oapi/v1/builds | [**list_cluster_network**](OapiApi.md#list_cluster_network) | **GET** /oapi/v1/clusternetworks | -[**list_cluster_policy**](OapiApi.md#list_cluster_policy) | **GET** /oapi/v1/clusterpolicies | -[**list_cluster_policy_binding**](OapiApi.md#list_cluster_policy_binding) | **GET** /oapi/v1/clusterpolicybindings | [**list_cluster_resource_quota**](OapiApi.md#list_cluster_resource_quota) | **GET** /oapi/v1/clusterresourcequotas | [**list_cluster_role**](OapiApi.md#list_cluster_role) | **GET** /oapi/v1/clusterroles | [**list_cluster_role_binding**](OapiApi.md#list_cluster_role_binding) | **GET** /oapi/v1/clusterrolebindings | @@ -166,8 +149,6 @@ Method | HTTP request | Description [**list_namespaced_egress_network_policy**](OapiApi.md#list_namespaced_egress_network_policy) | **GET** /oapi/v1/namespaces/{namespace}/egressnetworkpolicies | [**list_namespaced_image_stream**](OapiApi.md#list_namespaced_image_stream) | **GET** /oapi/v1/namespaces/{namespace}/imagestreams | [**list_namespaced_image_stream_tag**](OapiApi.md#list_namespaced_image_stream_tag) | **GET** /oapi/v1/namespaces/{namespace}/imagestreamtags | -[**list_namespaced_policy**](OapiApi.md#list_namespaced_policy) | **GET** /oapi/v1/namespaces/{namespace}/policies | -[**list_namespaced_policy_binding**](OapiApi.md#list_namespaced_policy_binding) | **GET** /oapi/v1/namespaces/{namespace}/policybindings | [**list_namespaced_role**](OapiApi.md#list_namespaced_role) | **GET** /oapi/v1/namespaces/{namespace}/roles | [**list_namespaced_role_binding**](OapiApi.md#list_namespaced_role_binding) | **GET** /oapi/v1/namespaces/{namespace}/rolebindings | [**list_namespaced_role_binding_restriction**](OapiApi.md#list_namespaced_role_binding_restriction) | **GET** /oapi/v1/namespaces/{namespace}/rolebindingrestrictions | @@ -178,8 +159,6 @@ Method | HTTP request | Description [**list_o_auth_authorize_token**](OapiApi.md#list_o_auth_authorize_token) | **GET** /oapi/v1/oauthauthorizetokens | [**list_o_auth_client**](OapiApi.md#list_o_auth_client) | **GET** /oapi/v1/oauthclients | [**list_o_auth_client_authorization**](OapiApi.md#list_o_auth_client_authorization) | **GET** /oapi/v1/oauthclientauthorizations | -[**list_policy_binding_for_all_namespaces**](OapiApi.md#list_policy_binding_for_all_namespaces) | **GET** /oapi/v1/policybindings | -[**list_policy_for_all_namespaces**](OapiApi.md#list_policy_for_all_namespaces) | **GET** /oapi/v1/policies | [**list_project**](OapiApi.md#list_project) | **GET** /oapi/v1/projects | [**list_project_request**](OapiApi.md#list_project_request) | **GET** /oapi/v1/projectrequests | [**list_role_binding_for_all_namespaces**](OapiApi.md#list_role_binding_for_all_namespaces) | **GET** /oapi/v1/rolebindings | @@ -189,8 +168,6 @@ Method | HTTP request | Description [**list_template_for_all_namespaces**](OapiApi.md#list_template_for_all_namespaces) | **GET** /oapi/v1/templates | [**list_user**](OapiApi.md#list_user) | **GET** /oapi/v1/users | [**patch_cluster_network**](OapiApi.md#patch_cluster_network) | **PATCH** /oapi/v1/clusternetworks/{name} | -[**patch_cluster_policy**](OapiApi.md#patch_cluster_policy) | **PATCH** /oapi/v1/clusterpolicies/{name} | -[**patch_cluster_policy_binding**](OapiApi.md#patch_cluster_policy_binding) | **PATCH** /oapi/v1/clusterpolicybindings/{name} | [**patch_cluster_resource_quota**](OapiApi.md#patch_cluster_resource_quota) | **PATCH** /oapi/v1/clusterresourcequotas/{name} | [**patch_cluster_resource_quota_status**](OapiApi.md#patch_cluster_resource_quota_status) | **PATCH** /oapi/v1/clusterresourcequotas/{name}/status | [**patch_cluster_role**](OapiApi.md#patch_cluster_role) | **PATCH** /oapi/v1/clusterroles/{name} | @@ -207,8 +184,6 @@ Method | HTTP request | Description [**patch_namespaced_image_stream**](OapiApi.md#patch_namespaced_image_stream) | **PATCH** /oapi/v1/namespaces/{namespace}/imagestreams/{name} | [**patch_namespaced_image_stream_status**](OapiApi.md#patch_namespaced_image_stream_status) | **PATCH** /oapi/v1/namespaces/{namespace}/imagestreams/{name}/status | [**patch_namespaced_image_stream_tag**](OapiApi.md#patch_namespaced_image_stream_tag) | **PATCH** /oapi/v1/namespaces/{namespace}/imagestreamtags/{name} | -[**patch_namespaced_policy**](OapiApi.md#patch_namespaced_policy) | **PATCH** /oapi/v1/namespaces/{namespace}/policies/{name} | -[**patch_namespaced_policy_binding**](OapiApi.md#patch_namespaced_policy_binding) | **PATCH** /oapi/v1/namespaces/{namespace}/policybindings/{name} | [**patch_namespaced_role**](OapiApi.md#patch_namespaced_role) | **PATCH** /oapi/v1/namespaces/{namespace}/roles/{name} | [**patch_namespaced_role_binding**](OapiApi.md#patch_namespaced_role_binding) | **PATCH** /oapi/v1/namespaces/{namespace}/rolebindings/{name} | [**patch_namespaced_role_binding_restriction**](OapiApi.md#patch_namespaced_role_binding_restriction) | **PATCH** /oapi/v1/namespaces/{namespace}/rolebindingrestrictions/{name} | @@ -225,8 +200,6 @@ Method | HTTP request | Description [**patch_user**](OapiApi.md#patch_user) | **PATCH** /oapi/v1/users/{name} | [**patch_user_identity_mapping**](OapiApi.md#patch_user_identity_mapping) | **PATCH** /oapi/v1/useridentitymappings/{name} | [**read_cluster_network**](OapiApi.md#read_cluster_network) | **GET** /oapi/v1/clusternetworks/{name} | -[**read_cluster_policy**](OapiApi.md#read_cluster_policy) | **GET** /oapi/v1/clusterpolicies/{name} | -[**read_cluster_policy_binding**](OapiApi.md#read_cluster_policy_binding) | **GET** /oapi/v1/clusterpolicybindings/{name} | [**read_cluster_resource_quota**](OapiApi.md#read_cluster_resource_quota) | **GET** /oapi/v1/clusterresourcequotas/{name} | [**read_cluster_resource_quota_status**](OapiApi.md#read_cluster_resource_quota_status) | **GET** /oapi/v1/clusterresourcequotas/{name}/status | [**read_cluster_role**](OapiApi.md#read_cluster_role) | **GET** /oapi/v1/clusterroles/{name} | @@ -247,8 +220,6 @@ Method | HTTP request | Description [**read_namespaced_image_stream_image**](OapiApi.md#read_namespaced_image_stream_image) | **GET** /oapi/v1/namespaces/{namespace}/imagestreamimages/{name} | [**read_namespaced_image_stream_status**](OapiApi.md#read_namespaced_image_stream_status) | **GET** /oapi/v1/namespaces/{namespace}/imagestreams/{name}/status | [**read_namespaced_image_stream_tag**](OapiApi.md#read_namespaced_image_stream_tag) | **GET** /oapi/v1/namespaces/{namespace}/imagestreamtags/{name} | -[**read_namespaced_policy**](OapiApi.md#read_namespaced_policy) | **GET** /oapi/v1/namespaces/{namespace}/policies/{name} | -[**read_namespaced_policy_binding**](OapiApi.md#read_namespaced_policy_binding) | **GET** /oapi/v1/namespaces/{namespace}/policybindings/{name} | [**read_namespaced_role**](OapiApi.md#read_namespaced_role) | **GET** /oapi/v1/namespaces/{namespace}/roles/{name} | [**read_namespaced_role_binding**](OapiApi.md#read_namespaced_role_binding) | **GET** /oapi/v1/namespaces/{namespace}/rolebindings/{name} | [**read_namespaced_role_binding_restriction**](OapiApi.md#read_namespaced_role_binding_restriction) | **GET** /oapi/v1/namespaces/{namespace}/rolebindingrestrictions/{name} | @@ -266,8 +237,6 @@ Method | HTTP request | Description [**read_user**](OapiApi.md#read_user) | **GET** /oapi/v1/users/{name} | [**read_user_identity_mapping**](OapiApi.md#read_user_identity_mapping) | **GET** /oapi/v1/useridentitymappings/{name} | [**replace_cluster_network**](OapiApi.md#replace_cluster_network) | **PUT** /oapi/v1/clusternetworks/{name} | -[**replace_cluster_policy**](OapiApi.md#replace_cluster_policy) | **PUT** /oapi/v1/clusterpolicies/{name} | -[**replace_cluster_policy_binding**](OapiApi.md#replace_cluster_policy_binding) | **PUT** /oapi/v1/clusterpolicybindings/{name} | [**replace_cluster_resource_quota**](OapiApi.md#replace_cluster_resource_quota) | **PUT** /oapi/v1/clusterresourcequotas/{name} | [**replace_cluster_resource_quota_status**](OapiApi.md#replace_cluster_resource_quota_status) | **PUT** /oapi/v1/clusterresourcequotas/{name}/status | [**replace_cluster_role**](OapiApi.md#replace_cluster_role) | **PUT** /oapi/v1/clusterroles/{name} | @@ -285,8 +254,6 @@ Method | HTTP request | Description [**replace_namespaced_image_stream**](OapiApi.md#replace_namespaced_image_stream) | **PUT** /oapi/v1/namespaces/{namespace}/imagestreams/{name} | [**replace_namespaced_image_stream_status**](OapiApi.md#replace_namespaced_image_stream_status) | **PUT** /oapi/v1/namespaces/{namespace}/imagestreams/{name}/status | [**replace_namespaced_image_stream_tag**](OapiApi.md#replace_namespaced_image_stream_tag) | **PUT** /oapi/v1/namespaces/{namespace}/imagestreamtags/{name} | -[**replace_namespaced_policy**](OapiApi.md#replace_namespaced_policy) | **PUT** /oapi/v1/namespaces/{namespace}/policies/{name} | -[**replace_namespaced_policy_binding**](OapiApi.md#replace_namespaced_policy_binding) | **PUT** /oapi/v1/namespaces/{namespace}/policybindings/{name} | [**replace_namespaced_role**](OapiApi.md#replace_namespaced_role) | **PUT** /oapi/v1/namespaces/{namespace}/roles/{name} | [**replace_namespaced_role_binding**](OapiApi.md#replace_namespaced_role_binding) | **PUT** /oapi/v1/namespaces/{namespace}/rolebindings/{name} | [**replace_namespaced_role_binding_restriction**](OapiApi.md#replace_namespaced_role_binding_restriction) | **PUT** /oapi/v1/namespaces/{namespace}/rolebindingrestrictions/{name} | @@ -305,7 +272,7 @@ Method | HTTP request | Description # **connect_post_namespaced_binary_build_request_options_instantiatebinary** -> str connect_post_namespaced_binary_build_request_options_instantiatebinary(name, namespace, as_file=as_file, revision_author_email=revision_author_email, revision_author_name=revision_author_name, revision_commit=revision_commit, revision_committer_email=revision_committer_email, revision_committer_name=revision_committer_name, revision_message=revision_message) +> V1Build connect_post_namespaced_binary_build_request_options_instantiatebinary(name, namespace, as_file=as_file, revision_author_email=revision_author_email, revision_author_name=revision_author_name, revision_commit=revision_commit, revision_committer_email=revision_committer_email, revision_committer_name=revision_committer_name, revision_message=revision_message) @@ -319,6 +286,15 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.OapiApi() name = 'name_example' # str | name of the BinaryBuildRequestOptions @@ -354,11 +330,11 @@ Name | Type | Description | Notes ### Return type -**str** +[**V1Build**](V1Build.md) ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -367,12 +343,12 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **connect_post_namespaced_status_webhooks** -> str connect_post_namespaced_status_webhooks(name, namespace, path=path) +# **connect_post_namespaced_build_webhooks** +> str connect_post_namespaced_build_webhooks(name, namespace, path=path) -connect POST requests to webhooks of Status +connect POST requests to webhooks of Build ### Example ```python @@ -382,24 +358,33 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.OapiApi() -name = 'name_example' # str | name of the Status +name = 'name_example' # str | name of the Build namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects path = 'path_example' # str | Path is the URL path to use for the current proxy request to pod. (optional) try: - api_response = api_instance.connect_post_namespaced_status_webhooks(name, namespace, path=path) + api_response = api_instance.connect_post_namespaced_build_webhooks(name, namespace, path=path) pprint(api_response) except ApiException as e: - print("Exception when calling OapiApi->connect_post_namespaced_status_webhooks: %s\n" % e) + print("Exception when calling OapiApi->connect_post_namespaced_build_webhooks: %s\n" % e) ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the Status | + **name** | **str**| name of the Build | **namespace** | **str**| object name and auth scope, such as for teams and projects | **path** | **str**| Path is the URL path to use for the current proxy request to pod. | [optional] @@ -409,7 +394,7 @@ Name | Type | Description | Notes ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -418,12 +403,12 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **connect_post_namespaced_status_webhooks_with_path** -> str connect_post_namespaced_status_webhooks_with_path(name, namespace, path, path2=path2) +# **connect_post_namespaced_build_webhooks_with_path** +> str connect_post_namespaced_build_webhooks_with_path(name, namespace, path, path2=path2) -connect POST requests to webhooks of Status +connect POST requests to webhooks of Build ### Example ```python @@ -433,25 +418,34 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.OapiApi() -name = 'name_example' # str | name of the Status +name = 'name_example' # str | name of the Build namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects path = 'path_example' # str | path to the resource path2 = 'path_example' # str | Path is the URL path to use for the current proxy request to pod. (optional) try: - api_response = api_instance.connect_post_namespaced_status_webhooks_with_path(name, namespace, path, path2=path2) + api_response = api_instance.connect_post_namespaced_build_webhooks_with_path(name, namespace, path, path2=path2) pprint(api_response) except ApiException as e: - print("Exception when calling OapiApi->connect_post_namespaced_status_webhooks_with_path: %s\n" % e) + print("Exception when calling OapiApi->connect_post_namespaced_build_webhooks_with_path: %s\n" % e) ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the Status | + **name** | **str**| name of the Build | **namespace** | **str**| object name and auth scope, such as for teams and projects | **path** | **str**| path to the resource | **path2** | **str**| Path is the URL path to use for the current proxy request to pod. | [optional] @@ -462,7 +456,7 @@ Name | Type | Description | Notes ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -486,6 +480,15 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.OapiApi() body = openshift.client.V1BuildConfig() # V1BuildConfig | @@ -511,7 +514,7 @@ Name | Type | Description | Notes ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -535,6 +538,15 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.OapiApi() body = openshift.client.V1Build() # V1Build | @@ -560,7 +572,7 @@ Name | Type | Description | Notes ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -584,6 +596,15 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.OapiApi() body = openshift.client.V1ClusterNetwork() # V1ClusterNetwork | @@ -609,105 +630,7 @@ Name | Type | Description | Notes ### Authorization -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **create_cluster_policy** -> V1ClusterPolicy create_cluster_policy(body, pretty=pretty) - - - -create a ClusterPolicy - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.OapiApi() -body = openshift.client.V1ClusterPolicy() # V1ClusterPolicy | -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) - -try: - api_response = api_instance.create_cluster_policy(body, pretty=pretty) - pprint(api_response) -except ApiException as e: - print("Exception when calling OapiApi->create_cluster_policy: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **body** | [**V1ClusterPolicy**](V1ClusterPolicy.md)| | - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - -### Return type - -[**V1ClusterPolicy**](V1ClusterPolicy.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **create_cluster_policy_binding** -> V1ClusterPolicyBinding create_cluster_policy_binding(body, pretty=pretty) - - - -create a ClusterPolicyBinding - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.OapiApi() -body = openshift.client.V1ClusterPolicyBinding() # V1ClusterPolicyBinding | -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) - -try: - api_response = api_instance.create_cluster_policy_binding(body, pretty=pretty) - pprint(api_response) -except ApiException as e: - print("Exception when calling OapiApi->create_cluster_policy_binding: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **body** | [**V1ClusterPolicyBinding**](V1ClusterPolicyBinding.md)| | - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - -### Return type - -[**V1ClusterPolicyBinding**](V1ClusterPolicyBinding.md) - -### Authorization - -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -731,6 +654,15 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.OapiApi() body = openshift.client.V1ClusterResourceQuota() # V1ClusterResourceQuota | @@ -756,7 +688,7 @@ Name | Type | Description | Notes ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -780,6 +712,15 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.OapiApi() body = openshift.client.V1ClusterRole() # V1ClusterRole | @@ -805,7 +746,7 @@ Name | Type | Description | Notes ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -829,6 +770,15 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.OapiApi() body = openshift.client.V1ClusterRoleBinding() # V1ClusterRoleBinding | @@ -854,7 +804,7 @@ Name | Type | Description | Notes ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -878,6 +828,15 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.OapiApi() body = openshift.client.V1DeploymentConfig() # V1DeploymentConfig | @@ -903,7 +862,7 @@ Name | Type | Description | Notes ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -927,6 +886,15 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.OapiApi() body = openshift.client.V1DeploymentConfigRollback() # V1DeploymentConfigRollback | @@ -952,7 +920,7 @@ Name | Type | Description | Notes ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -976,6 +944,15 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.OapiApi() body = openshift.client.V1EgressNetworkPolicy() # V1EgressNetworkPolicy | @@ -1001,7 +978,7 @@ Name | Type | Description | Notes ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -1025,6 +1002,15 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.OapiApi() body = openshift.client.V1Group() # V1Group | @@ -1050,7 +1036,7 @@ Name | Type | Description | Notes ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -1074,6 +1060,15 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.OapiApi() body = openshift.client.V1HostSubnet() # V1HostSubnet | @@ -1099,7 +1094,7 @@ Name | Type | Description | Notes ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -1123,6 +1118,15 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.OapiApi() body = openshift.client.V1Identity() # V1Identity | @@ -1148,7 +1152,7 @@ Name | Type | Description | Notes ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -1172,6 +1176,15 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.OapiApi() body = openshift.client.V1Image() # V1Image | @@ -1197,7 +1210,7 @@ Name | Type | Description | Notes ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -1221,6 +1234,15 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.OapiApi() body = openshift.client.V1ImageSignature() # V1ImageSignature | @@ -1246,7 +1268,7 @@ Name | Type | Description | Notes ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -1270,6 +1292,15 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.OapiApi() body = openshift.client.V1ImageStream() # V1ImageStream | @@ -1295,7 +1326,7 @@ Name | Type | Description | Notes ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -1319,6 +1350,15 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.OapiApi() body = openshift.client.V1ImageStreamImport() # V1ImageStreamImport | @@ -1344,7 +1384,7 @@ Name | Type | Description | Notes ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -1368,6 +1408,15 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.OapiApi() body = openshift.client.V1ImageStreamMapping() # V1ImageStreamMapping | @@ -1393,7 +1442,7 @@ Name | Type | Description | Notes ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -1417,6 +1466,15 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.OapiApi() body = openshift.client.V1ImageStreamTag() # V1ImageStreamTag | @@ -1442,7 +1500,7 @@ Name | Type | Description | Notes ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -1466,6 +1524,15 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.OapiApi() body = openshift.client.V1LocalResourceAccessReview() # V1LocalResourceAccessReview | @@ -1491,7 +1558,7 @@ Name | Type | Description | Notes ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -1515,6 +1582,15 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.OapiApi() body = openshift.client.V1LocalSubjectAccessReview() # V1LocalSubjectAccessReview | @@ -1540,7 +1616,7 @@ Name | Type | Description | Notes ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -1564,6 +1640,15 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.OapiApi() namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects @@ -1591,7 +1676,7 @@ Name | Type | Description | Notes ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -1615,6 +1700,15 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.OapiApi() namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects @@ -1642,7 +1736,7 @@ Name | Type | Description | Notes ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -1652,7 +1746,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **create_namespaced_build_request_clone** -> V1BuildRequest create_namespaced_build_request_clone(body, name, namespace, pretty=pretty) +> V1BuildRequest create_namespaced_build_request_clone(name, namespace, body, pretty=pretty) @@ -1666,15 +1760,24 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.OapiApi() -body = openshift.client.V1BuildRequest() # V1BuildRequest | name = 'name_example' # str | name of the BuildRequest namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects +body = openshift.client.V1BuildRequest() # V1BuildRequest | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) try: - api_response = api_instance.create_namespaced_build_request_clone(body, name, namespace, pretty=pretty) + api_response = api_instance.create_namespaced_build_request_clone(name, namespace, body, pretty=pretty) pprint(api_response) except ApiException as e: print("Exception when calling OapiApi->create_namespaced_build_request_clone: %s\n" % e) @@ -1684,9 +1787,9 @@ except ApiException as e: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **body** | [**V1BuildRequest**](V1BuildRequest.md)| | **name** | **str**| name of the BuildRequest | **namespace** | **str**| object name and auth scope, such as for teams and projects | + **body** | [**V1BuildRequest**](V1BuildRequest.md)| | **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] ### Return type @@ -1695,7 +1798,7 @@ Name | Type | Description | Notes ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -1705,7 +1808,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **create_namespaced_build_request_instantiate** -> V1BuildRequest create_namespaced_build_request_instantiate(body, name, namespace, pretty=pretty) +> V1Build create_namespaced_build_request_instantiate(name, namespace, body, pretty=pretty) @@ -1719,15 +1822,24 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.OapiApi() -body = openshift.client.V1BuildRequest() # V1BuildRequest | name = 'name_example' # str | name of the BuildRequest namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects +body = openshift.client.V1BuildRequest() # V1BuildRequest | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) try: - api_response = api_instance.create_namespaced_build_request_instantiate(body, name, namespace, pretty=pretty) + api_response = api_instance.create_namespaced_build_request_instantiate(name, namespace, body, pretty=pretty) pprint(api_response) except ApiException as e: print("Exception when calling OapiApi->create_namespaced_build_request_instantiate: %s\n" % e) @@ -1737,18 +1849,18 @@ except ApiException as e: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **body** | [**V1BuildRequest**](V1BuildRequest.md)| | **name** | **str**| name of the BuildRequest | **namespace** | **str**| object name and auth scope, such as for teams and projects | + **body** | [**V1BuildRequest**](V1BuildRequest.md)| | **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] ### Return type -[**V1BuildRequest**](V1BuildRequest.md) +[**V1Build**](V1Build.md) ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -1772,6 +1884,15 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.OapiApi() namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects @@ -1799,7 +1920,7 @@ Name | Type | Description | Notes ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -1809,7 +1930,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **create_namespaced_deployment_config_rollback** -> V1DeploymentConfigRollback create_namespaced_deployment_config_rollback(body, namespace, pretty=pretty) +> V1DeploymentConfigRollback create_namespaced_deployment_config_rollback(namespace, body, pretty=pretty) @@ -1823,14 +1944,23 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.OapiApi() -body = openshift.client.V1DeploymentConfigRollback() # V1DeploymentConfigRollback | namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects +body = openshift.client.V1DeploymentConfigRollback() # V1DeploymentConfigRollback | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) try: - api_response = api_instance.create_namespaced_deployment_config_rollback(body, namespace, pretty=pretty) + api_response = api_instance.create_namespaced_deployment_config_rollback(namespace, body, pretty=pretty) pprint(api_response) except ApiException as e: print("Exception when calling OapiApi->create_namespaced_deployment_config_rollback: %s\n" % e) @@ -1840,8 +1970,8 @@ except ApiException as e: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **body** | [**V1DeploymentConfigRollback**](V1DeploymentConfigRollback.md)| | **namespace** | **str**| object name and auth scope, such as for teams and projects | + **body** | [**V1DeploymentConfigRollback**](V1DeploymentConfigRollback.md)| | **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] ### Return type @@ -1850,7 +1980,7 @@ Name | Type | Description | Notes ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -1860,7 +1990,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **create_namespaced_deployment_config_rollback_rollback** -> V1DeploymentConfigRollback create_namespaced_deployment_config_rollback_rollback(body, name, namespace, pretty=pretty) +> V1DeploymentConfigRollback create_namespaced_deployment_config_rollback_rollback(name, namespace, body, pretty=pretty) @@ -1874,15 +2004,24 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.OapiApi() -body = openshift.client.V1DeploymentConfigRollback() # V1DeploymentConfigRollback | name = 'name_example' # str | name of the DeploymentConfigRollback namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects +body = openshift.client.V1DeploymentConfigRollback() # V1DeploymentConfigRollback | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) try: - api_response = api_instance.create_namespaced_deployment_config_rollback_rollback(body, name, namespace, pretty=pretty) + api_response = api_instance.create_namespaced_deployment_config_rollback_rollback(name, namespace, body, pretty=pretty) pprint(api_response) except ApiException as e: print("Exception when calling OapiApi->create_namespaced_deployment_config_rollback_rollback: %s\n" % e) @@ -1892,9 +2031,9 @@ except ApiException as e: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **body** | [**V1DeploymentConfigRollback**](V1DeploymentConfigRollback.md)| | **name** | **str**| name of the DeploymentConfigRollback | **namespace** | **str**| object name and auth scope, such as for teams and projects | + **body** | [**V1DeploymentConfigRollback**](V1DeploymentConfigRollback.md)| | **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] ### Return type @@ -1903,7 +2042,7 @@ Name | Type | Description | Notes ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -1913,7 +2052,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **create_namespaced_deployment_request_instantiate** -> V1DeploymentRequest create_namespaced_deployment_request_instantiate(body, name, namespace, pretty=pretty) +> V1DeploymentRequest create_namespaced_deployment_request_instantiate(name, namespace, body, pretty=pretty) @@ -1927,15 +2066,24 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.OapiApi() -body = openshift.client.V1DeploymentRequest() # V1DeploymentRequest | name = 'name_example' # str | name of the DeploymentRequest namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects +body = openshift.client.V1DeploymentRequest() # V1DeploymentRequest | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) try: - api_response = api_instance.create_namespaced_deployment_request_instantiate(body, name, namespace, pretty=pretty) + api_response = api_instance.create_namespaced_deployment_request_instantiate(name, namespace, body, pretty=pretty) pprint(api_response) except ApiException as e: print("Exception when calling OapiApi->create_namespaced_deployment_request_instantiate: %s\n" % e) @@ -1945,9 +2093,9 @@ except ApiException as e: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **body** | [**V1DeploymentRequest**](V1DeploymentRequest.md)| | **name** | **str**| name of the DeploymentRequest | **namespace** | **str**| object name and auth scope, such as for teams and projects | + **body** | [**V1DeploymentRequest**](V1DeploymentRequest.md)| | **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] ### Return type @@ -1956,7 +2104,7 @@ Name | Type | Description | Notes ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -1980,6 +2128,15 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.OapiApi() namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects @@ -2007,7 +2164,7 @@ Name | Type | Description | Notes ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -2031,6 +2188,15 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.OapiApi() namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects @@ -2058,7 +2224,7 @@ Name | Type | Description | Notes ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -2068,7 +2234,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **create_namespaced_image_stream_import** -> V1ImageStreamImport create_namespaced_image_stream_import(body, namespace, pretty=pretty) +> V1ImageStreamImport create_namespaced_image_stream_import(namespace, body, pretty=pretty) @@ -2082,14 +2248,23 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.OapiApi() -body = openshift.client.V1ImageStreamImport() # V1ImageStreamImport | namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects +body = openshift.client.V1ImageStreamImport() # V1ImageStreamImport | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) try: - api_response = api_instance.create_namespaced_image_stream_import(body, namespace, pretty=pretty) + api_response = api_instance.create_namespaced_image_stream_import(namespace, body, pretty=pretty) pprint(api_response) except ApiException as e: print("Exception when calling OapiApi->create_namespaced_image_stream_import: %s\n" % e) @@ -2099,8 +2274,8 @@ except ApiException as e: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **body** | [**V1ImageStreamImport**](V1ImageStreamImport.md)| | **namespace** | **str**| object name and auth scope, such as for teams and projects | + **body** | [**V1ImageStreamImport**](V1ImageStreamImport.md)| | **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] ### Return type @@ -2109,7 +2284,7 @@ Name | Type | Description | Notes ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -2119,7 +2294,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **create_namespaced_image_stream_mapping** -> V1ImageStreamMapping create_namespaced_image_stream_mapping(body, namespace, pretty=pretty) +> V1ImageStreamMapping create_namespaced_image_stream_mapping(namespace, body, pretty=pretty) @@ -2133,14 +2308,23 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.OapiApi() -body = openshift.client.V1ImageStreamMapping() # V1ImageStreamMapping | namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects +body = openshift.client.V1ImageStreamMapping() # V1ImageStreamMapping | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) try: - api_response = api_instance.create_namespaced_image_stream_mapping(body, namespace, pretty=pretty) + api_response = api_instance.create_namespaced_image_stream_mapping(namespace, body, pretty=pretty) pprint(api_response) except ApiException as e: print("Exception when calling OapiApi->create_namespaced_image_stream_mapping: %s\n" % e) @@ -2150,8 +2334,8 @@ except ApiException as e: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **body** | [**V1ImageStreamMapping**](V1ImageStreamMapping.md)| | **namespace** | **str**| object name and auth scope, such as for teams and projects | + **body** | [**V1ImageStreamMapping**](V1ImageStreamMapping.md)| | **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] ### Return type @@ -2160,7 +2344,7 @@ Name | Type | Description | Notes ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -2184,6 +2368,15 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.OapiApi() namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects @@ -2211,7 +2404,7 @@ Name | Type | Description | Notes ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -2221,7 +2414,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **create_namespaced_local_resource_access_review** -> V1LocalResourceAccessReview create_namespaced_local_resource_access_review(body, namespace, pretty=pretty) +> V1LocalResourceAccessReview create_namespaced_local_resource_access_review(namespace, body, pretty=pretty) @@ -2235,14 +2428,23 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.OapiApi() -body = openshift.client.V1LocalResourceAccessReview() # V1LocalResourceAccessReview | namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects +body = openshift.client.V1LocalResourceAccessReview() # V1LocalResourceAccessReview | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) try: - api_response = api_instance.create_namespaced_local_resource_access_review(body, namespace, pretty=pretty) + api_response = api_instance.create_namespaced_local_resource_access_review(namespace, body, pretty=pretty) pprint(api_response) except ApiException as e: print("Exception when calling OapiApi->create_namespaced_local_resource_access_review: %s\n" % e) @@ -2252,8 +2454,8 @@ except ApiException as e: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **body** | [**V1LocalResourceAccessReview**](V1LocalResourceAccessReview.md)| | **namespace** | **str**| object name and auth scope, such as for teams and projects | + **body** | [**V1LocalResourceAccessReview**](V1LocalResourceAccessReview.md)| | **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] ### Return type @@ -2262,7 +2464,7 @@ Name | Type | Description | Notes ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -2272,7 +2474,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **create_namespaced_local_subject_access_review** -> V1LocalSubjectAccessReview create_namespaced_local_subject_access_review(body, namespace, pretty=pretty) +> V1LocalSubjectAccessReview create_namespaced_local_subject_access_review(namespace, body, pretty=pretty) @@ -2286,14 +2488,23 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.OapiApi() -body = openshift.client.V1LocalSubjectAccessReview() # V1LocalSubjectAccessReview | namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects +body = openshift.client.V1LocalSubjectAccessReview() # V1LocalSubjectAccessReview | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) try: - api_response = api_instance.create_namespaced_local_subject_access_review(body, namespace, pretty=pretty) + api_response = api_instance.create_namespaced_local_subject_access_review(namespace, body, pretty=pretty) pprint(api_response) except ApiException as e: print("Exception when calling OapiApi->create_namespaced_local_subject_access_review: %s\n" % e) @@ -2303,8 +2514,8 @@ except ApiException as e: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **body** | [**V1LocalSubjectAccessReview**](V1LocalSubjectAccessReview.md)| | **namespace** | **str**| object name and auth scope, such as for teams and projects | + **body** | [**V1LocalSubjectAccessReview**](V1LocalSubjectAccessReview.md)| | **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] ### Return type @@ -2313,7 +2524,7 @@ Name | Type | Description | Notes ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -2323,7 +2534,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **create_namespaced_pod_security_policy_review** -> V1PodSecurityPolicyReview create_namespaced_pod_security_policy_review(body, namespace, pretty=pretty) +> V1PodSecurityPolicyReview create_namespaced_pod_security_policy_review(namespace, body, pretty=pretty) @@ -2337,14 +2548,23 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.OapiApi() -body = openshift.client.V1PodSecurityPolicyReview() # V1PodSecurityPolicyReview | namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects +body = openshift.client.V1PodSecurityPolicyReview() # V1PodSecurityPolicyReview | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) try: - api_response = api_instance.create_namespaced_pod_security_policy_review(body, namespace, pretty=pretty) + api_response = api_instance.create_namespaced_pod_security_policy_review(namespace, body, pretty=pretty) pprint(api_response) except ApiException as e: print("Exception when calling OapiApi->create_namespaced_pod_security_policy_review: %s\n" % e) @@ -2354,8 +2574,8 @@ except ApiException as e: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **body** | [**V1PodSecurityPolicyReview**](V1PodSecurityPolicyReview.md)| | **namespace** | **str**| object name and auth scope, such as for teams and projects | + **body** | [**V1PodSecurityPolicyReview**](V1PodSecurityPolicyReview.md)| | **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] ### Return type @@ -2364,7 +2584,7 @@ Name | Type | Description | Notes ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -2374,7 +2594,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **create_namespaced_pod_security_policy_self_subject_review** -> V1PodSecurityPolicySelfSubjectReview create_namespaced_pod_security_policy_self_subject_review(body, namespace, pretty=pretty) +> V1PodSecurityPolicySelfSubjectReview create_namespaced_pod_security_policy_self_subject_review(namespace, body, pretty=pretty) @@ -2388,14 +2608,23 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.OapiApi() -body = openshift.client.V1PodSecurityPolicySelfSubjectReview() # V1PodSecurityPolicySelfSubjectReview | namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects +body = openshift.client.V1PodSecurityPolicySelfSubjectReview() # V1PodSecurityPolicySelfSubjectReview | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) try: - api_response = api_instance.create_namespaced_pod_security_policy_self_subject_review(body, namespace, pretty=pretty) + api_response = api_instance.create_namespaced_pod_security_policy_self_subject_review(namespace, body, pretty=pretty) pprint(api_response) except ApiException as e: print("Exception when calling OapiApi->create_namespaced_pod_security_policy_self_subject_review: %s\n" % e) @@ -2405,8 +2634,8 @@ except ApiException as e: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **body** | [**V1PodSecurityPolicySelfSubjectReview**](V1PodSecurityPolicySelfSubjectReview.md)| | **namespace** | **str**| object name and auth scope, such as for teams and projects | + **body** | [**V1PodSecurityPolicySelfSubjectReview**](V1PodSecurityPolicySelfSubjectReview.md)| | **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] ### Return type @@ -2415,7 +2644,7 @@ Name | Type | Description | Notes ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -2425,7 +2654,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **create_namespaced_pod_security_policy_subject_review** -> V1PodSecurityPolicySubjectReview create_namespaced_pod_security_policy_subject_review(body, namespace, pretty=pretty) +> V1PodSecurityPolicySubjectReview create_namespaced_pod_security_policy_subject_review(namespace, body, pretty=pretty) @@ -2439,14 +2668,23 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.OapiApi() -body = openshift.client.V1PodSecurityPolicySubjectReview() # V1PodSecurityPolicySubjectReview | namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects +body = openshift.client.V1PodSecurityPolicySubjectReview() # V1PodSecurityPolicySubjectReview | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) try: - api_response = api_instance.create_namespaced_pod_security_policy_subject_review(body, namespace, pretty=pretty) + api_response = api_instance.create_namespaced_pod_security_policy_subject_review(namespace, body, pretty=pretty) pprint(api_response) except ApiException as e: print("Exception when calling OapiApi->create_namespaced_pod_security_policy_subject_review: %s\n" % e) @@ -2456,8 +2694,8 @@ except ApiException as e: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **body** | [**V1PodSecurityPolicySubjectReview**](V1PodSecurityPolicySubjectReview.md)| | **namespace** | **str**| object name and auth scope, such as for teams and projects | + **body** | [**V1PodSecurityPolicySubjectReview**](V1PodSecurityPolicySubjectReview.md)| | **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] ### Return type @@ -2466,7 +2704,7 @@ Name | Type | Description | Notes ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -2475,12 +2713,12 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **create_namespaced_policy** -> V1Policy create_namespaced_policy(namespace, body, pretty=pretty) +# **create_namespaced_processed_template** +> V1Template create_namespaced_processed_template(namespace, body, pretty=pretty) -create a Policy +create a Template ### Example ```python @@ -2490,17 +2728,26 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.OapiApi() namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = openshift.client.V1Policy() # V1Policy | +body = openshift.client.V1Template() # V1Template | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) try: - api_response = api_instance.create_namespaced_policy(namespace, body, pretty=pretty) + api_response = api_instance.create_namespaced_processed_template(namespace, body, pretty=pretty) pprint(api_response) except ApiException as e: - print("Exception when calling OapiApi->create_namespaced_policy: %s\n" % e) + print("Exception when calling OapiApi->create_namespaced_processed_template: %s\n" % e) ``` ### Parameters @@ -2508,16 +2755,16 @@ except ApiException as e: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **namespace** | **str**| object name and auth scope, such as for teams and projects | - **body** | [**V1Policy**](V1Policy.md)| | + **body** | [**V1Template**](V1Template.md)| | **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] ### Return type -[**V1Policy**](V1Policy.md) +[**V1Template**](V1Template.md) ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -2526,12 +2773,12 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **create_namespaced_policy_binding** -> V1PolicyBinding create_namespaced_policy_binding(namespace, body, pretty=pretty) +# **create_namespaced_resource_access_review** +> V1ResourceAccessReview create_namespaced_resource_access_review(namespace, body, pretty=pretty) -create a PolicyBinding +create a ResourceAccessReview ### Example ```python @@ -2541,17 +2788,26 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.OapiApi() namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = openshift.client.V1PolicyBinding() # V1PolicyBinding | +body = openshift.client.V1ResourceAccessReview() # V1ResourceAccessReview | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) try: - api_response = api_instance.create_namespaced_policy_binding(namespace, body, pretty=pretty) + api_response = api_instance.create_namespaced_resource_access_review(namespace, body, pretty=pretty) pprint(api_response) except ApiException as e: - print("Exception when calling OapiApi->create_namespaced_policy_binding: %s\n" % e) + print("Exception when calling OapiApi->create_namespaced_resource_access_review: %s\n" % e) ``` ### Parameters @@ -2559,16 +2815,16 @@ except ApiException as e: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **namespace** | **str**| object name and auth scope, such as for teams and projects | - **body** | [**V1PolicyBinding**](V1PolicyBinding.md)| | + **body** | [**V1ResourceAccessReview**](V1ResourceAccessReview.md)| | **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] ### Return type -[**V1PolicyBinding**](V1PolicyBinding.md) +[**V1ResourceAccessReview**](V1ResourceAccessReview.md) ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -2577,12 +2833,12 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **create_namespaced_processed_template** -> V1Template create_namespaced_processed_template(body, namespace, pretty=pretty) +# **create_namespaced_role** +> V1Role create_namespaced_role(namespace, body, pretty=pretty) -create a Template +create a Role ### Example ```python @@ -2592,34 +2848,43 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.OapiApi() -body = openshift.client.V1Template() # V1Template | namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects +body = openshift.client.V1Role() # V1Role | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) try: - api_response = api_instance.create_namespaced_processed_template(body, namespace, pretty=pretty) + api_response = api_instance.create_namespaced_role(namespace, body, pretty=pretty) pprint(api_response) except ApiException as e: - print("Exception when calling OapiApi->create_namespaced_processed_template: %s\n" % e) + print("Exception when calling OapiApi->create_namespaced_role: %s\n" % e) ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **body** | [**V1Template**](V1Template.md)| | **namespace** | **str**| object name and auth scope, such as for teams and projects | + **body** | [**V1Role**](V1Role.md)| | **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] ### Return type -[**V1Template**](V1Template.md) +[**V1Role**](V1Role.md) ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -2628,12 +2893,12 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **create_namespaced_resource_access_review** -> V1ResourceAccessReview create_namespaced_resource_access_review(body, namespace, pretty=pretty) +# **create_namespaced_role_binding** +> V1RoleBinding create_namespaced_role_binding(namespace, body, pretty=pretty) -create a ResourceAccessReview +create a RoleBinding ### Example ```python @@ -2643,34 +2908,43 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.OapiApi() -body = openshift.client.V1ResourceAccessReview() # V1ResourceAccessReview | namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects +body = openshift.client.V1RoleBinding() # V1RoleBinding | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) try: - api_response = api_instance.create_namespaced_resource_access_review(body, namespace, pretty=pretty) + api_response = api_instance.create_namespaced_role_binding(namespace, body, pretty=pretty) pprint(api_response) except ApiException as e: - print("Exception when calling OapiApi->create_namespaced_resource_access_review: %s\n" % e) + print("Exception when calling OapiApi->create_namespaced_role_binding: %s\n" % e) ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **body** | [**V1ResourceAccessReview**](V1ResourceAccessReview.md)| | **namespace** | **str**| object name and auth scope, such as for teams and projects | + **body** | [**V1RoleBinding**](V1RoleBinding.md)| | **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] ### Return type -[**V1ResourceAccessReview**](V1ResourceAccessReview.md) +[**V1RoleBinding**](V1RoleBinding.md) ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -2679,12 +2953,12 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **create_namespaced_role** -> V1Role create_namespaced_role(namespace, body, pretty=pretty) +# **create_namespaced_role_binding_restriction** +> V1RoleBindingRestriction create_namespaced_role_binding_restriction(namespace, body, pretty=pretty) -create a Role +create a RoleBindingRestriction ### Example ```python @@ -2694,17 +2968,26 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.OapiApi() namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = openshift.client.V1Role() # V1Role | +body = openshift.client.V1RoleBindingRestriction() # V1RoleBindingRestriction | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) try: - api_response = api_instance.create_namespaced_role(namespace, body, pretty=pretty) + api_response = api_instance.create_namespaced_role_binding_restriction(namespace, body, pretty=pretty) pprint(api_response) except ApiException as e: - print("Exception when calling OapiApi->create_namespaced_role: %s\n" % e) + print("Exception when calling OapiApi->create_namespaced_role_binding_restriction: %s\n" % e) ``` ### Parameters @@ -2712,16 +2995,16 @@ except ApiException as e: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **namespace** | **str**| object name and auth scope, such as for teams and projects | - **body** | [**V1Role**](V1Role.md)| | + **body** | [**V1RoleBindingRestriction**](V1RoleBindingRestriction.md)| | **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] ### Return type -[**V1Role**](V1Role.md) +[**V1RoleBindingRestriction**](V1RoleBindingRestriction.md) ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -2730,12 +3013,12 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **create_namespaced_role_binding** -> V1RoleBinding create_namespaced_role_binding(namespace, body, pretty=pretty) +# **create_namespaced_route** +> V1Route create_namespaced_route(namespace, body, pretty=pretty) -create a RoleBinding +create a Route ### Example ```python @@ -2745,17 +3028,26 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.OapiApi() namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = openshift.client.V1RoleBinding() # V1RoleBinding | +body = openshift.client.V1Route() # V1Route | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) try: - api_response = api_instance.create_namespaced_role_binding(namespace, body, pretty=pretty) + api_response = api_instance.create_namespaced_route(namespace, body, pretty=pretty) pprint(api_response) except ApiException as e: - print("Exception when calling OapiApi->create_namespaced_role_binding: %s\n" % e) + print("Exception when calling OapiApi->create_namespaced_route: %s\n" % e) ``` ### Parameters @@ -2763,118 +3055,16 @@ except ApiException as e: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **namespace** | **str**| object name and auth scope, such as for teams and projects | - **body** | [**V1RoleBinding**](V1RoleBinding.md)| | + **body** | [**V1Route**](V1Route.md)| | **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] ### Return type -[**V1RoleBinding**](V1RoleBinding.md) +[**V1Route**](V1Route.md) ### Authorization -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **create_namespaced_role_binding_restriction** -> V1RoleBindingRestriction create_namespaced_role_binding_restriction(namespace, body, pretty=pretty) - - - -create a RoleBindingRestriction - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.OapiApi() -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = openshift.client.V1RoleBindingRestriction() # V1RoleBindingRestriction | -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) - -try: - api_response = api_instance.create_namespaced_role_binding_restriction(namespace, body, pretty=pretty) - pprint(api_response) -except ApiException as e: - print("Exception when calling OapiApi->create_namespaced_role_binding_restriction: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **namespace** | **str**| object name and auth scope, such as for teams and projects | - **body** | [**V1RoleBindingRestriction**](V1RoleBindingRestriction.md)| | - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - -### Return type - -[**V1RoleBindingRestriction**](V1RoleBindingRestriction.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **create_namespaced_route** -> V1Route create_namespaced_route(namespace, body, pretty=pretty) - - - -create a Route - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.OapiApi() -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = openshift.client.V1Route() # V1Route | -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) - -try: - api_response = api_instance.create_namespaced_route(namespace, body, pretty=pretty) - pprint(api_response) -except ApiException as e: - print("Exception when calling OapiApi->create_namespaced_route: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **namespace** | **str**| object name and auth scope, such as for teams and projects | - **body** | [**V1Route**](V1Route.md)| | - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - -### Return type - -[**V1Route**](V1Route.md) - -### Authorization - -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -2884,7 +3074,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **create_namespaced_self_subject_rules_review** -> V1SelfSubjectRulesReview create_namespaced_self_subject_rules_review(body, namespace, pretty=pretty) +> V1SelfSubjectRulesReview create_namespaced_self_subject_rules_review(namespace, body, pretty=pretty) @@ -2898,14 +3088,23 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.OapiApi() -body = openshift.client.V1SelfSubjectRulesReview() # V1SelfSubjectRulesReview | namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects +body = openshift.client.V1SelfSubjectRulesReview() # V1SelfSubjectRulesReview | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) try: - api_response = api_instance.create_namespaced_self_subject_rules_review(body, namespace, pretty=pretty) + api_response = api_instance.create_namespaced_self_subject_rules_review(namespace, body, pretty=pretty) pprint(api_response) except ApiException as e: print("Exception when calling OapiApi->create_namespaced_self_subject_rules_review: %s\n" % e) @@ -2915,8 +3114,8 @@ except ApiException as e: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **body** | [**V1SelfSubjectRulesReview**](V1SelfSubjectRulesReview.md)| | **namespace** | **str**| object name and auth scope, such as for teams and projects | + **body** | [**V1SelfSubjectRulesReview**](V1SelfSubjectRulesReview.md)| | **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] ### Return type @@ -2925,7 +3124,7 @@ Name | Type | Description | Notes ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -2935,7 +3134,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **create_namespaced_subject_access_review** -> V1SubjectAccessReview create_namespaced_subject_access_review(body, namespace, pretty=pretty) +> V1SubjectAccessReview create_namespaced_subject_access_review(namespace, body, pretty=pretty) @@ -2949,14 +3148,23 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.OapiApi() -body = openshift.client.V1SubjectAccessReview() # V1SubjectAccessReview | namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects +body = openshift.client.V1SubjectAccessReview() # V1SubjectAccessReview | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) try: - api_response = api_instance.create_namespaced_subject_access_review(body, namespace, pretty=pretty) + api_response = api_instance.create_namespaced_subject_access_review(namespace, body, pretty=pretty) pprint(api_response) except ApiException as e: print("Exception when calling OapiApi->create_namespaced_subject_access_review: %s\n" % e) @@ -2966,8 +3174,8 @@ except ApiException as e: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **body** | [**V1SubjectAccessReview**](V1SubjectAccessReview.md)| | **namespace** | **str**| object name and auth scope, such as for teams and projects | + **body** | [**V1SubjectAccessReview**](V1SubjectAccessReview.md)| | **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] ### Return type @@ -2976,7 +3184,7 @@ Name | Type | Description | Notes ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -2986,7 +3194,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **create_namespaced_subject_rules_review** -> V1SubjectRulesReview create_namespaced_subject_rules_review(body, namespace, pretty=pretty) +> V1SubjectRulesReview create_namespaced_subject_rules_review(namespace, body, pretty=pretty) @@ -3000,14 +3208,23 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.OapiApi() -body = openshift.client.V1SubjectRulesReview() # V1SubjectRulesReview | namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects +body = openshift.client.V1SubjectRulesReview() # V1SubjectRulesReview | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) try: - api_response = api_instance.create_namespaced_subject_rules_review(body, namespace, pretty=pretty) + api_response = api_instance.create_namespaced_subject_rules_review(namespace, body, pretty=pretty) pprint(api_response) except ApiException as e: print("Exception when calling OapiApi->create_namespaced_subject_rules_review: %s\n" % e) @@ -3017,8 +3234,8 @@ except ApiException as e: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **body** | [**V1SubjectRulesReview**](V1SubjectRulesReview.md)| | **namespace** | **str**| object name and auth scope, such as for teams and projects | + **body** | [**V1SubjectRulesReview**](V1SubjectRulesReview.md)| | **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] ### Return type @@ -3027,7 +3244,7 @@ Name | Type | Description | Notes ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -3051,6 +3268,15 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.OapiApi() namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects @@ -3078,7 +3304,7 @@ Name | Type | Description | Notes ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -3102,6 +3328,15 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.OapiApi() body = openshift.client.V1NetNamespace() # V1NetNamespace | @@ -3127,7 +3362,7 @@ Name | Type | Description | Notes ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -3151,6 +3386,15 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.OapiApi() body = openshift.client.V1OAuthAccessToken() # V1OAuthAccessToken | @@ -3176,7 +3420,7 @@ Name | Type | Description | Notes ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -3200,6 +3444,15 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.OapiApi() body = openshift.client.V1OAuthAuthorizeToken() # V1OAuthAuthorizeToken | @@ -3225,7 +3478,7 @@ Name | Type | Description | Notes ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -3249,6 +3502,15 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.OapiApi() body = openshift.client.V1OAuthClient() # V1OAuthClient | @@ -3274,7 +3536,7 @@ Name | Type | Description | Notes ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -3298,6 +3560,15 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.OapiApi() body = openshift.client.V1OAuthClientAuthorization() # V1OAuthClientAuthorization | @@ -3323,7 +3594,7 @@ Name | Type | Description | Notes ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -3347,6 +3618,15 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.OapiApi() body = openshift.client.V1PodSecurityPolicyReview() # V1PodSecurityPolicyReview | @@ -3372,7 +3652,7 @@ Name | Type | Description | Notes ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -3396,6 +3676,15 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.OapiApi() body = openshift.client.V1PodSecurityPolicySelfSubjectReview() # V1PodSecurityPolicySelfSubjectReview | @@ -3421,7 +3710,7 @@ Name | Type | Description | Notes ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -3445,6 +3734,15 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.OapiApi() body = openshift.client.V1PodSecurityPolicySubjectReview() # V1PodSecurityPolicySubjectReview | @@ -3470,105 +3768,7 @@ Name | Type | Description | Notes ### Authorization -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **create_policy_binding_for_all_namespaces** -> V1PolicyBinding create_policy_binding_for_all_namespaces(body, pretty=pretty) - - - -create a PolicyBinding - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.OapiApi() -body = openshift.client.V1PolicyBinding() # V1PolicyBinding | -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) - -try: - api_response = api_instance.create_policy_binding_for_all_namespaces(body, pretty=pretty) - pprint(api_response) -except ApiException as e: - print("Exception when calling OapiApi->create_policy_binding_for_all_namespaces: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **body** | [**V1PolicyBinding**](V1PolicyBinding.md)| | - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - -### Return type - -[**V1PolicyBinding**](V1PolicyBinding.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **create_policy_for_all_namespaces** -> V1Policy create_policy_for_all_namespaces(body, pretty=pretty) - - - -create a Policy - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.OapiApi() -body = openshift.client.V1Policy() # V1Policy | -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) - -try: - api_response = api_instance.create_policy_for_all_namespaces(body, pretty=pretty) - pprint(api_response) -except ApiException as e: - print("Exception when calling OapiApi->create_policy_for_all_namespaces: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **body** | [**V1Policy**](V1Policy.md)| | - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - -### Return type - -[**V1Policy**](V1Policy.md) - -### Authorization - -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -3592,6 +3792,15 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.OapiApi() body = openshift.client.V1Template() # V1Template | @@ -3617,7 +3826,7 @@ Name | Type | Description | Notes ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -3641,6 +3850,15 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.OapiApi() body = openshift.client.V1Project() # V1Project | @@ -3666,7 +3884,7 @@ Name | Type | Description | Notes ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -3690,6 +3908,15 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.OapiApi() body = openshift.client.V1ProjectRequest() # V1ProjectRequest | @@ -3715,7 +3942,7 @@ Name | Type | Description | Notes ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -3739,6 +3966,15 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.OapiApi() body = openshift.client.V1ResourceAccessReview() # V1ResourceAccessReview | @@ -3764,7 +4000,7 @@ Name | Type | Description | Notes ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -3788,6 +4024,15 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.OapiApi() body = openshift.client.V1RoleBinding() # V1RoleBinding | @@ -3813,7 +4058,7 @@ Name | Type | Description | Notes ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -3837,6 +4082,15 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.OapiApi() body = openshift.client.V1RoleBindingRestriction() # V1RoleBindingRestriction | @@ -3862,7 +4116,7 @@ Name | Type | Description | Notes ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -3886,6 +4140,15 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.OapiApi() body = openshift.client.V1Role() # V1Role | @@ -3911,7 +4174,7 @@ Name | Type | Description | Notes ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -3935,6 +4198,15 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.OapiApi() body = openshift.client.V1Route() # V1Route | @@ -3960,7 +4232,7 @@ Name | Type | Description | Notes ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -3984,6 +4256,15 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.OapiApi() body = openshift.client.V1SelfSubjectRulesReview() # V1SelfSubjectRulesReview | @@ -4009,7 +4290,7 @@ Name | Type | Description | Notes ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -4033,6 +4314,15 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.OapiApi() body = openshift.client.V1SubjectAccessReview() # V1SubjectAccessReview | @@ -4058,7 +4348,7 @@ Name | Type | Description | Notes ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -4082,6 +4372,15 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.OapiApi() body = openshift.client.V1SubjectRulesReview() # V1SubjectRulesReview | @@ -4107,7 +4406,7 @@ Name | Type | Description | Notes ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -4131,6 +4430,15 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.OapiApi() body = openshift.client.V1Template() # V1Template | @@ -4156,7 +4464,7 @@ Name | Type | Description | Notes ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -4180,6 +4488,15 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.OapiApi() body = openshift.client.V1User() # V1User | @@ -4205,7 +4522,7 @@ Name | Type | Description | Notes ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -4229,6 +4546,15 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.OapiApi() body = openshift.client.V1UserIdentityMapping() # V1UserIdentityMapping | @@ -4254,7 +4580,7 @@ Name | Type | Description | Notes ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -4264,7 +4590,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **delete_cluster_network** -> UnversionedStatus delete_cluster_network(name, body, pretty=pretty, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents) +> V1Status delete_cluster_network(name, body, pretty=pretty, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) @@ -4278,16 +4604,26 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.OapiApi() name = 'name_example' # str | name of the ClusterNetwork body = openshift.client.V1DeleteOptions() # V1DeleteOptions | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) grace_period_seconds = 56 # int | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) -orphan_dependents = true # bool | Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. (optional) +orphan_dependents = true # bool | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) +propagation_policy = 'propagation_policy_example' # str | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. (optional) try: - api_response = api_instance.delete_cluster_network(name, body, pretty=pretty, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents) + api_response = api_instance.delete_cluster_network(name, body, pretty=pretty, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) pprint(api_response) except ApiException as e: print("Exception when calling OapiApi->delete_cluster_network: %s\n" % e) @@ -4301,15 +4637,16 @@ Name | Type | Description | Notes **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | **pretty** | **str**| If 'true', then the output is pretty printed. | [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] - **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] + **orphan_dependents** | **bool**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional] + **propagation_policy** | **str**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. | [optional] ### Return type -[**UnversionedStatus**](UnversionedStatus.md) +[**V1Status**](V1Status.md) ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -4318,12 +4655,12 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **delete_cluster_policy** -> UnversionedStatus delete_cluster_policy(name, body, pretty=pretty, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents) +# **delete_cluster_resource_quota** +> V1Status delete_cluster_resource_quota(name, body, pretty=pretty, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) -delete a ClusterPolicy +delete a ClusterResourceQuota ### Example ```python @@ -4333,38 +4670,49 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.OapiApi() -name = 'name_example' # str | name of the ClusterPolicy +name = 'name_example' # str | name of the ClusterResourceQuota body = openshift.client.V1DeleteOptions() # V1DeleteOptions | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) grace_period_seconds = 56 # int | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) -orphan_dependents = true # bool | Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. (optional) +orphan_dependents = true # bool | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) +propagation_policy = 'propagation_policy_example' # str | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. (optional) try: - api_response = api_instance.delete_cluster_policy(name, body, pretty=pretty, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents) + api_response = api_instance.delete_cluster_resource_quota(name, body, pretty=pretty, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) pprint(api_response) except ApiException as e: - print("Exception when calling OapiApi->delete_cluster_policy: %s\n" % e) + print("Exception when calling OapiApi->delete_cluster_resource_quota: %s\n" % e) ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the ClusterPolicy | + **name** | **str**| name of the ClusterResourceQuota | **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | **pretty** | **str**| If 'true', then the output is pretty printed. | [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] - **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] + **orphan_dependents** | **bool**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional] + **propagation_policy** | **str**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. | [optional] ### Return type -[**UnversionedStatus**](UnversionedStatus.md) +[**V1Status**](V1Status.md) ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -4373,12 +4721,12 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **delete_cluster_policy_binding** -> UnversionedStatus delete_cluster_policy_binding(name, body, pretty=pretty, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents) +# **delete_cluster_role** +> V1Status delete_cluster_role(name, body, pretty=pretty, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) -delete a ClusterPolicyBinding +delete a ClusterRole ### Example ```python @@ -4388,38 +4736,49 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.OapiApi() -name = 'name_example' # str | name of the ClusterPolicyBinding +name = 'name_example' # str | name of the ClusterRole body = openshift.client.V1DeleteOptions() # V1DeleteOptions | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) grace_period_seconds = 56 # int | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) -orphan_dependents = true # bool | Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. (optional) +orphan_dependents = true # bool | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) +propagation_policy = 'propagation_policy_example' # str | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. (optional) try: - api_response = api_instance.delete_cluster_policy_binding(name, body, pretty=pretty, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents) + api_response = api_instance.delete_cluster_role(name, body, pretty=pretty, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) pprint(api_response) except ApiException as e: - print("Exception when calling OapiApi->delete_cluster_policy_binding: %s\n" % e) + print("Exception when calling OapiApi->delete_cluster_role: %s\n" % e) ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the ClusterPolicyBinding | + **name** | **str**| name of the ClusterRole | **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | **pretty** | **str**| If 'true', then the output is pretty printed. | [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] - **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] + **orphan_dependents** | **bool**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional] + **propagation_policy** | **str**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. | [optional] ### Return type -[**UnversionedStatus**](UnversionedStatus.md) +[**V1Status**](V1Status.md) ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -4428,12 +4787,12 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **delete_cluster_resource_quota** -> UnversionedStatus delete_cluster_resource_quota(name, body, pretty=pretty, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents) +# **delete_cluster_role_binding** +> V1Status delete_cluster_role_binding(name, body, pretty=pretty, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) -delete a ClusterResourceQuota +delete a ClusterRoleBinding ### Example ```python @@ -4443,38 +4802,49 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.OapiApi() -name = 'name_example' # str | name of the ClusterResourceQuota +name = 'name_example' # str | name of the ClusterRoleBinding body = openshift.client.V1DeleteOptions() # V1DeleteOptions | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) grace_period_seconds = 56 # int | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) -orphan_dependents = true # bool | Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. (optional) +orphan_dependents = true # bool | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) +propagation_policy = 'propagation_policy_example' # str | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. (optional) try: - api_response = api_instance.delete_cluster_resource_quota(name, body, pretty=pretty, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents) + api_response = api_instance.delete_cluster_role_binding(name, body, pretty=pretty, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) pprint(api_response) except ApiException as e: - print("Exception when calling OapiApi->delete_cluster_resource_quota: %s\n" % e) + print("Exception when calling OapiApi->delete_cluster_role_binding: %s\n" % e) ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the ClusterResourceQuota | + **name** | **str**| name of the ClusterRoleBinding | **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | **pretty** | **str**| If 'true', then the output is pretty printed. | [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] - **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] + **orphan_dependents** | **bool**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional] + **propagation_policy** | **str**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. | [optional] ### Return type -[**UnversionedStatus**](UnversionedStatus.md) +[**V1Status**](V1Status.md) ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -4483,12 +4853,12 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **delete_cluster_role** -> UnversionedStatus delete_cluster_role(name, body, pretty=pretty, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents) +# **delete_collection_cluster_network** +> V1Status delete_collection_cluster_network(pretty=pretty, field_selector=field_selector, include_uninitialized=include_uninitialized, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) -delete a ClusterRole +delete collection of ClusterNetwork ### Example ```python @@ -4498,38 +4868,51 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.OapiApi() -name = 'name_example' # str | name of the ClusterRole -body = openshift.client.V1DeleteOptions() # V1DeleteOptions | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) -grace_period_seconds = 56 # int | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) -orphan_dependents = true # bool | Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. (optional) +field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) +include_uninitialized = true # bool | If true, partially initialized resources are included in the response. (optional) +label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) +resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) +timeout_seconds = 56 # int | Timeout for the list/watch call. (optional) +watch = true # bool | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) try: - api_response = api_instance.delete_cluster_role(name, body, pretty=pretty, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents) + api_response = api_instance.delete_collection_cluster_network(pretty=pretty, field_selector=field_selector, include_uninitialized=include_uninitialized, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) pprint(api_response) except ApiException as e: - print("Exception when calling OapiApi->delete_cluster_role: %s\n" % e) + print("Exception when calling OapiApi->delete_collection_cluster_network: %s\n" % e) ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the ClusterRole | - **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | **pretty** | **str**| If 'true', then the output is pretty printed. | [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] - **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] + **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] + **include_uninitialized** | **bool**| If true, partially initialized resources are included in the response. | [optional] + **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] + **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] + **timeout_seconds** | **int**| Timeout for the list/watch call. | [optional] + **watch** | **bool**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] ### Return type -[**UnversionedStatus**](UnversionedStatus.md) +[**V1Status**](V1Status.md) ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -4538,12 +4921,12 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **delete_cluster_role_binding** -> UnversionedStatus delete_cluster_role_binding(name, body, pretty=pretty, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents) +# **delete_collection_cluster_resource_quota** +> V1Status delete_collection_cluster_resource_quota(pretty=pretty, field_selector=field_selector, include_uninitialized=include_uninitialized, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) -delete a ClusterRoleBinding +delete collection of ClusterResourceQuota ### Example ```python @@ -4553,38 +4936,51 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.OapiApi() -name = 'name_example' # str | name of the ClusterRoleBinding -body = openshift.client.V1DeleteOptions() # V1DeleteOptions | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) -grace_period_seconds = 56 # int | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) -orphan_dependents = true # bool | Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. (optional) +field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) +include_uninitialized = true # bool | If true, partially initialized resources are included in the response. (optional) +label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) +resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) +timeout_seconds = 56 # int | Timeout for the list/watch call. (optional) +watch = true # bool | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) try: - api_response = api_instance.delete_cluster_role_binding(name, body, pretty=pretty, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents) + api_response = api_instance.delete_collection_cluster_resource_quota(pretty=pretty, field_selector=field_selector, include_uninitialized=include_uninitialized, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) pprint(api_response) except ApiException as e: - print("Exception when calling OapiApi->delete_cluster_role_binding: %s\n" % e) + print("Exception when calling OapiApi->delete_collection_cluster_resource_quota: %s\n" % e) ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the ClusterRoleBinding | - **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | **pretty** | **str**| If 'true', then the output is pretty printed. | [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] - **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] + **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] + **include_uninitialized** | **bool**| If true, partially initialized resources are included in the response. | [optional] + **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] + **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] + **timeout_seconds** | **int**| Timeout for the list/watch call. | [optional] + **watch** | **bool**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] ### Return type -[**UnversionedStatus**](UnversionedStatus.md) +[**V1Status**](V1Status.md) ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -4593,12 +4989,12 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **delete_collection_cluster_network** -> UnversionedStatus delete_collection_cluster_network(pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) +# **delete_collection_group** +> V1Status delete_collection_group(pretty=pretty, field_selector=field_selector, include_uninitialized=include_uninitialized, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) -delete collection of ClusterNetwork +delete collection of Group ### Example ```python @@ -4608,20 +5004,30 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.OapiApi() pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) +include_uninitialized = true # bool | If true, partially initialized resources are included in the response. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. (optional) +resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) timeout_seconds = 56 # int | Timeout for the list/watch call. (optional) watch = true # bool | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) try: - api_response = api_instance.delete_collection_cluster_network(pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) + api_response = api_instance.delete_collection_group(pretty=pretty, field_selector=field_selector, include_uninitialized=include_uninitialized, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) pprint(api_response) except ApiException as e: - print("Exception when calling OapiApi->delete_collection_cluster_network: %s\n" % e) + print("Exception when calling OapiApi->delete_collection_group: %s\n" % e) ``` ### Parameters @@ -4630,18 +5036,19 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] + **include_uninitialized** | **bool**| If true, partially initialized resources are included in the response. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. | [optional] + **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] **timeout_seconds** | **int**| Timeout for the list/watch call. | [optional] **watch** | **bool**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] ### Return type -[**UnversionedStatus**](UnversionedStatus.md) +[**V1Status**](V1Status.md) ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -4650,12 +5057,12 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **delete_collection_cluster_policy** -> UnversionedStatus delete_collection_cluster_policy(pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) +# **delete_collection_host_subnet** +> V1Status delete_collection_host_subnet(pretty=pretty, field_selector=field_selector, include_uninitialized=include_uninitialized, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) -delete collection of ClusterPolicy +delete collection of HostSubnet ### Example ```python @@ -4665,20 +5072,30 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.OapiApi() pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) +include_uninitialized = true # bool | If true, partially initialized resources are included in the response. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. (optional) +resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) timeout_seconds = 56 # int | Timeout for the list/watch call. (optional) watch = true # bool | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) try: - api_response = api_instance.delete_collection_cluster_policy(pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) + api_response = api_instance.delete_collection_host_subnet(pretty=pretty, field_selector=field_selector, include_uninitialized=include_uninitialized, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) pprint(api_response) except ApiException as e: - print("Exception when calling OapiApi->delete_collection_cluster_policy: %s\n" % e) + print("Exception when calling OapiApi->delete_collection_host_subnet: %s\n" % e) ``` ### Parameters @@ -4687,18 +5104,19 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] + **include_uninitialized** | **bool**| If true, partially initialized resources are included in the response. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. | [optional] + **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] **timeout_seconds** | **int**| Timeout for the list/watch call. | [optional] **watch** | **bool**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] ### Return type -[**UnversionedStatus**](UnversionedStatus.md) +[**V1Status**](V1Status.md) ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -4707,12 +5125,12 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **delete_collection_cluster_policy_binding** -> UnversionedStatus delete_collection_cluster_policy_binding(pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) +# **delete_collection_identity** +> V1Status delete_collection_identity(pretty=pretty, field_selector=field_selector, include_uninitialized=include_uninitialized, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) -delete collection of ClusterPolicyBinding +delete collection of Identity ### Example ```python @@ -4722,20 +5140,30 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.OapiApi() pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) +include_uninitialized = true # bool | If true, partially initialized resources are included in the response. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. (optional) +resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) timeout_seconds = 56 # int | Timeout for the list/watch call. (optional) watch = true # bool | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) try: - api_response = api_instance.delete_collection_cluster_policy_binding(pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) + api_response = api_instance.delete_collection_identity(pretty=pretty, field_selector=field_selector, include_uninitialized=include_uninitialized, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) pprint(api_response) except ApiException as e: - print("Exception when calling OapiApi->delete_collection_cluster_policy_binding: %s\n" % e) + print("Exception when calling OapiApi->delete_collection_identity: %s\n" % e) ``` ### Parameters @@ -4744,18 +5172,19 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] + **include_uninitialized** | **bool**| If true, partially initialized resources are included in the response. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. | [optional] + **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] **timeout_seconds** | **int**| Timeout for the list/watch call. | [optional] **watch** | **bool**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] ### Return type -[**UnversionedStatus**](UnversionedStatus.md) +[**V1Status**](V1Status.md) ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -4764,12 +5193,12 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **delete_collection_cluster_resource_quota** -> UnversionedStatus delete_collection_cluster_resource_quota(pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) +# **delete_collection_image** +> V1Status delete_collection_image(pretty=pretty, field_selector=field_selector, include_uninitialized=include_uninitialized, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) -delete collection of ClusterResourceQuota +delete collection of Image ### Example ```python @@ -4779,20 +5208,30 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.OapiApi() pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) +include_uninitialized = true # bool | If true, partially initialized resources are included in the response. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. (optional) +resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) timeout_seconds = 56 # int | Timeout for the list/watch call. (optional) watch = true # bool | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) try: - api_response = api_instance.delete_collection_cluster_resource_quota(pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) + api_response = api_instance.delete_collection_image(pretty=pretty, field_selector=field_selector, include_uninitialized=include_uninitialized, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) pprint(api_response) except ApiException as e: - print("Exception when calling OapiApi->delete_collection_cluster_resource_quota: %s\n" % e) + print("Exception when calling OapiApi->delete_collection_image: %s\n" % e) ``` ### Parameters @@ -4801,18 +5240,19 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] + **include_uninitialized** | **bool**| If true, partially initialized resources are included in the response. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. | [optional] + **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] **timeout_seconds** | **int**| Timeout for the list/watch call. | [optional] **watch** | **bool**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] ### Return type -[**UnversionedStatus**](UnversionedStatus.md) +[**V1Status**](V1Status.md) ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -4821,12 +5261,12 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **delete_collection_group** -> UnversionedStatus delete_collection_group(pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) +# **delete_collection_namespaced_build** +> V1Status delete_collection_namespaced_build(namespace, pretty=pretty, field_selector=field_selector, include_uninitialized=include_uninitialized, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) -delete collection of Group +delete collection of Build ### Example ```python @@ -4836,40 +5276,53 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.OapiApi() +namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) +include_uninitialized = true # bool | If true, partially initialized resources are included in the response. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. (optional) +resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) timeout_seconds = 56 # int | Timeout for the list/watch call. (optional) watch = true # bool | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) try: - api_response = api_instance.delete_collection_group(pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) + api_response = api_instance.delete_collection_namespaced_build(namespace, pretty=pretty, field_selector=field_selector, include_uninitialized=include_uninitialized, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) pprint(api_response) except ApiException as e: - print("Exception when calling OapiApi->delete_collection_group: %s\n" % e) + print("Exception when calling OapiApi->delete_collection_namespaced_build: %s\n" % e) ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- + **namespace** | **str**| object name and auth scope, such as for teams and projects | **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] + **include_uninitialized** | **bool**| If true, partially initialized resources are included in the response. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. | [optional] + **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] **timeout_seconds** | **int**| Timeout for the list/watch call. | [optional] **watch** | **bool**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] ### Return type -[**UnversionedStatus**](UnversionedStatus.md) +[**V1Status**](V1Status.md) ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -4878,12 +5331,12 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **delete_collection_host_subnet** -> UnversionedStatus delete_collection_host_subnet(pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) +# **delete_collection_namespaced_build_config** +> V1Status delete_collection_namespaced_build_config(namespace, pretty=pretty, field_selector=field_selector, include_uninitialized=include_uninitialized, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) -delete collection of HostSubnet +delete collection of BuildConfig ### Example ```python @@ -4893,40 +5346,53 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.OapiApi() +namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) +include_uninitialized = true # bool | If true, partially initialized resources are included in the response. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. (optional) +resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) timeout_seconds = 56 # int | Timeout for the list/watch call. (optional) watch = true # bool | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) try: - api_response = api_instance.delete_collection_host_subnet(pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) + api_response = api_instance.delete_collection_namespaced_build_config(namespace, pretty=pretty, field_selector=field_selector, include_uninitialized=include_uninitialized, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) pprint(api_response) except ApiException as e: - print("Exception when calling OapiApi->delete_collection_host_subnet: %s\n" % e) + print("Exception when calling OapiApi->delete_collection_namespaced_build_config: %s\n" % e) ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- + **namespace** | **str**| object name and auth scope, such as for teams and projects | **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] + **include_uninitialized** | **bool**| If true, partially initialized resources are included in the response. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. | [optional] + **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] **timeout_seconds** | **int**| Timeout for the list/watch call. | [optional] **watch** | **bool**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] ### Return type -[**UnversionedStatus**](UnversionedStatus.md) +[**V1Status**](V1Status.md) ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -4935,12 +5401,12 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **delete_collection_identity** -> UnversionedStatus delete_collection_identity(pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) +# **delete_collection_namespaced_deployment_config** +> V1Status delete_collection_namespaced_deployment_config(namespace, pretty=pretty, field_selector=field_selector, include_uninitialized=include_uninitialized, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) -delete collection of Identity +delete collection of DeploymentConfig ### Example ```python @@ -4950,40 +5416,53 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.OapiApi() +namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) +include_uninitialized = true # bool | If true, partially initialized resources are included in the response. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. (optional) +resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) timeout_seconds = 56 # int | Timeout for the list/watch call. (optional) watch = true # bool | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) try: - api_response = api_instance.delete_collection_identity(pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) + api_response = api_instance.delete_collection_namespaced_deployment_config(namespace, pretty=pretty, field_selector=field_selector, include_uninitialized=include_uninitialized, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) pprint(api_response) except ApiException as e: - print("Exception when calling OapiApi->delete_collection_identity: %s\n" % e) + print("Exception when calling OapiApi->delete_collection_namespaced_deployment_config: %s\n" % e) ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- + **namespace** | **str**| object name and auth scope, such as for teams and projects | **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] + **include_uninitialized** | **bool**| If true, partially initialized resources are included in the response. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. | [optional] + **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] **timeout_seconds** | **int**| Timeout for the list/watch call. | [optional] **watch** | **bool**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] ### Return type -[**UnversionedStatus**](UnversionedStatus.md) +[**V1Status**](V1Status.md) ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -4992,12 +5471,12 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **delete_collection_image** -> UnversionedStatus delete_collection_image(pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) +# **delete_collection_namespaced_egress_network_policy** +> V1Status delete_collection_namespaced_egress_network_policy(namespace, pretty=pretty, field_selector=field_selector, include_uninitialized=include_uninitialized, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) -delete collection of Image +delete collection of EgressNetworkPolicy ### Example ```python @@ -5007,40 +5486,53 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.OapiApi() +namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) +include_uninitialized = true # bool | If true, partially initialized resources are included in the response. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. (optional) +resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) timeout_seconds = 56 # int | Timeout for the list/watch call. (optional) watch = true # bool | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) try: - api_response = api_instance.delete_collection_image(pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) + api_response = api_instance.delete_collection_namespaced_egress_network_policy(namespace, pretty=pretty, field_selector=field_selector, include_uninitialized=include_uninitialized, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) pprint(api_response) except ApiException as e: - print("Exception when calling OapiApi->delete_collection_image: %s\n" % e) + print("Exception when calling OapiApi->delete_collection_namespaced_egress_network_policy: %s\n" % e) ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- + **namespace** | **str**| object name and auth scope, such as for teams and projects | **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] + **include_uninitialized** | **bool**| If true, partially initialized resources are included in the response. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. | [optional] + **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] **timeout_seconds** | **int**| Timeout for the list/watch call. | [optional] **watch** | **bool**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] ### Return type -[**UnversionedStatus**](UnversionedStatus.md) +[**V1Status**](V1Status.md) ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -5049,12 +5541,12 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **delete_collection_namespaced_build** -> UnversionedStatus delete_collection_namespaced_build(namespace, pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) +# **delete_collection_namespaced_image_stream** +> V1Status delete_collection_namespaced_image_stream(namespace, pretty=pretty, field_selector=field_selector, include_uninitialized=include_uninitialized, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) -delete collection of Build +delete collection of ImageStream ### Example ```python @@ -5064,21 +5556,31 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.OapiApi() namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) +include_uninitialized = true # bool | If true, partially initialized resources are included in the response. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. (optional) +resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) timeout_seconds = 56 # int | Timeout for the list/watch call. (optional) watch = true # bool | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) try: - api_response = api_instance.delete_collection_namespaced_build(namespace, pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) + api_response = api_instance.delete_collection_namespaced_image_stream(namespace, pretty=pretty, field_selector=field_selector, include_uninitialized=include_uninitialized, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) pprint(api_response) except ApiException as e: - print("Exception when calling OapiApi->delete_collection_namespaced_build: %s\n" % e) + print("Exception when calling OapiApi->delete_collection_namespaced_image_stream: %s\n" % e) ``` ### Parameters @@ -5088,18 +5590,19 @@ Name | Type | Description | Notes **namespace** | **str**| object name and auth scope, such as for teams and projects | **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] + **include_uninitialized** | **bool**| If true, partially initialized resources are included in the response. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. | [optional] + **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] **timeout_seconds** | **int**| Timeout for the list/watch call. | [optional] **watch** | **bool**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] ### Return type -[**UnversionedStatus**](UnversionedStatus.md) +[**V1Status**](V1Status.md) ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -5108,12 +5611,12 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **delete_collection_namespaced_build_config** -> UnversionedStatus delete_collection_namespaced_build_config(namespace, pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) +# **delete_collection_namespaced_role_binding_restriction** +> V1Status delete_collection_namespaced_role_binding_restriction(namespace, pretty=pretty, field_selector=field_selector, include_uninitialized=include_uninitialized, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) -delete collection of BuildConfig +delete collection of RoleBindingRestriction ### Example ```python @@ -5123,21 +5626,31 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.OapiApi() namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) +include_uninitialized = true # bool | If true, partially initialized resources are included in the response. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. (optional) +resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) timeout_seconds = 56 # int | Timeout for the list/watch call. (optional) watch = true # bool | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) try: - api_response = api_instance.delete_collection_namespaced_build_config(namespace, pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) + api_response = api_instance.delete_collection_namespaced_role_binding_restriction(namespace, pretty=pretty, field_selector=field_selector, include_uninitialized=include_uninitialized, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) pprint(api_response) except ApiException as e: - print("Exception when calling OapiApi->delete_collection_namespaced_build_config: %s\n" % e) + print("Exception when calling OapiApi->delete_collection_namespaced_role_binding_restriction: %s\n" % e) ``` ### Parameters @@ -5147,18 +5660,19 @@ Name | Type | Description | Notes **namespace** | **str**| object name and auth scope, such as for teams and projects | **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] + **include_uninitialized** | **bool**| If true, partially initialized resources are included in the response. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. | [optional] + **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] **timeout_seconds** | **int**| Timeout for the list/watch call. | [optional] **watch** | **bool**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] ### Return type -[**UnversionedStatus**](UnversionedStatus.md) +[**V1Status**](V1Status.md) ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -5167,12 +5681,12 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **delete_collection_namespaced_deployment_config** -> UnversionedStatus delete_collection_namespaced_deployment_config(namespace, pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) +# **delete_collection_namespaced_route** +> V1Status delete_collection_namespaced_route(namespace, pretty=pretty, field_selector=field_selector, include_uninitialized=include_uninitialized, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) -delete collection of DeploymentConfig +delete collection of Route ### Example ```python @@ -5182,21 +5696,31 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.OapiApi() namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) +include_uninitialized = true # bool | If true, partially initialized resources are included in the response. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. (optional) +resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) timeout_seconds = 56 # int | Timeout for the list/watch call. (optional) watch = true # bool | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) try: - api_response = api_instance.delete_collection_namespaced_deployment_config(namespace, pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) + api_response = api_instance.delete_collection_namespaced_route(namespace, pretty=pretty, field_selector=field_selector, include_uninitialized=include_uninitialized, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) pprint(api_response) except ApiException as e: - print("Exception when calling OapiApi->delete_collection_namespaced_deployment_config: %s\n" % e) + print("Exception when calling OapiApi->delete_collection_namespaced_route: %s\n" % e) ``` ### Parameters @@ -5206,18 +5730,19 @@ Name | Type | Description | Notes **namespace** | **str**| object name and auth scope, such as for teams and projects | **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] + **include_uninitialized** | **bool**| If true, partially initialized resources are included in the response. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. | [optional] + **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] **timeout_seconds** | **int**| Timeout for the list/watch call. | [optional] **watch** | **bool**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] ### Return type -[**UnversionedStatus**](UnversionedStatus.md) +[**V1Status**](V1Status.md) ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -5226,12 +5751,12 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **delete_collection_namespaced_egress_network_policy** -> UnversionedStatus delete_collection_namespaced_egress_network_policy(namespace, pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) +# **delete_collection_namespaced_template** +> V1Status delete_collection_namespaced_template(namespace, pretty=pretty, field_selector=field_selector, include_uninitialized=include_uninitialized, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) -delete collection of EgressNetworkPolicy +delete collection of Template ### Example ```python @@ -5241,21 +5766,31 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.OapiApi() namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) +include_uninitialized = true # bool | If true, partially initialized resources are included in the response. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. (optional) +resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) timeout_seconds = 56 # int | Timeout for the list/watch call. (optional) watch = true # bool | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) try: - api_response = api_instance.delete_collection_namespaced_egress_network_policy(namespace, pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) + api_response = api_instance.delete_collection_namespaced_template(namespace, pretty=pretty, field_selector=field_selector, include_uninitialized=include_uninitialized, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) pprint(api_response) except ApiException as e: - print("Exception when calling OapiApi->delete_collection_namespaced_egress_network_policy: %s\n" % e) + print("Exception when calling OapiApi->delete_collection_namespaced_template: %s\n" % e) ``` ### Parameters @@ -5265,18 +5800,19 @@ Name | Type | Description | Notes **namespace** | **str**| object name and auth scope, such as for teams and projects | **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] + **include_uninitialized** | **bool**| If true, partially initialized resources are included in the response. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. | [optional] + **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] **timeout_seconds** | **int**| Timeout for the list/watch call. | [optional] **watch** | **bool**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] ### Return type -[**UnversionedStatus**](UnversionedStatus.md) +[**V1Status**](V1Status.md) ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -5285,12 +5821,12 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **delete_collection_namespaced_image_stream** -> UnversionedStatus delete_collection_namespaced_image_stream(namespace, pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) +# **delete_collection_net_namespace** +> V1Status delete_collection_net_namespace(pretty=pretty, field_selector=field_selector, include_uninitialized=include_uninitialized, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) -delete collection of ImageStream +delete collection of NetNamespace ### Example ```python @@ -5300,42 +5836,51 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.OapiApi() -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) +include_uninitialized = true # bool | If true, partially initialized resources are included in the response. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. (optional) +resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) timeout_seconds = 56 # int | Timeout for the list/watch call. (optional) watch = true # bool | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) try: - api_response = api_instance.delete_collection_namespaced_image_stream(namespace, pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) + api_response = api_instance.delete_collection_net_namespace(pretty=pretty, field_selector=field_selector, include_uninitialized=include_uninitialized, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) pprint(api_response) except ApiException as e: - print("Exception when calling OapiApi->delete_collection_namespaced_image_stream: %s\n" % e) + print("Exception when calling OapiApi->delete_collection_net_namespace: %s\n" % e) ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **namespace** | **str**| object name and auth scope, such as for teams and projects | **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] + **include_uninitialized** | **bool**| If true, partially initialized resources are included in the response. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. | [optional] + **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] **timeout_seconds** | **int**| Timeout for the list/watch call. | [optional] **watch** | **bool**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] ### Return type -[**UnversionedStatus**](UnversionedStatus.md) +[**V1Status**](V1Status.md) ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -5344,12 +5889,12 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **delete_collection_namespaced_policy** -> UnversionedStatus delete_collection_namespaced_policy(namespace, pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) +# **delete_collection_o_auth_access_token** +> V1Status delete_collection_o_auth_access_token(pretty=pretty, field_selector=field_selector, include_uninitialized=include_uninitialized, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) -delete collection of Policy +delete collection of OAuthAccessToken ### Example ```python @@ -5359,42 +5904,51 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.OapiApi() -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) +include_uninitialized = true # bool | If true, partially initialized resources are included in the response. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. (optional) +resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) timeout_seconds = 56 # int | Timeout for the list/watch call. (optional) watch = true # bool | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) try: - api_response = api_instance.delete_collection_namespaced_policy(namespace, pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) + api_response = api_instance.delete_collection_o_auth_access_token(pretty=pretty, field_selector=field_selector, include_uninitialized=include_uninitialized, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) pprint(api_response) except ApiException as e: - print("Exception when calling OapiApi->delete_collection_namespaced_policy: %s\n" % e) + print("Exception when calling OapiApi->delete_collection_o_auth_access_token: %s\n" % e) ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **namespace** | **str**| object name and auth scope, such as for teams and projects | **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] + **include_uninitialized** | **bool**| If true, partially initialized resources are included in the response. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. | [optional] + **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] **timeout_seconds** | **int**| Timeout for the list/watch call. | [optional] **watch** | **bool**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] ### Return type -[**UnversionedStatus**](UnversionedStatus.md) +[**V1Status**](V1Status.md) ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -5403,12 +5957,12 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **delete_collection_namespaced_policy_binding** -> UnversionedStatus delete_collection_namespaced_policy_binding(namespace, pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) +# **delete_collection_o_auth_authorize_token** +> V1Status delete_collection_o_auth_authorize_token(pretty=pretty, field_selector=field_selector, include_uninitialized=include_uninitialized, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) -delete collection of PolicyBinding +delete collection of OAuthAuthorizeToken ### Example ```python @@ -5418,42 +5972,51 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.OapiApi() -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) +include_uninitialized = true # bool | If true, partially initialized resources are included in the response. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. (optional) +resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) timeout_seconds = 56 # int | Timeout for the list/watch call. (optional) watch = true # bool | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) try: - api_response = api_instance.delete_collection_namespaced_policy_binding(namespace, pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) + api_response = api_instance.delete_collection_o_auth_authorize_token(pretty=pretty, field_selector=field_selector, include_uninitialized=include_uninitialized, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) pprint(api_response) except ApiException as e: - print("Exception when calling OapiApi->delete_collection_namespaced_policy_binding: %s\n" % e) + print("Exception when calling OapiApi->delete_collection_o_auth_authorize_token: %s\n" % e) ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **namespace** | **str**| object name and auth scope, such as for teams and projects | **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] + **include_uninitialized** | **bool**| If true, partially initialized resources are included in the response. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. | [optional] + **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] **timeout_seconds** | **int**| Timeout for the list/watch call. | [optional] **watch** | **bool**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] ### Return type -[**UnversionedStatus**](UnversionedStatus.md) +[**V1Status**](V1Status.md) ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -5462,12 +6025,12 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **delete_collection_namespaced_role_binding_restriction** -> UnversionedStatus delete_collection_namespaced_role_binding_restriction(namespace, pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) +# **delete_collection_o_auth_client** +> V1Status delete_collection_o_auth_client(pretty=pretty, field_selector=field_selector, include_uninitialized=include_uninitialized, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) -delete collection of RoleBindingRestriction +delete collection of OAuthClient ### Example ```python @@ -5477,42 +6040,51 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.OapiApi() -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) +include_uninitialized = true # bool | If true, partially initialized resources are included in the response. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. (optional) +resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) timeout_seconds = 56 # int | Timeout for the list/watch call. (optional) watch = true # bool | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) try: - api_response = api_instance.delete_collection_namespaced_role_binding_restriction(namespace, pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) + api_response = api_instance.delete_collection_o_auth_client(pretty=pretty, field_selector=field_selector, include_uninitialized=include_uninitialized, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) pprint(api_response) except ApiException as e: - print("Exception when calling OapiApi->delete_collection_namespaced_role_binding_restriction: %s\n" % e) + print("Exception when calling OapiApi->delete_collection_o_auth_client: %s\n" % e) ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **namespace** | **str**| object name and auth scope, such as for teams and projects | **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] + **include_uninitialized** | **bool**| If true, partially initialized resources are included in the response. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. | [optional] + **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] **timeout_seconds** | **int**| Timeout for the list/watch call. | [optional] **watch** | **bool**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] ### Return type -[**UnversionedStatus**](UnversionedStatus.md) +[**V1Status**](V1Status.md) ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -5521,12 +6093,12 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **delete_collection_namespaced_route** -> UnversionedStatus delete_collection_namespaced_route(namespace, pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) +# **delete_collection_o_auth_client_authorization** +> V1Status delete_collection_o_auth_client_authorization(pretty=pretty, field_selector=field_selector, include_uninitialized=include_uninitialized, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) -delete collection of Route +delete collection of OAuthClientAuthorization ### Example ```python @@ -5536,42 +6108,51 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.OapiApi() -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) +include_uninitialized = true # bool | If true, partially initialized resources are included in the response. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. (optional) +resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) timeout_seconds = 56 # int | Timeout for the list/watch call. (optional) watch = true # bool | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) try: - api_response = api_instance.delete_collection_namespaced_route(namespace, pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) + api_response = api_instance.delete_collection_o_auth_client_authorization(pretty=pretty, field_selector=field_selector, include_uninitialized=include_uninitialized, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) pprint(api_response) except ApiException as e: - print("Exception when calling OapiApi->delete_collection_namespaced_route: %s\n" % e) + print("Exception when calling OapiApi->delete_collection_o_auth_client_authorization: %s\n" % e) ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **namespace** | **str**| object name and auth scope, such as for teams and projects | **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] + **include_uninitialized** | **bool**| If true, partially initialized resources are included in the response. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. | [optional] + **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] **timeout_seconds** | **int**| Timeout for the list/watch call. | [optional] **watch** | **bool**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] ### Return type -[**UnversionedStatus**](UnversionedStatus.md) +[**V1Status**](V1Status.md) ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -5580,12 +6161,12 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **delete_collection_namespaced_template** -> UnversionedStatus delete_collection_namespaced_template(namespace, pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) +# **delete_collection_user** +> V1Status delete_collection_user(pretty=pretty, field_selector=field_selector, include_uninitialized=include_uninitialized, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) -delete collection of Template +delete collection of User ### Example ```python @@ -5595,42 +6176,51 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.OapiApi() -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) +include_uninitialized = true # bool | If true, partially initialized resources are included in the response. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. (optional) +resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) timeout_seconds = 56 # int | Timeout for the list/watch call. (optional) watch = true # bool | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) try: - api_response = api_instance.delete_collection_namespaced_template(namespace, pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) + api_response = api_instance.delete_collection_user(pretty=pretty, field_selector=field_selector, include_uninitialized=include_uninitialized, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) pprint(api_response) except ApiException as e: - print("Exception when calling OapiApi->delete_collection_namespaced_template: %s\n" % e) + print("Exception when calling OapiApi->delete_collection_user: %s\n" % e) ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **namespace** | **str**| object name and auth scope, such as for teams and projects | **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] + **include_uninitialized** | **bool**| If true, partially initialized resources are included in the response. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. | [optional] + **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] **timeout_seconds** | **int**| Timeout for the list/watch call. | [optional] **watch** | **bool**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] ### Return type -[**UnversionedStatus**](UnversionedStatus.md) +[**V1Status**](V1Status.md) ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -5639,12 +6229,12 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **delete_collection_net_namespace** -> UnversionedStatus delete_collection_net_namespace(pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) +# **delete_group** +> V1Status delete_group(name, body, pretty=pretty, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) -delete collection of NetNamespace +delete a Group ### Example ```python @@ -5654,40 +6244,49 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.OapiApi() +name = 'name_example' # str | name of the Group +body = openshift.client.V1DeleteOptions() # V1DeleteOptions | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) -field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) -label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. (optional) -timeout_seconds = 56 # int | Timeout for the list/watch call. (optional) -watch = true # bool | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) +grace_period_seconds = 56 # int | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) +orphan_dependents = true # bool | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) +propagation_policy = 'propagation_policy_example' # str | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. (optional) try: - api_response = api_instance.delete_collection_net_namespace(pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) + api_response = api_instance.delete_group(name, body, pretty=pretty, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) pprint(api_response) except ApiException as e: - print("Exception when calling OapiApi->delete_collection_net_namespace: %s\n" % e) + print("Exception when calling OapiApi->delete_group: %s\n" % e) ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- + **name** | **str**| name of the Group | + **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] - **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. | [optional] - **timeout_seconds** | **int**| Timeout for the list/watch call. | [optional] - **watch** | **bool**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [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] + **orphan_dependents** | **bool**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional] + **propagation_policy** | **str**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. | [optional] ### Return type -[**UnversionedStatus**](UnversionedStatus.md) +[**V1Status**](V1Status.md) ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -5696,12 +6295,12 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **delete_collection_o_auth_access_token** -> UnversionedStatus delete_collection_o_auth_access_token(pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) +# **delete_host_subnet** +> V1Status delete_host_subnet(name, body, pretty=pretty, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) -delete collection of OAuthAccessToken +delete a HostSubnet ### Example ```python @@ -5711,40 +6310,49 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.OapiApi() +name = 'name_example' # str | name of the HostSubnet +body = openshift.client.V1DeleteOptions() # V1DeleteOptions | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) -field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) -label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. (optional) -timeout_seconds = 56 # int | Timeout for the list/watch call. (optional) -watch = true # bool | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) +grace_period_seconds = 56 # int | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) +orphan_dependents = true # bool | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) +propagation_policy = 'propagation_policy_example' # str | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. (optional) try: - api_response = api_instance.delete_collection_o_auth_access_token(pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) + api_response = api_instance.delete_host_subnet(name, body, pretty=pretty, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) pprint(api_response) except ApiException as e: - print("Exception when calling OapiApi->delete_collection_o_auth_access_token: %s\n" % e) + print("Exception when calling OapiApi->delete_host_subnet: %s\n" % e) ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- + **name** | **str**| name of the HostSubnet | + **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] - **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. | [optional] - **timeout_seconds** | **int**| Timeout for the list/watch call. | [optional] - **watch** | **bool**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [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] + **orphan_dependents** | **bool**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional] + **propagation_policy** | **str**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. | [optional] ### Return type -[**UnversionedStatus**](UnversionedStatus.md) +[**V1Status**](V1Status.md) ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -5753,12 +6361,12 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **delete_collection_o_auth_authorize_token** -> UnversionedStatus delete_collection_o_auth_authorize_token(pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) +# **delete_identity** +> V1Status delete_identity(name, body, pretty=pretty, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) -delete collection of OAuthAuthorizeToken +delete an Identity ### Example ```python @@ -5768,40 +6376,49 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.OapiApi() +name = 'name_example' # str | name of the Identity +body = openshift.client.V1DeleteOptions() # V1DeleteOptions | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) -field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) -label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. (optional) -timeout_seconds = 56 # int | Timeout for the list/watch call. (optional) -watch = true # bool | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) +grace_period_seconds = 56 # int | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) +orphan_dependents = true # bool | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) +propagation_policy = 'propagation_policy_example' # str | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. (optional) try: - api_response = api_instance.delete_collection_o_auth_authorize_token(pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) + api_response = api_instance.delete_identity(name, body, pretty=pretty, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) pprint(api_response) except ApiException as e: - print("Exception when calling OapiApi->delete_collection_o_auth_authorize_token: %s\n" % e) + print("Exception when calling OapiApi->delete_identity: %s\n" % e) ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- + **name** | **str**| name of the Identity | + **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] - **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. | [optional] - **timeout_seconds** | **int**| Timeout for the list/watch call. | [optional] - **watch** | **bool**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [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] + **orphan_dependents** | **bool**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional] + **propagation_policy** | **str**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. | [optional] ### Return type -[**UnversionedStatus**](UnversionedStatus.md) +[**V1Status**](V1Status.md) ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -5810,12 +6427,12 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **delete_collection_o_auth_client** -> UnversionedStatus delete_collection_o_auth_client(pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) +# **delete_image** +> V1Status delete_image(name, body, pretty=pretty, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) -delete collection of OAuthClient +delete an Image ### Example ```python @@ -5825,40 +6442,49 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.OapiApi() +name = 'name_example' # str | name of the Image +body = openshift.client.V1DeleteOptions() # V1DeleteOptions | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) -field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) -label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. (optional) -timeout_seconds = 56 # int | Timeout for the list/watch call. (optional) -watch = true # bool | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) +grace_period_seconds = 56 # int | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) +orphan_dependents = true # bool | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) +propagation_policy = 'propagation_policy_example' # str | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. (optional) try: - api_response = api_instance.delete_collection_o_auth_client(pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) + api_response = api_instance.delete_image(name, body, pretty=pretty, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) pprint(api_response) except ApiException as e: - print("Exception when calling OapiApi->delete_collection_o_auth_client: %s\n" % e) + print("Exception when calling OapiApi->delete_image: %s\n" % e) ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- + **name** | **str**| name of the Image | + **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] - **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. | [optional] - **timeout_seconds** | **int**| Timeout for the list/watch call. | [optional] - **watch** | **bool**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [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] + **orphan_dependents** | **bool**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional] + **propagation_policy** | **str**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. | [optional] ### Return type -[**UnversionedStatus**](UnversionedStatus.md) +[**V1Status**](V1Status.md) ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -5867,12 +6493,12 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **delete_collection_o_auth_client_authorization** -> UnversionedStatus delete_collection_o_auth_client_authorization(pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) +# **delete_image_signature** +> V1Status delete_image_signature(name, pretty=pretty) -delete collection of OAuthClientAuthorization +delete an ImageSignature ### Example ```python @@ -5882,480 +6508,41 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.OapiApi() +name = 'name_example' # str | name of the ImageSignature pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) -field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) -label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. (optional) -timeout_seconds = 56 # int | Timeout for the list/watch call. (optional) -watch = true # bool | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) try: - api_response = api_instance.delete_collection_o_auth_client_authorization(pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) + api_response = api_instance.delete_image_signature(name, pretty=pretty) pprint(api_response) except ApiException as e: - print("Exception when calling OapiApi->delete_collection_o_auth_client_authorization: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] - **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. | [optional] - **timeout_seconds** | **int**| Timeout for the list/watch call. | [optional] - **watch** | **bool**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] - -### Return type - -[**UnversionedStatus**](UnversionedStatus.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **delete_collection_user** -> UnversionedStatus delete_collection_user(pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) - - - -delete collection of User - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.OapiApi() -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) -field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) -label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. (optional) -timeout_seconds = 56 # int | Timeout for the list/watch call. (optional) -watch = true # bool | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) - -try: - api_response = api_instance.delete_collection_user(pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) - pprint(api_response) -except ApiException as e: - print("Exception when calling OapiApi->delete_collection_user: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] - **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. | [optional] - **timeout_seconds** | **int**| Timeout for the list/watch call. | [optional] - **watch** | **bool**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] - -### Return type - -[**UnversionedStatus**](UnversionedStatus.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **delete_group** -> UnversionedStatus delete_group(name, body, pretty=pretty, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents) - - - -delete a Group - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.OapiApi() -name = 'name_example' # str | name of the Group -body = openshift.client.V1DeleteOptions() # V1DeleteOptions | -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) -grace_period_seconds = 56 # int | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) -orphan_dependents = true # bool | Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. (optional) - -try: - api_response = api_instance.delete_group(name, body, pretty=pretty, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents) - pprint(api_response) -except ApiException as e: - print("Exception when calling OapiApi->delete_group: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the Group | - **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | - **pretty** | **str**| If 'true', then the output is pretty printed. | [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] - **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] - -### Return type - -[**UnversionedStatus**](UnversionedStatus.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **delete_host_subnet** -> UnversionedStatus delete_host_subnet(name, body, pretty=pretty, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents) - - - -delete a HostSubnet - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.OapiApi() -name = 'name_example' # str | name of the HostSubnet -body = openshift.client.V1DeleteOptions() # V1DeleteOptions | -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) -grace_period_seconds = 56 # int | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) -orphan_dependents = true # bool | Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. (optional) - -try: - api_response = api_instance.delete_host_subnet(name, body, pretty=pretty, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents) - pprint(api_response) -except ApiException as e: - print("Exception when calling OapiApi->delete_host_subnet: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the HostSubnet | - **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | - **pretty** | **str**| If 'true', then the output is pretty printed. | [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] - **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] - -### Return type - -[**UnversionedStatus**](UnversionedStatus.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **delete_identity** -> UnversionedStatus delete_identity(name, body, pretty=pretty, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents) - - - -delete an Identity - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.OapiApi() -name = 'name_example' # str | name of the Identity -body = openshift.client.V1DeleteOptions() # V1DeleteOptions | -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) -grace_period_seconds = 56 # int | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) -orphan_dependents = true # bool | Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. (optional) - -try: - api_response = api_instance.delete_identity(name, body, pretty=pretty, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents) - pprint(api_response) -except ApiException as e: - print("Exception when calling OapiApi->delete_identity: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the Identity | - **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | - **pretty** | **str**| If 'true', then the output is pretty printed. | [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] - **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] - -### Return type - -[**UnversionedStatus**](UnversionedStatus.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **delete_image** -> UnversionedStatus delete_image(name, body, pretty=pretty, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents) - - - -delete an Image - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.OapiApi() -name = 'name_example' # str | name of the Image -body = openshift.client.V1DeleteOptions() # V1DeleteOptions | -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) -grace_period_seconds = 56 # int | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) -orphan_dependents = true # bool | Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. (optional) - -try: - api_response = api_instance.delete_image(name, body, pretty=pretty, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents) - pprint(api_response) -except ApiException as e: - print("Exception when calling OapiApi->delete_image: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the Image | - **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | - **pretty** | **str**| If 'true', then the output is pretty printed. | [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] - **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] - -### Return type - -[**UnversionedStatus**](UnversionedStatus.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **delete_image_signature** -> UnversionedStatus delete_image_signature(name, pretty=pretty) - - - -delete an ImageSignature - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.OapiApi() -name = 'name_example' # str | name of the ImageSignature -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) - -try: - api_response = api_instance.delete_image_signature(name, pretty=pretty) - pprint(api_response) -except ApiException as e: - print("Exception when calling OapiApi->delete_image_signature: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the ImageSignature | - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - -### Return type - -[**UnversionedStatus**](UnversionedStatus.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **delete_namespaced_build** -> UnversionedStatus delete_namespaced_build(name, namespace, body, pretty=pretty, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents) - - - -delete a Build - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.OapiApi() -name = 'name_example' # str | name of the Build -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = openshift.client.V1DeleteOptions() # V1DeleteOptions | -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) -grace_period_seconds = 56 # int | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) -orphan_dependents = true # bool | Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. (optional) - -try: - api_response = api_instance.delete_namespaced_build(name, namespace, body, pretty=pretty, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents) - pprint(api_response) -except ApiException as e: - print("Exception when calling OapiApi->delete_namespaced_build: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the Build | - **namespace** | **str**| object name and auth scope, such as for teams and projects | - **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | - **pretty** | **str**| If 'true', then the output is pretty printed. | [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] - **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] - -### Return type - -[**UnversionedStatus**](UnversionedStatus.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **delete_namespaced_build_config** -> UnversionedStatus delete_namespaced_build_config(name, namespace, body, pretty=pretty, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents) - - - -delete a BuildConfig - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.OapiApi() -name = 'name_example' # str | name of the BuildConfig -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = openshift.client.V1DeleteOptions() # V1DeleteOptions | -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) -grace_period_seconds = 56 # int | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) -orphan_dependents = true # bool | Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. (optional) - -try: - api_response = api_instance.delete_namespaced_build_config(name, namespace, body, pretty=pretty, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents) - pprint(api_response) -except ApiException as e: - print("Exception when calling OapiApi->delete_namespaced_build_config: %s\n" % e) + print("Exception when calling OapiApi->delete_image_signature: %s\n" % e) ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the BuildConfig | - **namespace** | **str**| object name and auth scope, such as for teams and projects | - **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | + **name** | **str**| name of the ImageSignature | **pretty** | **str**| If 'true', then the output is pretty printed. | [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] - **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] ### Return type -[**UnversionedStatus**](UnversionedStatus.md) +[**V1Status**](V1Status.md) ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -6364,12 +6551,12 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **delete_namespaced_deployment_config** -> UnversionedStatus delete_namespaced_deployment_config(name, namespace, body, pretty=pretty, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents) +# **delete_namespaced_build** +> V1Status delete_namespaced_build(name, namespace, body, pretty=pretty, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) -delete a DeploymentConfig +delete a Build ### Example ```python @@ -6379,40 +6566,51 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.OapiApi() -name = 'name_example' # str | name of the DeploymentConfig +name = 'name_example' # str | name of the Build namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects body = openshift.client.V1DeleteOptions() # V1DeleteOptions | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) grace_period_seconds = 56 # int | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) -orphan_dependents = true # bool | Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. (optional) +orphan_dependents = true # bool | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) +propagation_policy = 'propagation_policy_example' # str | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. (optional) try: - api_response = api_instance.delete_namespaced_deployment_config(name, namespace, body, pretty=pretty, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents) + api_response = api_instance.delete_namespaced_build(name, namespace, body, pretty=pretty, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) pprint(api_response) except ApiException as e: - print("Exception when calling OapiApi->delete_namespaced_deployment_config: %s\n" % e) + print("Exception when calling OapiApi->delete_namespaced_build: %s\n" % e) ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the DeploymentConfig | + **name** | **str**| name of the Build | **namespace** | **str**| object name and auth scope, such as for teams and projects | **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | **pretty** | **str**| If 'true', then the output is pretty printed. | [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] - **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] + **orphan_dependents** | **bool**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional] + **propagation_policy** | **str**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. | [optional] ### Return type -[**UnversionedStatus**](UnversionedStatus.md) +[**V1Status**](V1Status.md) ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -6421,12 +6619,12 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **delete_namespaced_egress_network_policy** -> UnversionedStatus delete_namespaced_egress_network_policy(name, namespace, body, pretty=pretty, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents) +# **delete_namespaced_build_config** +> V1Status delete_namespaced_build_config(name, namespace, body, pretty=pretty, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) -delete an EgressNetworkPolicy +delete a BuildConfig ### Example ```python @@ -6436,40 +6634,51 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.OapiApi() -name = 'name_example' # str | name of the EgressNetworkPolicy +name = 'name_example' # str | name of the BuildConfig namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects body = openshift.client.V1DeleteOptions() # V1DeleteOptions | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) grace_period_seconds = 56 # int | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) -orphan_dependents = true # bool | Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. (optional) +orphan_dependents = true # bool | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) +propagation_policy = 'propagation_policy_example' # str | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. (optional) try: - api_response = api_instance.delete_namespaced_egress_network_policy(name, namespace, body, pretty=pretty, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents) + api_response = api_instance.delete_namespaced_build_config(name, namespace, body, pretty=pretty, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) pprint(api_response) except ApiException as e: - print("Exception when calling OapiApi->delete_namespaced_egress_network_policy: %s\n" % e) + print("Exception when calling OapiApi->delete_namespaced_build_config: %s\n" % e) ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the EgressNetworkPolicy | + **name** | **str**| name of the BuildConfig | **namespace** | **str**| object name and auth scope, such as for teams and projects | **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | **pretty** | **str**| If 'true', then the output is pretty printed. | [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] - **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] + **orphan_dependents** | **bool**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional] + **propagation_policy** | **str**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. | [optional] ### Return type -[**UnversionedStatus**](UnversionedStatus.md) +[**V1Status**](V1Status.md) ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -6478,12 +6687,12 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **delete_namespaced_image_stream** -> UnversionedStatus delete_namespaced_image_stream(name, namespace, body, pretty=pretty, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents) +# **delete_namespaced_deployment_config** +> V1Status delete_namespaced_deployment_config(name, namespace, body, pretty=pretty, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) -delete an ImageStream +delete a DeploymentConfig ### Example ```python @@ -6493,40 +6702,51 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.OapiApi() -name = 'name_example' # str | name of the ImageStream +name = 'name_example' # str | name of the DeploymentConfig namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects body = openshift.client.V1DeleteOptions() # V1DeleteOptions | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) grace_period_seconds = 56 # int | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) -orphan_dependents = true # bool | Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. (optional) +orphan_dependents = true # bool | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) +propagation_policy = 'propagation_policy_example' # str | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. (optional) try: - api_response = api_instance.delete_namespaced_image_stream(name, namespace, body, pretty=pretty, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents) + api_response = api_instance.delete_namespaced_deployment_config(name, namespace, body, pretty=pretty, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) pprint(api_response) except ApiException as e: - print("Exception when calling OapiApi->delete_namespaced_image_stream: %s\n" % e) + print("Exception when calling OapiApi->delete_namespaced_deployment_config: %s\n" % e) ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the ImageStream | + **name** | **str**| name of the DeploymentConfig | **namespace** | **str**| object name and auth scope, such as for teams and projects | **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | **pretty** | **str**| If 'true', then the output is pretty printed. | [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] - **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] + **orphan_dependents** | **bool**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional] + **propagation_policy** | **str**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. | [optional] ### Return type -[**UnversionedStatus**](UnversionedStatus.md) +[**V1Status**](V1Status.md) ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -6535,12 +6755,12 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **delete_namespaced_image_stream_tag** -> UnversionedStatus delete_namespaced_image_stream_tag(name, namespace, pretty=pretty) +# **delete_namespaced_egress_network_policy** +> V1Status delete_namespaced_egress_network_policy(name, namespace, body, pretty=pretty, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) -delete an ImageStreamTag +delete an EgressNetworkPolicy ### Example ```python @@ -6550,34 +6770,51 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.OapiApi() -name = 'name_example' # str | name of the ImageStreamTag +name = 'name_example' # str | name of the EgressNetworkPolicy namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects +body = openshift.client.V1DeleteOptions() # V1DeleteOptions | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) +grace_period_seconds = 56 # int | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) +orphan_dependents = true # bool | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) +propagation_policy = 'propagation_policy_example' # str | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. (optional) try: - api_response = api_instance.delete_namespaced_image_stream_tag(name, namespace, pretty=pretty) + api_response = api_instance.delete_namespaced_egress_network_policy(name, namespace, body, pretty=pretty, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) pprint(api_response) except ApiException as e: - print("Exception when calling OapiApi->delete_namespaced_image_stream_tag: %s\n" % e) + print("Exception when calling OapiApi->delete_namespaced_egress_network_policy: %s\n" % e) ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the ImageStreamTag | + **name** | **str**| name of the EgressNetworkPolicy | **namespace** | **str**| object name and auth scope, such as for teams and projects | + **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | **pretty** | **str**| If 'true', then the output is pretty printed. | [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] + **orphan_dependents** | **bool**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional] + **propagation_policy** | **str**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. | [optional] ### Return type -[**UnversionedStatus**](UnversionedStatus.md) +[**V1Status**](V1Status.md) ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -6586,12 +6823,12 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **delete_namespaced_policy** -> UnversionedStatus delete_namespaced_policy(name, namespace, body, pretty=pretty, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents) +# **delete_namespaced_image_stream** +> V1Status delete_namespaced_image_stream(name, namespace, body, pretty=pretty, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) -delete a Policy +delete an ImageStream ### Example ```python @@ -6601,40 +6838,51 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.OapiApi() -name = 'name_example' # str | name of the Policy +name = 'name_example' # str | name of the ImageStream namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects body = openshift.client.V1DeleteOptions() # V1DeleteOptions | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) grace_period_seconds = 56 # int | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) -orphan_dependents = true # bool | Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. (optional) +orphan_dependents = true # bool | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) +propagation_policy = 'propagation_policy_example' # str | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. (optional) try: - api_response = api_instance.delete_namespaced_policy(name, namespace, body, pretty=pretty, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents) + api_response = api_instance.delete_namespaced_image_stream(name, namespace, body, pretty=pretty, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) pprint(api_response) except ApiException as e: - print("Exception when calling OapiApi->delete_namespaced_policy: %s\n" % e) + print("Exception when calling OapiApi->delete_namespaced_image_stream: %s\n" % e) ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the Policy | + **name** | **str**| name of the ImageStream | **namespace** | **str**| object name and auth scope, such as for teams and projects | **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | **pretty** | **str**| If 'true', then the output is pretty printed. | [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] - **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] + **orphan_dependents** | **bool**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional] + **propagation_policy** | **str**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. | [optional] ### Return type -[**UnversionedStatus**](UnversionedStatus.md) +[**V1Status**](V1Status.md) ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -6643,12 +6891,12 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **delete_namespaced_policy_binding** -> UnversionedStatus delete_namespaced_policy_binding(name, namespace, body, pretty=pretty, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents) +# **delete_namespaced_image_stream_tag** +> V1Status delete_namespaced_image_stream_tag(name, namespace, pretty=pretty) -delete a PolicyBinding +delete an ImageStreamTag ### Example ```python @@ -6658,40 +6906,43 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.OapiApi() -name = 'name_example' # str | name of the PolicyBinding +name = 'name_example' # str | name of the ImageStreamTag namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = openshift.client.V1DeleteOptions() # V1DeleteOptions | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) -grace_period_seconds = 56 # int | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) -orphan_dependents = true # bool | Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. (optional) try: - api_response = api_instance.delete_namespaced_policy_binding(name, namespace, body, pretty=pretty, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents) + api_response = api_instance.delete_namespaced_image_stream_tag(name, namespace, pretty=pretty) pprint(api_response) except ApiException as e: - print("Exception when calling OapiApi->delete_namespaced_policy_binding: %s\n" % e) + print("Exception when calling OapiApi->delete_namespaced_image_stream_tag: %s\n" % e) ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the PolicyBinding | + **name** | **str**| name of the ImageStreamTag | **namespace** | **str**| object name and auth scope, such as for teams and projects | - **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | **pretty** | **str**| If 'true', then the output is pretty printed. | [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] - **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] ### Return type -[**UnversionedStatus**](UnversionedStatus.md) +[**V1Status**](V1Status.md) ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -6701,7 +6952,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **delete_namespaced_role** -> UnversionedStatus delete_namespaced_role(name, namespace, body, pretty=pretty, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents) +> V1Status delete_namespaced_role(name, namespace, body, pretty=pretty, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) @@ -6715,6 +6966,15 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.OapiApi() name = 'name_example' # str | name of the Role @@ -6722,10 +6982,11 @@ namespace = 'namespace_example' # str | object name and auth scope, such as for body = openshift.client.V1DeleteOptions() # V1DeleteOptions | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) grace_period_seconds = 56 # int | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) -orphan_dependents = true # bool | Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. (optional) +orphan_dependents = true # bool | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) +propagation_policy = 'propagation_policy_example' # str | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. (optional) try: - api_response = api_instance.delete_namespaced_role(name, namespace, body, pretty=pretty, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents) + api_response = api_instance.delete_namespaced_role(name, namespace, body, pretty=pretty, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) pprint(api_response) except ApiException as e: print("Exception when calling OapiApi->delete_namespaced_role: %s\n" % e) @@ -6740,15 +7001,16 @@ Name | Type | Description | Notes **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | **pretty** | **str**| If 'true', then the output is pretty printed. | [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] - **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] + **orphan_dependents** | **bool**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional] + **propagation_policy** | **str**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. | [optional] ### Return type -[**UnversionedStatus**](UnversionedStatus.md) +[**V1Status**](V1Status.md) ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -6758,7 +7020,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **delete_namespaced_role_binding** -> UnversionedStatus delete_namespaced_role_binding(name, namespace, body, pretty=pretty, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents) +> V1Status delete_namespaced_role_binding(name, namespace, body, pretty=pretty, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) @@ -6772,6 +7034,15 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.OapiApi() name = 'name_example' # str | name of the RoleBinding @@ -6779,10 +7050,11 @@ namespace = 'namespace_example' # str | object name and auth scope, such as for body = openshift.client.V1DeleteOptions() # V1DeleteOptions | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) grace_period_seconds = 56 # int | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) -orphan_dependents = true # bool | Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. (optional) +orphan_dependents = true # bool | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) +propagation_policy = 'propagation_policy_example' # str | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. (optional) try: - api_response = api_instance.delete_namespaced_role_binding(name, namespace, body, pretty=pretty, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents) + api_response = api_instance.delete_namespaced_role_binding(name, namespace, body, pretty=pretty, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) pprint(api_response) except ApiException as e: print("Exception when calling OapiApi->delete_namespaced_role_binding: %s\n" % e) @@ -6797,15 +7069,16 @@ Name | Type | Description | Notes **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | **pretty** | **str**| If 'true', then the output is pretty printed. | [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] - **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] + **orphan_dependents** | **bool**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional] + **propagation_policy** | **str**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. | [optional] ### Return type -[**UnversionedStatus**](UnversionedStatus.md) +[**V1Status**](V1Status.md) ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -6815,7 +7088,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **delete_namespaced_role_binding_restriction** -> UnversionedStatus delete_namespaced_role_binding_restriction(name, namespace, body, pretty=pretty, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents) +> V1Status delete_namespaced_role_binding_restriction(name, namespace, body, pretty=pretty, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) @@ -6829,6 +7102,15 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.OapiApi() name = 'name_example' # str | name of the RoleBindingRestriction @@ -6836,10 +7118,11 @@ namespace = 'namespace_example' # str | object name and auth scope, such as for body = openshift.client.V1DeleteOptions() # V1DeleteOptions | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) grace_period_seconds = 56 # int | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) -orphan_dependents = true # bool | Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. (optional) +orphan_dependents = true # bool | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) +propagation_policy = 'propagation_policy_example' # str | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. (optional) try: - api_response = api_instance.delete_namespaced_role_binding_restriction(name, namespace, body, pretty=pretty, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents) + api_response = api_instance.delete_namespaced_role_binding_restriction(name, namespace, body, pretty=pretty, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) pprint(api_response) except ApiException as e: print("Exception when calling OapiApi->delete_namespaced_role_binding_restriction: %s\n" % e) @@ -6854,15 +7137,16 @@ Name | Type | Description | Notes **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | **pretty** | **str**| If 'true', then the output is pretty printed. | [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] - **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] + **orphan_dependents** | **bool**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional] + **propagation_policy** | **str**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. | [optional] ### Return type -[**UnversionedStatus**](UnversionedStatus.md) +[**V1Status**](V1Status.md) ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -6872,7 +7156,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **delete_namespaced_route** -> UnversionedStatus delete_namespaced_route(name, namespace, body, pretty=pretty, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents) +> V1Status delete_namespaced_route(name, namespace, body, pretty=pretty, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) @@ -6886,6 +7170,15 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.OapiApi() name = 'name_example' # str | name of the Route @@ -6893,10 +7186,11 @@ namespace = 'namespace_example' # str | object name and auth scope, such as for body = openshift.client.V1DeleteOptions() # V1DeleteOptions | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) grace_period_seconds = 56 # int | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) -orphan_dependents = true # bool | Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. (optional) +orphan_dependents = true # bool | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) +propagation_policy = 'propagation_policy_example' # str | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. (optional) try: - api_response = api_instance.delete_namespaced_route(name, namespace, body, pretty=pretty, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents) + api_response = api_instance.delete_namespaced_route(name, namespace, body, pretty=pretty, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) pprint(api_response) except ApiException as e: print("Exception when calling OapiApi->delete_namespaced_route: %s\n" % e) @@ -6911,15 +7205,16 @@ Name | Type | Description | Notes **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | **pretty** | **str**| If 'true', then the output is pretty printed. | [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] - **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] + **orphan_dependents** | **bool**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional] + **propagation_policy** | **str**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. | [optional] ### Return type -[**UnversionedStatus**](UnversionedStatus.md) +[**V1Status**](V1Status.md) ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -6929,7 +7224,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **delete_namespaced_template** -> UnversionedStatus delete_namespaced_template(name, namespace, body, pretty=pretty, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents) +> V1Status delete_namespaced_template(name, namespace, body, pretty=pretty, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) @@ -6943,6 +7238,15 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.OapiApi() name = 'name_example' # str | name of the Template @@ -6950,10 +7254,11 @@ namespace = 'namespace_example' # str | object name and auth scope, such as for body = openshift.client.V1DeleteOptions() # V1DeleteOptions | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) grace_period_seconds = 56 # int | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) -orphan_dependents = true # bool | Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. (optional) +orphan_dependents = true # bool | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) +propagation_policy = 'propagation_policy_example' # str | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. (optional) try: - api_response = api_instance.delete_namespaced_template(name, namespace, body, pretty=pretty, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents) + api_response = api_instance.delete_namespaced_template(name, namespace, body, pretty=pretty, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) pprint(api_response) except ApiException as e: print("Exception when calling OapiApi->delete_namespaced_template: %s\n" % e) @@ -6968,15 +7273,16 @@ Name | Type | Description | Notes **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | **pretty** | **str**| If 'true', then the output is pretty printed. | [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] - **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] + **orphan_dependents** | **bool**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional] + **propagation_policy** | **str**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. | [optional] ### Return type -[**UnversionedStatus**](UnversionedStatus.md) +[**V1Status**](V1Status.md) ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -6986,7 +7292,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **delete_net_namespace** -> UnversionedStatus delete_net_namespace(name, body, pretty=pretty, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents) +> V1Status delete_net_namespace(name, body, pretty=pretty, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) @@ -7000,16 +7306,26 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.OapiApi() name = 'name_example' # str | name of the NetNamespace body = openshift.client.V1DeleteOptions() # V1DeleteOptions | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) grace_period_seconds = 56 # int | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) -orphan_dependents = true # bool | Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. (optional) +orphan_dependents = true # bool | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) +propagation_policy = 'propagation_policy_example' # str | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. (optional) try: - api_response = api_instance.delete_net_namespace(name, body, pretty=pretty, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents) + api_response = api_instance.delete_net_namespace(name, body, pretty=pretty, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) pprint(api_response) except ApiException as e: print("Exception when calling OapiApi->delete_net_namespace: %s\n" % e) @@ -7023,15 +7339,16 @@ Name | Type | Description | Notes **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | **pretty** | **str**| If 'true', then the output is pretty printed. | [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] - **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] + **orphan_dependents** | **bool**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional] + **propagation_policy** | **str**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. | [optional] ### Return type -[**UnversionedStatus**](UnversionedStatus.md) +[**V1Status**](V1Status.md) ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -7041,7 +7358,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **delete_o_auth_access_token** -> UnversionedStatus delete_o_auth_access_token(name, body, pretty=pretty, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents) +> V1Status delete_o_auth_access_token(name, body, pretty=pretty, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) @@ -7055,16 +7372,26 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.OapiApi() name = 'name_example' # str | name of the OAuthAccessToken body = openshift.client.V1DeleteOptions() # V1DeleteOptions | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) grace_period_seconds = 56 # int | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) -orphan_dependents = true # bool | Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. (optional) +orphan_dependents = true # bool | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) +propagation_policy = 'propagation_policy_example' # str | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. (optional) try: - api_response = api_instance.delete_o_auth_access_token(name, body, pretty=pretty, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents) + api_response = api_instance.delete_o_auth_access_token(name, body, pretty=pretty, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) pprint(api_response) except ApiException as e: print("Exception when calling OapiApi->delete_o_auth_access_token: %s\n" % e) @@ -7078,15 +7405,16 @@ Name | Type | Description | Notes **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | **pretty** | **str**| If 'true', then the output is pretty printed. | [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] - **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] + **orphan_dependents** | **bool**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional] + **propagation_policy** | **str**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. | [optional] ### Return type -[**UnversionedStatus**](UnversionedStatus.md) +[**V1Status**](V1Status.md) ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -7096,7 +7424,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **delete_o_auth_authorize_token** -> UnversionedStatus delete_o_auth_authorize_token(name, body, pretty=pretty, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents) +> V1Status delete_o_auth_authorize_token(name, body, pretty=pretty, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) @@ -7110,16 +7438,26 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.OapiApi() name = 'name_example' # str | name of the OAuthAuthorizeToken body = openshift.client.V1DeleteOptions() # V1DeleteOptions | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) grace_period_seconds = 56 # int | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) -orphan_dependents = true # bool | Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. (optional) +orphan_dependents = true # bool | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) +propagation_policy = 'propagation_policy_example' # str | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. (optional) try: - api_response = api_instance.delete_o_auth_authorize_token(name, body, pretty=pretty, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents) + api_response = api_instance.delete_o_auth_authorize_token(name, body, pretty=pretty, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) pprint(api_response) except ApiException as e: print("Exception when calling OapiApi->delete_o_auth_authorize_token: %s\n" % e) @@ -7133,15 +7471,16 @@ Name | Type | Description | Notes **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | **pretty** | **str**| If 'true', then the output is pretty printed. | [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] - **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] + **orphan_dependents** | **bool**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional] + **propagation_policy** | **str**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. | [optional] ### Return type -[**UnversionedStatus**](UnversionedStatus.md) +[**V1Status**](V1Status.md) ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -7151,7 +7490,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **delete_o_auth_client** -> UnversionedStatus delete_o_auth_client(name, body, pretty=pretty, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents) +> V1Status delete_o_auth_client(name, body, pretty=pretty, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) @@ -7165,16 +7504,26 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.OapiApi() name = 'name_example' # str | name of the OAuthClient body = openshift.client.V1DeleteOptions() # V1DeleteOptions | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) grace_period_seconds = 56 # int | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) -orphan_dependents = true # bool | Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. (optional) +orphan_dependents = true # bool | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) +propagation_policy = 'propagation_policy_example' # str | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. (optional) try: - api_response = api_instance.delete_o_auth_client(name, body, pretty=pretty, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents) + api_response = api_instance.delete_o_auth_client(name, body, pretty=pretty, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) pprint(api_response) except ApiException as e: print("Exception when calling OapiApi->delete_o_auth_client: %s\n" % e) @@ -7188,15 +7537,16 @@ Name | Type | Description | Notes **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | **pretty** | **str**| If 'true', then the output is pretty printed. | [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] - **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] + **orphan_dependents** | **bool**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional] + **propagation_policy** | **str**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. | [optional] ### Return type -[**UnversionedStatus**](UnversionedStatus.md) +[**V1Status**](V1Status.md) ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -7206,7 +7556,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **delete_o_auth_client_authorization** -> UnversionedStatus delete_o_auth_client_authorization(name, body, pretty=pretty, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents) +> V1Status delete_o_auth_client_authorization(name, body, pretty=pretty, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) @@ -7220,16 +7570,26 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.OapiApi() name = 'name_example' # str | name of the OAuthClientAuthorization body = openshift.client.V1DeleteOptions() # V1DeleteOptions | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) grace_period_seconds = 56 # int | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) -orphan_dependents = true # bool | Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. (optional) +orphan_dependents = true # bool | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) +propagation_policy = 'propagation_policy_example' # str | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. (optional) try: - api_response = api_instance.delete_o_auth_client_authorization(name, body, pretty=pretty, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents) + api_response = api_instance.delete_o_auth_client_authorization(name, body, pretty=pretty, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) pprint(api_response) except ApiException as e: print("Exception when calling OapiApi->delete_o_auth_client_authorization: %s\n" % e) @@ -7243,15 +7603,16 @@ Name | Type | Description | Notes **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | **pretty** | **str**| If 'true', then the output is pretty printed. | [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] - **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] + **orphan_dependents** | **bool**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional] + **propagation_policy** | **str**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. | [optional] ### Return type -[**UnversionedStatus**](UnversionedStatus.md) +[**V1Status**](V1Status.md) ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -7261,7 +7622,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **delete_project** -> UnversionedStatus delete_project(name, pretty=pretty) +> V1Status delete_project(name, pretty=pretty) @@ -7275,6 +7636,15 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.OapiApi() name = 'name_example' # str | name of the Project @@ -7296,11 +7666,11 @@ Name | Type | Description | Notes ### Return type -[**UnversionedStatus**](UnversionedStatus.md) +[**V1Status**](V1Status.md) ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -7310,7 +7680,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **delete_user** -> UnversionedStatus delete_user(name, body, pretty=pretty, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents) +> V1Status delete_user(name, body, pretty=pretty, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) @@ -7324,16 +7694,26 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.OapiApi() name = 'name_example' # str | name of the User body = openshift.client.V1DeleteOptions() # V1DeleteOptions | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) grace_period_seconds = 56 # int | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) -orphan_dependents = true # bool | Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. (optional) +orphan_dependents = true # bool | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) +propagation_policy = 'propagation_policy_example' # str | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. (optional) try: - api_response = api_instance.delete_user(name, body, pretty=pretty, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents) + api_response = api_instance.delete_user(name, body, pretty=pretty, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) pprint(api_response) except ApiException as e: print("Exception when calling OapiApi->delete_user: %s\n" % e) @@ -7347,15 +7727,16 @@ Name | Type | Description | Notes **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | **pretty** | **str**| If 'true', then the output is pretty printed. | [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] - **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] + **orphan_dependents** | **bool**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional] + **propagation_policy** | **str**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. | [optional] ### Return type -[**UnversionedStatus**](UnversionedStatus.md) +[**V1Status**](V1Status.md) ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -7365,7 +7746,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **delete_user_identity_mapping** -> UnversionedStatus delete_user_identity_mapping(name, pretty=pretty) +> V1Status delete_user_identity_mapping(name, pretty=pretty) @@ -7379,6 +7760,15 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.OapiApi() name = 'name_example' # str | name of the UserIdentityMapping @@ -7400,62 +7790,11 @@ Name | Type | Description | Notes ### Return type -[**UnversionedStatus**](UnversionedStatus.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **generate_namespaced_deployment_config** -> V1DeploymentConfig generate_namespaced_deployment_config(name, namespace, pretty=pretty) - - - -read the specified DeploymentConfig - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.OapiApi() -name = 'name_example' # str | name of the DeploymentConfig -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) - -try: - api_response = api_instance.generate_namespaced_deployment_config(name, namespace, pretty=pretty) - pprint(api_response) -except ApiException as e: - print("Exception when calling OapiApi->generate_namespaced_deployment_config: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the DeploymentConfig | - **namespace** | **str**| object name and auth scope, such as for teams and projects | - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - -### Return type - -[**V1DeploymentConfig**](V1DeploymentConfig.md) +[**V1Status**](V1Status.md) ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -7465,7 +7804,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **get_api_resources** -> UnversionedAPIResourceList get_api_resources() +> V1APIResourceList get_api_resources() @@ -7479,6 +7818,15 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.OapiApi() @@ -7494,11 +7842,11 @@ This endpoint does not need any parameter. ### Return type -[**UnversionedAPIResourceList**](UnversionedAPIResourceList.md) +[**V1APIResourceList**](V1APIResourceList.md) ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -7507,12 +7855,12 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **get_oapi_version** -> get_oapi_version() +# **get_legacy_api_versions** +> V1APIVersions get_legacy_api_versions() -list supported server API versions +get available API versions ### Example ```python @@ -7522,13 +7870,23 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.OapiApi() try: - api_instance.get_oapi_version() + api_response = api_instance.get_legacy_api_versions() + pprint(api_response) except ApiException as e: - print("Exception when calling OapiApi->get_oapi_version: %s\n" % e) + print("Exception when calling OapiApi->get_legacy_api_versions: %s\n" % e) ``` ### Parameters @@ -7536,21 +7894,21 @@ This endpoint does not need any parameter. ### Return type -void (empty response body) +[**V1APIVersions**](V1APIVersions.md) ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers - - **Content-Type**: application/json - - **Accept**: application/json + - **Content-Type**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **list_applied_cluster_resource_quota_for_all_namespaces** -> V1AppliedClusterResourceQuotaList list_applied_cluster_resource_quota_for_all_namespaces(field_selector=field_selector, label_selector=label_selector, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) +> V1AppliedClusterResourceQuotaList list_applied_cluster_resource_quota_for_all_namespaces(field_selector=field_selector, include_uninitialized=include_uninitialized, label_selector=label_selector, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) @@ -7564,154 +7922,51 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.OapiApi() field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) +include_uninitialized = true # bool | If true, partially initialized resources are included in the response. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) -resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. (optional) -timeout_seconds = 56 # int | Timeout for the list/watch call. (optional) -watch = true # bool | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) - -try: - api_response = api_instance.list_applied_cluster_resource_quota_for_all_namespaces(field_selector=field_selector, label_selector=label_selector, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) - pprint(api_response) -except ApiException as e: - print("Exception when calling OapiApi->list_applied_cluster_resource_quota_for_all_namespaces: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] - **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. | [optional] - **timeout_seconds** | **int**| Timeout for the list/watch call. | [optional] - **watch** | **bool**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] - -### Return type - -[**V1AppliedClusterResourceQuotaList**](V1AppliedClusterResourceQuotaList.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **list_build_config_for_all_namespaces** -> V1BuildConfigList list_build_config_for_all_namespaces(pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) - - - -list or watch objects of kind BuildConfig - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.OapiApi() -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) -field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) -label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. (optional) -timeout_seconds = 56 # int | Timeout for the list/watch call. (optional) -watch = true # bool | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) - -try: - api_response = api_instance.list_build_config_for_all_namespaces(pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) - pprint(api_response) -except ApiException as e: - print("Exception when calling OapiApi->list_build_config_for_all_namespaces: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] - **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. | [optional] - **timeout_seconds** | **int**| Timeout for the list/watch call. | [optional] - **watch** | **bool**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] - -### Return type - -[**V1BuildConfigList**](V1BuildConfigList.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **list_build_for_all_namespaces** -> V1BuildList list_build_for_all_namespaces(pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) - - - -list or watch objects of kind Build - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.OapiApi() -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) -field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) -label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. (optional) +pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) +resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) timeout_seconds = 56 # int | Timeout for the list/watch call. (optional) watch = true # bool | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) try: - api_response = api_instance.list_build_for_all_namespaces(pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) + api_response = api_instance.list_applied_cluster_resource_quota_for_all_namespaces(field_selector=field_selector, include_uninitialized=include_uninitialized, label_selector=label_selector, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) pprint(api_response) except ApiException as e: - print("Exception when calling OapiApi->list_build_for_all_namespaces: %s\n" % e) + print("Exception when calling OapiApi->list_applied_cluster_resource_quota_for_all_namespaces: %s\n" % e) ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] + **include_uninitialized** | **bool**| If true, partially initialized resources are included in the response. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. | [optional] + **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] + **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] **timeout_seconds** | **int**| Timeout for the list/watch call. | [optional] **watch** | **bool**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] ### Return type -[**V1BuildList**](V1BuildList.md) +[**V1AppliedClusterResourceQuotaList**](V1AppliedClusterResourceQuotaList.md) ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -7720,12 +7975,12 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **list_cluster_network** -> V1ClusterNetworkList list_cluster_network(pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) +# **list_build_config_for_all_namespaces** +> V1BuildConfigList list_build_config_for_all_namespaces(pretty=pretty, field_selector=field_selector, include_uninitialized=include_uninitialized, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) -list or watch objects of kind ClusterNetwork +list or watch objects of kind BuildConfig ### Example ```python @@ -7735,20 +7990,30 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.OapiApi() pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) +include_uninitialized = true # bool | If true, partially initialized resources are included in the response. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. (optional) +resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) timeout_seconds = 56 # int | Timeout for the list/watch call. (optional) watch = true # bool | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) try: - api_response = api_instance.list_cluster_network(pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) + api_response = api_instance.list_build_config_for_all_namespaces(pretty=pretty, field_selector=field_selector, include_uninitialized=include_uninitialized, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) pprint(api_response) except ApiException as e: - print("Exception when calling OapiApi->list_cluster_network: %s\n" % e) + print("Exception when calling OapiApi->list_build_config_for_all_namespaces: %s\n" % e) ``` ### Parameters @@ -7757,18 +8022,19 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] + **include_uninitialized** | **bool**| If true, partially initialized resources are included in the response. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. | [optional] + **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] **timeout_seconds** | **int**| Timeout for the list/watch call. | [optional] **watch** | **bool**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] ### Return type -[**V1ClusterNetworkList**](V1ClusterNetworkList.md) +[**V1BuildConfigList**](V1BuildConfigList.md) ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -7777,12 +8043,12 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **list_cluster_policy** -> V1ClusterPolicyList list_cluster_policy(pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) +# **list_build_for_all_namespaces** +> V1BuildList list_build_for_all_namespaces(pretty=pretty, field_selector=field_selector, include_uninitialized=include_uninitialized, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) -list or watch objects of kind ClusterPolicy +list or watch objects of kind Build ### Example ```python @@ -7792,20 +8058,30 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.OapiApi() pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) +include_uninitialized = true # bool | If true, partially initialized resources are included in the response. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. (optional) +resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) timeout_seconds = 56 # int | Timeout for the list/watch call. (optional) watch = true # bool | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) try: - api_response = api_instance.list_cluster_policy(pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) + api_response = api_instance.list_build_for_all_namespaces(pretty=pretty, field_selector=field_selector, include_uninitialized=include_uninitialized, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) pprint(api_response) except ApiException as e: - print("Exception when calling OapiApi->list_cluster_policy: %s\n" % e) + print("Exception when calling OapiApi->list_build_for_all_namespaces: %s\n" % e) ``` ### Parameters @@ -7814,18 +8090,19 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] + **include_uninitialized** | **bool**| If true, partially initialized resources are included in the response. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. | [optional] + **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] **timeout_seconds** | **int**| Timeout for the list/watch call. | [optional] **watch** | **bool**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] ### Return type -[**V1ClusterPolicyList**](V1ClusterPolicyList.md) +[**V1BuildList**](V1BuildList.md) ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -7834,12 +8111,12 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **list_cluster_policy_binding** -> V1ClusterPolicyBindingList list_cluster_policy_binding(pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) +# **list_cluster_network** +> V1ClusterNetworkList list_cluster_network(pretty=pretty, field_selector=field_selector, include_uninitialized=include_uninitialized, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) -list or watch objects of kind ClusterPolicyBinding +list or watch objects of kind ClusterNetwork ### Example ```python @@ -7849,20 +8126,30 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.OapiApi() pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) +include_uninitialized = true # bool | If true, partially initialized resources are included in the response. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. (optional) +resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) timeout_seconds = 56 # int | Timeout for the list/watch call. (optional) watch = true # bool | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) try: - api_response = api_instance.list_cluster_policy_binding(pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) + api_response = api_instance.list_cluster_network(pretty=pretty, field_selector=field_selector, include_uninitialized=include_uninitialized, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) pprint(api_response) except ApiException as e: - print("Exception when calling OapiApi->list_cluster_policy_binding: %s\n" % e) + print("Exception when calling OapiApi->list_cluster_network: %s\n" % e) ``` ### Parameters @@ -7871,18 +8158,19 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] + **include_uninitialized** | **bool**| If true, partially initialized resources are included in the response. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. | [optional] + **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] **timeout_seconds** | **int**| Timeout for the list/watch call. | [optional] **watch** | **bool**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] ### Return type -[**V1ClusterPolicyBindingList**](V1ClusterPolicyBindingList.md) +[**V1ClusterNetworkList**](V1ClusterNetworkList.md) ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -7892,7 +8180,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **list_cluster_resource_quota** -> V1ClusterResourceQuotaList list_cluster_resource_quota(pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) +> V1ClusterResourceQuotaList list_cluster_resource_quota(pretty=pretty, field_selector=field_selector, include_uninitialized=include_uninitialized, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) @@ -7906,17 +8194,27 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.OapiApi() pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) +include_uninitialized = true # bool | If true, partially initialized resources are included in the response. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. (optional) +resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) timeout_seconds = 56 # int | Timeout for the list/watch call. (optional) watch = true # bool | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) try: - api_response = api_instance.list_cluster_resource_quota(pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) + api_response = api_instance.list_cluster_resource_quota(pretty=pretty, field_selector=field_selector, include_uninitialized=include_uninitialized, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) pprint(api_response) except ApiException as e: print("Exception when calling OapiApi->list_cluster_resource_quota: %s\n" % e) @@ -7928,8 +8226,9 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] + **include_uninitialized** | **bool**| If true, partially initialized resources are included in the response. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. | [optional] + **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] **timeout_seconds** | **int**| Timeout for the list/watch call. | [optional] **watch** | **bool**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] @@ -7939,7 +8238,7 @@ Name | Type | Description | Notes ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -7949,7 +8248,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **list_cluster_role** -> V1ClusterRoleList list_cluster_role(pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) +> V1ClusterRoleList list_cluster_role(pretty=pretty, field_selector=field_selector, include_uninitialized=include_uninitialized, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) @@ -7963,17 +8262,27 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.OapiApi() pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) +include_uninitialized = true # bool | If true, partially initialized resources are included in the response. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. (optional) +resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) timeout_seconds = 56 # int | Timeout for the list/watch call. (optional) watch = true # bool | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) try: - api_response = api_instance.list_cluster_role(pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) + api_response = api_instance.list_cluster_role(pretty=pretty, field_selector=field_selector, include_uninitialized=include_uninitialized, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) pprint(api_response) except ApiException as e: print("Exception when calling OapiApi->list_cluster_role: %s\n" % e) @@ -7985,8 +8294,9 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] + **include_uninitialized** | **bool**| If true, partially initialized resources are included in the response. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. | [optional] + **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] **timeout_seconds** | **int**| Timeout for the list/watch call. | [optional] **watch** | **bool**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] @@ -7996,7 +8306,7 @@ Name | Type | Description | Notes ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -8006,7 +8316,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **list_cluster_role_binding** -> V1ClusterRoleBindingList list_cluster_role_binding(pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) +> V1ClusterRoleBindingList list_cluster_role_binding(pretty=pretty, field_selector=field_selector, include_uninitialized=include_uninitialized, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) @@ -8020,17 +8330,27 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.OapiApi() pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) +include_uninitialized = true # bool | If true, partially initialized resources are included in the response. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. (optional) +resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) timeout_seconds = 56 # int | Timeout for the list/watch call. (optional) watch = true # bool | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) try: - api_response = api_instance.list_cluster_role_binding(pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) + api_response = api_instance.list_cluster_role_binding(pretty=pretty, field_selector=field_selector, include_uninitialized=include_uninitialized, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) pprint(api_response) except ApiException as e: print("Exception when calling OapiApi->list_cluster_role_binding: %s\n" % e) @@ -8042,8 +8362,9 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] + **include_uninitialized** | **bool**| If true, partially initialized resources are included in the response. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. | [optional] + **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] **timeout_seconds** | **int**| Timeout for the list/watch call. | [optional] **watch** | **bool**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] @@ -8053,7 +8374,7 @@ Name | Type | Description | Notes ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -8063,7 +8384,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **list_deployment_config_for_all_namespaces** -> V1DeploymentConfigList list_deployment_config_for_all_namespaces(pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) +> V1DeploymentConfigList list_deployment_config_for_all_namespaces(pretty=pretty, field_selector=field_selector, include_uninitialized=include_uninitialized, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) @@ -8077,17 +8398,27 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.OapiApi() pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) +include_uninitialized = true # bool | If true, partially initialized resources are included in the response. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. (optional) +resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) timeout_seconds = 56 # int | Timeout for the list/watch call. (optional) watch = true # bool | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) try: - api_response = api_instance.list_deployment_config_for_all_namespaces(pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) + api_response = api_instance.list_deployment_config_for_all_namespaces(pretty=pretty, field_selector=field_selector, include_uninitialized=include_uninitialized, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) pprint(api_response) except ApiException as e: print("Exception when calling OapiApi->list_deployment_config_for_all_namespaces: %s\n" % e) @@ -8099,8 +8430,9 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] + **include_uninitialized** | **bool**| If true, partially initialized resources are included in the response. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. | [optional] + **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] **timeout_seconds** | **int**| Timeout for the list/watch call. | [optional] **watch** | **bool**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] @@ -8110,7 +8442,7 @@ Name | Type | Description | Notes ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -8120,7 +8452,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **list_egress_network_policy_for_all_namespaces** -> V1EgressNetworkPolicyList list_egress_network_policy_for_all_namespaces(pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) +> V1EgressNetworkPolicyList list_egress_network_policy_for_all_namespaces(pretty=pretty, field_selector=field_selector, include_uninitialized=include_uninitialized, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) @@ -8134,17 +8466,27 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.OapiApi() pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) +include_uninitialized = true # bool | If true, partially initialized resources are included in the response. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. (optional) +resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) timeout_seconds = 56 # int | Timeout for the list/watch call. (optional) watch = true # bool | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) try: - api_response = api_instance.list_egress_network_policy_for_all_namespaces(pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) + api_response = api_instance.list_egress_network_policy_for_all_namespaces(pretty=pretty, field_selector=field_selector, include_uninitialized=include_uninitialized, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) pprint(api_response) except ApiException as e: print("Exception when calling OapiApi->list_egress_network_policy_for_all_namespaces: %s\n" % e) @@ -8156,8 +8498,9 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] + **include_uninitialized** | **bool**| If true, partially initialized resources are included in the response. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. | [optional] + **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] **timeout_seconds** | **int**| Timeout for the list/watch call. | [optional] **watch** | **bool**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] @@ -8167,7 +8510,7 @@ Name | Type | Description | Notes ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -8177,7 +8520,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **list_group** -> V1GroupList list_group(pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) +> V1GroupList list_group(pretty=pretty, field_selector=field_selector, include_uninitialized=include_uninitialized, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) @@ -8191,17 +8534,27 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.OapiApi() pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) +include_uninitialized = true # bool | If true, partially initialized resources are included in the response. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. (optional) +resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) timeout_seconds = 56 # int | Timeout for the list/watch call. (optional) watch = true # bool | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) try: - api_response = api_instance.list_group(pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) + api_response = api_instance.list_group(pretty=pretty, field_selector=field_selector, include_uninitialized=include_uninitialized, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) pprint(api_response) except ApiException as e: print("Exception when calling OapiApi->list_group: %s\n" % e) @@ -8213,8 +8566,9 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] + **include_uninitialized** | **bool**| If true, partially initialized resources are included in the response. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. | [optional] + **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] **timeout_seconds** | **int**| Timeout for the list/watch call. | [optional] **watch** | **bool**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] @@ -8224,7 +8578,7 @@ Name | Type | Description | Notes ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -8234,7 +8588,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **list_host_subnet** -> V1HostSubnetList list_host_subnet(pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) +> V1HostSubnetList list_host_subnet(pretty=pretty, field_selector=field_selector, include_uninitialized=include_uninitialized, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) @@ -8248,17 +8602,27 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.OapiApi() pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) +include_uninitialized = true # bool | If true, partially initialized resources are included in the response. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. (optional) +resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) timeout_seconds = 56 # int | Timeout for the list/watch call. (optional) watch = true # bool | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) try: - api_response = api_instance.list_host_subnet(pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) + api_response = api_instance.list_host_subnet(pretty=pretty, field_selector=field_selector, include_uninitialized=include_uninitialized, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) pprint(api_response) except ApiException as e: print("Exception when calling OapiApi->list_host_subnet: %s\n" % e) @@ -8270,8 +8634,9 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] + **include_uninitialized** | **bool**| If true, partially initialized resources are included in the response. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. | [optional] + **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] **timeout_seconds** | **int**| Timeout for the list/watch call. | [optional] **watch** | **bool**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] @@ -8281,7 +8646,7 @@ Name | Type | Description | Notes ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -8291,7 +8656,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **list_identity** -> V1IdentityList list_identity(pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) +> V1IdentityList list_identity(pretty=pretty, field_selector=field_selector, include_uninitialized=include_uninitialized, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) @@ -8305,17 +8670,27 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.OapiApi() pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) +include_uninitialized = true # bool | If true, partially initialized resources are included in the response. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. (optional) +resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) timeout_seconds = 56 # int | Timeout for the list/watch call. (optional) watch = true # bool | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) try: - api_response = api_instance.list_identity(pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) + api_response = api_instance.list_identity(pretty=pretty, field_selector=field_selector, include_uninitialized=include_uninitialized, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) pprint(api_response) except ApiException as e: print("Exception when calling OapiApi->list_identity: %s\n" % e) @@ -8327,8 +8702,9 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] + **include_uninitialized** | **bool**| If true, partially initialized resources are included in the response. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. | [optional] + **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] **timeout_seconds** | **int**| Timeout for the list/watch call. | [optional] **watch** | **bool**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] @@ -8338,7 +8714,7 @@ Name | Type | Description | Notes ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -8348,7 +8724,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **list_image** -> V1ImageList list_image(pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) +> V1ImageList list_image(pretty=pretty, field_selector=field_selector, include_uninitialized=include_uninitialized, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) @@ -8362,17 +8738,27 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.OapiApi() pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) +include_uninitialized = true # bool | If true, partially initialized resources are included in the response. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. (optional) +resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) timeout_seconds = 56 # int | Timeout for the list/watch call. (optional) watch = true # bool | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) try: - api_response = api_instance.list_image(pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) + api_response = api_instance.list_image(pretty=pretty, field_selector=field_selector, include_uninitialized=include_uninitialized, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) pprint(api_response) except ApiException as e: print("Exception when calling OapiApi->list_image: %s\n" % e) @@ -8384,8 +8770,9 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] + **include_uninitialized** | **bool**| If true, partially initialized resources are included in the response. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. | [optional] + **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] **timeout_seconds** | **int**| Timeout for the list/watch call. | [optional] **watch** | **bool**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] @@ -8395,7 +8782,7 @@ Name | Type | Description | Notes ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -8405,7 +8792,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **list_image_stream_for_all_namespaces** -> V1ImageStreamList list_image_stream_for_all_namespaces(pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) +> V1ImageStreamList list_image_stream_for_all_namespaces(pretty=pretty, field_selector=field_selector, include_uninitialized=include_uninitialized, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) @@ -8419,17 +8806,27 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.OapiApi() pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) +include_uninitialized = true # bool | If true, partially initialized resources are included in the response. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. (optional) +resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) timeout_seconds = 56 # int | Timeout for the list/watch call. (optional) watch = true # bool | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) try: - api_response = api_instance.list_image_stream_for_all_namespaces(pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) + api_response = api_instance.list_image_stream_for_all_namespaces(pretty=pretty, field_selector=field_selector, include_uninitialized=include_uninitialized, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) pprint(api_response) except ApiException as e: print("Exception when calling OapiApi->list_image_stream_for_all_namespaces: %s\n" % e) @@ -8441,8 +8838,9 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] + **include_uninitialized** | **bool**| If true, partially initialized resources are included in the response. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. | [optional] + **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] **timeout_seconds** | **int**| Timeout for the list/watch call. | [optional] **watch** | **bool**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] @@ -8452,7 +8850,7 @@ Name | Type | Description | Notes ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -8462,7 +8860,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **list_image_stream_tag_for_all_namespaces** -> V1ImageStreamTagList list_image_stream_tag_for_all_namespaces(pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) +> V1ImageStreamTagList list_image_stream_tag_for_all_namespaces(pretty=pretty, field_selector=field_selector, include_uninitialized=include_uninitialized, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) @@ -8476,17 +8874,27 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.OapiApi() pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) +include_uninitialized = true # bool | If true, partially initialized resources are included in the response. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. (optional) +resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) timeout_seconds = 56 # int | Timeout for the list/watch call. (optional) watch = true # bool | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) try: - api_response = api_instance.list_image_stream_tag_for_all_namespaces(pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) + api_response = api_instance.list_image_stream_tag_for_all_namespaces(pretty=pretty, field_selector=field_selector, include_uninitialized=include_uninitialized, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) pprint(api_response) except ApiException as e: print("Exception when calling OapiApi->list_image_stream_tag_for_all_namespaces: %s\n" % e) @@ -8498,8 +8906,9 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] + **include_uninitialized** | **bool**| If true, partially initialized resources are included in the response. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. | [optional] + **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] **timeout_seconds** | **int**| Timeout for the list/watch call. | [optional] **watch** | **bool**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] @@ -8509,7 +8918,7 @@ Name | Type | Description | Notes ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -8519,7 +8928,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **list_namespaced_applied_cluster_resource_quota** -> V1AppliedClusterResourceQuotaList list_namespaced_applied_cluster_resource_quota(namespace, field_selector=field_selector, label_selector=label_selector, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) +> V1AppliedClusterResourceQuotaList list_namespaced_applied_cluster_resource_quota(namespace, field_selector=field_selector, include_uninitialized=include_uninitialized, label_selector=label_selector, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) @@ -8533,18 +8942,28 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.OapiApi() namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) +include_uninitialized = true # bool | If true, partially initialized resources are included in the response. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) -resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. (optional) +resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) timeout_seconds = 56 # int | Timeout for the list/watch call. (optional) watch = true # bool | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) try: - api_response = api_instance.list_namespaced_applied_cluster_resource_quota(namespace, field_selector=field_selector, label_selector=label_selector, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) + api_response = api_instance.list_namespaced_applied_cluster_resource_quota(namespace, field_selector=field_selector, include_uninitialized=include_uninitialized, label_selector=label_selector, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) pprint(api_response) except ApiException as e: print("Exception when calling OapiApi->list_namespaced_applied_cluster_resource_quota: %s\n" % e) @@ -8556,9 +8975,10 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **namespace** | **str**| object name and auth scope, such as for teams and projects | **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] + **include_uninitialized** | **bool**| If true, partially initialized resources are included in the response. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. | [optional] + **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] **timeout_seconds** | **int**| Timeout for the list/watch call. | [optional] **watch** | **bool**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] @@ -8568,7 +8988,7 @@ Name | Type | Description | Notes ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -8578,7 +8998,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **list_namespaced_build** -> V1BuildList list_namespaced_build(namespace, pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) +> V1BuildList list_namespaced_build(namespace, pretty=pretty, field_selector=field_selector, include_uninitialized=include_uninitialized, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) @@ -8592,18 +9012,28 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.OapiApi() namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) +include_uninitialized = true # bool | If true, partially initialized resources are included in the response. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. (optional) +resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) timeout_seconds = 56 # int | Timeout for the list/watch call. (optional) watch = true # bool | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) try: - api_response = api_instance.list_namespaced_build(namespace, pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) + api_response = api_instance.list_namespaced_build(namespace, pretty=pretty, field_selector=field_selector, include_uninitialized=include_uninitialized, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) pprint(api_response) except ApiException as e: print("Exception when calling OapiApi->list_namespaced_build: %s\n" % e) @@ -8616,8 +9046,9 @@ Name | Type | Description | Notes **namespace** | **str**| object name and auth scope, such as for teams and projects | **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] + **include_uninitialized** | **bool**| If true, partially initialized resources are included in the response. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. | [optional] + **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] **timeout_seconds** | **int**| Timeout for the list/watch call. | [optional] **watch** | **bool**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] @@ -8627,7 +9058,7 @@ Name | Type | Description | Notes ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -8637,7 +9068,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **list_namespaced_build_config** -> V1BuildConfigList list_namespaced_build_config(namespace, pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) +> V1BuildConfigList list_namespaced_build_config(namespace, pretty=pretty, field_selector=field_selector, include_uninitialized=include_uninitialized, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) @@ -8651,18 +9082,28 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.OapiApi() namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) +include_uninitialized = true # bool | If true, partially initialized resources are included in the response. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. (optional) +resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) timeout_seconds = 56 # int | Timeout for the list/watch call. (optional) watch = true # bool | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) try: - api_response = api_instance.list_namespaced_build_config(namespace, pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) + api_response = api_instance.list_namespaced_build_config(namespace, pretty=pretty, field_selector=field_selector, include_uninitialized=include_uninitialized, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) pprint(api_response) except ApiException as e: print("Exception when calling OapiApi->list_namespaced_build_config: %s\n" % e) @@ -8675,8 +9116,9 @@ Name | Type | Description | Notes **namespace** | **str**| object name and auth scope, such as for teams and projects | **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] + **include_uninitialized** | **bool**| If true, partially initialized resources are included in the response. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. | [optional] + **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] **timeout_seconds** | **int**| Timeout for the list/watch call. | [optional] **watch** | **bool**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] @@ -8686,7 +9128,7 @@ Name | Type | Description | Notes ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -8696,7 +9138,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **list_namespaced_deployment_config** -> V1DeploymentConfigList list_namespaced_deployment_config(namespace, pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) +> V1DeploymentConfigList list_namespaced_deployment_config(namespace, pretty=pretty, field_selector=field_selector, include_uninitialized=include_uninitialized, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) @@ -8710,18 +9152,28 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.OapiApi() namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) +include_uninitialized = true # bool | If true, partially initialized resources are included in the response. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. (optional) +resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) timeout_seconds = 56 # int | Timeout for the list/watch call. (optional) watch = true # bool | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) try: - api_response = api_instance.list_namespaced_deployment_config(namespace, pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) + api_response = api_instance.list_namespaced_deployment_config(namespace, pretty=pretty, field_selector=field_selector, include_uninitialized=include_uninitialized, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) pprint(api_response) except ApiException as e: print("Exception when calling OapiApi->list_namespaced_deployment_config: %s\n" % e) @@ -8734,8 +9186,9 @@ Name | Type | Description | Notes **namespace** | **str**| object name and auth scope, such as for teams and projects | **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] + **include_uninitialized** | **bool**| If true, partially initialized resources are included in the response. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. | [optional] + **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] **timeout_seconds** | **int**| Timeout for the list/watch call. | [optional] **watch** | **bool**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] @@ -8745,7 +9198,7 @@ Name | Type | Description | Notes ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -8755,7 +9208,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **list_namespaced_egress_network_policy** -> V1EgressNetworkPolicyList list_namespaced_egress_network_policy(namespace, pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) +> V1EgressNetworkPolicyList list_namespaced_egress_network_policy(namespace, pretty=pretty, field_selector=field_selector, include_uninitialized=include_uninitialized, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) @@ -8769,18 +9222,28 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.OapiApi() namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) +include_uninitialized = true # bool | If true, partially initialized resources are included in the response. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. (optional) +resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) timeout_seconds = 56 # int | Timeout for the list/watch call. (optional) watch = true # bool | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) try: - api_response = api_instance.list_namespaced_egress_network_policy(namespace, pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) + api_response = api_instance.list_namespaced_egress_network_policy(namespace, pretty=pretty, field_selector=field_selector, include_uninitialized=include_uninitialized, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) pprint(api_response) except ApiException as e: print("Exception when calling OapiApi->list_namespaced_egress_network_policy: %s\n" % e) @@ -8793,8 +9256,9 @@ Name | Type | Description | Notes **namespace** | **str**| object name and auth scope, such as for teams and projects | **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] + **include_uninitialized** | **bool**| If true, partially initialized resources are included in the response. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. | [optional] + **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] **timeout_seconds** | **int**| Timeout for the list/watch call. | [optional] **watch** | **bool**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] @@ -8804,7 +9268,7 @@ Name | Type | Description | Notes ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -8814,7 +9278,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **list_namespaced_image_stream** -> V1ImageStreamList list_namespaced_image_stream(namespace, pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) +> V1ImageStreamList list_namespaced_image_stream(namespace, pretty=pretty, field_selector=field_selector, include_uninitialized=include_uninitialized, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) @@ -8828,18 +9292,28 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.OapiApi() namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) +include_uninitialized = true # bool | If true, partially initialized resources are included in the response. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. (optional) +resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) timeout_seconds = 56 # int | Timeout for the list/watch call. (optional) watch = true # bool | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) try: - api_response = api_instance.list_namespaced_image_stream(namespace, pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) + api_response = api_instance.list_namespaced_image_stream(namespace, pretty=pretty, field_selector=field_selector, include_uninitialized=include_uninitialized, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) pprint(api_response) except ApiException as e: print("Exception when calling OapiApi->list_namespaced_image_stream: %s\n" % e) @@ -8852,8 +9326,9 @@ Name | Type | Description | Notes **namespace** | **str**| object name and auth scope, such as for teams and projects | **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] + **include_uninitialized** | **bool**| If true, partially initialized resources are included in the response. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. | [optional] + **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] **timeout_seconds** | **int**| Timeout for the list/watch call. | [optional] **watch** | **bool**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] @@ -8863,7 +9338,7 @@ Name | Type | Description | Notes ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -8873,7 +9348,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **list_namespaced_image_stream_tag** -> V1ImageStreamTagList list_namespaced_image_stream_tag(namespace, pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) +> V1ImageStreamTagList list_namespaced_image_stream_tag(namespace, pretty=pretty, field_selector=field_selector, include_uninitialized=include_uninitialized, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) @@ -8887,18 +9362,28 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.OapiApi() namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) +include_uninitialized = true # bool | If true, partially initialized resources are included in the response. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. (optional) +resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) timeout_seconds = 56 # int | Timeout for the list/watch call. (optional) watch = true # bool | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) try: - api_response = api_instance.list_namespaced_image_stream_tag(namespace, pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) + api_response = api_instance.list_namespaced_image_stream_tag(namespace, pretty=pretty, field_selector=field_selector, include_uninitialized=include_uninitialized, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) pprint(api_response) except ApiException as e: print("Exception when calling OapiApi->list_namespaced_image_stream_tag: %s\n" % e) @@ -8911,8 +9396,9 @@ Name | Type | Description | Notes **namespace** | **str**| object name and auth scope, such as for teams and projects | **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] + **include_uninitialized** | **bool**| If true, partially initialized resources are included in the response. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. | [optional] + **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] **timeout_seconds** | **int**| Timeout for the list/watch call. | [optional] **watch** | **bool**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] @@ -8922,125 +9408,7 @@ Name | Type | Description | Notes ### Authorization -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **list_namespaced_policy** -> V1PolicyList list_namespaced_policy(namespace, pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) - - - -list or watch objects of kind Policy - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.OapiApi() -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) -field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) -label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. (optional) -timeout_seconds = 56 # int | Timeout for the list/watch call. (optional) -watch = true # bool | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) - -try: - api_response = api_instance.list_namespaced_policy(namespace, pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) - pprint(api_response) -except ApiException as e: - print("Exception when calling OapiApi->list_namespaced_policy: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **namespace** | **str**| object name and auth scope, such as for teams and projects | - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] - **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. | [optional] - **timeout_seconds** | **int**| Timeout for the list/watch call. | [optional] - **watch** | **bool**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] - -### Return type - -[**V1PolicyList**](V1PolicyList.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **list_namespaced_policy_binding** -> V1PolicyBindingList list_namespaced_policy_binding(namespace, pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) - - - -list or watch objects of kind PolicyBinding - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.OapiApi() -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) -field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) -label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. (optional) -timeout_seconds = 56 # int | Timeout for the list/watch call. (optional) -watch = true # bool | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) - -try: - api_response = api_instance.list_namespaced_policy_binding(namespace, pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) - pprint(api_response) -except ApiException as e: - print("Exception when calling OapiApi->list_namespaced_policy_binding: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **namespace** | **str**| object name and auth scope, such as for teams and projects | - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] - **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. | [optional] - **timeout_seconds** | **int**| Timeout for the list/watch call. | [optional] - **watch** | **bool**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] - -### Return type - -[**V1PolicyBindingList**](V1PolicyBindingList.md) - -### Authorization - -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -9050,7 +9418,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **list_namespaced_role** -> V1RoleList list_namespaced_role(namespace, pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) +> V1RoleList list_namespaced_role(namespace, pretty=pretty, field_selector=field_selector, include_uninitialized=include_uninitialized, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) @@ -9064,18 +9432,28 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.OapiApi() namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) +include_uninitialized = true # bool | If true, partially initialized resources are included in the response. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. (optional) +resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) timeout_seconds = 56 # int | Timeout for the list/watch call. (optional) watch = true # bool | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) try: - api_response = api_instance.list_namespaced_role(namespace, pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) + api_response = api_instance.list_namespaced_role(namespace, pretty=pretty, field_selector=field_selector, include_uninitialized=include_uninitialized, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) pprint(api_response) except ApiException as e: print("Exception when calling OapiApi->list_namespaced_role: %s\n" % e) @@ -9088,8 +9466,9 @@ Name | Type | Description | Notes **namespace** | **str**| object name and auth scope, such as for teams and projects | **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] + **include_uninitialized** | **bool**| If true, partially initialized resources are included in the response. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. | [optional] + **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] **timeout_seconds** | **int**| Timeout for the list/watch call. | [optional] **watch** | **bool**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] @@ -9099,7 +9478,7 @@ Name | Type | Description | Notes ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -9109,7 +9488,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **list_namespaced_role_binding** -> V1RoleBindingList list_namespaced_role_binding(namespace, pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) +> V1RoleBindingList list_namespaced_role_binding(namespace, pretty=pretty, field_selector=field_selector, include_uninitialized=include_uninitialized, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) @@ -9123,18 +9502,28 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.OapiApi() namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) +include_uninitialized = true # bool | If true, partially initialized resources are included in the response. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. (optional) +resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) timeout_seconds = 56 # int | Timeout for the list/watch call. (optional) watch = true # bool | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) try: - api_response = api_instance.list_namespaced_role_binding(namespace, pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) + api_response = api_instance.list_namespaced_role_binding(namespace, pretty=pretty, field_selector=field_selector, include_uninitialized=include_uninitialized, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) pprint(api_response) except ApiException as e: print("Exception when calling OapiApi->list_namespaced_role_binding: %s\n" % e) @@ -9147,8 +9536,9 @@ Name | Type | Description | Notes **namespace** | **str**| object name and auth scope, such as for teams and projects | **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] + **include_uninitialized** | **bool**| If true, partially initialized resources are included in the response. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. | [optional] + **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] **timeout_seconds** | **int**| Timeout for the list/watch call. | [optional] **watch** | **bool**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] @@ -9158,7 +9548,7 @@ Name | Type | Description | Notes ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -9168,7 +9558,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **list_namespaced_role_binding_restriction** -> V1RoleBindingRestrictionList list_namespaced_role_binding_restriction(namespace, pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) +> V1RoleBindingRestrictionList list_namespaced_role_binding_restriction(namespace, pretty=pretty, field_selector=field_selector, include_uninitialized=include_uninitialized, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) @@ -9182,18 +9572,28 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.OapiApi() namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) +include_uninitialized = true # bool | If true, partially initialized resources are included in the response. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. (optional) +resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) timeout_seconds = 56 # int | Timeout for the list/watch call. (optional) watch = true # bool | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) try: - api_response = api_instance.list_namespaced_role_binding_restriction(namespace, pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) + api_response = api_instance.list_namespaced_role_binding_restriction(namespace, pretty=pretty, field_selector=field_selector, include_uninitialized=include_uninitialized, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) pprint(api_response) except ApiException as e: print("Exception when calling OapiApi->list_namespaced_role_binding_restriction: %s\n" % e) @@ -9206,8 +9606,9 @@ Name | Type | Description | Notes **namespace** | **str**| object name and auth scope, such as for teams and projects | **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] + **include_uninitialized** | **bool**| If true, partially initialized resources are included in the response. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. | [optional] + **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] **timeout_seconds** | **int**| Timeout for the list/watch call. | [optional] **watch** | **bool**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] @@ -9217,7 +9618,7 @@ Name | Type | Description | Notes ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -9227,7 +9628,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **list_namespaced_route** -> V1RouteList list_namespaced_route(namespace, pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) +> V1RouteList list_namespaced_route(namespace, pretty=pretty, field_selector=field_selector, include_uninitialized=include_uninitialized, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) @@ -9241,158 +9642,53 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint -# create an instance of the API class -api_instance = openshift.client.OapiApi() -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) -field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) -label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. (optional) -timeout_seconds = 56 # int | Timeout for the list/watch call. (optional) -watch = true # bool | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) - -try: - api_response = api_instance.list_namespaced_route(namespace, pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) - pprint(api_response) -except ApiException as e: - print("Exception when calling OapiApi->list_namespaced_route: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **namespace** | **str**| object name and auth scope, such as for teams and projects | - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] - **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. | [optional] - **timeout_seconds** | **int**| Timeout for the list/watch call. | [optional] - **watch** | **bool**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] - -### Return type - -[**V1RouteList**](V1RouteList.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **list_namespaced_template** -> V1TemplateList list_namespaced_template(namespace, pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) - - - -list or watch objects of kind Template - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.OapiApi() -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) -field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) -label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. (optional) -timeout_seconds = 56 # int | Timeout for the list/watch call. (optional) -watch = true # bool | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) - -try: - api_response = api_instance.list_namespaced_template(namespace, pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) - pprint(api_response) -except ApiException as e: - print("Exception when calling OapiApi->list_namespaced_template: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **namespace** | **str**| object name and auth scope, such as for teams and projects | - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] - **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. | [optional] - **timeout_seconds** | **int**| Timeout for the list/watch call. | [optional] - **watch** | **bool**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] - -### Return type - -[**V1TemplateList**](V1TemplateList.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **list_net_namespace** -> V1NetNamespaceList list_net_namespace(pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) - - - -list or watch objects of kind NetNamespace - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' # create an instance of the API class api_instance = openshift.client.OapiApi() +namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) +include_uninitialized = true # bool | If true, partially initialized resources are included in the response. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. (optional) +resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) timeout_seconds = 56 # int | Timeout for the list/watch call. (optional) watch = true # bool | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) try: - api_response = api_instance.list_net_namespace(pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) + api_response = api_instance.list_namespaced_route(namespace, pretty=pretty, field_selector=field_selector, include_uninitialized=include_uninitialized, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) pprint(api_response) except ApiException as e: - print("Exception when calling OapiApi->list_net_namespace: %s\n" % e) + print("Exception when calling OapiApi->list_namespaced_route: %s\n" % e) ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- + **namespace** | **str**| object name and auth scope, such as for teams and projects | **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] + **include_uninitialized** | **bool**| If true, partially initialized resources are included in the response. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. | [optional] + **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] **timeout_seconds** | **int**| Timeout for the list/watch call. | [optional] **watch** | **bool**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] ### Return type -[**V1NetNamespaceList**](V1NetNamespaceList.md) +[**V1RouteList**](V1RouteList.md) ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -9401,12 +9697,12 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **list_o_auth_access_token** -> V1OAuthAccessTokenList list_o_auth_access_token(pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) +# **list_namespaced_template** +> V1TemplateList list_namespaced_template(namespace, pretty=pretty, field_selector=field_selector, include_uninitialized=include_uninitialized, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) -list or watch objects of kind OAuthAccessToken +list or watch objects of kind Template ### Example ```python @@ -9416,40 +9712,53 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.OapiApi() +namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) +include_uninitialized = true # bool | If true, partially initialized resources are included in the response. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. (optional) +resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) timeout_seconds = 56 # int | Timeout for the list/watch call. (optional) watch = true # bool | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) try: - api_response = api_instance.list_o_auth_access_token(pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) + api_response = api_instance.list_namespaced_template(namespace, pretty=pretty, field_selector=field_selector, include_uninitialized=include_uninitialized, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) pprint(api_response) except ApiException as e: - print("Exception when calling OapiApi->list_o_auth_access_token: %s\n" % e) + print("Exception when calling OapiApi->list_namespaced_template: %s\n" % e) ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- + **namespace** | **str**| object name and auth scope, such as for teams and projects | **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] + **include_uninitialized** | **bool**| If true, partially initialized resources are included in the response. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. | [optional] + **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] **timeout_seconds** | **int**| Timeout for the list/watch call. | [optional] **watch** | **bool**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] ### Return type -[**V1OAuthAccessTokenList**](V1OAuthAccessTokenList.md) +[**V1TemplateList**](V1TemplateList.md) ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -9458,12 +9767,12 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **list_o_auth_authorize_token** -> V1OAuthAuthorizeTokenList list_o_auth_authorize_token(pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) +# **list_net_namespace** +> V1NetNamespaceList list_net_namespace(pretty=pretty, field_selector=field_selector, include_uninitialized=include_uninitialized, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) -list or watch objects of kind OAuthAuthorizeToken +list or watch objects of kind NetNamespace ### Example ```python @@ -9473,20 +9782,30 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.OapiApi() pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) +include_uninitialized = true # bool | If true, partially initialized resources are included in the response. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. (optional) +resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) timeout_seconds = 56 # int | Timeout for the list/watch call. (optional) watch = true # bool | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) try: - api_response = api_instance.list_o_auth_authorize_token(pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) + api_response = api_instance.list_net_namespace(pretty=pretty, field_selector=field_selector, include_uninitialized=include_uninitialized, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) pprint(api_response) except ApiException as e: - print("Exception when calling OapiApi->list_o_auth_authorize_token: %s\n" % e) + print("Exception when calling OapiApi->list_net_namespace: %s\n" % e) ``` ### Parameters @@ -9495,18 +9814,19 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] + **include_uninitialized** | **bool**| If true, partially initialized resources are included in the response. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. | [optional] + **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] **timeout_seconds** | **int**| Timeout for the list/watch call. | [optional] **watch** | **bool**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] ### Return type -[**V1OAuthAuthorizeTokenList**](V1OAuthAuthorizeTokenList.md) +[**V1NetNamespaceList**](V1NetNamespaceList.md) ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -9515,12 +9835,12 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **list_o_auth_client** -> V1OAuthClientList list_o_auth_client(pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) +# **list_o_auth_access_token** +> V1OAuthAccessTokenList list_o_auth_access_token(pretty=pretty, field_selector=field_selector, include_uninitialized=include_uninitialized, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) -list or watch objects of kind OAuthClient +list or watch objects of kind OAuthAccessToken ### Example ```python @@ -9530,20 +9850,30 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.OapiApi() pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) +include_uninitialized = true # bool | If true, partially initialized resources are included in the response. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. (optional) +resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) timeout_seconds = 56 # int | Timeout for the list/watch call. (optional) watch = true # bool | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) try: - api_response = api_instance.list_o_auth_client(pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) + api_response = api_instance.list_o_auth_access_token(pretty=pretty, field_selector=field_selector, include_uninitialized=include_uninitialized, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) pprint(api_response) except ApiException as e: - print("Exception when calling OapiApi->list_o_auth_client: %s\n" % e) + print("Exception when calling OapiApi->list_o_auth_access_token: %s\n" % e) ``` ### Parameters @@ -9552,18 +9882,19 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] + **include_uninitialized** | **bool**| If true, partially initialized resources are included in the response. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. | [optional] + **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] **timeout_seconds** | **int**| Timeout for the list/watch call. | [optional] **watch** | **bool**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] ### Return type -[**V1OAuthClientList**](V1OAuthClientList.md) +[**V1OAuthAccessTokenList**](V1OAuthAccessTokenList.md) ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -9572,12 +9903,12 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **list_o_auth_client_authorization** -> V1OAuthClientAuthorizationList list_o_auth_client_authorization(pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) +# **list_o_auth_authorize_token** +> V1OAuthAuthorizeTokenList list_o_auth_authorize_token(pretty=pretty, field_selector=field_selector, include_uninitialized=include_uninitialized, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) -list or watch objects of kind OAuthClientAuthorization +list or watch objects of kind OAuthAuthorizeToken ### Example ```python @@ -9587,20 +9918,30 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.OapiApi() pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) +include_uninitialized = true # bool | If true, partially initialized resources are included in the response. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. (optional) +resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) timeout_seconds = 56 # int | Timeout for the list/watch call. (optional) watch = true # bool | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) try: - api_response = api_instance.list_o_auth_client_authorization(pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) + api_response = api_instance.list_o_auth_authorize_token(pretty=pretty, field_selector=field_selector, include_uninitialized=include_uninitialized, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) pprint(api_response) except ApiException as e: - print("Exception when calling OapiApi->list_o_auth_client_authorization: %s\n" % e) + print("Exception when calling OapiApi->list_o_auth_authorize_token: %s\n" % e) ``` ### Parameters @@ -9609,18 +9950,19 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] + **include_uninitialized** | **bool**| If true, partially initialized resources are included in the response. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. | [optional] + **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] **timeout_seconds** | **int**| Timeout for the list/watch call. | [optional] **watch** | **bool**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] ### Return type -[**V1OAuthClientAuthorizationList**](V1OAuthClientAuthorizationList.md) +[**V1OAuthAuthorizeTokenList**](V1OAuthAuthorizeTokenList.md) ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -9629,12 +9971,12 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **list_policy_binding_for_all_namespaces** -> V1PolicyBindingList list_policy_binding_for_all_namespaces(pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) +# **list_o_auth_client** +> V1OAuthClientList list_o_auth_client(pretty=pretty, field_selector=field_selector, include_uninitialized=include_uninitialized, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) -list or watch objects of kind PolicyBinding +list or watch objects of kind OAuthClient ### Example ```python @@ -9644,20 +9986,30 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.OapiApi() pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) +include_uninitialized = true # bool | If true, partially initialized resources are included in the response. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. (optional) +resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) timeout_seconds = 56 # int | Timeout for the list/watch call. (optional) watch = true # bool | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) try: - api_response = api_instance.list_policy_binding_for_all_namespaces(pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) + api_response = api_instance.list_o_auth_client(pretty=pretty, field_selector=field_selector, include_uninitialized=include_uninitialized, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) pprint(api_response) except ApiException as e: - print("Exception when calling OapiApi->list_policy_binding_for_all_namespaces: %s\n" % e) + print("Exception when calling OapiApi->list_o_auth_client: %s\n" % e) ``` ### Parameters @@ -9666,18 +10018,19 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] + **include_uninitialized** | **bool**| If true, partially initialized resources are included in the response. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. | [optional] + **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] **timeout_seconds** | **int**| Timeout for the list/watch call. | [optional] **watch** | **bool**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] ### Return type -[**V1PolicyBindingList**](V1PolicyBindingList.md) +[**V1OAuthClientList**](V1OAuthClientList.md) ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -9686,12 +10039,12 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **list_policy_for_all_namespaces** -> V1PolicyList list_policy_for_all_namespaces(pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) +# **list_o_auth_client_authorization** +> V1OAuthClientAuthorizationList list_o_auth_client_authorization(pretty=pretty, field_selector=field_selector, include_uninitialized=include_uninitialized, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) -list or watch objects of kind Policy +list or watch objects of kind OAuthClientAuthorization ### Example ```python @@ -9701,20 +10054,30 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.OapiApi() pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) +include_uninitialized = true # bool | If true, partially initialized resources are included in the response. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. (optional) +resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) timeout_seconds = 56 # int | Timeout for the list/watch call. (optional) watch = true # bool | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) try: - api_response = api_instance.list_policy_for_all_namespaces(pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) + api_response = api_instance.list_o_auth_client_authorization(pretty=pretty, field_selector=field_selector, include_uninitialized=include_uninitialized, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) pprint(api_response) except ApiException as e: - print("Exception when calling OapiApi->list_policy_for_all_namespaces: %s\n" % e) + print("Exception when calling OapiApi->list_o_auth_client_authorization: %s\n" % e) ``` ### Parameters @@ -9723,18 +10086,19 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] + **include_uninitialized** | **bool**| If true, partially initialized resources are included in the response. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. | [optional] + **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] **timeout_seconds** | **int**| Timeout for the list/watch call. | [optional] **watch** | **bool**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] ### Return type -[**V1PolicyList**](V1PolicyList.md) +[**V1OAuthClientAuthorizationList**](V1OAuthClientAuthorizationList.md) ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -9744,7 +10108,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **list_project** -> V1ProjectList list_project(pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) +> V1ProjectList list_project(pretty=pretty, field_selector=field_selector, include_uninitialized=include_uninitialized, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) @@ -9758,17 +10122,27 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.OapiApi() pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) +include_uninitialized = true # bool | If true, partially initialized resources are included in the response. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. (optional) +resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) timeout_seconds = 56 # int | Timeout for the list/watch call. (optional) watch = true # bool | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) try: - api_response = api_instance.list_project(pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) + api_response = api_instance.list_project(pretty=pretty, field_selector=field_selector, include_uninitialized=include_uninitialized, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) pprint(api_response) except ApiException as e: print("Exception when calling OapiApi->list_project: %s\n" % e) @@ -9780,8 +10154,9 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] + **include_uninitialized** | **bool**| If true, partially initialized resources are included in the response. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. | [optional] + **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] **timeout_seconds** | **int**| Timeout for the list/watch call. | [optional] **watch** | **bool**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] @@ -9791,7 +10166,7 @@ Name | Type | Description | Notes ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -9801,7 +10176,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **list_project_request** -> UnversionedStatus list_project_request(pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) +> V1Status list_project_request(pretty=pretty, field_selector=field_selector, include_uninitialized=include_uninitialized, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) @@ -9815,17 +10190,27 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.OapiApi() pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) +include_uninitialized = true # bool | If true, partially initialized resources are included in the response. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. (optional) +resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) timeout_seconds = 56 # int | Timeout for the list/watch call. (optional) watch = true # bool | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) try: - api_response = api_instance.list_project_request(pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) + api_response = api_instance.list_project_request(pretty=pretty, field_selector=field_selector, include_uninitialized=include_uninitialized, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) pprint(api_response) except ApiException as e: print("Exception when calling OapiApi->list_project_request: %s\n" % e) @@ -9837,18 +10222,19 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] + **include_uninitialized** | **bool**| If true, partially initialized resources are included in the response. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. | [optional] + **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] **timeout_seconds** | **int**| Timeout for the list/watch call. | [optional] **watch** | **bool**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] ### Return type -[**UnversionedStatus**](UnversionedStatus.md) +[**V1Status**](V1Status.md) ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -9858,7 +10244,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **list_role_binding_for_all_namespaces** -> V1RoleBindingList list_role_binding_for_all_namespaces(pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) +> V1RoleBindingList list_role_binding_for_all_namespaces(pretty=pretty, field_selector=field_selector, include_uninitialized=include_uninitialized, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) @@ -9872,17 +10258,27 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.OapiApi() pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) +include_uninitialized = true # bool | If true, partially initialized resources are included in the response. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. (optional) +resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) timeout_seconds = 56 # int | Timeout for the list/watch call. (optional) watch = true # bool | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) try: - api_response = api_instance.list_role_binding_for_all_namespaces(pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) + api_response = api_instance.list_role_binding_for_all_namespaces(pretty=pretty, field_selector=field_selector, include_uninitialized=include_uninitialized, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) pprint(api_response) except ApiException as e: print("Exception when calling OapiApi->list_role_binding_for_all_namespaces: %s\n" % e) @@ -9894,8 +10290,9 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] + **include_uninitialized** | **bool**| If true, partially initialized resources are included in the response. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. | [optional] + **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] **timeout_seconds** | **int**| Timeout for the list/watch call. | [optional] **watch** | **bool**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] @@ -9905,7 +10302,7 @@ Name | Type | Description | Notes ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -9915,7 +10312,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **list_role_binding_restriction_for_all_namespaces** -> V1RoleBindingRestrictionList list_role_binding_restriction_for_all_namespaces(pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) +> V1RoleBindingRestrictionList list_role_binding_restriction_for_all_namespaces(pretty=pretty, field_selector=field_selector, include_uninitialized=include_uninitialized, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) @@ -9929,17 +10326,27 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.OapiApi() pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) +include_uninitialized = true # bool | If true, partially initialized resources are included in the response. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. (optional) +resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) timeout_seconds = 56 # int | Timeout for the list/watch call. (optional) watch = true # bool | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) try: - api_response = api_instance.list_role_binding_restriction_for_all_namespaces(pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) + api_response = api_instance.list_role_binding_restriction_for_all_namespaces(pretty=pretty, field_selector=field_selector, include_uninitialized=include_uninitialized, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) pprint(api_response) except ApiException as e: print("Exception when calling OapiApi->list_role_binding_restriction_for_all_namespaces: %s\n" % e) @@ -9951,8 +10358,9 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] + **include_uninitialized** | **bool**| If true, partially initialized resources are included in the response. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. | [optional] + **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] **timeout_seconds** | **int**| Timeout for the list/watch call. | [optional] **watch** | **bool**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] @@ -9962,7 +10370,7 @@ Name | Type | Description | Notes ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -9972,7 +10380,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **list_role_for_all_namespaces** -> V1RoleList list_role_for_all_namespaces(pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) +> V1RoleList list_role_for_all_namespaces(pretty=pretty, field_selector=field_selector, include_uninitialized=include_uninitialized, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) @@ -9986,17 +10394,27 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.OapiApi() pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) +include_uninitialized = true # bool | If true, partially initialized resources are included in the response. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. (optional) +resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) timeout_seconds = 56 # int | Timeout for the list/watch call. (optional) watch = true # bool | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) try: - api_response = api_instance.list_role_for_all_namespaces(pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) + api_response = api_instance.list_role_for_all_namespaces(pretty=pretty, field_selector=field_selector, include_uninitialized=include_uninitialized, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) pprint(api_response) except ApiException as e: print("Exception when calling OapiApi->list_role_for_all_namespaces: %s\n" % e) @@ -10008,8 +10426,9 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] + **include_uninitialized** | **bool**| If true, partially initialized resources are included in the response. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. | [optional] + **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] **timeout_seconds** | **int**| Timeout for the list/watch call. | [optional] **watch** | **bool**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] @@ -10019,7 +10438,7 @@ Name | Type | Description | Notes ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -10029,7 +10448,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **list_route_for_all_namespaces** -> V1RouteList list_route_for_all_namespaces(pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) +> V1RouteList list_route_for_all_namespaces(pretty=pretty, field_selector=field_selector, include_uninitialized=include_uninitialized, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) @@ -10043,17 +10462,27 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.OapiApi() pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) +include_uninitialized = true # bool | If true, partially initialized resources are included in the response. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. (optional) +resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) timeout_seconds = 56 # int | Timeout for the list/watch call. (optional) watch = true # bool | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) try: - api_response = api_instance.list_route_for_all_namespaces(pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) + api_response = api_instance.list_route_for_all_namespaces(pretty=pretty, field_selector=field_selector, include_uninitialized=include_uninitialized, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) pprint(api_response) except ApiException as e: print("Exception when calling OapiApi->list_route_for_all_namespaces: %s\n" % e) @@ -10065,8 +10494,9 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] + **include_uninitialized** | **bool**| If true, partially initialized resources are included in the response. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. | [optional] + **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] **timeout_seconds** | **int**| Timeout for the list/watch call. | [optional] **watch** | **bool**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] @@ -10076,7 +10506,7 @@ Name | Type | Description | Notes ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -10086,7 +10516,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **list_template_for_all_namespaces** -> V1TemplateList list_template_for_all_namespaces(pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) +> V1TemplateList list_template_for_all_namespaces(pretty=pretty, field_selector=field_selector, include_uninitialized=include_uninitialized, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) @@ -10100,17 +10530,27 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.OapiApi() pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) +include_uninitialized = true # bool | If true, partially initialized resources are included in the response. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. (optional) +resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) timeout_seconds = 56 # int | Timeout for the list/watch call. (optional) watch = true # bool | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) try: - api_response = api_instance.list_template_for_all_namespaces(pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) + api_response = api_instance.list_template_for_all_namespaces(pretty=pretty, field_selector=field_selector, include_uninitialized=include_uninitialized, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) pprint(api_response) except ApiException as e: print("Exception when calling OapiApi->list_template_for_all_namespaces: %s\n" % e) @@ -10122,8 +10562,9 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] + **include_uninitialized** | **bool**| If true, partially initialized resources are included in the response. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. | [optional] + **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] **timeout_seconds** | **int**| Timeout for the list/watch call. | [optional] **watch** | **bool**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] @@ -10133,7 +10574,7 @@ Name | Type | Description | Notes ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -10143,7 +10584,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **list_user** -> V1UserList list_user(pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) +> V1UserList list_user(pretty=pretty, field_selector=field_selector, include_uninitialized=include_uninitialized, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) @@ -10157,17 +10598,27 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.OapiApi() pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) +include_uninitialized = true # bool | If true, partially initialized resources are included in the response. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. (optional) +resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) timeout_seconds = 56 # int | Timeout for the list/watch call. (optional) watch = true # bool | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) try: - api_response = api_instance.list_user(pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) + api_response = api_instance.list_user(pretty=pretty, field_selector=field_selector, include_uninitialized=include_uninitialized, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) pprint(api_response) except ApiException as e: print("Exception when calling OapiApi->list_user: %s\n" % e) @@ -10179,8 +10630,9 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] + **include_uninitialized** | **bool**| If true, partially initialized resources are included in the response. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. | [optional] + **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] **timeout_seconds** | **int**| Timeout for the list/watch call. | [optional] **watch** | **bool**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] @@ -10190,7 +10642,7 @@ Name | Type | Description | Notes ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -10214,10 +10666,19 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.OapiApi() name = 'name_example' # str | name of the ClusterNetwork -body = openshift.client.UnversionedPatch() # UnversionedPatch | +body = NULL # object | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) try: @@ -10232,7 +10693,7 @@ except ApiException as e: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **name** | **str**| name of the ClusterNetwork | - **body** | [**UnversionedPatch**](UnversionedPatch.md)| | + **body** | **object**| | **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] ### Return type @@ -10241,109 +10702,7 @@ Name | Type | Description | Notes ### Authorization -No authorization required - -### HTTP request headers - - - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **patch_cluster_policy** -> V1ClusterPolicy patch_cluster_policy(name, body, pretty=pretty) - - - -partially update the specified ClusterPolicy - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.OapiApi() -name = 'name_example' # str | name of the ClusterPolicy -body = openshift.client.UnversionedPatch() # UnversionedPatch | -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) - -try: - api_response = api_instance.patch_cluster_policy(name, body, pretty=pretty) - pprint(api_response) -except ApiException as e: - print("Exception when calling OapiApi->patch_cluster_policy: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the ClusterPolicy | - **body** | [**UnversionedPatch**](UnversionedPatch.md)| | - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - -### Return type - -[**V1ClusterPolicy**](V1ClusterPolicy.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **patch_cluster_policy_binding** -> V1ClusterPolicyBinding patch_cluster_policy_binding(name, body, pretty=pretty) - - - -partially update the specified ClusterPolicyBinding - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.OapiApi() -name = 'name_example' # str | name of the ClusterPolicyBinding -body = openshift.client.UnversionedPatch() # UnversionedPatch | -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) - -try: - api_response = api_instance.patch_cluster_policy_binding(name, body, pretty=pretty) - pprint(api_response) -except ApiException as e: - print("Exception when calling OapiApi->patch_cluster_policy_binding: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the ClusterPolicyBinding | - **body** | [**UnversionedPatch**](UnversionedPatch.md)| | - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - -### Return type - -[**V1ClusterPolicyBinding**](V1ClusterPolicyBinding.md) - -### Authorization - -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -10367,10 +10726,19 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.OapiApi() name = 'name_example' # str | name of the ClusterResourceQuota -body = openshift.client.UnversionedPatch() # UnversionedPatch | +body = NULL # object | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) try: @@ -10385,7 +10753,7 @@ except ApiException as e: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **name** | **str**| name of the ClusterResourceQuota | - **body** | [**UnversionedPatch**](UnversionedPatch.md)| | + **body** | **object**| | **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] ### Return type @@ -10394,7 +10762,7 @@ Name | Type | Description | Notes ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -10418,10 +10786,19 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.OapiApi() name = 'name_example' # str | name of the ClusterResourceQuota -body = openshift.client.UnversionedPatch() # UnversionedPatch | +body = NULL # object | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) try: @@ -10436,7 +10813,7 @@ except ApiException as e: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **name** | **str**| name of the ClusterResourceQuota | - **body** | [**UnversionedPatch**](UnversionedPatch.md)| | + **body** | **object**| | **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] ### Return type @@ -10445,7 +10822,7 @@ Name | Type | Description | Notes ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -10469,10 +10846,19 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.OapiApi() name = 'name_example' # str | name of the ClusterRole -body = openshift.client.UnversionedPatch() # UnversionedPatch | +body = NULL # object | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) try: @@ -10487,7 +10873,7 @@ except ApiException as e: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **name** | **str**| name of the ClusterRole | - **body** | [**UnversionedPatch**](UnversionedPatch.md)| | + **body** | **object**| | **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] ### Return type @@ -10496,7 +10882,7 @@ Name | Type | Description | Notes ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -10520,10 +10906,19 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.OapiApi() name = 'name_example' # str | name of the ClusterRoleBinding -body = openshift.client.UnversionedPatch() # UnversionedPatch | +body = NULL # object | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) try: @@ -10538,7 +10933,7 @@ except ApiException as e: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **name** | **str**| name of the ClusterRoleBinding | - **body** | [**UnversionedPatch**](UnversionedPatch.md)| | + **body** | **object**| | **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] ### Return type @@ -10547,7 +10942,7 @@ Name | Type | Description | Notes ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -10571,10 +10966,19 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.OapiApi() name = 'name_example' # str | name of the Group -body = openshift.client.UnversionedPatch() # UnversionedPatch | +body = NULL # object | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) try: @@ -10589,7 +10993,7 @@ except ApiException as e: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **name** | **str**| name of the Group | - **body** | [**UnversionedPatch**](UnversionedPatch.md)| | + **body** | **object**| | **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] ### Return type @@ -10598,7 +11002,7 @@ Name | Type | Description | Notes ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -10622,10 +11026,19 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.OapiApi() name = 'name_example' # str | name of the HostSubnet -body = openshift.client.UnversionedPatch() # UnversionedPatch | +body = NULL # object | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) try: @@ -10640,7 +11053,7 @@ except ApiException as e: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **name** | **str**| name of the HostSubnet | - **body** | [**UnversionedPatch**](UnversionedPatch.md)| | + **body** | **object**| | **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] ### Return type @@ -10649,7 +11062,7 @@ Name | Type | Description | Notes ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -10673,10 +11086,19 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.OapiApi() name = 'name_example' # str | name of the Identity -body = openshift.client.UnversionedPatch() # UnversionedPatch | +body = NULL # object | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) try: @@ -10691,7 +11113,7 @@ except ApiException as e: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **name** | **str**| name of the Identity | - **body** | [**UnversionedPatch**](UnversionedPatch.md)| | + **body** | **object**| | **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] ### Return type @@ -10700,7 +11122,7 @@ Name | Type | Description | Notes ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -10724,10 +11146,19 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.OapiApi() name = 'name_example' # str | name of the Image -body = openshift.client.UnversionedPatch() # UnversionedPatch | +body = NULL # object | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) try: @@ -10742,7 +11173,7 @@ except ApiException as e: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **name** | **str**| name of the Image | - **body** | [**UnversionedPatch**](UnversionedPatch.md)| | + **body** | **object**| | **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] ### Return type @@ -10751,7 +11182,7 @@ Name | Type | Description | Notes ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -10775,11 +11206,20 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.OapiApi() name = 'name_example' # str | name of the Build namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = openshift.client.UnversionedPatch() # UnversionedPatch | +body = NULL # object | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) try: @@ -10795,7 +11235,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **name** | **str**| name of the Build | **namespace** | **str**| object name and auth scope, such as for teams and projects | - **body** | [**UnversionedPatch**](UnversionedPatch.md)| | + **body** | **object**| | **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] ### Return type @@ -10804,7 +11244,7 @@ Name | Type | Description | Notes ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -10828,11 +11268,20 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.OapiApi() name = 'name_example' # str | name of the BuildConfig namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = openshift.client.UnversionedPatch() # UnversionedPatch | +body = NULL # object | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) try: @@ -10848,7 +11297,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **name** | **str**| name of the BuildConfig | **namespace** | **str**| object name and auth scope, such as for teams and projects | - **body** | [**UnversionedPatch**](UnversionedPatch.md)| | + **body** | **object**| | **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] ### Return type @@ -10857,7 +11306,7 @@ Name | Type | Description | Notes ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -10881,11 +11330,20 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.OapiApi() name = 'name_example' # str | name of the DeploymentConfig namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = openshift.client.UnversionedPatch() # UnversionedPatch | +body = NULL # object | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) try: @@ -10901,7 +11359,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **name** | **str**| name of the DeploymentConfig | **namespace** | **str**| object name and auth scope, such as for teams and projects | - **body** | [**UnversionedPatch**](UnversionedPatch.md)| | + **body** | **object**| | **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] ### Return type @@ -10910,7 +11368,7 @@ Name | Type | Description | Notes ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -10934,11 +11392,20 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.OapiApi() name = 'name_example' # str | name of the DeploymentConfig namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = openshift.client.UnversionedPatch() # UnversionedPatch | +body = NULL # object | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) try: @@ -10954,7 +11421,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **name** | **str**| name of the DeploymentConfig | **namespace** | **str**| object name and auth scope, such as for teams and projects | - **body** | [**UnversionedPatch**](UnversionedPatch.md)| | + **body** | **object**| | **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] ### Return type @@ -10963,7 +11430,7 @@ Name | Type | Description | Notes ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -10987,11 +11454,20 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.OapiApi() name = 'name_example' # str | name of the EgressNetworkPolicy namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = openshift.client.UnversionedPatch() # UnversionedPatch | +body = NULL # object | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) try: @@ -11005,124 +11481,18 @@ except ApiException as e: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the EgressNetworkPolicy | - **namespace** | **str**| object name and auth scope, such as for teams and projects | - **body** | [**UnversionedPatch**](UnversionedPatch.md)| | - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - -### Return type - -[**V1EgressNetworkPolicy**](V1EgressNetworkPolicy.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **patch_namespaced_image_stream** -> V1ImageStream patch_namespaced_image_stream(name, namespace, body, pretty=pretty) - - - -partially update the specified ImageStream - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.OapiApi() -name = 'name_example' # str | name of the ImageStream -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = openshift.client.UnversionedPatch() # UnversionedPatch | -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) - -try: - api_response = api_instance.patch_namespaced_image_stream(name, namespace, body, pretty=pretty) - pprint(api_response) -except ApiException as e: - print("Exception when calling OapiApi->patch_namespaced_image_stream: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the ImageStream | - **namespace** | **str**| object name and auth scope, such as for teams and projects | - **body** | [**UnversionedPatch**](UnversionedPatch.md)| | - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - -### Return type - -[**V1ImageStream**](V1ImageStream.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **patch_namespaced_image_stream_status** -> V1ImageStream patch_namespaced_image_stream_status(name, namespace, body, pretty=pretty) - - - -partially update status of the specified ImageStream - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.OapiApi() -name = 'name_example' # str | name of the ImageStream -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = openshift.client.UnversionedPatch() # UnversionedPatch | -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) - -try: - api_response = api_instance.patch_namespaced_image_stream_status(name, namespace, body, pretty=pretty) - pprint(api_response) -except ApiException as e: - print("Exception when calling OapiApi->patch_namespaced_image_stream_status: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the ImageStream | + **name** | **str**| name of the EgressNetworkPolicy | **namespace** | **str**| object name and auth scope, such as for teams and projects | - **body** | [**UnversionedPatch**](UnversionedPatch.md)| | + **body** | **object**| | **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] ### Return type -[**V1ImageStream**](V1ImageStream.md) +[**V1EgressNetworkPolicy**](V1EgressNetworkPolicy.md) ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -11131,12 +11501,12 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **patch_namespaced_image_stream_tag** -> V1ImageStreamTag patch_namespaced_image_stream_tag(name, namespace, body, pretty=pretty) +# **patch_namespaced_image_stream** +> V1ImageStream patch_namespaced_image_stream(name, namespace, body, pretty=pretty) -partially update the specified ImageStreamTag +partially update the specified ImageStream ### Example ```python @@ -11146,36 +11516,45 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.OapiApi() -name = 'name_example' # str | name of the ImageStreamTag +name = 'name_example' # str | name of the ImageStream namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = openshift.client.UnversionedPatch() # UnversionedPatch | +body = NULL # object | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) try: - api_response = api_instance.patch_namespaced_image_stream_tag(name, namespace, body, pretty=pretty) + api_response = api_instance.patch_namespaced_image_stream(name, namespace, body, pretty=pretty) pprint(api_response) except ApiException as e: - print("Exception when calling OapiApi->patch_namespaced_image_stream_tag: %s\n" % e) + print("Exception when calling OapiApi->patch_namespaced_image_stream: %s\n" % e) ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the ImageStreamTag | + **name** | **str**| name of the ImageStream | **namespace** | **str**| object name and auth scope, such as for teams and projects | - **body** | [**UnversionedPatch**](UnversionedPatch.md)| | + **body** | **object**| | **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] ### Return type -[**V1ImageStreamTag**](V1ImageStreamTag.md) +[**V1ImageStream**](V1ImageStream.md) ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -11184,12 +11563,12 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **patch_namespaced_policy** -> V1Policy patch_namespaced_policy(name, namespace, body, pretty=pretty) +# **patch_namespaced_image_stream_status** +> V1ImageStream patch_namespaced_image_stream_status(name, namespace, body, pretty=pretty) -partially update the specified Policy +partially update status of the specified ImageStream ### Example ```python @@ -11199,36 +11578,45 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.OapiApi() -name = 'name_example' # str | name of the Policy +name = 'name_example' # str | name of the ImageStream namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = openshift.client.UnversionedPatch() # UnversionedPatch | +body = NULL # object | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) try: - api_response = api_instance.patch_namespaced_policy(name, namespace, body, pretty=pretty) + api_response = api_instance.patch_namespaced_image_stream_status(name, namespace, body, pretty=pretty) pprint(api_response) except ApiException as e: - print("Exception when calling OapiApi->patch_namespaced_policy: %s\n" % e) + print("Exception when calling OapiApi->patch_namespaced_image_stream_status: %s\n" % e) ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the Policy | + **name** | **str**| name of the ImageStream | **namespace** | **str**| object name and auth scope, such as for teams and projects | - **body** | [**UnversionedPatch**](UnversionedPatch.md)| | + **body** | **object**| | **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] ### Return type -[**V1Policy**](V1Policy.md) +[**V1ImageStream**](V1ImageStream.md) ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -11237,12 +11625,12 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **patch_namespaced_policy_binding** -> V1PolicyBinding patch_namespaced_policy_binding(name, namespace, body, pretty=pretty) +# **patch_namespaced_image_stream_tag** +> V1ImageStreamTag patch_namespaced_image_stream_tag(name, namespace, body, pretty=pretty) -partially update the specified PolicyBinding +partially update the specified ImageStreamTag ### Example ```python @@ -11252,36 +11640,45 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.OapiApi() -name = 'name_example' # str | name of the PolicyBinding +name = 'name_example' # str | name of the ImageStreamTag namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = openshift.client.UnversionedPatch() # UnversionedPatch | +body = NULL # object | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) try: - api_response = api_instance.patch_namespaced_policy_binding(name, namespace, body, pretty=pretty) + api_response = api_instance.patch_namespaced_image_stream_tag(name, namespace, body, pretty=pretty) pprint(api_response) except ApiException as e: - print("Exception when calling OapiApi->patch_namespaced_policy_binding: %s\n" % e) + print("Exception when calling OapiApi->patch_namespaced_image_stream_tag: %s\n" % e) ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the PolicyBinding | + **name** | **str**| name of the ImageStreamTag | **namespace** | **str**| object name and auth scope, such as for teams and projects | - **body** | [**UnversionedPatch**](UnversionedPatch.md)| | + **body** | **object**| | **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] ### Return type -[**V1PolicyBinding**](V1PolicyBinding.md) +[**V1ImageStreamTag**](V1ImageStreamTag.md) ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -11305,11 +11702,20 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.OapiApi() name = 'name_example' # str | name of the Role namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = openshift.client.UnversionedPatch() # UnversionedPatch | +body = NULL # object | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) try: @@ -11325,7 +11731,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **name** | **str**| name of the Role | **namespace** | **str**| object name and auth scope, such as for teams and projects | - **body** | [**UnversionedPatch**](UnversionedPatch.md)| | + **body** | **object**| | **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] ### Return type @@ -11334,7 +11740,7 @@ Name | Type | Description | Notes ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -11358,11 +11764,20 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.OapiApi() name = 'name_example' # str | name of the RoleBinding namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = openshift.client.UnversionedPatch() # UnversionedPatch | +body = NULL # object | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) try: @@ -11378,7 +11793,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **name** | **str**| name of the RoleBinding | **namespace** | **str**| object name and auth scope, such as for teams and projects | - **body** | [**UnversionedPatch**](UnversionedPatch.md)| | + **body** | **object**| | **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] ### Return type @@ -11387,7 +11802,7 @@ Name | Type | Description | Notes ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -11411,11 +11826,20 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.OapiApi() name = 'name_example' # str | name of the RoleBindingRestriction namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = openshift.client.UnversionedPatch() # UnversionedPatch | +body = NULL # object | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) try: @@ -11431,7 +11855,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **name** | **str**| name of the RoleBindingRestriction | **namespace** | **str**| object name and auth scope, such as for teams and projects | - **body** | [**UnversionedPatch**](UnversionedPatch.md)| | + **body** | **object**| | **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] ### Return type @@ -11440,7 +11864,7 @@ Name | Type | Description | Notes ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -11464,11 +11888,20 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.OapiApi() name = 'name_example' # str | name of the Route namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = openshift.client.UnversionedPatch() # UnversionedPatch | +body = NULL # object | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) try: @@ -11484,7 +11917,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **name** | **str**| name of the Route | **namespace** | **str**| object name and auth scope, such as for teams and projects | - **body** | [**UnversionedPatch**](UnversionedPatch.md)| | + **body** | **object**| | **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] ### Return type @@ -11493,7 +11926,7 @@ Name | Type | Description | Notes ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -11517,11 +11950,20 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.OapiApi() name = 'name_example' # str | name of the Route namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = openshift.client.UnversionedPatch() # UnversionedPatch | +body = NULL # object | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) try: @@ -11537,7 +11979,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **name** | **str**| name of the Route | **namespace** | **str**| object name and auth scope, such as for teams and projects | - **body** | [**UnversionedPatch**](UnversionedPatch.md)| | + **body** | **object**| | **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] ### Return type @@ -11546,7 +11988,7 @@ Name | Type | Description | Notes ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -11556,7 +11998,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **patch_namespaced_scale_scale** -> V1beta1Scale patch_namespaced_scale_scale(name, namespace, body, pretty=pretty) +> ExtensionsV1beta1Scale patch_namespaced_scale_scale(name, namespace, body, pretty=pretty) @@ -11570,11 +12012,20 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.OapiApi() name = 'name_example' # str | name of the Scale namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = openshift.client.UnversionedPatch() # UnversionedPatch | +body = NULL # object | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) try: @@ -11590,16 +12041,16 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **name** | **str**| name of the Scale | **namespace** | **str**| object name and auth scope, such as for teams and projects | - **body** | [**UnversionedPatch**](UnversionedPatch.md)| | + **body** | **object**| | **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] ### Return type -[**V1beta1Scale**](V1beta1Scale.md) +[**ExtensionsV1beta1Scale**](ExtensionsV1beta1Scale.md) ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -11623,11 +12074,20 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.OapiApi() name = 'name_example' # str | name of the Template namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = openshift.client.UnversionedPatch() # UnversionedPatch | +body = NULL # object | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) try: @@ -11643,7 +12103,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **name** | **str**| name of the Template | **namespace** | **str**| object name and auth scope, such as for teams and projects | - **body** | [**UnversionedPatch**](UnversionedPatch.md)| | + **body** | **object**| | **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] ### Return type @@ -11652,7 +12112,7 @@ Name | Type | Description | Notes ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -11676,10 +12136,19 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.OapiApi() name = 'name_example' # str | name of the NetNamespace -body = openshift.client.UnversionedPatch() # UnversionedPatch | +body = NULL # object | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) try: @@ -11694,7 +12163,7 @@ except ApiException as e: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **name** | **str**| name of the NetNamespace | - **body** | [**UnversionedPatch**](UnversionedPatch.md)| | + **body** | **object**| | **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] ### Return type @@ -11703,7 +12172,7 @@ Name | Type | Description | Notes ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -11727,10 +12196,19 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.OapiApi() name = 'name_example' # str | name of the OAuthAccessToken -body = openshift.client.UnversionedPatch() # UnversionedPatch | +body = NULL # object | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) try: @@ -11745,7 +12223,7 @@ except ApiException as e: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **name** | **str**| name of the OAuthAccessToken | - **body** | [**UnversionedPatch**](UnversionedPatch.md)| | + **body** | **object**| | **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] ### Return type @@ -11754,7 +12232,7 @@ Name | Type | Description | Notes ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -11778,10 +12256,19 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.OapiApi() name = 'name_example' # str | name of the OAuthAuthorizeToken -body = openshift.client.UnversionedPatch() # UnversionedPatch | +body = NULL # object | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) try: @@ -11796,7 +12283,7 @@ except ApiException as e: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **name** | **str**| name of the OAuthAuthorizeToken | - **body** | [**UnversionedPatch**](UnversionedPatch.md)| | + **body** | **object**| | **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] ### Return type @@ -11805,7 +12292,7 @@ Name | Type | Description | Notes ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -11829,10 +12316,19 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.OapiApi() name = 'name_example' # str | name of the OAuthClient -body = openshift.client.UnversionedPatch() # UnversionedPatch | +body = NULL # object | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) try: @@ -11847,7 +12343,7 @@ except ApiException as e: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **name** | **str**| name of the OAuthClient | - **body** | [**UnversionedPatch**](UnversionedPatch.md)| | + **body** | **object**| | **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] ### Return type @@ -11856,7 +12352,7 @@ Name | Type | Description | Notes ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -11880,10 +12376,19 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.OapiApi() name = 'name_example' # str | name of the OAuthClientAuthorization -body = openshift.client.UnversionedPatch() # UnversionedPatch | +body = NULL # object | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) try: @@ -11898,7 +12403,7 @@ except ApiException as e: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **name** | **str**| name of the OAuthClientAuthorization | - **body** | [**UnversionedPatch**](UnversionedPatch.md)| | + **body** | **object**| | **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] ### Return type @@ -11907,7 +12412,7 @@ Name | Type | Description | Notes ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -11931,10 +12436,19 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.OapiApi() name = 'name_example' # str | name of the Project -body = openshift.client.UnversionedPatch() # UnversionedPatch | +body = NULL # object | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) try: @@ -11949,7 +12463,7 @@ except ApiException as e: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **name** | **str**| name of the Project | - **body** | [**UnversionedPatch**](UnversionedPatch.md)| | + **body** | **object**| | **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] ### Return type @@ -11958,7 +12472,7 @@ Name | Type | Description | Notes ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -11982,10 +12496,19 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.OapiApi() name = 'name_example' # str | name of the User -body = openshift.client.UnversionedPatch() # UnversionedPatch | +body = NULL # object | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) try: @@ -12000,7 +12523,7 @@ except ApiException as e: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **name** | **str**| name of the User | - **body** | [**UnversionedPatch**](UnversionedPatch.md)| | + **body** | **object**| | **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] ### Return type @@ -12009,7 +12532,7 @@ Name | Type | Description | Notes ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -12033,10 +12556,19 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.OapiApi() name = 'name_example' # str | name of the UserIdentityMapping -body = openshift.client.UnversionedPatch() # UnversionedPatch | +body = NULL # object | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) try: @@ -12051,7 +12583,7 @@ except ApiException as e: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **name** | **str**| name of the UserIdentityMapping | - **body** | [**UnversionedPatch**](UnversionedPatch.md)| | + **body** | **object**| | **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] ### Return type @@ -12060,7 +12592,7 @@ Name | Type | Description | Notes ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -12084,11 +12616,20 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.OapiApi() name = 'name_example' # str | name of the ClusterNetwork pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) -exact = true # bool | Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace' (optional) +exact = true # bool | Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. (optional) export = true # bool | Should this value be exported. Export strips fields that a user can not specify. (optional) try: @@ -12104,7 +12645,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **name** | **str**| name of the ClusterNetwork | **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - **exact** | **bool**| Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace' | [optional] + **exact** | **bool**| Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. | [optional] **export** | **bool**| Should this value be exported. Export strips fields that a user can not specify. | [optional] ### Return type @@ -12113,113 +12654,7 @@ Name | Type | Description | Notes ### Authorization -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **read_cluster_policy** -> V1ClusterPolicy read_cluster_policy(name, pretty=pretty, exact=exact, export=export) - - - -read the specified ClusterPolicy - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.OapiApi() -name = 'name_example' # str | name of the ClusterPolicy -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) -exact = true # bool | Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace' (optional) -export = true # bool | Should this value be exported. Export strips fields that a user can not specify. (optional) - -try: - api_response = api_instance.read_cluster_policy(name, pretty=pretty, exact=exact, export=export) - pprint(api_response) -except ApiException as e: - print("Exception when calling OapiApi->read_cluster_policy: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the ClusterPolicy | - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - **exact** | **bool**| Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace' | [optional] - **export** | **bool**| Should this value be exported. Export strips fields that a user can not specify. | [optional] - -### Return type - -[**V1ClusterPolicy**](V1ClusterPolicy.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **read_cluster_policy_binding** -> V1ClusterPolicyBinding read_cluster_policy_binding(name, pretty=pretty, exact=exact, export=export) - - - -read the specified ClusterPolicyBinding - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.OapiApi() -name = 'name_example' # str | name of the ClusterPolicyBinding -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) -exact = true # bool | Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace' (optional) -export = true # bool | Should this value be exported. Export strips fields that a user can not specify. (optional) - -try: - api_response = api_instance.read_cluster_policy_binding(name, pretty=pretty, exact=exact, export=export) - pprint(api_response) -except ApiException as e: - print("Exception when calling OapiApi->read_cluster_policy_binding: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the ClusterPolicyBinding | - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - **exact** | **bool**| Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace' | [optional] - **export** | **bool**| Should this value be exported. Export strips fields that a user can not specify. | [optional] - -### Return type - -[**V1ClusterPolicyBinding**](V1ClusterPolicyBinding.md) - -### Authorization - -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -12243,11 +12678,20 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.OapiApi() name = 'name_example' # str | name of the ClusterResourceQuota pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) -exact = true # bool | Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace' (optional) +exact = true # bool | Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. (optional) export = true # bool | Should this value be exported. Export strips fields that a user can not specify. (optional) try: @@ -12263,7 +12707,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **name** | **str**| name of the ClusterResourceQuota | **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - **exact** | **bool**| Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace' | [optional] + **exact** | **bool**| Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. | [optional] **export** | **bool**| Should this value be exported. Export strips fields that a user can not specify. | [optional] ### Return type @@ -12272,7 +12716,7 @@ Name | Type | Description | Notes ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -12296,6 +12740,15 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.OapiApi() name = 'name_example' # str | name of the ClusterResourceQuota @@ -12321,7 +12774,7 @@ Name | Type | Description | Notes ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -12345,6 +12798,15 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.OapiApi() name = 'name_example' # str | name of the ClusterRole @@ -12370,7 +12832,7 @@ Name | Type | Description | Notes ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -12394,6 +12856,15 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.OapiApi() name = 'name_example' # str | name of the ClusterRoleBinding @@ -12419,7 +12890,7 @@ Name | Type | Description | Notes ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -12443,11 +12914,20 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.OapiApi() name = 'name_example' # str | name of the Group pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) -exact = true # bool | Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace' (optional) +exact = true # bool | Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. (optional) export = true # bool | Should this value be exported. Export strips fields that a user can not specify. (optional) try: @@ -12463,7 +12943,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **name** | **str**| name of the Group | **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - **exact** | **bool**| Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace' | [optional] + **exact** | **bool**| Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. | [optional] **export** | **bool**| Should this value be exported. Export strips fields that a user can not specify. | [optional] ### Return type @@ -12472,7 +12952,7 @@ Name | Type | Description | Notes ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -12496,11 +12976,20 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.OapiApi() name = 'name_example' # str | name of the HostSubnet pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) -exact = true # bool | Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace' (optional) +exact = true # bool | Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. (optional) export = true # bool | Should this value be exported. Export strips fields that a user can not specify. (optional) try: @@ -12516,7 +13005,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **name** | **str**| name of the HostSubnet | **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - **exact** | **bool**| Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace' | [optional] + **exact** | **bool**| Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. | [optional] **export** | **bool**| Should this value be exported. Export strips fields that a user can not specify. | [optional] ### Return type @@ -12525,7 +13014,7 @@ Name | Type | Description | Notes ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -12549,11 +13038,20 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.OapiApi() name = 'name_example' # str | name of the Identity pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) -exact = true # bool | Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace' (optional) +exact = true # bool | Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. (optional) export = true # bool | Should this value be exported. Export strips fields that a user can not specify. (optional) try: @@ -12569,7 +13067,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **name** | **str**| name of the Identity | **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - **exact** | **bool**| Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace' | [optional] + **exact** | **bool**| Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. | [optional] **export** | **bool**| Should this value be exported. Export strips fields that a user can not specify. | [optional] ### Return type @@ -12578,7 +13076,7 @@ Name | Type | Description | Notes ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -12602,11 +13100,20 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.OapiApi() name = 'name_example' # str | name of the Image pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) -exact = true # bool | Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace' (optional) +exact = true # bool | Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. (optional) export = true # bool | Should this value be exported. Export strips fields that a user can not specify. (optional) try: @@ -12622,7 +13129,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **name** | **str**| name of the Image | **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - **exact** | **bool**| Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace' | [optional] + **exact** | **bool**| Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. | [optional] **export** | **bool**| Should this value be exported. Export strips fields that a user can not specify. | [optional] ### Return type @@ -12631,7 +13138,7 @@ Name | Type | Description | Notes ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -12655,6 +13162,15 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.OapiApi() name = 'name_example' # str | name of the AppliedClusterResourceQuota @@ -12682,7 +13198,7 @@ Name | Type | Description | Notes ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -12706,12 +13222,21 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.OapiApi() name = 'name_example' # str | name of the Build namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) -exact = true # bool | Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace' (optional) +exact = true # bool | Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. (optional) export = true # bool | Should this value be exported. Export strips fields that a user can not specify. (optional) try: @@ -12728,7 +13253,7 @@ Name | Type | Description | Notes **name** | **str**| name of the Build | **namespace** | **str**| object name and auth scope, such as for teams and projects | **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - **exact** | **bool**| Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace' | [optional] + **exact** | **bool**| Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. | [optional] **export** | **bool**| Should this value be exported. Export strips fields that a user can not specify. | [optional] ### Return type @@ -12737,7 +13262,7 @@ Name | Type | Description | Notes ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -12761,12 +13286,21 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.OapiApi() name = 'name_example' # str | name of the BuildConfig namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) -exact = true # bool | Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace' (optional) +exact = true # bool | Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. (optional) export = true # bool | Should this value be exported. Export strips fields that a user can not specify. (optional) try: @@ -12783,7 +13317,7 @@ Name | Type | Description | Notes **name** | **str**| name of the BuildConfig | **namespace** | **str**| object name and auth scope, such as for teams and projects | **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - **exact** | **bool**| Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace' | [optional] + **exact** | **bool**| Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. | [optional] **export** | **bool**| Should this value be exported. Export strips fields that a user can not specify. | [optional] ### Return type @@ -12792,7 +13326,7 @@ Name | Type | Description | Notes ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -12802,7 +13336,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **read_namespaced_build_log_log** -> V1BuildLog read_namespaced_build_log_log(name, namespace, container=container, follow=follow, limit_bytes=limit_bytes, nowait=nowait, pretty=pretty, previous=previous, since_seconds=since_seconds, since_time=since_time, tail_lines=tail_lines, timestamps=timestamps, version=version) +> V1BuildLog read_namespaced_build_log_log(name, namespace, container=container, follow=follow, limit_bytes=limit_bytes, nowait=nowait, pretty=pretty, previous=previous, since_seconds=since_seconds, tail_lines=tail_lines, timestamps=timestamps, version=version) @@ -12816,6 +13350,15 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.OapiApi() name = 'name_example' # str | name of the BuildLog @@ -12827,13 +13370,12 @@ nowait = true # bool | noWait if true causes the call to return immediately even pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) previous = true # bool | previous returns previous build logs. Defaults to false. (optional) since_seconds = 56 # int | sinceSeconds is a relative time in seconds before the current time from which to show logs. If this value precedes the time a pod was started, only logs since the pod start will be returned. If this value is in the future, no logs will be returned. Only one of sinceSeconds or sinceTime may be specified. (optional) -since_time = 'since_time_example' # str | sinceTime is an RFC3339 timestamp from which to show logs. If this value precedes the time a pod was started, only logs since the pod start will be returned. If this value is in the future, no logs will be returned. Only one of sinceSeconds or sinceTime may be specified. (optional) tail_lines = 56 # int | tailLines, If set, is the number of lines from the end of the logs to show. If not specified, logs are shown from the creation of the container or sinceSeconds or sinceTime (optional) timestamps = true # bool | timestamps, If true, add an RFC3339 or RFC3339Nano timestamp at the beginning of every line of log output. Defaults to false. (optional) version = 56 # int | version of the build for which to view logs. (optional) try: - api_response = api_instance.read_namespaced_build_log_log(name, namespace, container=container, follow=follow, limit_bytes=limit_bytes, nowait=nowait, pretty=pretty, previous=previous, since_seconds=since_seconds, since_time=since_time, tail_lines=tail_lines, timestamps=timestamps, version=version) + api_response = api_instance.read_namespaced_build_log_log(name, namespace, container=container, follow=follow, limit_bytes=limit_bytes, nowait=nowait, pretty=pretty, previous=previous, since_seconds=since_seconds, tail_lines=tail_lines, timestamps=timestamps, version=version) pprint(api_response) except ApiException as e: print("Exception when calling OapiApi->read_namespaced_build_log_log: %s\n" % e) @@ -12852,7 +13394,6 @@ Name | Type | Description | Notes **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] **previous** | **bool**| previous returns previous build logs. Defaults to false. | [optional] **since_seconds** | **int**| sinceSeconds is a relative time in seconds before the current time from which to show logs. If this value precedes the time a pod was started, only logs since the pod start will be returned. If this value is in the future, no logs will be returned. Only one of sinceSeconds or sinceTime may be specified. | [optional] - **since_time** | **str**| sinceTime is an RFC3339 timestamp from which to show logs. If this value precedes the time a pod was started, only logs since the pod start will be returned. If this value is in the future, no logs will be returned. Only one of sinceSeconds or sinceTime may be specified. | [optional] **tail_lines** | **int**| tailLines, If set, is the number of lines from the end of the logs to show. If not specified, logs are shown from the creation of the container or sinceSeconds or sinceTime | [optional] **timestamps** | **bool**| timestamps, If true, add an RFC3339 or RFC3339Nano timestamp at the beginning of every line of log output. Defaults to false. | [optional] **version** | **int**| version of the build for which to view logs. | [optional] @@ -12863,7 +13404,7 @@ Name | Type | Description | Notes ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -12887,12 +13428,21 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.OapiApi() name = 'name_example' # str | name of the DeploymentConfig namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) -exact = true # bool | Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace' (optional) +exact = true # bool | Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. (optional) export = true # bool | Should this value be exported. Export strips fields that a user can not specify. (optional) try: @@ -12909,7 +13459,7 @@ Name | Type | Description | Notes **name** | **str**| name of the DeploymentConfig | **namespace** | **str**| object name and auth scope, such as for teams and projects | **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - **exact** | **bool**| Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace' | [optional] + **exact** | **bool**| Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. | [optional] **export** | **bool**| Should this value be exported. Export strips fields that a user can not specify. | [optional] ### Return type @@ -12918,7 +13468,7 @@ Name | Type | Description | Notes ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -12942,6 +13492,15 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.OapiApi() name = 'name_example' # str | name of the DeploymentConfig @@ -12969,7 +13528,7 @@ Name | Type | Description | Notes ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -12979,7 +13538,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **read_namespaced_deployment_log_log** -> V1DeploymentLog read_namespaced_deployment_log_log(name, namespace, container=container, follow=follow, limit_bytes=limit_bytes, nowait=nowait, pretty=pretty, previous=previous, since_seconds=since_seconds, since_time=since_time, tail_lines=tail_lines, timestamps=timestamps, version=version) +> V1DeploymentLog read_namespaced_deployment_log_log(name, namespace, container=container, follow=follow, limit_bytes=limit_bytes, nowait=nowait, pretty=pretty, previous=previous, since_seconds=since_seconds, tail_lines=tail_lines, timestamps=timestamps, version=version) @@ -12993,6 +13552,15 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.OapiApi() name = 'name_example' # str | name of the DeploymentLog @@ -13004,13 +13572,12 @@ nowait = true # bool | NoWait if true causes the call to return immediately even pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) previous = true # bool | Return previous deployment logs. Defaults to false. (optional) since_seconds = 56 # int | A relative time in seconds before the current time from which to show logs. If this value precedes the time a pod was started, only logs since the pod start will be returned. If this value is in the future, no logs will be returned. Only one of sinceSeconds or sinceTime may be specified. (optional) -since_time = 'since_time_example' # str | An RFC3339 timestamp from which to show logs. If this value precedes the time a pod was started, only logs since the pod start will be returned. If this value is in the future, no logs will be returned. Only one of sinceSeconds or sinceTime may be specified. (optional) tail_lines = 56 # int | If set, the number of lines from the end of the logs to show. If not specified, logs are shown from the creation of the container or sinceSeconds or sinceTime (optional) timestamps = true # bool | If true, add an RFC3339 or RFC3339Nano timestamp at the beginning of every line of log output. Defaults to false. (optional) version = 56 # int | Version of the deployment for which to view logs. (optional) try: - api_response = api_instance.read_namespaced_deployment_log_log(name, namespace, container=container, follow=follow, limit_bytes=limit_bytes, nowait=nowait, pretty=pretty, previous=previous, since_seconds=since_seconds, since_time=since_time, tail_lines=tail_lines, timestamps=timestamps, version=version) + api_response = api_instance.read_namespaced_deployment_log_log(name, namespace, container=container, follow=follow, limit_bytes=limit_bytes, nowait=nowait, pretty=pretty, previous=previous, since_seconds=since_seconds, tail_lines=tail_lines, timestamps=timestamps, version=version) pprint(api_response) except ApiException as e: print("Exception when calling OapiApi->read_namespaced_deployment_log_log: %s\n" % e) @@ -13029,7 +13596,6 @@ Name | Type | Description | Notes **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] **previous** | **bool**| Return previous deployment logs. Defaults to false. | [optional] **since_seconds** | **int**| A relative time in seconds before the current time from which to show logs. If this value precedes the time a pod was started, only logs since the pod start will be returned. If this value is in the future, no logs will be returned. Only one of sinceSeconds or sinceTime may be specified. | [optional] - **since_time** | **str**| An RFC3339 timestamp from which to show logs. If this value precedes the time a pod was started, only logs since the pod start will be returned. If this value is in the future, no logs will be returned. Only one of sinceSeconds or sinceTime may be specified. | [optional] **tail_lines** | **int**| If set, the number of lines from the end of the logs to show. If not specified, logs are shown from the creation of the container or sinceSeconds or sinceTime | [optional] **timestamps** | **bool**| If true, add an RFC3339 or RFC3339Nano timestamp at the beginning of every line of log output. Defaults to false. | [optional] **version** | **int**| Version of the deployment for which to view logs. | [optional] @@ -13040,7 +13606,7 @@ Name | Type | Description | Notes ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -13064,12 +13630,21 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.OapiApi() name = 'name_example' # str | name of the EgressNetworkPolicy namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) -exact = true # bool | Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace' (optional) +exact = true # bool | Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. (optional) export = true # bool | Should this value be exported. Export strips fields that a user can not specify. (optional) try: @@ -13086,7 +13661,7 @@ Name | Type | Description | Notes **name** | **str**| name of the EgressNetworkPolicy | **namespace** | **str**| object name and auth scope, such as for teams and projects | **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - **exact** | **bool**| Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace' | [optional] + **exact** | **bool**| Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. | [optional] **export** | **bool**| Should this value be exported. Export strips fields that a user can not specify. | [optional] ### Return type @@ -13095,7 +13670,7 @@ Name | Type | Description | Notes ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -13119,12 +13694,21 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.OapiApi() name = 'name_example' # str | name of the ImageStream namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) -exact = true # bool | Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace' (optional) +exact = true # bool | Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. (optional) export = true # bool | Should this value be exported. Export strips fields that a user can not specify. (optional) try: @@ -13141,7 +13725,7 @@ Name | Type | Description | Notes **name** | **str**| name of the ImageStream | **namespace** | **str**| object name and auth scope, such as for teams and projects | **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - **exact** | **bool**| Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace' | [optional] + **exact** | **bool**| Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. | [optional] **export** | **bool**| Should this value be exported. Export strips fields that a user can not specify. | [optional] ### Return type @@ -13150,109 +13734,7 @@ Name | Type | Description | Notes ### Authorization -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **read_namespaced_image_stream_image** -> V1ImageStreamImage read_namespaced_image_stream_image(name, namespace, pretty=pretty) - - - -read the specified ImageStreamImage - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.OapiApi() -name = 'name_example' # str | name of the ImageStreamImage -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) - -try: - api_response = api_instance.read_namespaced_image_stream_image(name, namespace, pretty=pretty) - pprint(api_response) -except ApiException as e: - print("Exception when calling OapiApi->read_namespaced_image_stream_image: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the ImageStreamImage | - **namespace** | **str**| object name and auth scope, such as for teams and projects | - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - -### Return type - -[**V1ImageStreamImage**](V1ImageStreamImage.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **read_namespaced_image_stream_status** -> V1ImageStream read_namespaced_image_stream_status(name, namespace, pretty=pretty) - - - -read status of the specified ImageStream - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.OapiApi() -name = 'name_example' # str | name of the ImageStream -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) - -try: - api_response = api_instance.read_namespaced_image_stream_status(name, namespace, pretty=pretty) - pprint(api_response) -except ApiException as e: - print("Exception when calling OapiApi->read_namespaced_image_stream_status: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the ImageStream | - **namespace** | **str**| object name and auth scope, such as for teams and projects | - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - -### Return type - -[**V1ImageStream**](V1ImageStream.md) - -### Authorization - -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -13261,12 +13743,12 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **read_namespaced_image_stream_tag** -> V1ImageStreamTag read_namespaced_image_stream_tag(name, namespace, pretty=pretty) +# **read_namespaced_image_stream_image** +> V1ImageStreamImage read_namespaced_image_stream_image(name, namespace, pretty=pretty) -read the specified ImageStreamTag +read the specified ImageStreamImage ### Example ```python @@ -13276,34 +13758,43 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.OapiApi() -name = 'name_example' # str | name of the ImageStreamTag +name = 'name_example' # str | name of the ImageStreamImage namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) try: - api_response = api_instance.read_namespaced_image_stream_tag(name, namespace, pretty=pretty) + api_response = api_instance.read_namespaced_image_stream_image(name, namespace, pretty=pretty) pprint(api_response) except ApiException as e: - print("Exception when calling OapiApi->read_namespaced_image_stream_tag: %s\n" % e) + print("Exception when calling OapiApi->read_namespaced_image_stream_image: %s\n" % e) ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the ImageStreamTag | + **name** | **str**| name of the ImageStreamImage | **namespace** | **str**| object name and auth scope, such as for teams and projects | **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] ### Return type -[**V1ImageStreamTag**](V1ImageStreamTag.md) +[**V1ImageStreamImage**](V1ImageStreamImage.md) ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -13312,12 +13803,12 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **read_namespaced_policy** -> V1Policy read_namespaced_policy(name, namespace, pretty=pretty, exact=exact, export=export) +# **read_namespaced_image_stream_status** +> V1ImageStream read_namespaced_image_stream_status(name, namespace, pretty=pretty) -read the specified Policy +read status of the specified ImageStream ### Example ```python @@ -13327,38 +13818,43 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.OapiApi() -name = 'name_example' # str | name of the Policy +name = 'name_example' # str | name of the ImageStream namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) -exact = true # bool | Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace' (optional) -export = true # bool | Should this value be exported. Export strips fields that a user can not specify. (optional) try: - api_response = api_instance.read_namespaced_policy(name, namespace, pretty=pretty, exact=exact, export=export) + api_response = api_instance.read_namespaced_image_stream_status(name, namespace, pretty=pretty) pprint(api_response) except ApiException as e: - print("Exception when calling OapiApi->read_namespaced_policy: %s\n" % e) + print("Exception when calling OapiApi->read_namespaced_image_stream_status: %s\n" % e) ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the Policy | + **name** | **str**| name of the ImageStream | **namespace** | **str**| object name and auth scope, such as for teams and projects | **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - **exact** | **bool**| Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace' | [optional] - **export** | **bool**| Should this value be exported. Export strips fields that a user can not specify. | [optional] ### Return type -[**V1Policy**](V1Policy.md) +[**V1ImageStream**](V1ImageStream.md) ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -13367,12 +13863,12 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **read_namespaced_policy_binding** -> V1PolicyBinding read_namespaced_policy_binding(name, namespace, pretty=pretty, exact=exact, export=export) +# **read_namespaced_image_stream_tag** +> V1ImageStreamTag read_namespaced_image_stream_tag(name, namespace, pretty=pretty) -read the specified PolicyBinding +read the specified ImageStreamTag ### Example ```python @@ -13382,38 +13878,43 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.OapiApi() -name = 'name_example' # str | name of the PolicyBinding +name = 'name_example' # str | name of the ImageStreamTag namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) -exact = true # bool | Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace' (optional) -export = true # bool | Should this value be exported. Export strips fields that a user can not specify. (optional) try: - api_response = api_instance.read_namespaced_policy_binding(name, namespace, pretty=pretty, exact=exact, export=export) + api_response = api_instance.read_namespaced_image_stream_tag(name, namespace, pretty=pretty) pprint(api_response) except ApiException as e: - print("Exception when calling OapiApi->read_namespaced_policy_binding: %s\n" % e) + print("Exception when calling OapiApi->read_namespaced_image_stream_tag: %s\n" % e) ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the PolicyBinding | + **name** | **str**| name of the ImageStreamTag | **namespace** | **str**| object name and auth scope, such as for teams and projects | **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - **exact** | **bool**| Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace' | [optional] - **export** | **bool**| Should this value be exported. Export strips fields that a user can not specify. | [optional] ### Return type -[**V1PolicyBinding**](V1PolicyBinding.md) +[**V1ImageStreamTag**](V1ImageStreamTag.md) ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -13437,6 +13938,15 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.OapiApi() name = 'name_example' # str | name of the Role @@ -13464,7 +13974,7 @@ Name | Type | Description | Notes ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -13488,6 +13998,15 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.OapiApi() name = 'name_example' # str | name of the RoleBinding @@ -13515,7 +14034,7 @@ Name | Type | Description | Notes ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -13539,12 +14058,21 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.OapiApi() name = 'name_example' # str | name of the RoleBindingRestriction namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) -exact = true # bool | Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace' (optional) +exact = true # bool | Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. (optional) export = true # bool | Should this value be exported. Export strips fields that a user can not specify. (optional) try: @@ -13561,7 +14089,7 @@ Name | Type | Description | Notes **name** | **str**| name of the RoleBindingRestriction | **namespace** | **str**| object name and auth scope, such as for teams and projects | **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - **exact** | **bool**| Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace' | [optional] + **exact** | **bool**| Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. | [optional] **export** | **bool**| Should this value be exported. Export strips fields that a user can not specify. | [optional] ### Return type @@ -13570,7 +14098,7 @@ Name | Type | Description | Notes ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -13594,12 +14122,21 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.OapiApi() name = 'name_example' # str | name of the Route namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) -exact = true # bool | Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace' (optional) +exact = true # bool | Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. (optional) export = true # bool | Should this value be exported. Export strips fields that a user can not specify. (optional) try: @@ -13616,7 +14153,7 @@ Name | Type | Description | Notes **name** | **str**| name of the Route | **namespace** | **str**| object name and auth scope, such as for teams and projects | **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - **exact** | **bool**| Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace' | [optional] + **exact** | **bool**| Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. | [optional] **export** | **bool**| Should this value be exported. Export strips fields that a user can not specify. | [optional] ### Return type @@ -13625,7 +14162,7 @@ Name | Type | Description | Notes ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -13649,6 +14186,15 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.OapiApi() name = 'name_example' # str | name of the Route @@ -13676,7 +14222,7 @@ Name | Type | Description | Notes ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -13686,7 +14232,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **read_namespaced_scale_scale** -> V1beta1Scale read_namespaced_scale_scale(name, namespace, pretty=pretty) +> ExtensionsV1beta1Scale read_namespaced_scale_scale(name, namespace, pretty=pretty) @@ -13700,6 +14246,15 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.OapiApi() name = 'name_example' # str | name of the Scale @@ -13723,11 +14278,11 @@ Name | Type | Description | Notes ### Return type -[**V1beta1Scale**](V1beta1Scale.md) +[**ExtensionsV1beta1Scale**](ExtensionsV1beta1Scale.md) ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -13737,7 +14292,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **read_namespaced_secret_list_secrets** -> V1SecretList read_namespaced_secret_list_secrets(name, namespace, field_selector=field_selector, label_selector=label_selector, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) +> V1SecretList read_namespaced_secret_list_secrets(name, namespace, field_selector=field_selector, include_uninitialized=include_uninitialized, label_selector=label_selector, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) @@ -13751,19 +14306,29 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.OapiApi() name = 'name_example' # str | name of the SecretList namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) +include_uninitialized = true # bool | If true, partially initialized resources are included in the response. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) -resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. (optional) +resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) timeout_seconds = 56 # int | Timeout for the list/watch call. (optional) watch = true # bool | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) try: - api_response = api_instance.read_namespaced_secret_list_secrets(name, namespace, field_selector=field_selector, label_selector=label_selector, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) + api_response = api_instance.read_namespaced_secret_list_secrets(name, namespace, field_selector=field_selector, include_uninitialized=include_uninitialized, label_selector=label_selector, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) pprint(api_response) except ApiException as e: print("Exception when calling OapiApi->read_namespaced_secret_list_secrets: %s\n" % e) @@ -13776,9 +14341,10 @@ Name | Type | Description | Notes **name** | **str**| name of the SecretList | **namespace** | **str**| object name and auth scope, such as for teams and projects | **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] + **include_uninitialized** | **bool**| If true, partially initialized resources are included in the response. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. | [optional] + **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] **timeout_seconds** | **int**| Timeout for the list/watch call. | [optional] **watch** | **bool**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] @@ -13788,7 +14354,7 @@ Name | Type | Description | Notes ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -13812,12 +14378,21 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.OapiApi() name = 'name_example' # str | name of the Template namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) -exact = true # bool | Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace' (optional) +exact = true # bool | Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. (optional) export = true # bool | Should this value be exported. Export strips fields that a user can not specify. (optional) try: @@ -13834,7 +14409,7 @@ Name | Type | Description | Notes **name** | **str**| name of the Template | **namespace** | **str**| object name and auth scope, such as for teams and projects | **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - **exact** | **bool**| Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace' | [optional] + **exact** | **bool**| Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. | [optional] **export** | **bool**| Should this value be exported. Export strips fields that a user can not specify. | [optional] ### Return type @@ -13843,7 +14418,7 @@ Name | Type | Description | Notes ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -13867,11 +14442,20 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.OapiApi() name = 'name_example' # str | name of the NetNamespace pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) -exact = true # bool | Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace' (optional) +exact = true # bool | Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. (optional) export = true # bool | Should this value be exported. Export strips fields that a user can not specify. (optional) try: @@ -13887,7 +14471,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **name** | **str**| name of the NetNamespace | **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - **exact** | **bool**| Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace' | [optional] + **exact** | **bool**| Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. | [optional] **export** | **bool**| Should this value be exported. Export strips fields that a user can not specify. | [optional] ### Return type @@ -13896,7 +14480,7 @@ Name | Type | Description | Notes ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -13920,11 +14504,20 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.OapiApi() name = 'name_example' # str | name of the OAuthAccessToken pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) -exact = true # bool | Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace' (optional) +exact = true # bool | Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. (optional) export = true # bool | Should this value be exported. Export strips fields that a user can not specify. (optional) try: @@ -13940,7 +14533,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **name** | **str**| name of the OAuthAccessToken | **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - **exact** | **bool**| Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace' | [optional] + **exact** | **bool**| Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. | [optional] **export** | **bool**| Should this value be exported. Export strips fields that a user can not specify. | [optional] ### Return type @@ -13949,7 +14542,7 @@ Name | Type | Description | Notes ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -13973,11 +14566,20 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.OapiApi() name = 'name_example' # str | name of the OAuthAuthorizeToken pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) -exact = true # bool | Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace' (optional) +exact = true # bool | Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. (optional) export = true # bool | Should this value be exported. Export strips fields that a user can not specify. (optional) try: @@ -13993,7 +14595,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **name** | **str**| name of the OAuthAuthorizeToken | **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - **exact** | **bool**| Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace' | [optional] + **exact** | **bool**| Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. | [optional] **export** | **bool**| Should this value be exported. Export strips fields that a user can not specify. | [optional] ### Return type @@ -14002,7 +14604,7 @@ Name | Type | Description | Notes ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -14026,11 +14628,20 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.OapiApi() name = 'name_example' # str | name of the OAuthClient pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) -exact = true # bool | Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace' (optional) +exact = true # bool | Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. (optional) export = true # bool | Should this value be exported. Export strips fields that a user can not specify. (optional) try: @@ -14046,7 +14657,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **name** | **str**| name of the OAuthClient | **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - **exact** | **bool**| Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace' | [optional] + **exact** | **bool**| Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. | [optional] **export** | **bool**| Should this value be exported. Export strips fields that a user can not specify. | [optional] ### Return type @@ -14055,7 +14666,7 @@ Name | Type | Description | Notes ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -14079,11 +14690,20 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.OapiApi() name = 'name_example' # str | name of the OAuthClientAuthorization pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) -exact = true # bool | Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace' (optional) +exact = true # bool | Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. (optional) export = true # bool | Should this value be exported. Export strips fields that a user can not specify. (optional) try: @@ -14099,7 +14719,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **name** | **str**| name of the OAuthClientAuthorization | **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - **exact** | **bool**| Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace' | [optional] + **exact** | **bool**| Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. | [optional] **export** | **bool**| Should this value be exported. Export strips fields that a user can not specify. | [optional] ### Return type @@ -14108,7 +14728,7 @@ Name | Type | Description | Notes ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -14132,6 +14752,15 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.OapiApi() name = 'name_example' # str | name of the Project @@ -14157,7 +14786,7 @@ Name | Type | Description | Notes ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -14181,11 +14810,20 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.OapiApi() name = 'name_example' # str | name of the User pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) -exact = true # bool | Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace' (optional) +exact = true # bool | Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. (optional) export = true # bool | Should this value be exported. Export strips fields that a user can not specify. (optional) try: @@ -14201,7 +14839,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **name** | **str**| name of the User | **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - **exact** | **bool**| Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace' | [optional] + **exact** | **bool**| Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. | [optional] **export** | **bool**| Should this value be exported. Export strips fields that a user can not specify. | [optional] ### Return type @@ -14210,7 +14848,7 @@ Name | Type | Description | Notes ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -14234,6 +14872,15 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.OapiApi() name = 'name_example' # str | name of the UserIdentityMapping @@ -14259,7 +14906,7 @@ Name | Type | Description | Notes ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -14283,6 +14930,15 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.OapiApi() name = 'name_example' # str | name of the ClusterNetwork @@ -14310,109 +14966,7 @@ Name | Type | Description | Notes ### Authorization -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **replace_cluster_policy** -> V1ClusterPolicy replace_cluster_policy(name, body, pretty=pretty) - - - -replace the specified ClusterPolicy - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.OapiApi() -name = 'name_example' # str | name of the ClusterPolicy -body = openshift.client.V1ClusterPolicy() # V1ClusterPolicy | -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) - -try: - api_response = api_instance.replace_cluster_policy(name, body, pretty=pretty) - pprint(api_response) -except ApiException as e: - print("Exception when calling OapiApi->replace_cluster_policy: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the ClusterPolicy | - **body** | [**V1ClusterPolicy**](V1ClusterPolicy.md)| | - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - -### Return type - -[**V1ClusterPolicy**](V1ClusterPolicy.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **replace_cluster_policy_binding** -> V1ClusterPolicyBinding replace_cluster_policy_binding(name, body, pretty=pretty) - - - -replace the specified ClusterPolicyBinding - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.OapiApi() -name = 'name_example' # str | name of the ClusterPolicyBinding -body = openshift.client.V1ClusterPolicyBinding() # V1ClusterPolicyBinding | -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) - -try: - api_response = api_instance.replace_cluster_policy_binding(name, body, pretty=pretty) - pprint(api_response) -except ApiException as e: - print("Exception when calling OapiApi->replace_cluster_policy_binding: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the ClusterPolicyBinding | - **body** | [**V1ClusterPolicyBinding**](V1ClusterPolicyBinding.md)| | - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - -### Return type - -[**V1ClusterPolicyBinding**](V1ClusterPolicyBinding.md) - -### Authorization - -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -14436,6 +14990,15 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.OapiApi() name = 'name_example' # str | name of the ClusterResourceQuota @@ -14463,7 +15026,7 @@ Name | Type | Description | Notes ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -14487,6 +15050,15 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.OapiApi() name = 'name_example' # str | name of the ClusterResourceQuota @@ -14514,7 +15086,7 @@ Name | Type | Description | Notes ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -14538,6 +15110,15 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.OapiApi() name = 'name_example' # str | name of the ClusterRole @@ -14565,7 +15146,7 @@ Name | Type | Description | Notes ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -14589,6 +15170,15 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.OapiApi() name = 'name_example' # str | name of the ClusterRoleBinding @@ -14616,7 +15206,7 @@ Name | Type | Description | Notes ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -14640,6 +15230,15 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.OapiApi() name = 'name_example' # str | name of the Group @@ -14667,7 +15266,7 @@ Name | Type | Description | Notes ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -14691,6 +15290,15 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.OapiApi() name = 'name_example' # str | name of the HostSubnet @@ -14718,7 +15326,7 @@ Name | Type | Description | Notes ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -14742,6 +15350,15 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.OapiApi() name = 'name_example' # str | name of the Identity @@ -14769,7 +15386,7 @@ Name | Type | Description | Notes ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -14793,6 +15410,15 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.OapiApi() name = 'name_example' # str | name of the Image @@ -14820,7 +15446,7 @@ Name | Type | Description | Notes ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -14844,6 +15470,15 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.OapiApi() name = 'name_example' # str | name of the Build @@ -14873,7 +15508,7 @@ Name | Type | Description | Notes ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -14897,6 +15532,15 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.OapiApi() name = 'name_example' # str | name of the BuildConfig @@ -14926,7 +15570,7 @@ Name | Type | Description | Notes ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -14936,7 +15580,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **replace_namespaced_build_details** -> V1Build replace_namespaced_build_details(body, name, namespace, pretty=pretty) +> V1Build replace_namespaced_build_details(name, namespace, body, pretty=pretty) @@ -14950,15 +15594,24 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.OapiApi() -body = openshift.client.V1Build() # V1Build | name = 'name_example' # str | name of the Build namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects +body = openshift.client.V1Build() # V1Build | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) try: - api_response = api_instance.replace_namespaced_build_details(body, name, namespace, pretty=pretty) + api_response = api_instance.replace_namespaced_build_details(name, namespace, body, pretty=pretty) pprint(api_response) except ApiException as e: print("Exception when calling OapiApi->replace_namespaced_build_details: %s\n" % e) @@ -14968,9 +15621,9 @@ except ApiException as e: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **body** | [**V1Build**](V1Build.md)| | **name** | **str**| name of the Build | **namespace** | **str**| object name and auth scope, such as for teams and projects | + **body** | [**V1Build**](V1Build.md)| | **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] ### Return type @@ -14979,7 +15632,7 @@ Name | Type | Description | Notes ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -15003,6 +15656,15 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.OapiApi() name = 'name_example' # str | name of the DeploymentConfig @@ -15032,7 +15694,7 @@ Name | Type | Description | Notes ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -15056,6 +15718,15 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.OapiApi() name = 'name_example' # str | name of the DeploymentConfig @@ -15085,7 +15756,7 @@ Name | Type | Description | Notes ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -15109,6 +15780,15 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.OapiApi() name = 'name_example' # str | name of the EgressNetworkPolicy @@ -15138,7 +15818,7 @@ Name | Type | Description | Notes ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -15162,6 +15842,15 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.OapiApi() name = 'name_example' # str | name of the ImageStream @@ -15191,7 +15880,7 @@ Name | Type | Description | Notes ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -15215,6 +15904,15 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.OapiApi() name = 'name_example' # str | name of the ImageStream @@ -15244,7 +15942,7 @@ Name | Type | Description | Notes ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -15268,6 +15966,15 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.OapiApi() name = 'name_example' # str | name of the ImageStreamTag @@ -15297,113 +16004,7 @@ Name | Type | Description | Notes ### Authorization -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **replace_namespaced_policy** -> V1Policy replace_namespaced_policy(name, namespace, body, pretty=pretty) - - - -replace the specified Policy - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.OapiApi() -name = 'name_example' # str | name of the Policy -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = openshift.client.V1Policy() # V1Policy | -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) - -try: - api_response = api_instance.replace_namespaced_policy(name, namespace, body, pretty=pretty) - pprint(api_response) -except ApiException as e: - print("Exception when calling OapiApi->replace_namespaced_policy: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the Policy | - **namespace** | **str**| object name and auth scope, such as for teams and projects | - **body** | [**V1Policy**](V1Policy.md)| | - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - -### Return type - -[**V1Policy**](V1Policy.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **replace_namespaced_policy_binding** -> V1PolicyBinding replace_namespaced_policy_binding(name, namespace, body, pretty=pretty) - - - -replace the specified PolicyBinding - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.OapiApi() -name = 'name_example' # str | name of the PolicyBinding -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = openshift.client.V1PolicyBinding() # V1PolicyBinding | -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) - -try: - api_response = api_instance.replace_namespaced_policy_binding(name, namespace, body, pretty=pretty) - pprint(api_response) -except ApiException as e: - print("Exception when calling OapiApi->replace_namespaced_policy_binding: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the PolicyBinding | - **namespace** | **str**| object name and auth scope, such as for teams and projects | - **body** | [**V1PolicyBinding**](V1PolicyBinding.md)| | - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - -### Return type - -[**V1PolicyBinding**](V1PolicyBinding.md) - -### Authorization - -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -15427,6 +16028,15 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.OapiApi() name = 'name_example' # str | name of the Role @@ -15456,7 +16066,7 @@ Name | Type | Description | Notes ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -15480,6 +16090,15 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.OapiApi() name = 'name_example' # str | name of the RoleBinding @@ -15509,7 +16128,7 @@ Name | Type | Description | Notes ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -15533,6 +16152,15 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.OapiApi() name = 'name_example' # str | name of the RoleBindingRestriction @@ -15562,7 +16190,7 @@ Name | Type | Description | Notes ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -15586,6 +16214,15 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.OapiApi() name = 'name_example' # str | name of the Route @@ -15615,7 +16252,7 @@ Name | Type | Description | Notes ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -15639,6 +16276,15 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.OapiApi() name = 'name_example' # str | name of the Route @@ -15668,7 +16314,7 @@ Name | Type | Description | Notes ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -15678,7 +16324,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **replace_namespaced_scale_scale** -> V1beta1Scale replace_namespaced_scale_scale(name, namespace, body, pretty=pretty) +> ExtensionsV1beta1Scale replace_namespaced_scale_scale(name, namespace, body, pretty=pretty) @@ -15692,11 +16338,20 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.OapiApi() name = 'name_example' # str | name of the Scale namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = openshift.client.V1beta1Scale() # V1beta1Scale | +body = openshift.client.ExtensionsV1beta1Scale() # ExtensionsV1beta1Scale | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) try: @@ -15712,16 +16367,16 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **name** | **str**| name of the Scale | **namespace** | **str**| object name and auth scope, such as for teams and projects | - **body** | [**V1beta1Scale**](V1beta1Scale.md)| | + **body** | [**ExtensionsV1beta1Scale**](ExtensionsV1beta1Scale.md)| | **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] ### Return type -[**V1beta1Scale**](V1beta1Scale.md) +[**ExtensionsV1beta1Scale**](ExtensionsV1beta1Scale.md) ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -15745,6 +16400,15 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.OapiApi() name = 'name_example' # str | name of the Template @@ -15774,7 +16438,7 @@ Name | Type | Description | Notes ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -15798,6 +16462,15 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.OapiApi() name = 'name_example' # str | name of the NetNamespace @@ -15825,7 +16498,7 @@ Name | Type | Description | Notes ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -15849,6 +16522,15 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.OapiApi() name = 'name_example' # str | name of the OAuthAccessToken @@ -15876,7 +16558,7 @@ Name | Type | Description | Notes ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -15900,6 +16582,15 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.OapiApi() name = 'name_example' # str | name of the OAuthAuthorizeToken @@ -15927,7 +16618,7 @@ Name | Type | Description | Notes ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -15951,6 +16642,15 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.OapiApi() name = 'name_example' # str | name of the OAuthClient @@ -15978,7 +16678,7 @@ Name | Type | Description | Notes ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -16002,6 +16702,15 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.OapiApi() name = 'name_example' # str | name of the OAuthClientAuthorization @@ -16029,7 +16738,7 @@ Name | Type | Description | Notes ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -16053,6 +16762,15 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.OapiApi() name = 'name_example' # str | name of the Project @@ -16080,7 +16798,7 @@ Name | Type | Description | Notes ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -16104,6 +16822,15 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.OapiApi() name = 'name_example' # str | name of the User @@ -16131,7 +16858,7 @@ Name | Type | Description | Notes ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -16155,6 +16882,15 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.OapiApi() name = 'name_example' # str | name of the UserIdentityMapping @@ -16182,7 +16918,7 @@ Name | Type | Description | Notes ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers diff --git a/openshift/docs/OauthOpenshiftIoApi.md b/openshift/docs/OauthOpenshiftIoApi.md index 5aefaf89..e9ad3b2a 100644 --- a/openshift/docs/OauthOpenshiftIoApi.md +++ b/openshift/docs/OauthOpenshiftIoApi.md @@ -4,11 +4,11 @@ All URIs are relative to *https://localhost* Method | HTTP request | Description ------------- | ------------- | ------------- -[**get_oauth_openshift_io_api_group**](OauthOpenshiftIoApi.md#get_oauth_openshift_io_api_group) | **GET** /apis/oauth.openshift.io/ | +[**get_api_group**](OauthOpenshiftIoApi.md#get_api_group) | **GET** /apis/oauth.openshift.io/ | -# **get_oauth_openshift_io_api_group** -> UnversionedAPIGroup get_oauth_openshift_io_api_group() +# **get_api_group** +> V1APIGroup get_api_group() @@ -22,14 +22,23 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.OauthOpenshiftIoApi() try: - api_response = api_instance.get_oauth_openshift_io_api_group() + api_response = api_instance.get_api_group() pprint(api_response) except ApiException as e: - print("Exception when calling OauthOpenshiftIoApi->get_oauth_openshift_io_api_group: %s\n" % e) + print("Exception when calling OauthOpenshiftIoApi->get_api_group: %s\n" % e) ``` ### Parameters @@ -37,11 +46,11 @@ This endpoint does not need any parameter. ### Return type -[**UnversionedAPIGroup**](UnversionedAPIGroup.md) +[**V1APIGroup**](V1APIGroup.md) ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers diff --git a/openshift/docs/OauthOpenshiftIoV1Api.md b/openshift/docs/OauthOpenshiftIoV1Api.md index d9b03b2c..d06b73a3 100644 --- a/openshift/docs/OauthOpenshiftIoV1Api.md +++ b/openshift/docs/OauthOpenshiftIoV1Api.md @@ -4,39 +4,39 @@ All URIs are relative to *https://localhost* Method | HTTP request | Description ------------- | ------------- | ------------- -[**create_oauth_openshift_io_v1_o_auth_access_token**](OauthOpenshiftIoV1Api.md#create_oauth_openshift_io_v1_o_auth_access_token) | **POST** /apis/oauth.openshift.io/v1/oauthaccesstokens | -[**create_oauth_openshift_io_v1_o_auth_authorize_token**](OauthOpenshiftIoV1Api.md#create_oauth_openshift_io_v1_o_auth_authorize_token) | **POST** /apis/oauth.openshift.io/v1/oauthauthorizetokens | -[**create_oauth_openshift_io_v1_o_auth_client**](OauthOpenshiftIoV1Api.md#create_oauth_openshift_io_v1_o_auth_client) | **POST** /apis/oauth.openshift.io/v1/oauthclients | -[**create_oauth_openshift_io_v1_o_auth_client_authorization**](OauthOpenshiftIoV1Api.md#create_oauth_openshift_io_v1_o_auth_client_authorization) | **POST** /apis/oauth.openshift.io/v1/oauthclientauthorizations | -[**delete_oauth_openshift_io_v1_collection_o_auth_access_token**](OauthOpenshiftIoV1Api.md#delete_oauth_openshift_io_v1_collection_o_auth_access_token) | **DELETE** /apis/oauth.openshift.io/v1/oauthaccesstokens | -[**delete_oauth_openshift_io_v1_collection_o_auth_authorize_token**](OauthOpenshiftIoV1Api.md#delete_oauth_openshift_io_v1_collection_o_auth_authorize_token) | **DELETE** /apis/oauth.openshift.io/v1/oauthauthorizetokens | -[**delete_oauth_openshift_io_v1_collection_o_auth_client**](OauthOpenshiftIoV1Api.md#delete_oauth_openshift_io_v1_collection_o_auth_client) | **DELETE** /apis/oauth.openshift.io/v1/oauthclients | -[**delete_oauth_openshift_io_v1_collection_o_auth_client_authorization**](OauthOpenshiftIoV1Api.md#delete_oauth_openshift_io_v1_collection_o_auth_client_authorization) | **DELETE** /apis/oauth.openshift.io/v1/oauthclientauthorizations | -[**delete_oauth_openshift_io_v1_o_auth_access_token**](OauthOpenshiftIoV1Api.md#delete_oauth_openshift_io_v1_o_auth_access_token) | **DELETE** /apis/oauth.openshift.io/v1/oauthaccesstokens/{name} | -[**delete_oauth_openshift_io_v1_o_auth_authorize_token**](OauthOpenshiftIoV1Api.md#delete_oauth_openshift_io_v1_o_auth_authorize_token) | **DELETE** /apis/oauth.openshift.io/v1/oauthauthorizetokens/{name} | -[**delete_oauth_openshift_io_v1_o_auth_client**](OauthOpenshiftIoV1Api.md#delete_oauth_openshift_io_v1_o_auth_client) | **DELETE** /apis/oauth.openshift.io/v1/oauthclients/{name} | -[**delete_oauth_openshift_io_v1_o_auth_client_authorization**](OauthOpenshiftIoV1Api.md#delete_oauth_openshift_io_v1_o_auth_client_authorization) | **DELETE** /apis/oauth.openshift.io/v1/oauthclientauthorizations/{name} | -[**get_oauth_openshift_io_v1_api_resources**](OauthOpenshiftIoV1Api.md#get_oauth_openshift_io_v1_api_resources) | **GET** /apis/oauth.openshift.io/v1/ | -[**list_oauth_openshift_io_v1_o_auth_access_token**](OauthOpenshiftIoV1Api.md#list_oauth_openshift_io_v1_o_auth_access_token) | **GET** /apis/oauth.openshift.io/v1/oauthaccesstokens | -[**list_oauth_openshift_io_v1_o_auth_authorize_token**](OauthOpenshiftIoV1Api.md#list_oauth_openshift_io_v1_o_auth_authorize_token) | **GET** /apis/oauth.openshift.io/v1/oauthauthorizetokens | -[**list_oauth_openshift_io_v1_o_auth_client**](OauthOpenshiftIoV1Api.md#list_oauth_openshift_io_v1_o_auth_client) | **GET** /apis/oauth.openshift.io/v1/oauthclients | -[**list_oauth_openshift_io_v1_o_auth_client_authorization**](OauthOpenshiftIoV1Api.md#list_oauth_openshift_io_v1_o_auth_client_authorization) | **GET** /apis/oauth.openshift.io/v1/oauthclientauthorizations | -[**patch_oauth_openshift_io_v1_o_auth_access_token**](OauthOpenshiftIoV1Api.md#patch_oauth_openshift_io_v1_o_auth_access_token) | **PATCH** /apis/oauth.openshift.io/v1/oauthaccesstokens/{name} | -[**patch_oauth_openshift_io_v1_o_auth_authorize_token**](OauthOpenshiftIoV1Api.md#patch_oauth_openshift_io_v1_o_auth_authorize_token) | **PATCH** /apis/oauth.openshift.io/v1/oauthauthorizetokens/{name} | -[**patch_oauth_openshift_io_v1_o_auth_client**](OauthOpenshiftIoV1Api.md#patch_oauth_openshift_io_v1_o_auth_client) | **PATCH** /apis/oauth.openshift.io/v1/oauthclients/{name} | -[**patch_oauth_openshift_io_v1_o_auth_client_authorization**](OauthOpenshiftIoV1Api.md#patch_oauth_openshift_io_v1_o_auth_client_authorization) | **PATCH** /apis/oauth.openshift.io/v1/oauthclientauthorizations/{name} | -[**read_oauth_openshift_io_v1_o_auth_access_token**](OauthOpenshiftIoV1Api.md#read_oauth_openshift_io_v1_o_auth_access_token) | **GET** /apis/oauth.openshift.io/v1/oauthaccesstokens/{name} | -[**read_oauth_openshift_io_v1_o_auth_authorize_token**](OauthOpenshiftIoV1Api.md#read_oauth_openshift_io_v1_o_auth_authorize_token) | **GET** /apis/oauth.openshift.io/v1/oauthauthorizetokens/{name} | -[**read_oauth_openshift_io_v1_o_auth_client**](OauthOpenshiftIoV1Api.md#read_oauth_openshift_io_v1_o_auth_client) | **GET** /apis/oauth.openshift.io/v1/oauthclients/{name} | -[**read_oauth_openshift_io_v1_o_auth_client_authorization**](OauthOpenshiftIoV1Api.md#read_oauth_openshift_io_v1_o_auth_client_authorization) | **GET** /apis/oauth.openshift.io/v1/oauthclientauthorizations/{name} | -[**replace_oauth_openshift_io_v1_o_auth_access_token**](OauthOpenshiftIoV1Api.md#replace_oauth_openshift_io_v1_o_auth_access_token) | **PUT** /apis/oauth.openshift.io/v1/oauthaccesstokens/{name} | -[**replace_oauth_openshift_io_v1_o_auth_authorize_token**](OauthOpenshiftIoV1Api.md#replace_oauth_openshift_io_v1_o_auth_authorize_token) | **PUT** /apis/oauth.openshift.io/v1/oauthauthorizetokens/{name} | -[**replace_oauth_openshift_io_v1_o_auth_client**](OauthOpenshiftIoV1Api.md#replace_oauth_openshift_io_v1_o_auth_client) | **PUT** /apis/oauth.openshift.io/v1/oauthclients/{name} | -[**replace_oauth_openshift_io_v1_o_auth_client_authorization**](OauthOpenshiftIoV1Api.md#replace_oauth_openshift_io_v1_o_auth_client_authorization) | **PUT** /apis/oauth.openshift.io/v1/oauthclientauthorizations/{name} | - - -# **create_oauth_openshift_io_v1_o_auth_access_token** -> V1OAuthAccessToken create_oauth_openshift_io_v1_o_auth_access_token(body, pretty=pretty) +[**create_o_auth_access_token**](OauthOpenshiftIoV1Api.md#create_o_auth_access_token) | **POST** /apis/oauth.openshift.io/v1/oauthaccesstokens | +[**create_o_auth_authorize_token**](OauthOpenshiftIoV1Api.md#create_o_auth_authorize_token) | **POST** /apis/oauth.openshift.io/v1/oauthauthorizetokens | +[**create_o_auth_client**](OauthOpenshiftIoV1Api.md#create_o_auth_client) | **POST** /apis/oauth.openshift.io/v1/oauthclients | +[**create_o_auth_client_authorization**](OauthOpenshiftIoV1Api.md#create_o_auth_client_authorization) | **POST** /apis/oauth.openshift.io/v1/oauthclientauthorizations | +[**delete_collection_o_auth_access_token**](OauthOpenshiftIoV1Api.md#delete_collection_o_auth_access_token) | **DELETE** /apis/oauth.openshift.io/v1/oauthaccesstokens | +[**delete_collection_o_auth_authorize_token**](OauthOpenshiftIoV1Api.md#delete_collection_o_auth_authorize_token) | **DELETE** /apis/oauth.openshift.io/v1/oauthauthorizetokens | +[**delete_collection_o_auth_client**](OauthOpenshiftIoV1Api.md#delete_collection_o_auth_client) | **DELETE** /apis/oauth.openshift.io/v1/oauthclients | +[**delete_collection_o_auth_client_authorization**](OauthOpenshiftIoV1Api.md#delete_collection_o_auth_client_authorization) | **DELETE** /apis/oauth.openshift.io/v1/oauthclientauthorizations | +[**delete_o_auth_access_token**](OauthOpenshiftIoV1Api.md#delete_o_auth_access_token) | **DELETE** /apis/oauth.openshift.io/v1/oauthaccesstokens/{name} | +[**delete_o_auth_authorize_token**](OauthOpenshiftIoV1Api.md#delete_o_auth_authorize_token) | **DELETE** /apis/oauth.openshift.io/v1/oauthauthorizetokens/{name} | +[**delete_o_auth_client**](OauthOpenshiftIoV1Api.md#delete_o_auth_client) | **DELETE** /apis/oauth.openshift.io/v1/oauthclients/{name} | +[**delete_o_auth_client_authorization**](OauthOpenshiftIoV1Api.md#delete_o_auth_client_authorization) | **DELETE** /apis/oauth.openshift.io/v1/oauthclientauthorizations/{name} | +[**get_api_resources**](OauthOpenshiftIoV1Api.md#get_api_resources) | **GET** /apis/oauth.openshift.io/v1/ | +[**list_o_auth_access_token**](OauthOpenshiftIoV1Api.md#list_o_auth_access_token) | **GET** /apis/oauth.openshift.io/v1/oauthaccesstokens | +[**list_o_auth_authorize_token**](OauthOpenshiftIoV1Api.md#list_o_auth_authorize_token) | **GET** /apis/oauth.openshift.io/v1/oauthauthorizetokens | +[**list_o_auth_client**](OauthOpenshiftIoV1Api.md#list_o_auth_client) | **GET** /apis/oauth.openshift.io/v1/oauthclients | +[**list_o_auth_client_authorization**](OauthOpenshiftIoV1Api.md#list_o_auth_client_authorization) | **GET** /apis/oauth.openshift.io/v1/oauthclientauthorizations | +[**patch_o_auth_access_token**](OauthOpenshiftIoV1Api.md#patch_o_auth_access_token) | **PATCH** /apis/oauth.openshift.io/v1/oauthaccesstokens/{name} | +[**patch_o_auth_authorize_token**](OauthOpenshiftIoV1Api.md#patch_o_auth_authorize_token) | **PATCH** /apis/oauth.openshift.io/v1/oauthauthorizetokens/{name} | +[**patch_o_auth_client**](OauthOpenshiftIoV1Api.md#patch_o_auth_client) | **PATCH** /apis/oauth.openshift.io/v1/oauthclients/{name} | +[**patch_o_auth_client_authorization**](OauthOpenshiftIoV1Api.md#patch_o_auth_client_authorization) | **PATCH** /apis/oauth.openshift.io/v1/oauthclientauthorizations/{name} | +[**read_o_auth_access_token**](OauthOpenshiftIoV1Api.md#read_o_auth_access_token) | **GET** /apis/oauth.openshift.io/v1/oauthaccesstokens/{name} | +[**read_o_auth_authorize_token**](OauthOpenshiftIoV1Api.md#read_o_auth_authorize_token) | **GET** /apis/oauth.openshift.io/v1/oauthauthorizetokens/{name} | +[**read_o_auth_client**](OauthOpenshiftIoV1Api.md#read_o_auth_client) | **GET** /apis/oauth.openshift.io/v1/oauthclients/{name} | +[**read_o_auth_client_authorization**](OauthOpenshiftIoV1Api.md#read_o_auth_client_authorization) | **GET** /apis/oauth.openshift.io/v1/oauthclientauthorizations/{name} | +[**replace_o_auth_access_token**](OauthOpenshiftIoV1Api.md#replace_o_auth_access_token) | **PUT** /apis/oauth.openshift.io/v1/oauthaccesstokens/{name} | +[**replace_o_auth_authorize_token**](OauthOpenshiftIoV1Api.md#replace_o_auth_authorize_token) | **PUT** /apis/oauth.openshift.io/v1/oauthauthorizetokens/{name} | +[**replace_o_auth_client**](OauthOpenshiftIoV1Api.md#replace_o_auth_client) | **PUT** /apis/oauth.openshift.io/v1/oauthclients/{name} | +[**replace_o_auth_client_authorization**](OauthOpenshiftIoV1Api.md#replace_o_auth_client_authorization) | **PUT** /apis/oauth.openshift.io/v1/oauthclientauthorizations/{name} | + + +# **create_o_auth_access_token** +> V1OAuthAccessToken create_o_auth_access_token(body, pretty=pretty) @@ -50,16 +50,25 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.OauthOpenshiftIoV1Api() body = openshift.client.V1OAuthAccessToken() # V1OAuthAccessToken | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) try: - api_response = api_instance.create_oauth_openshift_io_v1_o_auth_access_token(body, pretty=pretty) + api_response = api_instance.create_o_auth_access_token(body, pretty=pretty) pprint(api_response) except ApiException as e: - print("Exception when calling OauthOpenshiftIoV1Api->create_oauth_openshift_io_v1_o_auth_access_token: %s\n" % e) + print("Exception when calling OauthOpenshiftIoV1Api->create_o_auth_access_token: %s\n" % e) ``` ### Parameters @@ -75,7 +84,7 @@ Name | Type | Description | Notes ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -84,8 +93,8 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **create_oauth_openshift_io_v1_o_auth_authorize_token** -> V1OAuthAuthorizeToken create_oauth_openshift_io_v1_o_auth_authorize_token(body, pretty=pretty) +# **create_o_auth_authorize_token** +> V1OAuthAuthorizeToken create_o_auth_authorize_token(body, pretty=pretty) @@ -99,16 +108,25 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.OauthOpenshiftIoV1Api() body = openshift.client.V1OAuthAuthorizeToken() # V1OAuthAuthorizeToken | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) try: - api_response = api_instance.create_oauth_openshift_io_v1_o_auth_authorize_token(body, pretty=pretty) + api_response = api_instance.create_o_auth_authorize_token(body, pretty=pretty) pprint(api_response) except ApiException as e: - print("Exception when calling OauthOpenshiftIoV1Api->create_oauth_openshift_io_v1_o_auth_authorize_token: %s\n" % e) + print("Exception when calling OauthOpenshiftIoV1Api->create_o_auth_authorize_token: %s\n" % e) ``` ### Parameters @@ -124,7 +142,7 @@ Name | Type | Description | Notes ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -133,8 +151,8 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **create_oauth_openshift_io_v1_o_auth_client** -> V1OAuthClient create_oauth_openshift_io_v1_o_auth_client(body, pretty=pretty) +# **create_o_auth_client** +> V1OAuthClient create_o_auth_client(body, pretty=pretty) @@ -148,16 +166,25 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.OauthOpenshiftIoV1Api() body = openshift.client.V1OAuthClient() # V1OAuthClient | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) try: - api_response = api_instance.create_oauth_openshift_io_v1_o_auth_client(body, pretty=pretty) + api_response = api_instance.create_o_auth_client(body, pretty=pretty) pprint(api_response) except ApiException as e: - print("Exception when calling OauthOpenshiftIoV1Api->create_oauth_openshift_io_v1_o_auth_client: %s\n" % e) + print("Exception when calling OauthOpenshiftIoV1Api->create_o_auth_client: %s\n" % e) ``` ### Parameters @@ -173,7 +200,7 @@ Name | Type | Description | Notes ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -182,8 +209,8 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **create_oauth_openshift_io_v1_o_auth_client_authorization** -> V1OAuthClientAuthorization create_oauth_openshift_io_v1_o_auth_client_authorization(body, pretty=pretty) +# **create_o_auth_client_authorization** +> V1OAuthClientAuthorization create_o_auth_client_authorization(body, pretty=pretty) @@ -197,16 +224,25 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.OauthOpenshiftIoV1Api() body = openshift.client.V1OAuthClientAuthorization() # V1OAuthClientAuthorization | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) try: - api_response = api_instance.create_oauth_openshift_io_v1_o_auth_client_authorization(body, pretty=pretty) + api_response = api_instance.create_o_auth_client_authorization(body, pretty=pretty) pprint(api_response) except ApiException as e: - print("Exception when calling OauthOpenshiftIoV1Api->create_oauth_openshift_io_v1_o_auth_client_authorization: %s\n" % e) + print("Exception when calling OauthOpenshiftIoV1Api->create_o_auth_client_authorization: %s\n" % e) ``` ### Parameters @@ -222,7 +258,7 @@ Name | Type | Description | Notes ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -231,8 +267,8 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **delete_oauth_openshift_io_v1_collection_o_auth_access_token** -> UnversionedStatus delete_oauth_openshift_io_v1_collection_o_auth_access_token(pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) +# **delete_collection_o_auth_access_token** +> V1Status delete_collection_o_auth_access_token(pretty=pretty, field_selector=field_selector, include_uninitialized=include_uninitialized, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) @@ -246,20 +282,30 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.OauthOpenshiftIoV1Api() pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) +include_uninitialized = true # bool | If true, partially initialized resources are included in the response. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. (optional) +resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) timeout_seconds = 56 # int | Timeout for the list/watch call. (optional) watch = true # bool | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) try: - api_response = api_instance.delete_oauth_openshift_io_v1_collection_o_auth_access_token(pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) + api_response = api_instance.delete_collection_o_auth_access_token(pretty=pretty, field_selector=field_selector, include_uninitialized=include_uninitialized, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) pprint(api_response) except ApiException as e: - print("Exception when calling OauthOpenshiftIoV1Api->delete_oauth_openshift_io_v1_collection_o_auth_access_token: %s\n" % e) + print("Exception when calling OauthOpenshiftIoV1Api->delete_collection_o_auth_access_token: %s\n" % e) ``` ### Parameters @@ -268,18 +314,19 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] + **include_uninitialized** | **bool**| If true, partially initialized resources are included in the response. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. | [optional] + **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] **timeout_seconds** | **int**| Timeout for the list/watch call. | [optional] **watch** | **bool**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] ### Return type -[**UnversionedStatus**](UnversionedStatus.md) +[**V1Status**](V1Status.md) ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -288,8 +335,8 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **delete_oauth_openshift_io_v1_collection_o_auth_authorize_token** -> UnversionedStatus delete_oauth_openshift_io_v1_collection_o_auth_authorize_token(pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) +# **delete_collection_o_auth_authorize_token** +> V1Status delete_collection_o_auth_authorize_token(pretty=pretty, field_selector=field_selector, include_uninitialized=include_uninitialized, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) @@ -303,20 +350,30 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.OauthOpenshiftIoV1Api() pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) +include_uninitialized = true # bool | If true, partially initialized resources are included in the response. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. (optional) +resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) timeout_seconds = 56 # int | Timeout for the list/watch call. (optional) watch = true # bool | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) try: - api_response = api_instance.delete_oauth_openshift_io_v1_collection_o_auth_authorize_token(pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) + api_response = api_instance.delete_collection_o_auth_authorize_token(pretty=pretty, field_selector=field_selector, include_uninitialized=include_uninitialized, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) pprint(api_response) except ApiException as e: - print("Exception when calling OauthOpenshiftIoV1Api->delete_oauth_openshift_io_v1_collection_o_auth_authorize_token: %s\n" % e) + print("Exception when calling OauthOpenshiftIoV1Api->delete_collection_o_auth_authorize_token: %s\n" % e) ``` ### Parameters @@ -325,18 +382,19 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] + **include_uninitialized** | **bool**| If true, partially initialized resources are included in the response. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. | [optional] + **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] **timeout_seconds** | **int**| Timeout for the list/watch call. | [optional] **watch** | **bool**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] ### Return type -[**UnversionedStatus**](UnversionedStatus.md) +[**V1Status**](V1Status.md) ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -345,8 +403,8 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **delete_oauth_openshift_io_v1_collection_o_auth_client** -> UnversionedStatus delete_oauth_openshift_io_v1_collection_o_auth_client(pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) +# **delete_collection_o_auth_client** +> V1Status delete_collection_o_auth_client(pretty=pretty, field_selector=field_selector, include_uninitialized=include_uninitialized, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) @@ -360,20 +418,30 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.OauthOpenshiftIoV1Api() pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) +include_uninitialized = true # bool | If true, partially initialized resources are included in the response. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. (optional) +resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) timeout_seconds = 56 # int | Timeout for the list/watch call. (optional) watch = true # bool | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) try: - api_response = api_instance.delete_oauth_openshift_io_v1_collection_o_auth_client(pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) + api_response = api_instance.delete_collection_o_auth_client(pretty=pretty, field_selector=field_selector, include_uninitialized=include_uninitialized, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) pprint(api_response) except ApiException as e: - print("Exception when calling OauthOpenshiftIoV1Api->delete_oauth_openshift_io_v1_collection_o_auth_client: %s\n" % e) + print("Exception when calling OauthOpenshiftIoV1Api->delete_collection_o_auth_client: %s\n" % e) ``` ### Parameters @@ -382,18 +450,19 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] + **include_uninitialized** | **bool**| If true, partially initialized resources are included in the response. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. | [optional] + **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] **timeout_seconds** | **int**| Timeout for the list/watch call. | [optional] **watch** | **bool**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] ### Return type -[**UnversionedStatus**](UnversionedStatus.md) +[**V1Status**](V1Status.md) ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -402,8 +471,8 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **delete_oauth_openshift_io_v1_collection_o_auth_client_authorization** -> UnversionedStatus delete_oauth_openshift_io_v1_collection_o_auth_client_authorization(pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) +# **delete_collection_o_auth_client_authorization** +> V1Status delete_collection_o_auth_client_authorization(pretty=pretty, field_selector=field_selector, include_uninitialized=include_uninitialized, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) @@ -417,20 +486,30 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.OauthOpenshiftIoV1Api() pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) +include_uninitialized = true # bool | If true, partially initialized resources are included in the response. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. (optional) +resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) timeout_seconds = 56 # int | Timeout for the list/watch call. (optional) watch = true # bool | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) try: - api_response = api_instance.delete_oauth_openshift_io_v1_collection_o_auth_client_authorization(pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) + api_response = api_instance.delete_collection_o_auth_client_authorization(pretty=pretty, field_selector=field_selector, include_uninitialized=include_uninitialized, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) pprint(api_response) except ApiException as e: - print("Exception when calling OauthOpenshiftIoV1Api->delete_oauth_openshift_io_v1_collection_o_auth_client_authorization: %s\n" % e) + print("Exception when calling OauthOpenshiftIoV1Api->delete_collection_o_auth_client_authorization: %s\n" % e) ``` ### Parameters @@ -439,18 +518,19 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] + **include_uninitialized** | **bool**| If true, partially initialized resources are included in the response. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. | [optional] + **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] **timeout_seconds** | **int**| Timeout for the list/watch call. | [optional] **watch** | **bool**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] ### Return type -[**UnversionedStatus**](UnversionedStatus.md) +[**V1Status**](V1Status.md) ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -459,8 +539,8 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **delete_oauth_openshift_io_v1_o_auth_access_token** -> UnversionedStatus delete_oauth_openshift_io_v1_o_auth_access_token(name, body, pretty=pretty, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents) +# **delete_o_auth_access_token** +> V1Status delete_o_auth_access_token(name, body, pretty=pretty, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) @@ -474,19 +554,29 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.OauthOpenshiftIoV1Api() name = 'name_example' # str | name of the OAuthAccessToken body = openshift.client.V1DeleteOptions() # V1DeleteOptions | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) grace_period_seconds = 56 # int | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) -orphan_dependents = true # bool | Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. (optional) +orphan_dependents = true # bool | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) +propagation_policy = 'propagation_policy_example' # str | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. (optional) try: - api_response = api_instance.delete_oauth_openshift_io_v1_o_auth_access_token(name, body, pretty=pretty, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents) + api_response = api_instance.delete_o_auth_access_token(name, body, pretty=pretty, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) pprint(api_response) except ApiException as e: - print("Exception when calling OauthOpenshiftIoV1Api->delete_oauth_openshift_io_v1_o_auth_access_token: %s\n" % e) + print("Exception when calling OauthOpenshiftIoV1Api->delete_o_auth_access_token: %s\n" % e) ``` ### Parameters @@ -497,15 +587,16 @@ Name | Type | Description | Notes **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | **pretty** | **str**| If 'true', then the output is pretty printed. | [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] - **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] + **orphan_dependents** | **bool**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional] + **propagation_policy** | **str**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. | [optional] ### Return type -[**UnversionedStatus**](UnversionedStatus.md) +[**V1Status**](V1Status.md) ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -514,8 +605,8 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **delete_oauth_openshift_io_v1_o_auth_authorize_token** -> UnversionedStatus delete_oauth_openshift_io_v1_o_auth_authorize_token(name, body, pretty=pretty, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents) +# **delete_o_auth_authorize_token** +> V1Status delete_o_auth_authorize_token(name, body, pretty=pretty, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) @@ -529,19 +620,29 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.OauthOpenshiftIoV1Api() name = 'name_example' # str | name of the OAuthAuthorizeToken body = openshift.client.V1DeleteOptions() # V1DeleteOptions | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) grace_period_seconds = 56 # int | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) -orphan_dependents = true # bool | Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. (optional) +orphan_dependents = true # bool | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) +propagation_policy = 'propagation_policy_example' # str | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. (optional) try: - api_response = api_instance.delete_oauth_openshift_io_v1_o_auth_authorize_token(name, body, pretty=pretty, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents) + api_response = api_instance.delete_o_auth_authorize_token(name, body, pretty=pretty, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) pprint(api_response) except ApiException as e: - print("Exception when calling OauthOpenshiftIoV1Api->delete_oauth_openshift_io_v1_o_auth_authorize_token: %s\n" % e) + print("Exception when calling OauthOpenshiftIoV1Api->delete_o_auth_authorize_token: %s\n" % e) ``` ### Parameters @@ -552,15 +653,16 @@ Name | Type | Description | Notes **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | **pretty** | **str**| If 'true', then the output is pretty printed. | [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] - **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] + **orphan_dependents** | **bool**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional] + **propagation_policy** | **str**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. | [optional] ### Return type -[**UnversionedStatus**](UnversionedStatus.md) +[**V1Status**](V1Status.md) ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -569,8 +671,8 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **delete_oauth_openshift_io_v1_o_auth_client** -> UnversionedStatus delete_oauth_openshift_io_v1_o_auth_client(name, body, pretty=pretty, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents) +# **delete_o_auth_client** +> V1Status delete_o_auth_client(name, body, pretty=pretty, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) @@ -584,19 +686,29 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.OauthOpenshiftIoV1Api() name = 'name_example' # str | name of the OAuthClient body = openshift.client.V1DeleteOptions() # V1DeleteOptions | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) grace_period_seconds = 56 # int | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) -orphan_dependents = true # bool | Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. (optional) +orphan_dependents = true # bool | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) +propagation_policy = 'propagation_policy_example' # str | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. (optional) try: - api_response = api_instance.delete_oauth_openshift_io_v1_o_auth_client(name, body, pretty=pretty, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents) + api_response = api_instance.delete_o_auth_client(name, body, pretty=pretty, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) pprint(api_response) except ApiException as e: - print("Exception when calling OauthOpenshiftIoV1Api->delete_oauth_openshift_io_v1_o_auth_client: %s\n" % e) + print("Exception when calling OauthOpenshiftIoV1Api->delete_o_auth_client: %s\n" % e) ``` ### Parameters @@ -607,15 +719,16 @@ Name | Type | Description | Notes **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | **pretty** | **str**| If 'true', then the output is pretty printed. | [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] - **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] + **orphan_dependents** | **bool**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional] + **propagation_policy** | **str**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. | [optional] ### Return type -[**UnversionedStatus**](UnversionedStatus.md) +[**V1Status**](V1Status.md) ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -624,8 +737,8 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **delete_oauth_openshift_io_v1_o_auth_client_authorization** -> UnversionedStatus delete_oauth_openshift_io_v1_o_auth_client_authorization(name, body, pretty=pretty, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents) +# **delete_o_auth_client_authorization** +> V1Status delete_o_auth_client_authorization(name, body, pretty=pretty, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) @@ -639,19 +752,29 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.OauthOpenshiftIoV1Api() name = 'name_example' # str | name of the OAuthClientAuthorization body = openshift.client.V1DeleteOptions() # V1DeleteOptions | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) grace_period_seconds = 56 # int | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) -orphan_dependents = true # bool | Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. (optional) +orphan_dependents = true # bool | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) +propagation_policy = 'propagation_policy_example' # str | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. (optional) try: - api_response = api_instance.delete_oauth_openshift_io_v1_o_auth_client_authorization(name, body, pretty=pretty, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents) + api_response = api_instance.delete_o_auth_client_authorization(name, body, pretty=pretty, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) pprint(api_response) except ApiException as e: - print("Exception when calling OauthOpenshiftIoV1Api->delete_oauth_openshift_io_v1_o_auth_client_authorization: %s\n" % e) + print("Exception when calling OauthOpenshiftIoV1Api->delete_o_auth_client_authorization: %s\n" % e) ``` ### Parameters @@ -662,15 +785,16 @@ Name | Type | Description | Notes **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | **pretty** | **str**| If 'true', then the output is pretty printed. | [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] - **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] + **orphan_dependents** | **bool**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional] + **propagation_policy** | **str**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. | [optional] ### Return type -[**UnversionedStatus**](UnversionedStatus.md) +[**V1Status**](V1Status.md) ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -679,8 +803,8 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **get_oauth_openshift_io_v1_api_resources** -> UnversionedAPIResourceList get_oauth_openshift_io_v1_api_resources() +# **get_api_resources** +> V1APIResourceList get_api_resources() @@ -694,14 +818,23 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.OauthOpenshiftIoV1Api() try: - api_response = api_instance.get_oauth_openshift_io_v1_api_resources() + api_response = api_instance.get_api_resources() pprint(api_response) except ApiException as e: - print("Exception when calling OauthOpenshiftIoV1Api->get_oauth_openshift_io_v1_api_resources: %s\n" % e) + print("Exception when calling OauthOpenshiftIoV1Api->get_api_resources: %s\n" % e) ``` ### Parameters @@ -709,11 +842,11 @@ This endpoint does not need any parameter. ### Return type -[**UnversionedAPIResourceList**](UnversionedAPIResourceList.md) +[**V1APIResourceList**](V1APIResourceList.md) ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -722,8 +855,8 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **list_oauth_openshift_io_v1_o_auth_access_token** -> V1OAuthAccessTokenList list_oauth_openshift_io_v1_o_auth_access_token(pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) +# **list_o_auth_access_token** +> V1OAuthAccessTokenList list_o_auth_access_token(pretty=pretty, field_selector=field_selector, include_uninitialized=include_uninitialized, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) @@ -737,20 +870,30 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.OauthOpenshiftIoV1Api() pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) +include_uninitialized = true # bool | If true, partially initialized resources are included in the response. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. (optional) +resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) timeout_seconds = 56 # int | Timeout for the list/watch call. (optional) watch = true # bool | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) try: - api_response = api_instance.list_oauth_openshift_io_v1_o_auth_access_token(pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) + api_response = api_instance.list_o_auth_access_token(pretty=pretty, field_selector=field_selector, include_uninitialized=include_uninitialized, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) pprint(api_response) except ApiException as e: - print("Exception when calling OauthOpenshiftIoV1Api->list_oauth_openshift_io_v1_o_auth_access_token: %s\n" % e) + print("Exception when calling OauthOpenshiftIoV1Api->list_o_auth_access_token: %s\n" % e) ``` ### Parameters @@ -759,8 +902,9 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] + **include_uninitialized** | **bool**| If true, partially initialized resources are included in the response. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. | [optional] + **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] **timeout_seconds** | **int**| Timeout for the list/watch call. | [optional] **watch** | **bool**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] @@ -770,7 +914,7 @@ Name | Type | Description | Notes ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -779,8 +923,8 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **list_oauth_openshift_io_v1_o_auth_authorize_token** -> V1OAuthAuthorizeTokenList list_oauth_openshift_io_v1_o_auth_authorize_token(pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) +# **list_o_auth_authorize_token** +> V1OAuthAuthorizeTokenList list_o_auth_authorize_token(pretty=pretty, field_selector=field_selector, include_uninitialized=include_uninitialized, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) @@ -794,20 +938,30 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.OauthOpenshiftIoV1Api() pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) +include_uninitialized = true # bool | If true, partially initialized resources are included in the response. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. (optional) +resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) timeout_seconds = 56 # int | Timeout for the list/watch call. (optional) watch = true # bool | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) try: - api_response = api_instance.list_oauth_openshift_io_v1_o_auth_authorize_token(pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) + api_response = api_instance.list_o_auth_authorize_token(pretty=pretty, field_selector=field_selector, include_uninitialized=include_uninitialized, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) pprint(api_response) except ApiException as e: - print("Exception when calling OauthOpenshiftIoV1Api->list_oauth_openshift_io_v1_o_auth_authorize_token: %s\n" % e) + print("Exception when calling OauthOpenshiftIoV1Api->list_o_auth_authorize_token: %s\n" % e) ``` ### Parameters @@ -816,8 +970,9 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] + **include_uninitialized** | **bool**| If true, partially initialized resources are included in the response. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. | [optional] + **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] **timeout_seconds** | **int**| Timeout for the list/watch call. | [optional] **watch** | **bool**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] @@ -827,7 +982,7 @@ Name | Type | Description | Notes ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -836,8 +991,8 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **list_oauth_openshift_io_v1_o_auth_client** -> V1OAuthClientList list_oauth_openshift_io_v1_o_auth_client(pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) +# **list_o_auth_client** +> V1OAuthClientList list_o_auth_client(pretty=pretty, field_selector=field_selector, include_uninitialized=include_uninitialized, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) @@ -851,20 +1006,30 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.OauthOpenshiftIoV1Api() pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) +include_uninitialized = true # bool | If true, partially initialized resources are included in the response. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. (optional) +resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) timeout_seconds = 56 # int | Timeout for the list/watch call. (optional) watch = true # bool | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) try: - api_response = api_instance.list_oauth_openshift_io_v1_o_auth_client(pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) + api_response = api_instance.list_o_auth_client(pretty=pretty, field_selector=field_selector, include_uninitialized=include_uninitialized, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) pprint(api_response) except ApiException as e: - print("Exception when calling OauthOpenshiftIoV1Api->list_oauth_openshift_io_v1_o_auth_client: %s\n" % e) + print("Exception when calling OauthOpenshiftIoV1Api->list_o_auth_client: %s\n" % e) ``` ### Parameters @@ -873,8 +1038,9 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] + **include_uninitialized** | **bool**| If true, partially initialized resources are included in the response. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. | [optional] + **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] **timeout_seconds** | **int**| Timeout for the list/watch call. | [optional] **watch** | **bool**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] @@ -884,7 +1050,7 @@ Name | Type | Description | Notes ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -893,8 +1059,8 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **list_oauth_openshift_io_v1_o_auth_client_authorization** -> V1OAuthClientAuthorizationList list_oauth_openshift_io_v1_o_auth_client_authorization(pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) +# **list_o_auth_client_authorization** +> V1OAuthClientAuthorizationList list_o_auth_client_authorization(pretty=pretty, field_selector=field_selector, include_uninitialized=include_uninitialized, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) @@ -908,20 +1074,30 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.OauthOpenshiftIoV1Api() pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) +include_uninitialized = true # bool | If true, partially initialized resources are included in the response. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. (optional) +resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) timeout_seconds = 56 # int | Timeout for the list/watch call. (optional) watch = true # bool | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) try: - api_response = api_instance.list_oauth_openshift_io_v1_o_auth_client_authorization(pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) + api_response = api_instance.list_o_auth_client_authorization(pretty=pretty, field_selector=field_selector, include_uninitialized=include_uninitialized, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) pprint(api_response) except ApiException as e: - print("Exception when calling OauthOpenshiftIoV1Api->list_oauth_openshift_io_v1_o_auth_client_authorization: %s\n" % e) + print("Exception when calling OauthOpenshiftIoV1Api->list_o_auth_client_authorization: %s\n" % e) ``` ### Parameters @@ -930,8 +1106,9 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] + **include_uninitialized** | **bool**| If true, partially initialized resources are included in the response. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. | [optional] + **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] **timeout_seconds** | **int**| Timeout for the list/watch call. | [optional] **watch** | **bool**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] @@ -941,7 +1118,7 @@ Name | Type | Description | Notes ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -950,8 +1127,8 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **patch_oauth_openshift_io_v1_o_auth_access_token** -> V1OAuthAccessToken patch_oauth_openshift_io_v1_o_auth_access_token(name, body, pretty=pretty) +# **patch_o_auth_access_token** +> V1OAuthAccessToken patch_o_auth_access_token(name, body, pretty=pretty) @@ -965,17 +1142,26 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.OauthOpenshiftIoV1Api() name = 'name_example' # str | name of the OAuthAccessToken -body = openshift.client.UnversionedPatch() # UnversionedPatch | +body = NULL # object | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) try: - api_response = api_instance.patch_oauth_openshift_io_v1_o_auth_access_token(name, body, pretty=pretty) + api_response = api_instance.patch_o_auth_access_token(name, body, pretty=pretty) pprint(api_response) except ApiException as e: - print("Exception when calling OauthOpenshiftIoV1Api->patch_oauth_openshift_io_v1_o_auth_access_token: %s\n" % e) + print("Exception when calling OauthOpenshiftIoV1Api->patch_o_auth_access_token: %s\n" % e) ``` ### Parameters @@ -983,7 +1169,7 @@ except ApiException as e: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **name** | **str**| name of the OAuthAccessToken | - **body** | [**UnversionedPatch**](UnversionedPatch.md)| | + **body** | **object**| | **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] ### Return type @@ -992,7 +1178,7 @@ Name | Type | Description | Notes ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -1001,8 +1187,8 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **patch_oauth_openshift_io_v1_o_auth_authorize_token** -> V1OAuthAuthorizeToken patch_oauth_openshift_io_v1_o_auth_authorize_token(name, body, pretty=pretty) +# **patch_o_auth_authorize_token** +> V1OAuthAuthorizeToken patch_o_auth_authorize_token(name, body, pretty=pretty) @@ -1016,17 +1202,26 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.OauthOpenshiftIoV1Api() name = 'name_example' # str | name of the OAuthAuthorizeToken -body = openshift.client.UnversionedPatch() # UnversionedPatch | +body = NULL # object | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) try: - api_response = api_instance.patch_oauth_openshift_io_v1_o_auth_authorize_token(name, body, pretty=pretty) + api_response = api_instance.patch_o_auth_authorize_token(name, body, pretty=pretty) pprint(api_response) except ApiException as e: - print("Exception when calling OauthOpenshiftIoV1Api->patch_oauth_openshift_io_v1_o_auth_authorize_token: %s\n" % e) + print("Exception when calling OauthOpenshiftIoV1Api->patch_o_auth_authorize_token: %s\n" % e) ``` ### Parameters @@ -1034,7 +1229,7 @@ except ApiException as e: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **name** | **str**| name of the OAuthAuthorizeToken | - **body** | [**UnversionedPatch**](UnversionedPatch.md)| | + **body** | **object**| | **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] ### Return type @@ -1043,7 +1238,7 @@ Name | Type | Description | Notes ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -1052,8 +1247,8 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **patch_oauth_openshift_io_v1_o_auth_client** -> V1OAuthClient patch_oauth_openshift_io_v1_o_auth_client(name, body, pretty=pretty) +# **patch_o_auth_client** +> V1OAuthClient patch_o_auth_client(name, body, pretty=pretty) @@ -1067,17 +1262,26 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.OauthOpenshiftIoV1Api() name = 'name_example' # str | name of the OAuthClient -body = openshift.client.UnversionedPatch() # UnversionedPatch | +body = NULL # object | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) try: - api_response = api_instance.patch_oauth_openshift_io_v1_o_auth_client(name, body, pretty=pretty) + api_response = api_instance.patch_o_auth_client(name, body, pretty=pretty) pprint(api_response) except ApiException as e: - print("Exception when calling OauthOpenshiftIoV1Api->patch_oauth_openshift_io_v1_o_auth_client: %s\n" % e) + print("Exception when calling OauthOpenshiftIoV1Api->patch_o_auth_client: %s\n" % e) ``` ### Parameters @@ -1085,7 +1289,7 @@ except ApiException as e: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **name** | **str**| name of the OAuthClient | - **body** | [**UnversionedPatch**](UnversionedPatch.md)| | + **body** | **object**| | **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] ### Return type @@ -1094,7 +1298,7 @@ Name | Type | Description | Notes ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -1103,8 +1307,8 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **patch_oauth_openshift_io_v1_o_auth_client_authorization** -> V1OAuthClientAuthorization patch_oauth_openshift_io_v1_o_auth_client_authorization(name, body, pretty=pretty) +# **patch_o_auth_client_authorization** +> V1OAuthClientAuthorization patch_o_auth_client_authorization(name, body, pretty=pretty) @@ -1118,17 +1322,26 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.OauthOpenshiftIoV1Api() name = 'name_example' # str | name of the OAuthClientAuthorization -body = openshift.client.UnversionedPatch() # UnversionedPatch | +body = NULL # object | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) try: - api_response = api_instance.patch_oauth_openshift_io_v1_o_auth_client_authorization(name, body, pretty=pretty) + api_response = api_instance.patch_o_auth_client_authorization(name, body, pretty=pretty) pprint(api_response) except ApiException as e: - print("Exception when calling OauthOpenshiftIoV1Api->patch_oauth_openshift_io_v1_o_auth_client_authorization: %s\n" % e) + print("Exception when calling OauthOpenshiftIoV1Api->patch_o_auth_client_authorization: %s\n" % e) ``` ### Parameters @@ -1136,7 +1349,7 @@ except ApiException as e: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **name** | **str**| name of the OAuthClientAuthorization | - **body** | [**UnversionedPatch**](UnversionedPatch.md)| | + **body** | **object**| | **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] ### Return type @@ -1145,7 +1358,7 @@ Name | Type | Description | Notes ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -1154,8 +1367,8 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **read_oauth_openshift_io_v1_o_auth_access_token** -> V1OAuthAccessToken read_oauth_openshift_io_v1_o_auth_access_token(name, pretty=pretty, exact=exact, export=export) +# **read_o_auth_access_token** +> V1OAuthAccessToken read_o_auth_access_token(name, pretty=pretty, exact=exact, export=export) @@ -1169,18 +1382,27 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.OauthOpenshiftIoV1Api() name = 'name_example' # str | name of the OAuthAccessToken pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) -exact = true # bool | Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace' (optional) +exact = true # bool | Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. (optional) export = true # bool | Should this value be exported. Export strips fields that a user can not specify. (optional) try: - api_response = api_instance.read_oauth_openshift_io_v1_o_auth_access_token(name, pretty=pretty, exact=exact, export=export) + api_response = api_instance.read_o_auth_access_token(name, pretty=pretty, exact=exact, export=export) pprint(api_response) except ApiException as e: - print("Exception when calling OauthOpenshiftIoV1Api->read_oauth_openshift_io_v1_o_auth_access_token: %s\n" % e) + print("Exception when calling OauthOpenshiftIoV1Api->read_o_auth_access_token: %s\n" % e) ``` ### Parameters @@ -1189,7 +1411,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **name** | **str**| name of the OAuthAccessToken | **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - **exact** | **bool**| Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace' | [optional] + **exact** | **bool**| Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. | [optional] **export** | **bool**| Should this value be exported. Export strips fields that a user can not specify. | [optional] ### Return type @@ -1198,7 +1420,7 @@ Name | Type | Description | Notes ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -1207,8 +1429,8 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **read_oauth_openshift_io_v1_o_auth_authorize_token** -> V1OAuthAuthorizeToken read_oauth_openshift_io_v1_o_auth_authorize_token(name, pretty=pretty, exact=exact, export=export) +# **read_o_auth_authorize_token** +> V1OAuthAuthorizeToken read_o_auth_authorize_token(name, pretty=pretty, exact=exact, export=export) @@ -1222,18 +1444,27 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.OauthOpenshiftIoV1Api() name = 'name_example' # str | name of the OAuthAuthorizeToken pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) -exact = true # bool | Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace' (optional) +exact = true # bool | Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. (optional) export = true # bool | Should this value be exported. Export strips fields that a user can not specify. (optional) try: - api_response = api_instance.read_oauth_openshift_io_v1_o_auth_authorize_token(name, pretty=pretty, exact=exact, export=export) + api_response = api_instance.read_o_auth_authorize_token(name, pretty=pretty, exact=exact, export=export) pprint(api_response) except ApiException as e: - print("Exception when calling OauthOpenshiftIoV1Api->read_oauth_openshift_io_v1_o_auth_authorize_token: %s\n" % e) + print("Exception when calling OauthOpenshiftIoV1Api->read_o_auth_authorize_token: %s\n" % e) ``` ### Parameters @@ -1242,7 +1473,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **name** | **str**| name of the OAuthAuthorizeToken | **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - **exact** | **bool**| Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace' | [optional] + **exact** | **bool**| Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. | [optional] **export** | **bool**| Should this value be exported. Export strips fields that a user can not specify. | [optional] ### Return type @@ -1251,7 +1482,7 @@ Name | Type | Description | Notes ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -1260,8 +1491,8 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **read_oauth_openshift_io_v1_o_auth_client** -> V1OAuthClient read_oauth_openshift_io_v1_o_auth_client(name, pretty=pretty, exact=exact, export=export) +# **read_o_auth_client** +> V1OAuthClient read_o_auth_client(name, pretty=pretty, exact=exact, export=export) @@ -1275,18 +1506,27 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.OauthOpenshiftIoV1Api() name = 'name_example' # str | name of the OAuthClient pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) -exact = true # bool | Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace' (optional) +exact = true # bool | Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. (optional) export = true # bool | Should this value be exported. Export strips fields that a user can not specify. (optional) try: - api_response = api_instance.read_oauth_openshift_io_v1_o_auth_client(name, pretty=pretty, exact=exact, export=export) + api_response = api_instance.read_o_auth_client(name, pretty=pretty, exact=exact, export=export) pprint(api_response) except ApiException as e: - print("Exception when calling OauthOpenshiftIoV1Api->read_oauth_openshift_io_v1_o_auth_client: %s\n" % e) + print("Exception when calling OauthOpenshiftIoV1Api->read_o_auth_client: %s\n" % e) ``` ### Parameters @@ -1295,7 +1535,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **name** | **str**| name of the OAuthClient | **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - **exact** | **bool**| Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace' | [optional] + **exact** | **bool**| Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. | [optional] **export** | **bool**| Should this value be exported. Export strips fields that a user can not specify. | [optional] ### Return type @@ -1304,7 +1544,7 @@ Name | Type | Description | Notes ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -1313,8 +1553,8 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **read_oauth_openshift_io_v1_o_auth_client_authorization** -> V1OAuthClientAuthorization read_oauth_openshift_io_v1_o_auth_client_authorization(name, pretty=pretty, exact=exact, export=export) +# **read_o_auth_client_authorization** +> V1OAuthClientAuthorization read_o_auth_client_authorization(name, pretty=pretty, exact=exact, export=export) @@ -1328,18 +1568,27 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.OauthOpenshiftIoV1Api() name = 'name_example' # str | name of the OAuthClientAuthorization pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) -exact = true # bool | Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace' (optional) +exact = true # bool | Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. (optional) export = true # bool | Should this value be exported. Export strips fields that a user can not specify. (optional) try: - api_response = api_instance.read_oauth_openshift_io_v1_o_auth_client_authorization(name, pretty=pretty, exact=exact, export=export) + api_response = api_instance.read_o_auth_client_authorization(name, pretty=pretty, exact=exact, export=export) pprint(api_response) except ApiException as e: - print("Exception when calling OauthOpenshiftIoV1Api->read_oauth_openshift_io_v1_o_auth_client_authorization: %s\n" % e) + print("Exception when calling OauthOpenshiftIoV1Api->read_o_auth_client_authorization: %s\n" % e) ``` ### Parameters @@ -1348,7 +1597,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **name** | **str**| name of the OAuthClientAuthorization | **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - **exact** | **bool**| Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace' | [optional] + **exact** | **bool**| Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. | [optional] **export** | **bool**| Should this value be exported. Export strips fields that a user can not specify. | [optional] ### Return type @@ -1357,7 +1606,7 @@ Name | Type | Description | Notes ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -1366,8 +1615,8 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **replace_oauth_openshift_io_v1_o_auth_access_token** -> V1OAuthAccessToken replace_oauth_openshift_io_v1_o_auth_access_token(name, body, pretty=pretty) +# **replace_o_auth_access_token** +> V1OAuthAccessToken replace_o_auth_access_token(name, body, pretty=pretty) @@ -1381,6 +1630,15 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.OauthOpenshiftIoV1Api() name = 'name_example' # str | name of the OAuthAccessToken @@ -1388,10 +1646,10 @@ body = openshift.client.V1OAuthAccessToken() # V1OAuthAccessToken | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) try: - api_response = api_instance.replace_oauth_openshift_io_v1_o_auth_access_token(name, body, pretty=pretty) + api_response = api_instance.replace_o_auth_access_token(name, body, pretty=pretty) pprint(api_response) except ApiException as e: - print("Exception when calling OauthOpenshiftIoV1Api->replace_oauth_openshift_io_v1_o_auth_access_token: %s\n" % e) + print("Exception when calling OauthOpenshiftIoV1Api->replace_o_auth_access_token: %s\n" % e) ``` ### Parameters @@ -1408,7 +1666,7 @@ Name | Type | Description | Notes ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -1417,8 +1675,8 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **replace_oauth_openshift_io_v1_o_auth_authorize_token** -> V1OAuthAuthorizeToken replace_oauth_openshift_io_v1_o_auth_authorize_token(name, body, pretty=pretty) +# **replace_o_auth_authorize_token** +> V1OAuthAuthorizeToken replace_o_auth_authorize_token(name, body, pretty=pretty) @@ -1432,6 +1690,15 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.OauthOpenshiftIoV1Api() name = 'name_example' # str | name of the OAuthAuthorizeToken @@ -1439,10 +1706,10 @@ body = openshift.client.V1OAuthAuthorizeToken() # V1OAuthAuthorizeToken | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) try: - api_response = api_instance.replace_oauth_openshift_io_v1_o_auth_authorize_token(name, body, pretty=pretty) + api_response = api_instance.replace_o_auth_authorize_token(name, body, pretty=pretty) pprint(api_response) except ApiException as e: - print("Exception when calling OauthOpenshiftIoV1Api->replace_oauth_openshift_io_v1_o_auth_authorize_token: %s\n" % e) + print("Exception when calling OauthOpenshiftIoV1Api->replace_o_auth_authorize_token: %s\n" % e) ``` ### Parameters @@ -1459,7 +1726,7 @@ Name | Type | Description | Notes ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -1468,8 +1735,8 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **replace_oauth_openshift_io_v1_o_auth_client** -> V1OAuthClient replace_oauth_openshift_io_v1_o_auth_client(name, body, pretty=pretty) +# **replace_o_auth_client** +> V1OAuthClient replace_o_auth_client(name, body, pretty=pretty) @@ -1483,6 +1750,15 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.OauthOpenshiftIoV1Api() name = 'name_example' # str | name of the OAuthClient @@ -1490,10 +1766,10 @@ body = openshift.client.V1OAuthClient() # V1OAuthClient | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) try: - api_response = api_instance.replace_oauth_openshift_io_v1_o_auth_client(name, body, pretty=pretty) + api_response = api_instance.replace_o_auth_client(name, body, pretty=pretty) pprint(api_response) except ApiException as e: - print("Exception when calling OauthOpenshiftIoV1Api->replace_oauth_openshift_io_v1_o_auth_client: %s\n" % e) + print("Exception when calling OauthOpenshiftIoV1Api->replace_o_auth_client: %s\n" % e) ``` ### Parameters @@ -1510,7 +1786,7 @@ Name | Type | Description | Notes ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -1519,8 +1795,8 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **replace_oauth_openshift_io_v1_o_auth_client_authorization** -> V1OAuthClientAuthorization replace_oauth_openshift_io_v1_o_auth_client_authorization(name, body, pretty=pretty) +# **replace_o_auth_client_authorization** +> V1OAuthClientAuthorization replace_o_auth_client_authorization(name, body, pretty=pretty) @@ -1534,6 +1810,15 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.OauthOpenshiftIoV1Api() name = 'name_example' # str | name of the OAuthClientAuthorization @@ -1541,10 +1826,10 @@ body = openshift.client.V1OAuthClientAuthorization() # V1OAuthClientAuthorizatio pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) try: - api_response = api_instance.replace_oauth_openshift_io_v1_o_auth_client_authorization(name, body, pretty=pretty) + api_response = api_instance.replace_o_auth_client_authorization(name, body, pretty=pretty) pprint(api_response) except ApiException as e: - print("Exception when calling OauthOpenshiftIoV1Api->replace_oauth_openshift_io_v1_o_auth_client_authorization: %s\n" % e) + print("Exception when calling OauthOpenshiftIoV1Api->replace_o_auth_client_authorization: %s\n" % e) ``` ### Parameters @@ -1561,7 +1846,7 @@ Name | Type | Description | Notes ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers diff --git a/openshift/docs/OsapiApi.md b/openshift/docs/OsapiApi.md deleted file mode 100644 index e41c0d2f..00000000 --- a/openshift/docs/OsapiApi.md +++ /dev/null @@ -1,51 +0,0 @@ -# openshift.client.OsapiApi - -All URIs are relative to *https://localhost* - -Method | HTTP request | Description -------------- | ------------- | ------------- -[**get_osapi_version**](OsapiApi.md#get_osapi_version) | **GET** /osapi/ | - - -# **get_osapi_version** -> get_osapi_version() - - - -list supported server API versions - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.OsapiApi() - -try: - api_instance.get_osapi_version() -except ApiException as e: - print("Exception when calling OsapiApi->get_osapi_version: %s\n" % e) -``` - -### Parameters -This endpoint does not need any parameter. - -### Return type - -void (empty response body) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - diff --git a/openshift/docs/PolicyApi.md b/openshift/docs/PolicyApi.md deleted file mode 100644 index ed1b19be..00000000 --- a/openshift/docs/PolicyApi.md +++ /dev/null @@ -1,52 +0,0 @@ -# openshift.client.PolicyApi - -All URIs are relative to *https://localhost* - -Method | HTTP request | Description -------------- | ------------- | ------------- -[**get_policy_api_group**](PolicyApi.md#get_policy_api_group) | **GET** /apis/policy/ | - - -# **get_policy_api_group** -> UnversionedAPIGroup get_policy_api_group() - - - -get information of a group - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.PolicyApi() - -try: - api_response = api_instance.get_policy_api_group() - pprint(api_response) -except ApiException as e: - print("Exception when calling PolicyApi->get_policy_api_group: %s\n" % e) -``` - -### Parameters -This endpoint does not need any parameter. - -### Return type - -[**UnversionedAPIGroup**](UnversionedAPIGroup.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: application/json, application/yaml, application/vnd.kubernetes.protobuf - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - diff --git a/openshift/docs/PolicyV1beta1Api.md b/openshift/docs/PolicyV1beta1Api.md deleted file mode 100644 index 400c33a2..00000000 --- a/openshift/docs/PolicyV1beta1Api.md +++ /dev/null @@ -1,714 +0,0 @@ -# openshift.client.PolicyV1beta1Api - -All URIs are relative to *https://localhost* - -Method | HTTP request | Description -------------- | ------------- | ------------- -[**create_namespaced_pod_disruption_budget**](PolicyV1beta1Api.md#create_namespaced_pod_disruption_budget) | **POST** /apis/policy/v1beta1/namespaces/{namespace}/poddisruptionbudgets | -[**create_pod_disruption_budget_for_all_namespaces**](PolicyV1beta1Api.md#create_pod_disruption_budget_for_all_namespaces) | **POST** /apis/policy/v1beta1/poddisruptionbudgets | -[**delete_collection_namespaced_pod_disruption_budget**](PolicyV1beta1Api.md#delete_collection_namespaced_pod_disruption_budget) | **DELETE** /apis/policy/v1beta1/namespaces/{namespace}/poddisruptionbudgets | -[**delete_namespaced_pod_disruption_budget**](PolicyV1beta1Api.md#delete_namespaced_pod_disruption_budget) | **DELETE** /apis/policy/v1beta1/namespaces/{namespace}/poddisruptionbudgets/{name} | -[**get_api_resources**](PolicyV1beta1Api.md#get_api_resources) | **GET** /apis/policy/v1beta1/ | -[**list_namespaced_pod_disruption_budget**](PolicyV1beta1Api.md#list_namespaced_pod_disruption_budget) | **GET** /apis/policy/v1beta1/namespaces/{namespace}/poddisruptionbudgets | -[**list_pod_disruption_budget_for_all_namespaces**](PolicyV1beta1Api.md#list_pod_disruption_budget_for_all_namespaces) | **GET** /apis/policy/v1beta1/poddisruptionbudgets | -[**patch_namespaced_pod_disruption_budget**](PolicyV1beta1Api.md#patch_namespaced_pod_disruption_budget) | **PATCH** /apis/policy/v1beta1/namespaces/{namespace}/poddisruptionbudgets/{name} | -[**patch_namespaced_pod_disruption_budget_status**](PolicyV1beta1Api.md#patch_namespaced_pod_disruption_budget_status) | **PATCH** /apis/policy/v1beta1/namespaces/{namespace}/poddisruptionbudgets/{name}/status | -[**read_namespaced_pod_disruption_budget**](PolicyV1beta1Api.md#read_namespaced_pod_disruption_budget) | **GET** /apis/policy/v1beta1/namespaces/{namespace}/poddisruptionbudgets/{name} | -[**read_namespaced_pod_disruption_budget_status**](PolicyV1beta1Api.md#read_namespaced_pod_disruption_budget_status) | **GET** /apis/policy/v1beta1/namespaces/{namespace}/poddisruptionbudgets/{name}/status | -[**replace_namespaced_pod_disruption_budget**](PolicyV1beta1Api.md#replace_namespaced_pod_disruption_budget) | **PUT** /apis/policy/v1beta1/namespaces/{namespace}/poddisruptionbudgets/{name} | -[**replace_namespaced_pod_disruption_budget_status**](PolicyV1beta1Api.md#replace_namespaced_pod_disruption_budget_status) | **PUT** /apis/policy/v1beta1/namespaces/{namespace}/poddisruptionbudgets/{name}/status | - - -# **create_namespaced_pod_disruption_budget** -> V1beta1PodDisruptionBudget create_namespaced_pod_disruption_budget(namespace, body, pretty=pretty) - - - -create a PodDisruptionBudget - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.PolicyV1beta1Api() -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = openshift.client.V1beta1PodDisruptionBudget() # V1beta1PodDisruptionBudget | -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) - -try: - api_response = api_instance.create_namespaced_pod_disruption_budget(namespace, body, pretty=pretty) - pprint(api_response) -except ApiException as e: - print("Exception when calling PolicyV1beta1Api->create_namespaced_pod_disruption_budget: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **namespace** | **str**| object name and auth scope, such as for teams and projects | - **body** | [**V1beta1PodDisruptionBudget**](V1beta1PodDisruptionBudget.md)| | - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - -### Return type - -[**V1beta1PodDisruptionBudget**](V1beta1PodDisruptionBudget.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **create_pod_disruption_budget_for_all_namespaces** -> V1beta1PodDisruptionBudget create_pod_disruption_budget_for_all_namespaces(body, pretty=pretty) - - - -create a PodDisruptionBudget - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.PolicyV1beta1Api() -body = openshift.client.V1beta1PodDisruptionBudget() # V1beta1PodDisruptionBudget | -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) - -try: - api_response = api_instance.create_pod_disruption_budget_for_all_namespaces(body, pretty=pretty) - pprint(api_response) -except ApiException as e: - print("Exception when calling PolicyV1beta1Api->create_pod_disruption_budget_for_all_namespaces: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **body** | [**V1beta1PodDisruptionBudget**](V1beta1PodDisruptionBudget.md)| | - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - -### Return type - -[**V1beta1PodDisruptionBudget**](V1beta1PodDisruptionBudget.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **delete_collection_namespaced_pod_disruption_budget** -> UnversionedStatus delete_collection_namespaced_pod_disruption_budget(namespace, pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) - - - -delete collection of PodDisruptionBudget - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.PolicyV1beta1Api() -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) -field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) -label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. (optional) -timeout_seconds = 56 # int | Timeout for the list/watch call. (optional) -watch = true # bool | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) - -try: - api_response = api_instance.delete_collection_namespaced_pod_disruption_budget(namespace, pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) - pprint(api_response) -except ApiException as e: - print("Exception when calling PolicyV1beta1Api->delete_collection_namespaced_pod_disruption_budget: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **namespace** | **str**| object name and auth scope, such as for teams and projects | - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] - **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. | [optional] - **timeout_seconds** | **int**| Timeout for the list/watch call. | [optional] - **watch** | **bool**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] - -### Return type - -[**UnversionedStatus**](UnversionedStatus.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **delete_namespaced_pod_disruption_budget** -> UnversionedStatus delete_namespaced_pod_disruption_budget(name, namespace, body, pretty=pretty, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents) - - - -delete a PodDisruptionBudget - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.PolicyV1beta1Api() -name = 'name_example' # str | name of the PodDisruptionBudget -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = openshift.client.V1DeleteOptions() # V1DeleteOptions | -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) -grace_period_seconds = 56 # int | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) -orphan_dependents = true # bool | Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. (optional) - -try: - api_response = api_instance.delete_namespaced_pod_disruption_budget(name, namespace, body, pretty=pretty, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents) - pprint(api_response) -except ApiException as e: - print("Exception when calling PolicyV1beta1Api->delete_namespaced_pod_disruption_budget: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the PodDisruptionBudget | - **namespace** | **str**| object name and auth scope, such as for teams and projects | - **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | - **pretty** | **str**| If 'true', then the output is pretty printed. | [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] - **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] - -### Return type - -[**UnversionedStatus**](UnversionedStatus.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **get_api_resources** -> UnversionedAPIResourceList get_api_resources() - - - -get available resources - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.PolicyV1beta1Api() - -try: - api_response = api_instance.get_api_resources() - pprint(api_response) -except ApiException as e: - print("Exception when calling PolicyV1beta1Api->get_api_resources: %s\n" % e) -``` - -### Parameters -This endpoint does not need any parameter. - -### Return type - -[**UnversionedAPIResourceList**](UnversionedAPIResourceList.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: application/json, application/yaml, application/vnd.kubernetes.protobuf - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **list_namespaced_pod_disruption_budget** -> V1beta1PodDisruptionBudgetList list_namespaced_pod_disruption_budget(namespace, pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) - - - -list or watch objects of kind PodDisruptionBudget - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.PolicyV1beta1Api() -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) -field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) -label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. (optional) -timeout_seconds = 56 # int | Timeout for the list/watch call. (optional) -watch = true # bool | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) - -try: - api_response = api_instance.list_namespaced_pod_disruption_budget(namespace, pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) - pprint(api_response) -except ApiException as e: - print("Exception when calling PolicyV1beta1Api->list_namespaced_pod_disruption_budget: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **namespace** | **str**| object name and auth scope, such as for teams and projects | - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] - **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. | [optional] - **timeout_seconds** | **int**| Timeout for the list/watch call. | [optional] - **watch** | **bool**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] - -### Return type - -[**V1beta1PodDisruptionBudgetList**](V1beta1PodDisruptionBudgetList.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **list_pod_disruption_budget_for_all_namespaces** -> V1beta1PodDisruptionBudgetList list_pod_disruption_budget_for_all_namespaces(pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) - - - -list or watch objects of kind PodDisruptionBudget - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.PolicyV1beta1Api() -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) -field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) -label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. (optional) -timeout_seconds = 56 # int | Timeout for the list/watch call. (optional) -watch = true # bool | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) - -try: - api_response = api_instance.list_pod_disruption_budget_for_all_namespaces(pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) - pprint(api_response) -except ApiException as e: - print("Exception when calling PolicyV1beta1Api->list_pod_disruption_budget_for_all_namespaces: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] - **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. | [optional] - **timeout_seconds** | **int**| Timeout for the list/watch call. | [optional] - **watch** | **bool**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] - -### Return type - -[**V1beta1PodDisruptionBudgetList**](V1beta1PodDisruptionBudgetList.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **patch_namespaced_pod_disruption_budget** -> V1beta1PodDisruptionBudget patch_namespaced_pod_disruption_budget(name, namespace, body, pretty=pretty) - - - -partially update the specified PodDisruptionBudget - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.PolicyV1beta1Api() -name = 'name_example' # str | name of the PodDisruptionBudget -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = openshift.client.UnversionedPatch() # UnversionedPatch | -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) - -try: - api_response = api_instance.patch_namespaced_pod_disruption_budget(name, namespace, body, pretty=pretty) - pprint(api_response) -except ApiException as e: - print("Exception when calling PolicyV1beta1Api->patch_namespaced_pod_disruption_budget: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the PodDisruptionBudget | - **namespace** | **str**| object name and auth scope, such as for teams and projects | - **body** | [**UnversionedPatch**](UnversionedPatch.md)| | - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - -### Return type - -[**V1beta1PodDisruptionBudget**](V1beta1PodDisruptionBudget.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **patch_namespaced_pod_disruption_budget_status** -> V1beta1PodDisruptionBudget patch_namespaced_pod_disruption_budget_status(name, namespace, body, pretty=pretty) - - - -partially update status of the specified PodDisruptionBudget - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.PolicyV1beta1Api() -name = 'name_example' # str | name of the PodDisruptionBudget -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = openshift.client.UnversionedPatch() # UnversionedPatch | -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) - -try: - api_response = api_instance.patch_namespaced_pod_disruption_budget_status(name, namespace, body, pretty=pretty) - pprint(api_response) -except ApiException as e: - print("Exception when calling PolicyV1beta1Api->patch_namespaced_pod_disruption_budget_status: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the PodDisruptionBudget | - **namespace** | **str**| object name and auth scope, such as for teams and projects | - **body** | [**UnversionedPatch**](UnversionedPatch.md)| | - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - -### Return type - -[**V1beta1PodDisruptionBudget**](V1beta1PodDisruptionBudget.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **read_namespaced_pod_disruption_budget** -> V1beta1PodDisruptionBudget read_namespaced_pod_disruption_budget(name, namespace, pretty=pretty, exact=exact, export=export) - - - -read the specified PodDisruptionBudget - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.PolicyV1beta1Api() -name = 'name_example' # str | name of the PodDisruptionBudget -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) -exact = true # bool | Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace' (optional) -export = true # bool | Should this value be exported. Export strips fields that a user can not specify. (optional) - -try: - api_response = api_instance.read_namespaced_pod_disruption_budget(name, namespace, pretty=pretty, exact=exact, export=export) - pprint(api_response) -except ApiException as e: - print("Exception when calling PolicyV1beta1Api->read_namespaced_pod_disruption_budget: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the PodDisruptionBudget | - **namespace** | **str**| object name and auth scope, such as for teams and projects | - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - **exact** | **bool**| Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace' | [optional] - **export** | **bool**| Should this value be exported. Export strips fields that a user can not specify. | [optional] - -### Return type - -[**V1beta1PodDisruptionBudget**](V1beta1PodDisruptionBudget.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **read_namespaced_pod_disruption_budget_status** -> V1beta1PodDisruptionBudget read_namespaced_pod_disruption_budget_status(name, namespace, pretty=pretty) - - - -read status of the specified PodDisruptionBudget - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.PolicyV1beta1Api() -name = 'name_example' # str | name of the PodDisruptionBudget -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) - -try: - api_response = api_instance.read_namespaced_pod_disruption_budget_status(name, namespace, pretty=pretty) - pprint(api_response) -except ApiException as e: - print("Exception when calling PolicyV1beta1Api->read_namespaced_pod_disruption_budget_status: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the PodDisruptionBudget | - **namespace** | **str**| object name and auth scope, such as for teams and projects | - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - -### Return type - -[**V1beta1PodDisruptionBudget**](V1beta1PodDisruptionBudget.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **replace_namespaced_pod_disruption_budget** -> V1beta1PodDisruptionBudget replace_namespaced_pod_disruption_budget(name, namespace, body, pretty=pretty) - - - -replace the specified PodDisruptionBudget - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.PolicyV1beta1Api() -name = 'name_example' # str | name of the PodDisruptionBudget -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = openshift.client.V1beta1PodDisruptionBudget() # V1beta1PodDisruptionBudget | -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) - -try: - api_response = api_instance.replace_namespaced_pod_disruption_budget(name, namespace, body, pretty=pretty) - pprint(api_response) -except ApiException as e: - print("Exception when calling PolicyV1beta1Api->replace_namespaced_pod_disruption_budget: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the PodDisruptionBudget | - **namespace** | **str**| object name and auth scope, such as for teams and projects | - **body** | [**V1beta1PodDisruptionBudget**](V1beta1PodDisruptionBudget.md)| | - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - -### Return type - -[**V1beta1PodDisruptionBudget**](V1beta1PodDisruptionBudget.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **replace_namespaced_pod_disruption_budget_status** -> V1beta1PodDisruptionBudget replace_namespaced_pod_disruption_budget_status(name, namespace, body, pretty=pretty) - - - -replace status of the specified PodDisruptionBudget - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.PolicyV1beta1Api() -name = 'name_example' # str | name of the PodDisruptionBudget -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = openshift.client.V1beta1PodDisruptionBudget() # V1beta1PodDisruptionBudget | -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) - -try: - api_response = api_instance.replace_namespaced_pod_disruption_budget_status(name, namespace, body, pretty=pretty) - pprint(api_response) -except ApiException as e: - print("Exception when calling PolicyV1beta1Api->replace_namespaced_pod_disruption_budget_status: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the PodDisruptionBudget | - **namespace** | **str**| object name and auth scope, such as for teams and projects | - **body** | [**V1beta1PodDisruptionBudget**](V1beta1PodDisruptionBudget.md)| | - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - -### Return type - -[**V1beta1PodDisruptionBudget**](V1beta1PodDisruptionBudget.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - diff --git a/openshift/docs/ProjectOpenshiftIoApi.md b/openshift/docs/ProjectOpenshiftIoApi.md index 4e2b59de..e61dcc66 100644 --- a/openshift/docs/ProjectOpenshiftIoApi.md +++ b/openshift/docs/ProjectOpenshiftIoApi.md @@ -4,11 +4,11 @@ All URIs are relative to *https://localhost* Method | HTTP request | Description ------------- | ------------- | ------------- -[**get_project_openshift_io_api_group**](ProjectOpenshiftIoApi.md#get_project_openshift_io_api_group) | **GET** /apis/project.openshift.io/ | +[**get_api_group**](ProjectOpenshiftIoApi.md#get_api_group) | **GET** /apis/project.openshift.io/ | -# **get_project_openshift_io_api_group** -> UnversionedAPIGroup get_project_openshift_io_api_group() +# **get_api_group** +> V1APIGroup get_api_group() @@ -22,14 +22,23 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.ProjectOpenshiftIoApi() try: - api_response = api_instance.get_project_openshift_io_api_group() + api_response = api_instance.get_api_group() pprint(api_response) except ApiException as e: - print("Exception when calling ProjectOpenshiftIoApi->get_project_openshift_io_api_group: %s\n" % e) + print("Exception when calling ProjectOpenshiftIoApi->get_api_group: %s\n" % e) ``` ### Parameters @@ -37,11 +46,11 @@ This endpoint does not need any parameter. ### Return type -[**UnversionedAPIGroup**](UnversionedAPIGroup.md) +[**V1APIGroup**](V1APIGroup.md) ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers diff --git a/openshift/docs/ProjectOpenshiftIoV1Api.md b/openshift/docs/ProjectOpenshiftIoV1Api.md index 73a18324..cf1e5a8d 100644 --- a/openshift/docs/ProjectOpenshiftIoV1Api.md +++ b/openshift/docs/ProjectOpenshiftIoV1Api.md @@ -4,19 +4,19 @@ All URIs are relative to *https://localhost* Method | HTTP request | Description ------------- | ------------- | ------------- -[**create_project_openshift_io_v1_project**](ProjectOpenshiftIoV1Api.md#create_project_openshift_io_v1_project) | **POST** /apis/project.openshift.io/v1/projects | -[**create_project_openshift_io_v1_project_request**](ProjectOpenshiftIoV1Api.md#create_project_openshift_io_v1_project_request) | **POST** /apis/project.openshift.io/v1/projectrequests | -[**delete_project_openshift_io_v1_project**](ProjectOpenshiftIoV1Api.md#delete_project_openshift_io_v1_project) | **DELETE** /apis/project.openshift.io/v1/projects/{name} | -[**get_project_openshift_io_v1_api_resources**](ProjectOpenshiftIoV1Api.md#get_project_openshift_io_v1_api_resources) | **GET** /apis/project.openshift.io/v1/ | -[**list_project_openshift_io_v1_project**](ProjectOpenshiftIoV1Api.md#list_project_openshift_io_v1_project) | **GET** /apis/project.openshift.io/v1/projects | -[**list_project_openshift_io_v1_project_request**](ProjectOpenshiftIoV1Api.md#list_project_openshift_io_v1_project_request) | **GET** /apis/project.openshift.io/v1/projectrequests | -[**patch_project_openshift_io_v1_project**](ProjectOpenshiftIoV1Api.md#patch_project_openshift_io_v1_project) | **PATCH** /apis/project.openshift.io/v1/projects/{name} | -[**read_project_openshift_io_v1_project**](ProjectOpenshiftIoV1Api.md#read_project_openshift_io_v1_project) | **GET** /apis/project.openshift.io/v1/projects/{name} | -[**replace_project_openshift_io_v1_project**](ProjectOpenshiftIoV1Api.md#replace_project_openshift_io_v1_project) | **PUT** /apis/project.openshift.io/v1/projects/{name} | +[**create_project**](ProjectOpenshiftIoV1Api.md#create_project) | **POST** /apis/project.openshift.io/v1/projects | +[**create_project_request**](ProjectOpenshiftIoV1Api.md#create_project_request) | **POST** /apis/project.openshift.io/v1/projectrequests | +[**delete_project**](ProjectOpenshiftIoV1Api.md#delete_project) | **DELETE** /apis/project.openshift.io/v1/projects/{name} | +[**get_api_resources**](ProjectOpenshiftIoV1Api.md#get_api_resources) | **GET** /apis/project.openshift.io/v1/ | +[**list_project**](ProjectOpenshiftIoV1Api.md#list_project) | **GET** /apis/project.openshift.io/v1/projects | +[**list_project_request**](ProjectOpenshiftIoV1Api.md#list_project_request) | **GET** /apis/project.openshift.io/v1/projectrequests | +[**patch_project**](ProjectOpenshiftIoV1Api.md#patch_project) | **PATCH** /apis/project.openshift.io/v1/projects/{name} | +[**read_project**](ProjectOpenshiftIoV1Api.md#read_project) | **GET** /apis/project.openshift.io/v1/projects/{name} | +[**replace_project**](ProjectOpenshiftIoV1Api.md#replace_project) | **PUT** /apis/project.openshift.io/v1/projects/{name} | -# **create_project_openshift_io_v1_project** -> V1Project create_project_openshift_io_v1_project(body, pretty=pretty) +# **create_project** +> V1Project create_project(body, pretty=pretty) @@ -30,16 +30,25 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.ProjectOpenshiftIoV1Api() body = openshift.client.V1Project() # V1Project | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) try: - api_response = api_instance.create_project_openshift_io_v1_project(body, pretty=pretty) + api_response = api_instance.create_project(body, pretty=pretty) pprint(api_response) except ApiException as e: - print("Exception when calling ProjectOpenshiftIoV1Api->create_project_openshift_io_v1_project: %s\n" % e) + print("Exception when calling ProjectOpenshiftIoV1Api->create_project: %s\n" % e) ``` ### Parameters @@ -55,7 +64,7 @@ Name | Type | Description | Notes ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -64,8 +73,8 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **create_project_openshift_io_v1_project_request** -> V1ProjectRequest create_project_openshift_io_v1_project_request(body, pretty=pretty) +# **create_project_request** +> V1ProjectRequest create_project_request(body, pretty=pretty) @@ -79,16 +88,25 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.ProjectOpenshiftIoV1Api() body = openshift.client.V1ProjectRequest() # V1ProjectRequest | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) try: - api_response = api_instance.create_project_openshift_io_v1_project_request(body, pretty=pretty) + api_response = api_instance.create_project_request(body, pretty=pretty) pprint(api_response) except ApiException as e: - print("Exception when calling ProjectOpenshiftIoV1Api->create_project_openshift_io_v1_project_request: %s\n" % e) + print("Exception when calling ProjectOpenshiftIoV1Api->create_project_request: %s\n" % e) ``` ### Parameters @@ -104,7 +122,7 @@ Name | Type | Description | Notes ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -113,8 +131,8 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **delete_project_openshift_io_v1_project** -> UnversionedStatus delete_project_openshift_io_v1_project(name, pretty=pretty) +# **delete_project** +> V1Status delete_project(name, pretty=pretty) @@ -128,16 +146,25 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.ProjectOpenshiftIoV1Api() name = 'name_example' # str | name of the Project pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) try: - api_response = api_instance.delete_project_openshift_io_v1_project(name, pretty=pretty) + api_response = api_instance.delete_project(name, pretty=pretty) pprint(api_response) except ApiException as e: - print("Exception when calling ProjectOpenshiftIoV1Api->delete_project_openshift_io_v1_project: %s\n" % e) + print("Exception when calling ProjectOpenshiftIoV1Api->delete_project: %s\n" % e) ``` ### Parameters @@ -149,11 +176,11 @@ Name | Type | Description | Notes ### Return type -[**UnversionedStatus**](UnversionedStatus.md) +[**V1Status**](V1Status.md) ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -162,8 +189,8 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **get_project_openshift_io_v1_api_resources** -> UnversionedAPIResourceList get_project_openshift_io_v1_api_resources() +# **get_api_resources** +> V1APIResourceList get_api_resources() @@ -177,14 +204,23 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.ProjectOpenshiftIoV1Api() try: - api_response = api_instance.get_project_openshift_io_v1_api_resources() + api_response = api_instance.get_api_resources() pprint(api_response) except ApiException as e: - print("Exception when calling ProjectOpenshiftIoV1Api->get_project_openshift_io_v1_api_resources: %s\n" % e) + print("Exception when calling ProjectOpenshiftIoV1Api->get_api_resources: %s\n" % e) ``` ### Parameters @@ -192,11 +228,11 @@ This endpoint does not need any parameter. ### Return type -[**UnversionedAPIResourceList**](UnversionedAPIResourceList.md) +[**V1APIResourceList**](V1APIResourceList.md) ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -205,8 +241,8 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **list_project_openshift_io_v1_project** -> V1ProjectList list_project_openshift_io_v1_project(pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) +# **list_project** +> V1ProjectList list_project(pretty=pretty, field_selector=field_selector, include_uninitialized=include_uninitialized, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) @@ -220,20 +256,30 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.ProjectOpenshiftIoV1Api() pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) +include_uninitialized = true # bool | If true, partially initialized resources are included in the response. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. (optional) +resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) timeout_seconds = 56 # int | Timeout for the list/watch call. (optional) watch = true # bool | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) try: - api_response = api_instance.list_project_openshift_io_v1_project(pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) + api_response = api_instance.list_project(pretty=pretty, field_selector=field_selector, include_uninitialized=include_uninitialized, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) pprint(api_response) except ApiException as e: - print("Exception when calling ProjectOpenshiftIoV1Api->list_project_openshift_io_v1_project: %s\n" % e) + print("Exception when calling ProjectOpenshiftIoV1Api->list_project: %s\n" % e) ``` ### Parameters @@ -242,8 +288,9 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] + **include_uninitialized** | **bool**| If true, partially initialized resources are included in the response. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. | [optional] + **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] **timeout_seconds** | **int**| Timeout for the list/watch call. | [optional] **watch** | **bool**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] @@ -253,7 +300,7 @@ Name | Type | Description | Notes ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -262,8 +309,8 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **list_project_openshift_io_v1_project_request** -> UnversionedStatus list_project_openshift_io_v1_project_request(pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) +# **list_project_request** +> V1Status list_project_request(pretty=pretty, field_selector=field_selector, include_uninitialized=include_uninitialized, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) @@ -277,20 +324,30 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.ProjectOpenshiftIoV1Api() pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) +include_uninitialized = true # bool | If true, partially initialized resources are included in the response. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. (optional) +resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) timeout_seconds = 56 # int | Timeout for the list/watch call. (optional) watch = true # bool | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) try: - api_response = api_instance.list_project_openshift_io_v1_project_request(pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) + api_response = api_instance.list_project_request(pretty=pretty, field_selector=field_selector, include_uninitialized=include_uninitialized, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) pprint(api_response) except ApiException as e: - print("Exception when calling ProjectOpenshiftIoV1Api->list_project_openshift_io_v1_project_request: %s\n" % e) + print("Exception when calling ProjectOpenshiftIoV1Api->list_project_request: %s\n" % e) ``` ### Parameters @@ -299,18 +356,19 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] + **include_uninitialized** | **bool**| If true, partially initialized resources are included in the response. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. | [optional] + **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] **timeout_seconds** | **int**| Timeout for the list/watch call. | [optional] **watch** | **bool**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] ### Return type -[**UnversionedStatus**](UnversionedStatus.md) +[**V1Status**](V1Status.md) ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -319,8 +377,8 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **patch_project_openshift_io_v1_project** -> V1Project patch_project_openshift_io_v1_project(name, body, pretty=pretty) +# **patch_project** +> V1Project patch_project(name, body, pretty=pretty) @@ -334,17 +392,26 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.ProjectOpenshiftIoV1Api() name = 'name_example' # str | name of the Project -body = openshift.client.UnversionedPatch() # UnversionedPatch | +body = NULL # object | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) try: - api_response = api_instance.patch_project_openshift_io_v1_project(name, body, pretty=pretty) + api_response = api_instance.patch_project(name, body, pretty=pretty) pprint(api_response) except ApiException as e: - print("Exception when calling ProjectOpenshiftIoV1Api->patch_project_openshift_io_v1_project: %s\n" % e) + print("Exception when calling ProjectOpenshiftIoV1Api->patch_project: %s\n" % e) ``` ### Parameters @@ -352,7 +419,7 @@ except ApiException as e: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **name** | **str**| name of the Project | - **body** | [**UnversionedPatch**](UnversionedPatch.md)| | + **body** | **object**| | **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] ### Return type @@ -361,7 +428,7 @@ Name | Type | Description | Notes ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -370,8 +437,8 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **read_project_openshift_io_v1_project** -> V1Project read_project_openshift_io_v1_project(name, pretty=pretty) +# **read_project** +> V1Project read_project(name, pretty=pretty) @@ -385,16 +452,25 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.ProjectOpenshiftIoV1Api() name = 'name_example' # str | name of the Project pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) try: - api_response = api_instance.read_project_openshift_io_v1_project(name, pretty=pretty) + api_response = api_instance.read_project(name, pretty=pretty) pprint(api_response) except ApiException as e: - print("Exception when calling ProjectOpenshiftIoV1Api->read_project_openshift_io_v1_project: %s\n" % e) + print("Exception when calling ProjectOpenshiftIoV1Api->read_project: %s\n" % e) ``` ### Parameters @@ -410,7 +486,7 @@ Name | Type | Description | Notes ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -419,8 +495,8 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **replace_project_openshift_io_v1_project** -> V1Project replace_project_openshift_io_v1_project(name, body, pretty=pretty) +# **replace_project** +> V1Project replace_project(name, body, pretty=pretty) @@ -434,6 +510,15 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.ProjectOpenshiftIoV1Api() name = 'name_example' # str | name of the Project @@ -441,10 +526,10 @@ body = openshift.client.V1Project() # V1Project | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) try: - api_response = api_instance.replace_project_openshift_io_v1_project(name, body, pretty=pretty) + api_response = api_instance.replace_project(name, body, pretty=pretty) pprint(api_response) except ApiException as e: - print("Exception when calling ProjectOpenshiftIoV1Api->replace_project_openshift_io_v1_project: %s\n" % e) + print("Exception when calling ProjectOpenshiftIoV1Api->replace_project: %s\n" % e) ``` ### Parameters @@ -461,7 +546,7 @@ Name | Type | Description | Notes ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers diff --git a/openshift/docs/QuotaOpenshiftIoApi.md b/openshift/docs/QuotaOpenshiftIoApi.md index e31f0acb..d5c9a1af 100644 --- a/openshift/docs/QuotaOpenshiftIoApi.md +++ b/openshift/docs/QuotaOpenshiftIoApi.md @@ -4,11 +4,11 @@ All URIs are relative to *https://localhost* Method | HTTP request | Description ------------- | ------------- | ------------- -[**get_quota_openshift_io_api_group**](QuotaOpenshiftIoApi.md#get_quota_openshift_io_api_group) | **GET** /apis/quota.openshift.io/ | +[**get_api_group**](QuotaOpenshiftIoApi.md#get_api_group) | **GET** /apis/quota.openshift.io/ | -# **get_quota_openshift_io_api_group** -> UnversionedAPIGroup get_quota_openshift_io_api_group() +# **get_api_group** +> V1APIGroup get_api_group() @@ -22,14 +22,23 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.QuotaOpenshiftIoApi() try: - api_response = api_instance.get_quota_openshift_io_api_group() + api_response = api_instance.get_api_group() pprint(api_response) except ApiException as e: - print("Exception when calling QuotaOpenshiftIoApi->get_quota_openshift_io_api_group: %s\n" % e) + print("Exception when calling QuotaOpenshiftIoApi->get_api_group: %s\n" % e) ``` ### Parameters @@ -37,11 +46,11 @@ This endpoint does not need any parameter. ### Return type -[**UnversionedAPIGroup**](UnversionedAPIGroup.md) +[**V1APIGroup**](V1APIGroup.md) ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers diff --git a/openshift/docs/QuotaOpenshiftIoV1Api.md b/openshift/docs/QuotaOpenshiftIoV1Api.md index 61afe0ef..19cc5ac4 100644 --- a/openshift/docs/QuotaOpenshiftIoV1Api.md +++ b/openshift/docs/QuotaOpenshiftIoV1Api.md @@ -4,24 +4,24 @@ All URIs are relative to *https://localhost* Method | HTTP request | Description ------------- | ------------- | ------------- -[**create_quota_openshift_io_v1_cluster_resource_quota**](QuotaOpenshiftIoV1Api.md#create_quota_openshift_io_v1_cluster_resource_quota) | **POST** /apis/quota.openshift.io/v1/clusterresourcequotas | -[**delete_quota_openshift_io_v1_cluster_resource_quota**](QuotaOpenshiftIoV1Api.md#delete_quota_openshift_io_v1_cluster_resource_quota) | **DELETE** /apis/quota.openshift.io/v1/clusterresourcequotas/{name} | -[**delete_quota_openshift_io_v1_collection_cluster_resource_quota**](QuotaOpenshiftIoV1Api.md#delete_quota_openshift_io_v1_collection_cluster_resource_quota) | **DELETE** /apis/quota.openshift.io/v1/clusterresourcequotas | -[**get_quota_openshift_io_v1_api_resources**](QuotaOpenshiftIoV1Api.md#get_quota_openshift_io_v1_api_resources) | **GET** /apis/quota.openshift.io/v1/ | -[**list_quota_openshift_io_v1_applied_cluster_resource_quota_for_all_namespaces**](QuotaOpenshiftIoV1Api.md#list_quota_openshift_io_v1_applied_cluster_resource_quota_for_all_namespaces) | **GET** /apis/quota.openshift.io/v1/appliedclusterresourcequotas | -[**list_quota_openshift_io_v1_cluster_resource_quota**](QuotaOpenshiftIoV1Api.md#list_quota_openshift_io_v1_cluster_resource_quota) | **GET** /apis/quota.openshift.io/v1/clusterresourcequotas | -[**list_quota_openshift_io_v1_namespaced_applied_cluster_resource_quota**](QuotaOpenshiftIoV1Api.md#list_quota_openshift_io_v1_namespaced_applied_cluster_resource_quota) | **GET** /apis/quota.openshift.io/v1/namespaces/{namespace}/appliedclusterresourcequotas | -[**patch_quota_openshift_io_v1_cluster_resource_quota**](QuotaOpenshiftIoV1Api.md#patch_quota_openshift_io_v1_cluster_resource_quota) | **PATCH** /apis/quota.openshift.io/v1/clusterresourcequotas/{name} | -[**patch_quota_openshift_io_v1_cluster_resource_quota_status**](QuotaOpenshiftIoV1Api.md#patch_quota_openshift_io_v1_cluster_resource_quota_status) | **PATCH** /apis/quota.openshift.io/v1/clusterresourcequotas/{name}/status | -[**read_quota_openshift_io_v1_cluster_resource_quota**](QuotaOpenshiftIoV1Api.md#read_quota_openshift_io_v1_cluster_resource_quota) | **GET** /apis/quota.openshift.io/v1/clusterresourcequotas/{name} | -[**read_quota_openshift_io_v1_cluster_resource_quota_status**](QuotaOpenshiftIoV1Api.md#read_quota_openshift_io_v1_cluster_resource_quota_status) | **GET** /apis/quota.openshift.io/v1/clusterresourcequotas/{name}/status | -[**read_quota_openshift_io_v1_namespaced_applied_cluster_resource_quota**](QuotaOpenshiftIoV1Api.md#read_quota_openshift_io_v1_namespaced_applied_cluster_resource_quota) | **GET** /apis/quota.openshift.io/v1/namespaces/{namespace}/appliedclusterresourcequotas/{name} | -[**replace_quota_openshift_io_v1_cluster_resource_quota**](QuotaOpenshiftIoV1Api.md#replace_quota_openshift_io_v1_cluster_resource_quota) | **PUT** /apis/quota.openshift.io/v1/clusterresourcequotas/{name} | -[**replace_quota_openshift_io_v1_cluster_resource_quota_status**](QuotaOpenshiftIoV1Api.md#replace_quota_openshift_io_v1_cluster_resource_quota_status) | **PUT** /apis/quota.openshift.io/v1/clusterresourcequotas/{name}/status | +[**create_cluster_resource_quota**](QuotaOpenshiftIoV1Api.md#create_cluster_resource_quota) | **POST** /apis/quota.openshift.io/v1/clusterresourcequotas | +[**delete_cluster_resource_quota**](QuotaOpenshiftIoV1Api.md#delete_cluster_resource_quota) | **DELETE** /apis/quota.openshift.io/v1/clusterresourcequotas/{name} | +[**delete_collection_cluster_resource_quota**](QuotaOpenshiftIoV1Api.md#delete_collection_cluster_resource_quota) | **DELETE** /apis/quota.openshift.io/v1/clusterresourcequotas | +[**get_api_resources**](QuotaOpenshiftIoV1Api.md#get_api_resources) | **GET** /apis/quota.openshift.io/v1/ | +[**list_applied_cluster_resource_quota_for_all_namespaces**](QuotaOpenshiftIoV1Api.md#list_applied_cluster_resource_quota_for_all_namespaces) | **GET** /apis/quota.openshift.io/v1/appliedclusterresourcequotas | +[**list_cluster_resource_quota**](QuotaOpenshiftIoV1Api.md#list_cluster_resource_quota) | **GET** /apis/quota.openshift.io/v1/clusterresourcequotas | +[**list_namespaced_applied_cluster_resource_quota**](QuotaOpenshiftIoV1Api.md#list_namespaced_applied_cluster_resource_quota) | **GET** /apis/quota.openshift.io/v1/namespaces/{namespace}/appliedclusterresourcequotas | +[**patch_cluster_resource_quota**](QuotaOpenshiftIoV1Api.md#patch_cluster_resource_quota) | **PATCH** /apis/quota.openshift.io/v1/clusterresourcequotas/{name} | +[**patch_cluster_resource_quota_status**](QuotaOpenshiftIoV1Api.md#patch_cluster_resource_quota_status) | **PATCH** /apis/quota.openshift.io/v1/clusterresourcequotas/{name}/status | +[**read_cluster_resource_quota**](QuotaOpenshiftIoV1Api.md#read_cluster_resource_quota) | **GET** /apis/quota.openshift.io/v1/clusterresourcequotas/{name} | +[**read_cluster_resource_quota_status**](QuotaOpenshiftIoV1Api.md#read_cluster_resource_quota_status) | **GET** /apis/quota.openshift.io/v1/clusterresourcequotas/{name}/status | +[**read_namespaced_applied_cluster_resource_quota**](QuotaOpenshiftIoV1Api.md#read_namespaced_applied_cluster_resource_quota) | **GET** /apis/quota.openshift.io/v1/namespaces/{namespace}/appliedclusterresourcequotas/{name} | +[**replace_cluster_resource_quota**](QuotaOpenshiftIoV1Api.md#replace_cluster_resource_quota) | **PUT** /apis/quota.openshift.io/v1/clusterresourcequotas/{name} | +[**replace_cluster_resource_quota_status**](QuotaOpenshiftIoV1Api.md#replace_cluster_resource_quota_status) | **PUT** /apis/quota.openshift.io/v1/clusterresourcequotas/{name}/status | -# **create_quota_openshift_io_v1_cluster_resource_quota** -> V1ClusterResourceQuota create_quota_openshift_io_v1_cluster_resource_quota(body, pretty=pretty) +# **create_cluster_resource_quota** +> V1ClusterResourceQuota create_cluster_resource_quota(body, pretty=pretty) @@ -35,16 +35,25 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.QuotaOpenshiftIoV1Api() body = openshift.client.V1ClusterResourceQuota() # V1ClusterResourceQuota | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) try: - api_response = api_instance.create_quota_openshift_io_v1_cluster_resource_quota(body, pretty=pretty) + api_response = api_instance.create_cluster_resource_quota(body, pretty=pretty) pprint(api_response) except ApiException as e: - print("Exception when calling QuotaOpenshiftIoV1Api->create_quota_openshift_io_v1_cluster_resource_quota: %s\n" % e) + print("Exception when calling QuotaOpenshiftIoV1Api->create_cluster_resource_quota: %s\n" % e) ``` ### Parameters @@ -60,7 +69,7 @@ Name | Type | Description | Notes ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -69,8 +78,8 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **delete_quota_openshift_io_v1_cluster_resource_quota** -> UnversionedStatus delete_quota_openshift_io_v1_cluster_resource_quota(name, body, pretty=pretty, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents) +# **delete_cluster_resource_quota** +> V1Status delete_cluster_resource_quota(name, body, pretty=pretty, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) @@ -84,19 +93,29 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.QuotaOpenshiftIoV1Api() name = 'name_example' # str | name of the ClusterResourceQuota body = openshift.client.V1DeleteOptions() # V1DeleteOptions | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) grace_period_seconds = 56 # int | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) -orphan_dependents = true # bool | Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. (optional) +orphan_dependents = true # bool | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) +propagation_policy = 'propagation_policy_example' # str | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. (optional) try: - api_response = api_instance.delete_quota_openshift_io_v1_cluster_resource_quota(name, body, pretty=pretty, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents) + api_response = api_instance.delete_cluster_resource_quota(name, body, pretty=pretty, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) pprint(api_response) except ApiException as e: - print("Exception when calling QuotaOpenshiftIoV1Api->delete_quota_openshift_io_v1_cluster_resource_quota: %s\n" % e) + print("Exception when calling QuotaOpenshiftIoV1Api->delete_cluster_resource_quota: %s\n" % e) ``` ### Parameters @@ -107,15 +126,16 @@ Name | Type | Description | Notes **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | **pretty** | **str**| If 'true', then the output is pretty printed. | [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] - **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] + **orphan_dependents** | **bool**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional] + **propagation_policy** | **str**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. | [optional] ### Return type -[**UnversionedStatus**](UnversionedStatus.md) +[**V1Status**](V1Status.md) ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -124,8 +144,8 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **delete_quota_openshift_io_v1_collection_cluster_resource_quota** -> UnversionedStatus delete_quota_openshift_io_v1_collection_cluster_resource_quota(pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) +# **delete_collection_cluster_resource_quota** +> V1Status delete_collection_cluster_resource_quota(pretty=pretty, field_selector=field_selector, include_uninitialized=include_uninitialized, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) @@ -139,20 +159,30 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.QuotaOpenshiftIoV1Api() pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) +include_uninitialized = true # bool | If true, partially initialized resources are included in the response. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. (optional) +resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) timeout_seconds = 56 # int | Timeout for the list/watch call. (optional) watch = true # bool | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) try: - api_response = api_instance.delete_quota_openshift_io_v1_collection_cluster_resource_quota(pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) + api_response = api_instance.delete_collection_cluster_resource_quota(pretty=pretty, field_selector=field_selector, include_uninitialized=include_uninitialized, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) pprint(api_response) except ApiException as e: - print("Exception when calling QuotaOpenshiftIoV1Api->delete_quota_openshift_io_v1_collection_cluster_resource_quota: %s\n" % e) + print("Exception when calling QuotaOpenshiftIoV1Api->delete_collection_cluster_resource_quota: %s\n" % e) ``` ### Parameters @@ -161,18 +191,19 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] + **include_uninitialized** | **bool**| If true, partially initialized resources are included in the response. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. | [optional] + **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] **timeout_seconds** | **int**| Timeout for the list/watch call. | [optional] **watch** | **bool**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] ### Return type -[**UnversionedStatus**](UnversionedStatus.md) +[**V1Status**](V1Status.md) ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -181,8 +212,8 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **get_quota_openshift_io_v1_api_resources** -> UnversionedAPIResourceList get_quota_openshift_io_v1_api_resources() +# **get_api_resources** +> V1APIResourceList get_api_resources() @@ -196,14 +227,23 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.QuotaOpenshiftIoV1Api() try: - api_response = api_instance.get_quota_openshift_io_v1_api_resources() + api_response = api_instance.get_api_resources() pprint(api_response) except ApiException as e: - print("Exception when calling QuotaOpenshiftIoV1Api->get_quota_openshift_io_v1_api_resources: %s\n" % e) + print("Exception when calling QuotaOpenshiftIoV1Api->get_api_resources: %s\n" % e) ``` ### Parameters @@ -211,11 +251,11 @@ This endpoint does not need any parameter. ### Return type -[**UnversionedAPIResourceList**](UnversionedAPIResourceList.md) +[**V1APIResourceList**](V1APIResourceList.md) ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -224,8 +264,8 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **list_quota_openshift_io_v1_applied_cluster_resource_quota_for_all_namespaces** -> V1AppliedClusterResourceQuotaList list_quota_openshift_io_v1_applied_cluster_resource_quota_for_all_namespaces(field_selector=field_selector, label_selector=label_selector, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) +# **list_applied_cluster_resource_quota_for_all_namespaces** +> V1AppliedClusterResourceQuotaList list_applied_cluster_resource_quota_for_all_namespaces(field_selector=field_selector, include_uninitialized=include_uninitialized, label_selector=label_selector, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) @@ -239,20 +279,30 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.QuotaOpenshiftIoV1Api() field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) +include_uninitialized = true # bool | If true, partially initialized resources are included in the response. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) -resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. (optional) +resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) timeout_seconds = 56 # int | Timeout for the list/watch call. (optional) watch = true # bool | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) try: - api_response = api_instance.list_quota_openshift_io_v1_applied_cluster_resource_quota_for_all_namespaces(field_selector=field_selector, label_selector=label_selector, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) + api_response = api_instance.list_applied_cluster_resource_quota_for_all_namespaces(field_selector=field_selector, include_uninitialized=include_uninitialized, label_selector=label_selector, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) pprint(api_response) except ApiException as e: - print("Exception when calling QuotaOpenshiftIoV1Api->list_quota_openshift_io_v1_applied_cluster_resource_quota_for_all_namespaces: %s\n" % e) + print("Exception when calling QuotaOpenshiftIoV1Api->list_applied_cluster_resource_quota_for_all_namespaces: %s\n" % e) ``` ### Parameters @@ -260,9 +310,10 @@ except ApiException as e: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] + **include_uninitialized** | **bool**| If true, partially initialized resources are included in the response. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. | [optional] + **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] **timeout_seconds** | **int**| Timeout for the list/watch call. | [optional] **watch** | **bool**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] @@ -272,7 +323,7 @@ Name | Type | Description | Notes ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -281,8 +332,8 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **list_quota_openshift_io_v1_cluster_resource_quota** -> V1ClusterResourceQuotaList list_quota_openshift_io_v1_cluster_resource_quota(pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) +# **list_cluster_resource_quota** +> V1ClusterResourceQuotaList list_cluster_resource_quota(pretty=pretty, field_selector=field_selector, include_uninitialized=include_uninitialized, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) @@ -296,20 +347,30 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.QuotaOpenshiftIoV1Api() pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) +include_uninitialized = true # bool | If true, partially initialized resources are included in the response. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. (optional) +resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) timeout_seconds = 56 # int | Timeout for the list/watch call. (optional) watch = true # bool | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) try: - api_response = api_instance.list_quota_openshift_io_v1_cluster_resource_quota(pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) + api_response = api_instance.list_cluster_resource_quota(pretty=pretty, field_selector=field_selector, include_uninitialized=include_uninitialized, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) pprint(api_response) except ApiException as e: - print("Exception when calling QuotaOpenshiftIoV1Api->list_quota_openshift_io_v1_cluster_resource_quota: %s\n" % e) + print("Exception when calling QuotaOpenshiftIoV1Api->list_cluster_resource_quota: %s\n" % e) ``` ### Parameters @@ -318,8 +379,9 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] + **include_uninitialized** | **bool**| If true, partially initialized resources are included in the response. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. | [optional] + **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] **timeout_seconds** | **int**| Timeout for the list/watch call. | [optional] **watch** | **bool**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] @@ -329,7 +391,7 @@ Name | Type | Description | Notes ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -338,8 +400,8 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **list_quota_openshift_io_v1_namespaced_applied_cluster_resource_quota** -> V1AppliedClusterResourceQuotaList list_quota_openshift_io_v1_namespaced_applied_cluster_resource_quota(namespace, field_selector=field_selector, label_selector=label_selector, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) +# **list_namespaced_applied_cluster_resource_quota** +> V1AppliedClusterResourceQuotaList list_namespaced_applied_cluster_resource_quota(namespace, field_selector=field_selector, include_uninitialized=include_uninitialized, label_selector=label_selector, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) @@ -353,21 +415,31 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.QuotaOpenshiftIoV1Api() namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) +include_uninitialized = true # bool | If true, partially initialized resources are included in the response. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) -resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. (optional) +resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) timeout_seconds = 56 # int | Timeout for the list/watch call. (optional) watch = true # bool | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) try: - api_response = api_instance.list_quota_openshift_io_v1_namespaced_applied_cluster_resource_quota(namespace, field_selector=field_selector, label_selector=label_selector, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) + api_response = api_instance.list_namespaced_applied_cluster_resource_quota(namespace, field_selector=field_selector, include_uninitialized=include_uninitialized, label_selector=label_selector, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) pprint(api_response) except ApiException as e: - print("Exception when calling QuotaOpenshiftIoV1Api->list_quota_openshift_io_v1_namespaced_applied_cluster_resource_quota: %s\n" % e) + print("Exception when calling QuotaOpenshiftIoV1Api->list_namespaced_applied_cluster_resource_quota: %s\n" % e) ``` ### Parameters @@ -376,9 +448,10 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **namespace** | **str**| object name and auth scope, such as for teams and projects | **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] + **include_uninitialized** | **bool**| If true, partially initialized resources are included in the response. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. | [optional] + **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] **timeout_seconds** | **int**| Timeout for the list/watch call. | [optional] **watch** | **bool**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] @@ -388,7 +461,7 @@ Name | Type | Description | Notes ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -397,8 +470,8 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **patch_quota_openshift_io_v1_cluster_resource_quota** -> V1ClusterResourceQuota patch_quota_openshift_io_v1_cluster_resource_quota(name, body, pretty=pretty) +# **patch_cluster_resource_quota** +> V1ClusterResourceQuota patch_cluster_resource_quota(name, body, pretty=pretty) @@ -412,17 +485,26 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.QuotaOpenshiftIoV1Api() name = 'name_example' # str | name of the ClusterResourceQuota -body = openshift.client.UnversionedPatch() # UnversionedPatch | +body = NULL # object | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) try: - api_response = api_instance.patch_quota_openshift_io_v1_cluster_resource_quota(name, body, pretty=pretty) + api_response = api_instance.patch_cluster_resource_quota(name, body, pretty=pretty) pprint(api_response) except ApiException as e: - print("Exception when calling QuotaOpenshiftIoV1Api->patch_quota_openshift_io_v1_cluster_resource_quota: %s\n" % e) + print("Exception when calling QuotaOpenshiftIoV1Api->patch_cluster_resource_quota: %s\n" % e) ``` ### Parameters @@ -430,7 +512,7 @@ except ApiException as e: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **name** | **str**| name of the ClusterResourceQuota | - **body** | [**UnversionedPatch**](UnversionedPatch.md)| | + **body** | **object**| | **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] ### Return type @@ -439,7 +521,7 @@ Name | Type | Description | Notes ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -448,8 +530,8 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **patch_quota_openshift_io_v1_cluster_resource_quota_status** -> V1ClusterResourceQuota patch_quota_openshift_io_v1_cluster_resource_quota_status(name, body, pretty=pretty) +# **patch_cluster_resource_quota_status** +> V1ClusterResourceQuota patch_cluster_resource_quota_status(name, body, pretty=pretty) @@ -463,17 +545,26 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.QuotaOpenshiftIoV1Api() name = 'name_example' # str | name of the ClusterResourceQuota -body = openshift.client.UnversionedPatch() # UnversionedPatch | +body = NULL # object | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) try: - api_response = api_instance.patch_quota_openshift_io_v1_cluster_resource_quota_status(name, body, pretty=pretty) + api_response = api_instance.patch_cluster_resource_quota_status(name, body, pretty=pretty) pprint(api_response) except ApiException as e: - print("Exception when calling QuotaOpenshiftIoV1Api->patch_quota_openshift_io_v1_cluster_resource_quota_status: %s\n" % e) + print("Exception when calling QuotaOpenshiftIoV1Api->patch_cluster_resource_quota_status: %s\n" % e) ``` ### Parameters @@ -481,7 +572,7 @@ except ApiException as e: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **name** | **str**| name of the ClusterResourceQuota | - **body** | [**UnversionedPatch**](UnversionedPatch.md)| | + **body** | **object**| | **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] ### Return type @@ -490,7 +581,7 @@ Name | Type | Description | Notes ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -499,8 +590,8 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **read_quota_openshift_io_v1_cluster_resource_quota** -> V1ClusterResourceQuota read_quota_openshift_io_v1_cluster_resource_quota(name, pretty=pretty, exact=exact, export=export) +# **read_cluster_resource_quota** +> V1ClusterResourceQuota read_cluster_resource_quota(name, pretty=pretty, exact=exact, export=export) @@ -514,18 +605,27 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.QuotaOpenshiftIoV1Api() name = 'name_example' # str | name of the ClusterResourceQuota pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) -exact = true # bool | Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace' (optional) +exact = true # bool | Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. (optional) export = true # bool | Should this value be exported. Export strips fields that a user can not specify. (optional) try: - api_response = api_instance.read_quota_openshift_io_v1_cluster_resource_quota(name, pretty=pretty, exact=exact, export=export) + api_response = api_instance.read_cluster_resource_quota(name, pretty=pretty, exact=exact, export=export) pprint(api_response) except ApiException as e: - print("Exception when calling QuotaOpenshiftIoV1Api->read_quota_openshift_io_v1_cluster_resource_quota: %s\n" % e) + print("Exception when calling QuotaOpenshiftIoV1Api->read_cluster_resource_quota: %s\n" % e) ``` ### Parameters @@ -534,7 +634,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **name** | **str**| name of the ClusterResourceQuota | **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - **exact** | **bool**| Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace' | [optional] + **exact** | **bool**| Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. | [optional] **export** | **bool**| Should this value be exported. Export strips fields that a user can not specify. | [optional] ### Return type @@ -543,7 +643,7 @@ Name | Type | Description | Notes ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -552,8 +652,8 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **read_quota_openshift_io_v1_cluster_resource_quota_status** -> V1ClusterResourceQuota read_quota_openshift_io_v1_cluster_resource_quota_status(name, pretty=pretty) +# **read_cluster_resource_quota_status** +> V1ClusterResourceQuota read_cluster_resource_quota_status(name, pretty=pretty) @@ -567,16 +667,25 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.QuotaOpenshiftIoV1Api() name = 'name_example' # str | name of the ClusterResourceQuota pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) try: - api_response = api_instance.read_quota_openshift_io_v1_cluster_resource_quota_status(name, pretty=pretty) + api_response = api_instance.read_cluster_resource_quota_status(name, pretty=pretty) pprint(api_response) except ApiException as e: - print("Exception when calling QuotaOpenshiftIoV1Api->read_quota_openshift_io_v1_cluster_resource_quota_status: %s\n" % e) + print("Exception when calling QuotaOpenshiftIoV1Api->read_cluster_resource_quota_status: %s\n" % e) ``` ### Parameters @@ -592,7 +701,7 @@ Name | Type | Description | Notes ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -601,8 +710,8 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **read_quota_openshift_io_v1_namespaced_applied_cluster_resource_quota** -> V1AppliedClusterResourceQuota read_quota_openshift_io_v1_namespaced_applied_cluster_resource_quota(name, namespace, pretty=pretty) +# **read_namespaced_applied_cluster_resource_quota** +> V1AppliedClusterResourceQuota read_namespaced_applied_cluster_resource_quota(name, namespace, pretty=pretty) @@ -616,6 +725,15 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.QuotaOpenshiftIoV1Api() name = 'name_example' # str | name of the AppliedClusterResourceQuota @@ -623,10 +741,10 @@ namespace = 'namespace_example' # str | object name and auth scope, such as for pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) try: - api_response = api_instance.read_quota_openshift_io_v1_namespaced_applied_cluster_resource_quota(name, namespace, pretty=pretty) + api_response = api_instance.read_namespaced_applied_cluster_resource_quota(name, namespace, pretty=pretty) pprint(api_response) except ApiException as e: - print("Exception when calling QuotaOpenshiftIoV1Api->read_quota_openshift_io_v1_namespaced_applied_cluster_resource_quota: %s\n" % e) + print("Exception when calling QuotaOpenshiftIoV1Api->read_namespaced_applied_cluster_resource_quota: %s\n" % e) ``` ### Parameters @@ -643,7 +761,7 @@ Name | Type | Description | Notes ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -652,8 +770,8 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **replace_quota_openshift_io_v1_cluster_resource_quota** -> V1ClusterResourceQuota replace_quota_openshift_io_v1_cluster_resource_quota(name, body, pretty=pretty) +# **replace_cluster_resource_quota** +> V1ClusterResourceQuota replace_cluster_resource_quota(name, body, pretty=pretty) @@ -667,6 +785,15 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.QuotaOpenshiftIoV1Api() name = 'name_example' # str | name of the ClusterResourceQuota @@ -674,10 +801,10 @@ body = openshift.client.V1ClusterResourceQuota() # V1ClusterResourceQuota | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) try: - api_response = api_instance.replace_quota_openshift_io_v1_cluster_resource_quota(name, body, pretty=pretty) + api_response = api_instance.replace_cluster_resource_quota(name, body, pretty=pretty) pprint(api_response) except ApiException as e: - print("Exception when calling QuotaOpenshiftIoV1Api->replace_quota_openshift_io_v1_cluster_resource_quota: %s\n" % e) + print("Exception when calling QuotaOpenshiftIoV1Api->replace_cluster_resource_quota: %s\n" % e) ``` ### Parameters @@ -694,7 +821,7 @@ Name | Type | Description | Notes ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -703,8 +830,8 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **replace_quota_openshift_io_v1_cluster_resource_quota_status** -> V1ClusterResourceQuota replace_quota_openshift_io_v1_cluster_resource_quota_status(name, body, pretty=pretty) +# **replace_cluster_resource_quota_status** +> V1ClusterResourceQuota replace_cluster_resource_quota_status(name, body, pretty=pretty) @@ -718,6 +845,15 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.QuotaOpenshiftIoV1Api() name = 'name_example' # str | name of the ClusterResourceQuota @@ -725,10 +861,10 @@ body = openshift.client.V1ClusterResourceQuota() # V1ClusterResourceQuota | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) try: - api_response = api_instance.replace_quota_openshift_io_v1_cluster_resource_quota_status(name, body, pretty=pretty) + api_response = api_instance.replace_cluster_resource_quota_status(name, body, pretty=pretty) pprint(api_response) except ApiException as e: - print("Exception when calling QuotaOpenshiftIoV1Api->replace_quota_openshift_io_v1_cluster_resource_quota_status: %s\n" % e) + print("Exception when calling QuotaOpenshiftIoV1Api->replace_cluster_resource_quota_status: %s\n" % e) ``` ### Parameters @@ -745,7 +881,7 @@ Name | Type | Description | Notes ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers diff --git a/openshift/docs/RouteOpenshiftIoApi.md b/openshift/docs/RouteOpenshiftIoApi.md index cd51f077..a22627ef 100644 --- a/openshift/docs/RouteOpenshiftIoApi.md +++ b/openshift/docs/RouteOpenshiftIoApi.md @@ -4,11 +4,11 @@ All URIs are relative to *https://localhost* Method | HTTP request | Description ------------- | ------------- | ------------- -[**get_route_openshift_io_api_group**](RouteOpenshiftIoApi.md#get_route_openshift_io_api_group) | **GET** /apis/route.openshift.io/ | +[**get_api_group**](RouteOpenshiftIoApi.md#get_api_group) | **GET** /apis/route.openshift.io/ | -# **get_route_openshift_io_api_group** -> UnversionedAPIGroup get_route_openshift_io_api_group() +# **get_api_group** +> V1APIGroup get_api_group() @@ -22,14 +22,23 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.RouteOpenshiftIoApi() try: - api_response = api_instance.get_route_openshift_io_api_group() + api_response = api_instance.get_api_group() pprint(api_response) except ApiException as e: - print("Exception when calling RouteOpenshiftIoApi->get_route_openshift_io_api_group: %s\n" % e) + print("Exception when calling RouteOpenshiftIoApi->get_api_group: %s\n" % e) ``` ### Parameters @@ -37,11 +46,11 @@ This endpoint does not need any parameter. ### Return type -[**UnversionedAPIGroup**](UnversionedAPIGroup.md) +[**V1APIGroup**](V1APIGroup.md) ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers diff --git a/openshift/docs/RouteOpenshiftIoV1Api.md b/openshift/docs/RouteOpenshiftIoV1Api.md index c715c4f0..2b548128 100644 --- a/openshift/docs/RouteOpenshiftIoV1Api.md +++ b/openshift/docs/RouteOpenshiftIoV1Api.md @@ -4,23 +4,23 @@ All URIs are relative to *https://localhost* Method | HTTP request | Description ------------- | ------------- | ------------- -[**create_route_openshift_io_v1_namespaced_route**](RouteOpenshiftIoV1Api.md#create_route_openshift_io_v1_namespaced_route) | **POST** /apis/route.openshift.io/v1/namespaces/{namespace}/routes | -[**create_route_openshift_io_v1_route_for_all_namespaces**](RouteOpenshiftIoV1Api.md#create_route_openshift_io_v1_route_for_all_namespaces) | **POST** /apis/route.openshift.io/v1/routes | -[**delete_route_openshift_io_v1_collection_namespaced_route**](RouteOpenshiftIoV1Api.md#delete_route_openshift_io_v1_collection_namespaced_route) | **DELETE** /apis/route.openshift.io/v1/namespaces/{namespace}/routes | -[**delete_route_openshift_io_v1_namespaced_route**](RouteOpenshiftIoV1Api.md#delete_route_openshift_io_v1_namespaced_route) | **DELETE** /apis/route.openshift.io/v1/namespaces/{namespace}/routes/{name} | -[**get_route_openshift_io_v1_api_resources**](RouteOpenshiftIoV1Api.md#get_route_openshift_io_v1_api_resources) | **GET** /apis/route.openshift.io/v1/ | -[**list_route_openshift_io_v1_namespaced_route**](RouteOpenshiftIoV1Api.md#list_route_openshift_io_v1_namespaced_route) | **GET** /apis/route.openshift.io/v1/namespaces/{namespace}/routes | -[**list_route_openshift_io_v1_route_for_all_namespaces**](RouteOpenshiftIoV1Api.md#list_route_openshift_io_v1_route_for_all_namespaces) | **GET** /apis/route.openshift.io/v1/routes | -[**patch_route_openshift_io_v1_namespaced_route**](RouteOpenshiftIoV1Api.md#patch_route_openshift_io_v1_namespaced_route) | **PATCH** /apis/route.openshift.io/v1/namespaces/{namespace}/routes/{name} | -[**patch_route_openshift_io_v1_namespaced_route_status**](RouteOpenshiftIoV1Api.md#patch_route_openshift_io_v1_namespaced_route_status) | **PATCH** /apis/route.openshift.io/v1/namespaces/{namespace}/routes/{name}/status | -[**read_route_openshift_io_v1_namespaced_route**](RouteOpenshiftIoV1Api.md#read_route_openshift_io_v1_namespaced_route) | **GET** /apis/route.openshift.io/v1/namespaces/{namespace}/routes/{name} | -[**read_route_openshift_io_v1_namespaced_route_status**](RouteOpenshiftIoV1Api.md#read_route_openshift_io_v1_namespaced_route_status) | **GET** /apis/route.openshift.io/v1/namespaces/{namespace}/routes/{name}/status | -[**replace_route_openshift_io_v1_namespaced_route**](RouteOpenshiftIoV1Api.md#replace_route_openshift_io_v1_namespaced_route) | **PUT** /apis/route.openshift.io/v1/namespaces/{namespace}/routes/{name} | -[**replace_route_openshift_io_v1_namespaced_route_status**](RouteOpenshiftIoV1Api.md#replace_route_openshift_io_v1_namespaced_route_status) | **PUT** /apis/route.openshift.io/v1/namespaces/{namespace}/routes/{name}/status | +[**create_namespaced_route**](RouteOpenshiftIoV1Api.md#create_namespaced_route) | **POST** /apis/route.openshift.io/v1/namespaces/{namespace}/routes | +[**create_route_for_all_namespaces**](RouteOpenshiftIoV1Api.md#create_route_for_all_namespaces) | **POST** /apis/route.openshift.io/v1/routes | +[**delete_collection_namespaced_route**](RouteOpenshiftIoV1Api.md#delete_collection_namespaced_route) | **DELETE** /apis/route.openshift.io/v1/namespaces/{namespace}/routes | +[**delete_namespaced_route**](RouteOpenshiftIoV1Api.md#delete_namespaced_route) | **DELETE** /apis/route.openshift.io/v1/namespaces/{namespace}/routes/{name} | +[**get_api_resources**](RouteOpenshiftIoV1Api.md#get_api_resources) | **GET** /apis/route.openshift.io/v1/ | +[**list_namespaced_route**](RouteOpenshiftIoV1Api.md#list_namespaced_route) | **GET** /apis/route.openshift.io/v1/namespaces/{namespace}/routes | +[**list_route_for_all_namespaces**](RouteOpenshiftIoV1Api.md#list_route_for_all_namespaces) | **GET** /apis/route.openshift.io/v1/routes | +[**patch_namespaced_route**](RouteOpenshiftIoV1Api.md#patch_namespaced_route) | **PATCH** /apis/route.openshift.io/v1/namespaces/{namespace}/routes/{name} | +[**patch_namespaced_route_status**](RouteOpenshiftIoV1Api.md#patch_namespaced_route_status) | **PATCH** /apis/route.openshift.io/v1/namespaces/{namespace}/routes/{name}/status | +[**read_namespaced_route**](RouteOpenshiftIoV1Api.md#read_namespaced_route) | **GET** /apis/route.openshift.io/v1/namespaces/{namespace}/routes/{name} | +[**read_namespaced_route_status**](RouteOpenshiftIoV1Api.md#read_namespaced_route_status) | **GET** /apis/route.openshift.io/v1/namespaces/{namespace}/routes/{name}/status | +[**replace_namespaced_route**](RouteOpenshiftIoV1Api.md#replace_namespaced_route) | **PUT** /apis/route.openshift.io/v1/namespaces/{namespace}/routes/{name} | +[**replace_namespaced_route_status**](RouteOpenshiftIoV1Api.md#replace_namespaced_route_status) | **PUT** /apis/route.openshift.io/v1/namespaces/{namespace}/routes/{name}/status | -# **create_route_openshift_io_v1_namespaced_route** -> V1Route create_route_openshift_io_v1_namespaced_route(namespace, body, pretty=pretty) +# **create_namespaced_route** +> V1Route create_namespaced_route(namespace, body, pretty=pretty) @@ -34,6 +34,15 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.RouteOpenshiftIoV1Api() namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects @@ -41,10 +50,10 @@ body = openshift.client.V1Route() # V1Route | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) try: - api_response = api_instance.create_route_openshift_io_v1_namespaced_route(namespace, body, pretty=pretty) + api_response = api_instance.create_namespaced_route(namespace, body, pretty=pretty) pprint(api_response) except ApiException as e: - print("Exception when calling RouteOpenshiftIoV1Api->create_route_openshift_io_v1_namespaced_route: %s\n" % e) + print("Exception when calling RouteOpenshiftIoV1Api->create_namespaced_route: %s\n" % e) ``` ### Parameters @@ -61,7 +70,7 @@ Name | Type | Description | Notes ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -70,8 +79,8 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **create_route_openshift_io_v1_route_for_all_namespaces** -> V1Route create_route_openshift_io_v1_route_for_all_namespaces(body, pretty=pretty) +# **create_route_for_all_namespaces** +> V1Route create_route_for_all_namespaces(body, pretty=pretty) @@ -85,16 +94,25 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.RouteOpenshiftIoV1Api() body = openshift.client.V1Route() # V1Route | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) try: - api_response = api_instance.create_route_openshift_io_v1_route_for_all_namespaces(body, pretty=pretty) + api_response = api_instance.create_route_for_all_namespaces(body, pretty=pretty) pprint(api_response) except ApiException as e: - print("Exception when calling RouteOpenshiftIoV1Api->create_route_openshift_io_v1_route_for_all_namespaces: %s\n" % e) + print("Exception when calling RouteOpenshiftIoV1Api->create_route_for_all_namespaces: %s\n" % e) ``` ### Parameters @@ -110,7 +128,7 @@ Name | Type | Description | Notes ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -119,8 +137,8 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **delete_route_openshift_io_v1_collection_namespaced_route** -> UnversionedStatus delete_route_openshift_io_v1_collection_namespaced_route(namespace, pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) +# **delete_collection_namespaced_route** +> V1Status delete_collection_namespaced_route(namespace, pretty=pretty, field_selector=field_selector, include_uninitialized=include_uninitialized, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) @@ -134,21 +152,31 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.RouteOpenshiftIoV1Api() namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) +include_uninitialized = true # bool | If true, partially initialized resources are included in the response. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. (optional) +resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) timeout_seconds = 56 # int | Timeout for the list/watch call. (optional) watch = true # bool | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) try: - api_response = api_instance.delete_route_openshift_io_v1_collection_namespaced_route(namespace, pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) + api_response = api_instance.delete_collection_namespaced_route(namespace, pretty=pretty, field_selector=field_selector, include_uninitialized=include_uninitialized, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) pprint(api_response) except ApiException as e: - print("Exception when calling RouteOpenshiftIoV1Api->delete_route_openshift_io_v1_collection_namespaced_route: %s\n" % e) + print("Exception when calling RouteOpenshiftIoV1Api->delete_collection_namespaced_route: %s\n" % e) ``` ### Parameters @@ -158,18 +186,19 @@ Name | Type | Description | Notes **namespace** | **str**| object name and auth scope, such as for teams and projects | **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] + **include_uninitialized** | **bool**| If true, partially initialized resources are included in the response. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. | [optional] + **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] **timeout_seconds** | **int**| Timeout for the list/watch call. | [optional] **watch** | **bool**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] ### Return type -[**UnversionedStatus**](UnversionedStatus.md) +[**V1Status**](V1Status.md) ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -178,8 +207,8 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **delete_route_openshift_io_v1_namespaced_route** -> UnversionedStatus delete_route_openshift_io_v1_namespaced_route(name, namespace, body, pretty=pretty, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents) +# **delete_namespaced_route** +> V1Status delete_namespaced_route(name, namespace, body, pretty=pretty, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) @@ -193,6 +222,15 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.RouteOpenshiftIoV1Api() name = 'name_example' # str | name of the Route @@ -200,13 +238,14 @@ namespace = 'namespace_example' # str | object name and auth scope, such as for body = openshift.client.V1DeleteOptions() # V1DeleteOptions | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) grace_period_seconds = 56 # int | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) -orphan_dependents = true # bool | Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. (optional) +orphan_dependents = true # bool | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) +propagation_policy = 'propagation_policy_example' # str | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. (optional) try: - api_response = api_instance.delete_route_openshift_io_v1_namespaced_route(name, namespace, body, pretty=pretty, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents) + api_response = api_instance.delete_namespaced_route(name, namespace, body, pretty=pretty, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) pprint(api_response) except ApiException as e: - print("Exception when calling RouteOpenshiftIoV1Api->delete_route_openshift_io_v1_namespaced_route: %s\n" % e) + print("Exception when calling RouteOpenshiftIoV1Api->delete_namespaced_route: %s\n" % e) ``` ### Parameters @@ -218,15 +257,16 @@ Name | Type | Description | Notes **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | **pretty** | **str**| If 'true', then the output is pretty printed. | [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] - **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] + **orphan_dependents** | **bool**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional] + **propagation_policy** | **str**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. | [optional] ### Return type -[**UnversionedStatus**](UnversionedStatus.md) +[**V1Status**](V1Status.md) ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -235,8 +275,8 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **get_route_openshift_io_v1_api_resources** -> UnversionedAPIResourceList get_route_openshift_io_v1_api_resources() +# **get_api_resources** +> V1APIResourceList get_api_resources() @@ -250,14 +290,23 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.RouteOpenshiftIoV1Api() try: - api_response = api_instance.get_route_openshift_io_v1_api_resources() + api_response = api_instance.get_api_resources() pprint(api_response) except ApiException as e: - print("Exception when calling RouteOpenshiftIoV1Api->get_route_openshift_io_v1_api_resources: %s\n" % e) + print("Exception when calling RouteOpenshiftIoV1Api->get_api_resources: %s\n" % e) ``` ### Parameters @@ -265,11 +314,11 @@ This endpoint does not need any parameter. ### Return type -[**UnversionedAPIResourceList**](UnversionedAPIResourceList.md) +[**V1APIResourceList**](V1APIResourceList.md) ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -278,8 +327,8 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **list_route_openshift_io_v1_namespaced_route** -> V1RouteList list_route_openshift_io_v1_namespaced_route(namespace, pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) +# **list_namespaced_route** +> V1RouteList list_namespaced_route(namespace, pretty=pretty, field_selector=field_selector, include_uninitialized=include_uninitialized, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) @@ -293,21 +342,31 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.RouteOpenshiftIoV1Api() namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) +include_uninitialized = true # bool | If true, partially initialized resources are included in the response. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. (optional) +resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) timeout_seconds = 56 # int | Timeout for the list/watch call. (optional) watch = true # bool | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) try: - api_response = api_instance.list_route_openshift_io_v1_namespaced_route(namespace, pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) + api_response = api_instance.list_namespaced_route(namespace, pretty=pretty, field_selector=field_selector, include_uninitialized=include_uninitialized, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) pprint(api_response) except ApiException as e: - print("Exception when calling RouteOpenshiftIoV1Api->list_route_openshift_io_v1_namespaced_route: %s\n" % e) + print("Exception when calling RouteOpenshiftIoV1Api->list_namespaced_route: %s\n" % e) ``` ### Parameters @@ -317,8 +376,9 @@ Name | Type | Description | Notes **namespace** | **str**| object name and auth scope, such as for teams and projects | **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] + **include_uninitialized** | **bool**| If true, partially initialized resources are included in the response. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. | [optional] + **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] **timeout_seconds** | **int**| Timeout for the list/watch call. | [optional] **watch** | **bool**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] @@ -328,7 +388,7 @@ Name | Type | Description | Notes ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -337,8 +397,8 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **list_route_openshift_io_v1_route_for_all_namespaces** -> V1RouteList list_route_openshift_io_v1_route_for_all_namespaces(pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) +# **list_route_for_all_namespaces** +> V1RouteList list_route_for_all_namespaces(pretty=pretty, field_selector=field_selector, include_uninitialized=include_uninitialized, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) @@ -352,20 +412,30 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.RouteOpenshiftIoV1Api() pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) +include_uninitialized = true # bool | If true, partially initialized resources are included in the response. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. (optional) +resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) timeout_seconds = 56 # int | Timeout for the list/watch call. (optional) watch = true # bool | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) try: - api_response = api_instance.list_route_openshift_io_v1_route_for_all_namespaces(pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) + api_response = api_instance.list_route_for_all_namespaces(pretty=pretty, field_selector=field_selector, include_uninitialized=include_uninitialized, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) pprint(api_response) except ApiException as e: - print("Exception when calling RouteOpenshiftIoV1Api->list_route_openshift_io_v1_route_for_all_namespaces: %s\n" % e) + print("Exception when calling RouteOpenshiftIoV1Api->list_route_for_all_namespaces: %s\n" % e) ``` ### Parameters @@ -374,8 +444,9 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] + **include_uninitialized** | **bool**| If true, partially initialized resources are included in the response. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. | [optional] + **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] **timeout_seconds** | **int**| Timeout for the list/watch call. | [optional] **watch** | **bool**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] @@ -385,7 +456,7 @@ Name | Type | Description | Notes ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -394,8 +465,8 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **patch_route_openshift_io_v1_namespaced_route** -> V1Route patch_route_openshift_io_v1_namespaced_route(name, namespace, body, pretty=pretty) +# **patch_namespaced_route** +> V1Route patch_namespaced_route(name, namespace, body, pretty=pretty) @@ -409,18 +480,27 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.RouteOpenshiftIoV1Api() name = 'name_example' # str | name of the Route namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = openshift.client.UnversionedPatch() # UnversionedPatch | +body = NULL # object | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) try: - api_response = api_instance.patch_route_openshift_io_v1_namespaced_route(name, namespace, body, pretty=pretty) + api_response = api_instance.patch_namespaced_route(name, namespace, body, pretty=pretty) pprint(api_response) except ApiException as e: - print("Exception when calling RouteOpenshiftIoV1Api->patch_route_openshift_io_v1_namespaced_route: %s\n" % e) + print("Exception when calling RouteOpenshiftIoV1Api->patch_namespaced_route: %s\n" % e) ``` ### Parameters @@ -429,7 +509,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **name** | **str**| name of the Route | **namespace** | **str**| object name and auth scope, such as for teams and projects | - **body** | [**UnversionedPatch**](UnversionedPatch.md)| | + **body** | **object**| | **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] ### Return type @@ -438,7 +518,7 @@ Name | Type | Description | Notes ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -447,8 +527,8 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **patch_route_openshift_io_v1_namespaced_route_status** -> V1Route patch_route_openshift_io_v1_namespaced_route_status(name, namespace, body, pretty=pretty) +# **patch_namespaced_route_status** +> V1Route patch_namespaced_route_status(name, namespace, body, pretty=pretty) @@ -462,18 +542,27 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.RouteOpenshiftIoV1Api() name = 'name_example' # str | name of the Route namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = openshift.client.UnversionedPatch() # UnversionedPatch | +body = NULL # object | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) try: - api_response = api_instance.patch_route_openshift_io_v1_namespaced_route_status(name, namespace, body, pretty=pretty) + api_response = api_instance.patch_namespaced_route_status(name, namespace, body, pretty=pretty) pprint(api_response) except ApiException as e: - print("Exception when calling RouteOpenshiftIoV1Api->patch_route_openshift_io_v1_namespaced_route_status: %s\n" % e) + print("Exception when calling RouteOpenshiftIoV1Api->patch_namespaced_route_status: %s\n" % e) ``` ### Parameters @@ -482,7 +571,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **name** | **str**| name of the Route | **namespace** | **str**| object name and auth scope, such as for teams and projects | - **body** | [**UnversionedPatch**](UnversionedPatch.md)| | + **body** | **object**| | **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] ### Return type @@ -491,7 +580,7 @@ Name | Type | Description | Notes ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -500,8 +589,8 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **read_route_openshift_io_v1_namespaced_route** -> V1Route read_route_openshift_io_v1_namespaced_route(name, namespace, pretty=pretty, exact=exact, export=export) +# **read_namespaced_route** +> V1Route read_namespaced_route(name, namespace, pretty=pretty, exact=exact, export=export) @@ -515,19 +604,28 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.RouteOpenshiftIoV1Api() name = 'name_example' # str | name of the Route namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) -exact = true # bool | Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace' (optional) +exact = true # bool | Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. (optional) export = true # bool | Should this value be exported. Export strips fields that a user can not specify. (optional) try: - api_response = api_instance.read_route_openshift_io_v1_namespaced_route(name, namespace, pretty=pretty, exact=exact, export=export) + api_response = api_instance.read_namespaced_route(name, namespace, pretty=pretty, exact=exact, export=export) pprint(api_response) except ApiException as e: - print("Exception when calling RouteOpenshiftIoV1Api->read_route_openshift_io_v1_namespaced_route: %s\n" % e) + print("Exception when calling RouteOpenshiftIoV1Api->read_namespaced_route: %s\n" % e) ``` ### Parameters @@ -537,7 +635,7 @@ Name | Type | Description | Notes **name** | **str**| name of the Route | **namespace** | **str**| object name and auth scope, such as for teams and projects | **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - **exact** | **bool**| Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace' | [optional] + **exact** | **bool**| Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. | [optional] **export** | **bool**| Should this value be exported. Export strips fields that a user can not specify. | [optional] ### Return type @@ -546,7 +644,7 @@ Name | Type | Description | Notes ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -555,8 +653,8 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **read_route_openshift_io_v1_namespaced_route_status** -> V1Route read_route_openshift_io_v1_namespaced_route_status(name, namespace, pretty=pretty) +# **read_namespaced_route_status** +> V1Route read_namespaced_route_status(name, namespace, pretty=pretty) @@ -570,6 +668,15 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.RouteOpenshiftIoV1Api() name = 'name_example' # str | name of the Route @@ -577,10 +684,10 @@ namespace = 'namespace_example' # str | object name and auth scope, such as for pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) try: - api_response = api_instance.read_route_openshift_io_v1_namespaced_route_status(name, namespace, pretty=pretty) + api_response = api_instance.read_namespaced_route_status(name, namespace, pretty=pretty) pprint(api_response) except ApiException as e: - print("Exception when calling RouteOpenshiftIoV1Api->read_route_openshift_io_v1_namespaced_route_status: %s\n" % e) + print("Exception when calling RouteOpenshiftIoV1Api->read_namespaced_route_status: %s\n" % e) ``` ### Parameters @@ -597,7 +704,7 @@ Name | Type | Description | Notes ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -606,8 +713,8 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **replace_route_openshift_io_v1_namespaced_route** -> V1Route replace_route_openshift_io_v1_namespaced_route(name, namespace, body, pretty=pretty) +# **replace_namespaced_route** +> V1Route replace_namespaced_route(name, namespace, body, pretty=pretty) @@ -621,6 +728,15 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.RouteOpenshiftIoV1Api() name = 'name_example' # str | name of the Route @@ -629,10 +745,10 @@ body = openshift.client.V1Route() # V1Route | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) try: - api_response = api_instance.replace_route_openshift_io_v1_namespaced_route(name, namespace, body, pretty=pretty) + api_response = api_instance.replace_namespaced_route(name, namespace, body, pretty=pretty) pprint(api_response) except ApiException as e: - print("Exception when calling RouteOpenshiftIoV1Api->replace_route_openshift_io_v1_namespaced_route: %s\n" % e) + print("Exception when calling RouteOpenshiftIoV1Api->replace_namespaced_route: %s\n" % e) ``` ### Parameters @@ -650,7 +766,7 @@ Name | Type | Description | Notes ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -659,8 +775,8 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **replace_route_openshift_io_v1_namespaced_route_status** -> V1Route replace_route_openshift_io_v1_namespaced_route_status(name, namespace, body, pretty=pretty) +# **replace_namespaced_route_status** +> V1Route replace_namespaced_route_status(name, namespace, body, pretty=pretty) @@ -674,6 +790,15 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.RouteOpenshiftIoV1Api() name = 'name_example' # str | name of the Route @@ -682,10 +807,10 @@ body = openshift.client.V1Route() # V1Route | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) try: - api_response = api_instance.replace_route_openshift_io_v1_namespaced_route_status(name, namespace, body, pretty=pretty) + api_response = api_instance.replace_namespaced_route_status(name, namespace, body, pretty=pretty) pprint(api_response) except ApiException as e: - print("Exception when calling RouteOpenshiftIoV1Api->replace_route_openshift_io_v1_namespaced_route_status: %s\n" % e) + print("Exception when calling RouteOpenshiftIoV1Api->replace_namespaced_route_status: %s\n" % e) ``` ### Parameters @@ -703,7 +828,7 @@ Name | Type | Description | Notes ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers diff --git a/openshift/docs/SecurityOpenshiftIoApi.md b/openshift/docs/SecurityOpenshiftIoApi.md index bd63e191..191802ef 100644 --- a/openshift/docs/SecurityOpenshiftIoApi.md +++ b/openshift/docs/SecurityOpenshiftIoApi.md @@ -4,11 +4,11 @@ All URIs are relative to *https://localhost* Method | HTTP request | Description ------------- | ------------- | ------------- -[**get_security_openshift_io_api_group**](SecurityOpenshiftIoApi.md#get_security_openshift_io_api_group) | **GET** /apis/security.openshift.io/ | +[**get_api_group**](SecurityOpenshiftIoApi.md#get_api_group) | **GET** /apis/security.openshift.io/ | -# **get_security_openshift_io_api_group** -> UnversionedAPIGroup get_security_openshift_io_api_group() +# **get_api_group** +> V1APIGroup get_api_group() @@ -22,14 +22,23 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.SecurityOpenshiftIoApi() try: - api_response = api_instance.get_security_openshift_io_api_group() + api_response = api_instance.get_api_group() pprint(api_response) except ApiException as e: - print("Exception when calling SecurityOpenshiftIoApi->get_security_openshift_io_api_group: %s\n" % e) + print("Exception when calling SecurityOpenshiftIoApi->get_api_group: %s\n" % e) ``` ### Parameters @@ -37,11 +46,11 @@ This endpoint does not need any parameter. ### Return type -[**UnversionedAPIGroup**](UnversionedAPIGroup.md) +[**V1APIGroup**](V1APIGroup.md) ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers diff --git a/openshift/docs/SecurityOpenshiftIoV1Api.md b/openshift/docs/SecurityOpenshiftIoV1Api.md index efe2557a..328eb0b5 100644 --- a/openshift/docs/SecurityOpenshiftIoV1Api.md +++ b/openshift/docs/SecurityOpenshiftIoV1Api.md @@ -4,17 +4,24 @@ All URIs are relative to *https://localhost* Method | HTTP request | Description ------------- | ------------- | ------------- -[**create_security_openshift_io_v1_namespaced_pod_security_policy_review**](SecurityOpenshiftIoV1Api.md#create_security_openshift_io_v1_namespaced_pod_security_policy_review) | **POST** /apis/security.openshift.io/v1/namespaces/{namespace}/podsecuritypolicyreviews | -[**create_security_openshift_io_v1_namespaced_pod_security_policy_self_subject_review**](SecurityOpenshiftIoV1Api.md#create_security_openshift_io_v1_namespaced_pod_security_policy_self_subject_review) | **POST** /apis/security.openshift.io/v1/namespaces/{namespace}/podsecuritypolicyselfsubjectreviews | -[**create_security_openshift_io_v1_namespaced_pod_security_policy_subject_review**](SecurityOpenshiftIoV1Api.md#create_security_openshift_io_v1_namespaced_pod_security_policy_subject_review) | **POST** /apis/security.openshift.io/v1/namespaces/{namespace}/podsecuritypolicysubjectreviews | -[**create_security_openshift_io_v1_pod_security_policy_review_for_all_namespaces**](SecurityOpenshiftIoV1Api.md#create_security_openshift_io_v1_pod_security_policy_review_for_all_namespaces) | **POST** /apis/security.openshift.io/v1/podsecuritypolicyreviews | -[**create_security_openshift_io_v1_pod_security_policy_self_subject_review_for_all_namespaces**](SecurityOpenshiftIoV1Api.md#create_security_openshift_io_v1_pod_security_policy_self_subject_review_for_all_namespaces) | **POST** /apis/security.openshift.io/v1/podsecuritypolicyselfsubjectreviews | -[**create_security_openshift_io_v1_pod_security_policy_subject_review_for_all_namespaces**](SecurityOpenshiftIoV1Api.md#create_security_openshift_io_v1_pod_security_policy_subject_review_for_all_namespaces) | **POST** /apis/security.openshift.io/v1/podsecuritypolicysubjectreviews | -[**get_security_openshift_io_v1_api_resources**](SecurityOpenshiftIoV1Api.md#get_security_openshift_io_v1_api_resources) | **GET** /apis/security.openshift.io/v1/ | +[**create_namespaced_pod_security_policy_review**](SecurityOpenshiftIoV1Api.md#create_namespaced_pod_security_policy_review) | **POST** /apis/security.openshift.io/v1/namespaces/{namespace}/podsecuritypolicyreviews | +[**create_namespaced_pod_security_policy_self_subject_review**](SecurityOpenshiftIoV1Api.md#create_namespaced_pod_security_policy_self_subject_review) | **POST** /apis/security.openshift.io/v1/namespaces/{namespace}/podsecuritypolicyselfsubjectreviews | +[**create_namespaced_pod_security_policy_subject_review**](SecurityOpenshiftIoV1Api.md#create_namespaced_pod_security_policy_subject_review) | **POST** /apis/security.openshift.io/v1/namespaces/{namespace}/podsecuritypolicysubjectreviews | +[**create_pod_security_policy_review_for_all_namespaces**](SecurityOpenshiftIoV1Api.md#create_pod_security_policy_review_for_all_namespaces) | **POST** /apis/security.openshift.io/v1/podsecuritypolicyreviews | +[**create_pod_security_policy_self_subject_review_for_all_namespaces**](SecurityOpenshiftIoV1Api.md#create_pod_security_policy_self_subject_review_for_all_namespaces) | **POST** /apis/security.openshift.io/v1/podsecuritypolicyselfsubjectreviews | +[**create_pod_security_policy_subject_review_for_all_namespaces**](SecurityOpenshiftIoV1Api.md#create_pod_security_policy_subject_review_for_all_namespaces) | **POST** /apis/security.openshift.io/v1/podsecuritypolicysubjectreviews | +[**create_security_context_constraints**](SecurityOpenshiftIoV1Api.md#create_security_context_constraints) | **POST** /apis/security.openshift.io/v1/securitycontextconstraints | +[**delete_collection_security_context_constraints**](SecurityOpenshiftIoV1Api.md#delete_collection_security_context_constraints) | **DELETE** /apis/security.openshift.io/v1/securitycontextconstraints | +[**delete_security_context_constraints**](SecurityOpenshiftIoV1Api.md#delete_security_context_constraints) | **DELETE** /apis/security.openshift.io/v1/securitycontextconstraints/{name} | +[**get_api_resources**](SecurityOpenshiftIoV1Api.md#get_api_resources) | **GET** /apis/security.openshift.io/v1/ | +[**list_security_context_constraints**](SecurityOpenshiftIoV1Api.md#list_security_context_constraints) | **GET** /apis/security.openshift.io/v1/securitycontextconstraints | +[**patch_security_context_constraints**](SecurityOpenshiftIoV1Api.md#patch_security_context_constraints) | **PATCH** /apis/security.openshift.io/v1/securitycontextconstraints/{name} | +[**read_security_context_constraints**](SecurityOpenshiftIoV1Api.md#read_security_context_constraints) | **GET** /apis/security.openshift.io/v1/securitycontextconstraints/{name} | +[**replace_security_context_constraints**](SecurityOpenshiftIoV1Api.md#replace_security_context_constraints) | **PUT** /apis/security.openshift.io/v1/securitycontextconstraints/{name} | -# **create_security_openshift_io_v1_namespaced_pod_security_policy_review** -> V1PodSecurityPolicyReview create_security_openshift_io_v1_namespaced_pod_security_policy_review(body, namespace, pretty=pretty) +# **create_namespaced_pod_security_policy_review** +> V1PodSecurityPolicyReview create_namespaced_pod_security_policy_review(namespace, body, pretty=pretty) @@ -28,25 +35,34 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.SecurityOpenshiftIoV1Api() -body = openshift.client.V1PodSecurityPolicyReview() # V1PodSecurityPolicyReview | namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects +body = openshift.client.V1PodSecurityPolicyReview() # V1PodSecurityPolicyReview | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) try: - api_response = api_instance.create_security_openshift_io_v1_namespaced_pod_security_policy_review(body, namespace, pretty=pretty) + api_response = api_instance.create_namespaced_pod_security_policy_review(namespace, body, pretty=pretty) pprint(api_response) except ApiException as e: - print("Exception when calling SecurityOpenshiftIoV1Api->create_security_openshift_io_v1_namespaced_pod_security_policy_review: %s\n" % e) + print("Exception when calling SecurityOpenshiftIoV1Api->create_namespaced_pod_security_policy_review: %s\n" % e) ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **body** | [**V1PodSecurityPolicyReview**](V1PodSecurityPolicyReview.md)| | **namespace** | **str**| object name and auth scope, such as for teams and projects | + **body** | [**V1PodSecurityPolicyReview**](V1PodSecurityPolicyReview.md)| | **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] ### Return type @@ -55,7 +71,7 @@ Name | Type | Description | Notes ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -64,8 +80,8 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **create_security_openshift_io_v1_namespaced_pod_security_policy_self_subject_review** -> V1PodSecurityPolicySelfSubjectReview create_security_openshift_io_v1_namespaced_pod_security_policy_self_subject_review(body, namespace, pretty=pretty) +# **create_namespaced_pod_security_policy_self_subject_review** +> V1PodSecurityPolicySelfSubjectReview create_namespaced_pod_security_policy_self_subject_review(namespace, body, pretty=pretty) @@ -79,25 +95,34 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.SecurityOpenshiftIoV1Api() -body = openshift.client.V1PodSecurityPolicySelfSubjectReview() # V1PodSecurityPolicySelfSubjectReview | namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects +body = openshift.client.V1PodSecurityPolicySelfSubjectReview() # V1PodSecurityPolicySelfSubjectReview | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) try: - api_response = api_instance.create_security_openshift_io_v1_namespaced_pod_security_policy_self_subject_review(body, namespace, pretty=pretty) + api_response = api_instance.create_namespaced_pod_security_policy_self_subject_review(namespace, body, pretty=pretty) pprint(api_response) except ApiException as e: - print("Exception when calling SecurityOpenshiftIoV1Api->create_security_openshift_io_v1_namespaced_pod_security_policy_self_subject_review: %s\n" % e) + print("Exception when calling SecurityOpenshiftIoV1Api->create_namespaced_pod_security_policy_self_subject_review: %s\n" % e) ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **body** | [**V1PodSecurityPolicySelfSubjectReview**](V1PodSecurityPolicySelfSubjectReview.md)| | **namespace** | **str**| object name and auth scope, such as for teams and projects | + **body** | [**V1PodSecurityPolicySelfSubjectReview**](V1PodSecurityPolicySelfSubjectReview.md)| | **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] ### Return type @@ -106,7 +131,7 @@ Name | Type | Description | Notes ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -115,8 +140,8 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **create_security_openshift_io_v1_namespaced_pod_security_policy_subject_review** -> V1PodSecurityPolicySubjectReview create_security_openshift_io_v1_namespaced_pod_security_policy_subject_review(body, namespace, pretty=pretty) +# **create_namespaced_pod_security_policy_subject_review** +> V1PodSecurityPolicySubjectReview create_namespaced_pod_security_policy_subject_review(namespace, body, pretty=pretty) @@ -130,25 +155,34 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.SecurityOpenshiftIoV1Api() -body = openshift.client.V1PodSecurityPolicySubjectReview() # V1PodSecurityPolicySubjectReview | namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects +body = openshift.client.V1PodSecurityPolicySubjectReview() # V1PodSecurityPolicySubjectReview | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) try: - api_response = api_instance.create_security_openshift_io_v1_namespaced_pod_security_policy_subject_review(body, namespace, pretty=pretty) + api_response = api_instance.create_namespaced_pod_security_policy_subject_review(namespace, body, pretty=pretty) pprint(api_response) except ApiException as e: - print("Exception when calling SecurityOpenshiftIoV1Api->create_security_openshift_io_v1_namespaced_pod_security_policy_subject_review: %s\n" % e) + print("Exception when calling SecurityOpenshiftIoV1Api->create_namespaced_pod_security_policy_subject_review: %s\n" % e) ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **body** | [**V1PodSecurityPolicySubjectReview**](V1PodSecurityPolicySubjectReview.md)| | **namespace** | **str**| object name and auth scope, such as for teams and projects | + **body** | [**V1PodSecurityPolicySubjectReview**](V1PodSecurityPolicySubjectReview.md)| | **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] ### Return type @@ -157,7 +191,7 @@ Name | Type | Description | Notes ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -166,8 +200,8 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **create_security_openshift_io_v1_pod_security_policy_review_for_all_namespaces** -> V1PodSecurityPolicyReview create_security_openshift_io_v1_pod_security_policy_review_for_all_namespaces(body, pretty=pretty) +# **create_pod_security_policy_review_for_all_namespaces** +> V1PodSecurityPolicyReview create_pod_security_policy_review_for_all_namespaces(body, pretty=pretty) @@ -181,16 +215,25 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.SecurityOpenshiftIoV1Api() body = openshift.client.V1PodSecurityPolicyReview() # V1PodSecurityPolicyReview | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) try: - api_response = api_instance.create_security_openshift_io_v1_pod_security_policy_review_for_all_namespaces(body, pretty=pretty) + api_response = api_instance.create_pod_security_policy_review_for_all_namespaces(body, pretty=pretty) pprint(api_response) except ApiException as e: - print("Exception when calling SecurityOpenshiftIoV1Api->create_security_openshift_io_v1_pod_security_policy_review_for_all_namespaces: %s\n" % e) + print("Exception when calling SecurityOpenshiftIoV1Api->create_pod_security_policy_review_for_all_namespaces: %s\n" % e) ``` ### Parameters @@ -206,7 +249,7 @@ Name | Type | Description | Notes ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -215,8 +258,8 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **create_security_openshift_io_v1_pod_security_policy_self_subject_review_for_all_namespaces** -> V1PodSecurityPolicySelfSubjectReview create_security_openshift_io_v1_pod_security_policy_self_subject_review_for_all_namespaces(body, pretty=pretty) +# **create_pod_security_policy_self_subject_review_for_all_namespaces** +> V1PodSecurityPolicySelfSubjectReview create_pod_security_policy_self_subject_review_for_all_namespaces(body, pretty=pretty) @@ -230,16 +273,25 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.SecurityOpenshiftIoV1Api() body = openshift.client.V1PodSecurityPolicySelfSubjectReview() # V1PodSecurityPolicySelfSubjectReview | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) try: - api_response = api_instance.create_security_openshift_io_v1_pod_security_policy_self_subject_review_for_all_namespaces(body, pretty=pretty) + api_response = api_instance.create_pod_security_policy_self_subject_review_for_all_namespaces(body, pretty=pretty) pprint(api_response) except ApiException as e: - print("Exception when calling SecurityOpenshiftIoV1Api->create_security_openshift_io_v1_pod_security_policy_self_subject_review_for_all_namespaces: %s\n" % e) + print("Exception when calling SecurityOpenshiftIoV1Api->create_pod_security_policy_self_subject_review_for_all_namespaces: %s\n" % e) ``` ### Parameters @@ -255,7 +307,7 @@ Name | Type | Description | Notes ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -264,8 +316,8 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **create_security_openshift_io_v1_pod_security_policy_subject_review_for_all_namespaces** -> V1PodSecurityPolicySubjectReview create_security_openshift_io_v1_pod_security_policy_subject_review_for_all_namespaces(body, pretty=pretty) +# **create_pod_security_policy_subject_review_for_all_namespaces** +> V1PodSecurityPolicySubjectReview create_pod_security_policy_subject_review_for_all_namespaces(body, pretty=pretty) @@ -279,16 +331,25 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.SecurityOpenshiftIoV1Api() body = openshift.client.V1PodSecurityPolicySubjectReview() # V1PodSecurityPolicySubjectReview | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) try: - api_response = api_instance.create_security_openshift_io_v1_pod_security_policy_subject_review_for_all_namespaces(body, pretty=pretty) + api_response = api_instance.create_pod_security_policy_subject_review_for_all_namespaces(body, pretty=pretty) pprint(api_response) except ApiException as e: - print("Exception when calling SecurityOpenshiftIoV1Api->create_security_openshift_io_v1_pod_security_policy_subject_review_for_all_namespaces: %s\n" % e) + print("Exception when calling SecurityOpenshiftIoV1Api->create_pod_security_policy_subject_review_for_all_namespaces: %s\n" % e) ``` ### Parameters @@ -304,7 +365,199 @@ Name | Type | Description | Notes ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: */* + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **create_security_context_constraints** +> V1SecurityContextConstraints create_security_context_constraints(body, pretty=pretty) + + + +create SecurityContextConstraints + +### Example +```python +from __future__ import print_statement +import time +import openshift.client +from kubernetes.client.rest import ApiException +from pprint import pprint + +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + +# create an instance of the API class +api_instance = openshift.client.SecurityOpenshiftIoV1Api() +body = openshift.client.V1SecurityContextConstraints() # V1SecurityContextConstraints | +pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) + +try: + api_response = api_instance.create_security_context_constraints(body, pretty=pretty) + pprint(api_response) +except ApiException as e: + print("Exception when calling SecurityOpenshiftIoV1Api->create_security_context_constraints: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **body** | [**V1SecurityContextConstraints**](V1SecurityContextConstraints.md)| | + **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] + +### Return type + +[**V1SecurityContextConstraints**](V1SecurityContextConstraints.md) + +### Authorization + +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: */* + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **delete_collection_security_context_constraints** +> V1Status delete_collection_security_context_constraints(pretty=pretty, field_selector=field_selector, include_uninitialized=include_uninitialized, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) + + + +delete collection of SecurityContextConstraints + +### Example +```python +from __future__ import print_statement +import time +import openshift.client +from kubernetes.client.rest import ApiException +from pprint import pprint + +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + +# create an instance of the API class +api_instance = openshift.client.SecurityOpenshiftIoV1Api() +pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) +field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) +include_uninitialized = true # bool | If true, partially initialized resources are included in the response. (optional) +label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) +resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) +timeout_seconds = 56 # int | Timeout for the list/watch call. (optional) +watch = true # bool | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + +try: + api_response = api_instance.delete_collection_security_context_constraints(pretty=pretty, field_selector=field_selector, include_uninitialized=include_uninitialized, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) + pprint(api_response) +except ApiException as e: + print("Exception when calling SecurityOpenshiftIoV1Api->delete_collection_security_context_constraints: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] + **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] + **include_uninitialized** | **bool**| If true, partially initialized resources are included in the response. | [optional] + **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] + **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] + **timeout_seconds** | **int**| Timeout for the list/watch call. | [optional] + **watch** | **bool**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] + +### Return type + +[**V1Status**](V1Status.md) + +### Authorization + +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: */* + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **delete_security_context_constraints** +> V1Status delete_security_context_constraints(name, body, pretty=pretty, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) + + + +delete SecurityContextConstraints + +### Example +```python +from __future__ import print_statement +import time +import openshift.client +from kubernetes.client.rest import ApiException +from pprint import pprint + +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + +# create an instance of the API class +api_instance = openshift.client.SecurityOpenshiftIoV1Api() +name = 'name_example' # str | name of the SecurityContextConstraints +body = openshift.client.V1DeleteOptions() # V1DeleteOptions | +pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) +grace_period_seconds = 56 # int | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) +orphan_dependents = true # bool | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) +propagation_policy = 'propagation_policy_example' # str | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. (optional) + +try: + api_response = api_instance.delete_security_context_constraints(name, body, pretty=pretty, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) + pprint(api_response) +except ApiException as e: + print("Exception when calling SecurityOpenshiftIoV1Api->delete_security_context_constraints: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **name** | **str**| name of the SecurityContextConstraints | + **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | + **pretty** | **str**| If 'true', then the output is pretty printed. | [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] + **orphan_dependents** | **bool**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional] + **propagation_policy** | **str**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. | [optional] + +### Return type + +[**V1Status**](V1Status.md) + +### Authorization + +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -313,8 +566,8 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **get_security_openshift_io_v1_api_resources** -> UnversionedAPIResourceList get_security_openshift_io_v1_api_resources() +# **get_api_resources** +> V1APIResourceList get_api_resources() @@ -328,14 +581,23 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.SecurityOpenshiftIoV1Api() try: - api_response = api_instance.get_security_openshift_io_v1_api_resources() + api_response = api_instance.get_api_resources() pprint(api_response) except ApiException as e: - print("Exception when calling SecurityOpenshiftIoV1Api->get_security_openshift_io_v1_api_resources: %s\n" % e) + print("Exception when calling SecurityOpenshiftIoV1Api->get_api_resources: %s\n" % e) ``` ### Parameters @@ -343,11 +605,11 @@ This endpoint does not need any parameter. ### Return type -[**UnversionedAPIResourceList**](UnversionedAPIResourceList.md) +[**V1APIResourceList**](V1APIResourceList.md) ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -356,3 +618,253 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) +# **list_security_context_constraints** +> V1SecurityContextConstraintsList list_security_context_constraints(pretty=pretty, field_selector=field_selector, include_uninitialized=include_uninitialized, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) + + + +list or watch objects of kind SecurityContextConstraints + +### Example +```python +from __future__ import print_statement +import time +import openshift.client +from kubernetes.client.rest import ApiException +from pprint import pprint + +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + +# create an instance of the API class +api_instance = openshift.client.SecurityOpenshiftIoV1Api() +pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) +field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) +include_uninitialized = true # bool | If true, partially initialized resources are included in the response. (optional) +label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) +resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) +timeout_seconds = 56 # int | Timeout for the list/watch call. (optional) +watch = true # bool | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + +try: + api_response = api_instance.list_security_context_constraints(pretty=pretty, field_selector=field_selector, include_uninitialized=include_uninitialized, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) + pprint(api_response) +except ApiException as e: + print("Exception when calling SecurityOpenshiftIoV1Api->list_security_context_constraints: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] + **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] + **include_uninitialized** | **bool**| If true, partially initialized resources are included in the response. | [optional] + **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] + **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] + **timeout_seconds** | **int**| Timeout for the list/watch call. | [optional] + **watch** | **bool**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] + +### Return type + +[**V1SecurityContextConstraintsList**](V1SecurityContextConstraintsList.md) + +### Authorization + +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: */* + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **patch_security_context_constraints** +> V1SecurityContextConstraints patch_security_context_constraints(name, body, pretty=pretty) + + + +partially update the specified SecurityContextConstraints + +### Example +```python +from __future__ import print_statement +import time +import openshift.client +from kubernetes.client.rest import ApiException +from pprint import pprint + +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + +# create an instance of the API class +api_instance = openshift.client.SecurityOpenshiftIoV1Api() +name = 'name_example' # str | name of the SecurityContextConstraints +body = NULL # object | +pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) + +try: + api_response = api_instance.patch_security_context_constraints(name, body, pretty=pretty) + pprint(api_response) +except ApiException as e: + print("Exception when calling SecurityOpenshiftIoV1Api->patch_security_context_constraints: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **name** | **str**| name of the SecurityContextConstraints | + **body** | **object**| | + **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] + +### Return type + +[**V1SecurityContextConstraints**](V1SecurityContextConstraints.md) + +### Authorization + +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **read_security_context_constraints** +> V1SecurityContextConstraints read_security_context_constraints(name, pretty=pretty, exact=exact, export=export) + + + +read the specified SecurityContextConstraints + +### Example +```python +from __future__ import print_statement +import time +import openshift.client +from kubernetes.client.rest import ApiException +from pprint import pprint + +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + +# create an instance of the API class +api_instance = openshift.client.SecurityOpenshiftIoV1Api() +name = 'name_example' # str | name of the SecurityContextConstraints +pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) +exact = true # bool | Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. (optional) +export = true # bool | Should this value be exported. Export strips fields that a user can not specify. (optional) + +try: + api_response = api_instance.read_security_context_constraints(name, pretty=pretty, exact=exact, export=export) + pprint(api_response) +except ApiException as e: + print("Exception when calling SecurityOpenshiftIoV1Api->read_security_context_constraints: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **name** | **str**| name of the SecurityContextConstraints | + **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] + **exact** | **bool**| Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. | [optional] + **export** | **bool**| Should this value be exported. Export strips fields that a user can not specify. | [optional] + +### Return type + +[**V1SecurityContextConstraints**](V1SecurityContextConstraints.md) + +### Authorization + +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: */* + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **replace_security_context_constraints** +> V1SecurityContextConstraints replace_security_context_constraints(name, body, pretty=pretty) + + + +replace the specified SecurityContextConstraints + +### Example +```python +from __future__ import print_statement +import time +import openshift.client +from kubernetes.client.rest import ApiException +from pprint import pprint + +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + +# create an instance of the API class +api_instance = openshift.client.SecurityOpenshiftIoV1Api() +name = 'name_example' # str | name of the SecurityContextConstraints +body = openshift.client.V1SecurityContextConstraints() # V1SecurityContextConstraints | +pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) + +try: + api_response = api_instance.replace_security_context_constraints(name, body, pretty=pretty) + pprint(api_response) +except ApiException as e: + print("Exception when calling SecurityOpenshiftIoV1Api->replace_security_context_constraints: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **name** | **str**| name of the SecurityContextConstraints | + **body** | [**V1SecurityContextConstraints**](V1SecurityContextConstraints.md)| | + **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] + +### Return type + +[**V1SecurityContextConstraints**](V1SecurityContextConstraints.md) + +### Authorization + +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: */* + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + diff --git a/openshift/docs/StorageApi.md b/openshift/docs/StorageApi.md deleted file mode 100644 index e1b08a33..00000000 --- a/openshift/docs/StorageApi.md +++ /dev/null @@ -1,52 +0,0 @@ -# openshift.client.StorageApi - -All URIs are relative to *https://localhost* - -Method | HTTP request | Description -------------- | ------------- | ------------- -[**get_storage_api_group**](StorageApi.md#get_storage_api_group) | **GET** /apis/storage.k8s.io/ | - - -# **get_storage_api_group** -> UnversionedAPIGroup get_storage_api_group() - - - -get information of a group - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.StorageApi() - -try: - api_response = api_instance.get_storage_api_group() - pprint(api_response) -except ApiException as e: - print("Exception when calling StorageApi->get_storage_api_group: %s\n" % e) -``` - -### Parameters -This endpoint does not need any parameter. - -### Return type - -[**UnversionedAPIGroup**](UnversionedAPIGroup.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: application/json, application/yaml, application/vnd.kubernetes.protobuf - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - diff --git a/openshift/docs/StorageV1beta1Api.md b/openshift/docs/StorageV1beta1Api.md deleted file mode 100644 index 97031e5b..00000000 --- a/openshift/docs/StorageV1beta1Api.md +++ /dev/null @@ -1,432 +0,0 @@ -# openshift.client.StorageV1beta1Api - -All URIs are relative to *https://localhost* - -Method | HTTP request | Description -------------- | ------------- | ------------- -[**create_storage_class**](StorageV1beta1Api.md#create_storage_class) | **POST** /apis/storage.k8s.io/v1beta1/storageclasses | -[**delete_collection_storage_class**](StorageV1beta1Api.md#delete_collection_storage_class) | **DELETE** /apis/storage.k8s.io/v1beta1/storageclasses | -[**delete_storage_class**](StorageV1beta1Api.md#delete_storage_class) | **DELETE** /apis/storage.k8s.io/v1beta1/storageclasses/{name} | -[**get_api_resources**](StorageV1beta1Api.md#get_api_resources) | **GET** /apis/storage.k8s.io/v1beta1/ | -[**list_storage_class**](StorageV1beta1Api.md#list_storage_class) | **GET** /apis/storage.k8s.io/v1beta1/storageclasses | -[**patch_storage_class**](StorageV1beta1Api.md#patch_storage_class) | **PATCH** /apis/storage.k8s.io/v1beta1/storageclasses/{name} | -[**read_storage_class**](StorageV1beta1Api.md#read_storage_class) | **GET** /apis/storage.k8s.io/v1beta1/storageclasses/{name} | -[**replace_storage_class**](StorageV1beta1Api.md#replace_storage_class) | **PUT** /apis/storage.k8s.io/v1beta1/storageclasses/{name} | - - -# **create_storage_class** -> V1beta1StorageClass create_storage_class(body, pretty=pretty) - - - -create a StorageClass - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.StorageV1beta1Api() -body = openshift.client.V1beta1StorageClass() # V1beta1StorageClass | -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) - -try: - api_response = api_instance.create_storage_class(body, pretty=pretty) - pprint(api_response) -except ApiException as e: - print("Exception when calling StorageV1beta1Api->create_storage_class: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **body** | [**V1beta1StorageClass**](V1beta1StorageClass.md)| | - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - -### Return type - -[**V1beta1StorageClass**](V1beta1StorageClass.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **delete_collection_storage_class** -> UnversionedStatus delete_collection_storage_class(pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) - - - -delete collection of StorageClass - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.StorageV1beta1Api() -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) -field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) -label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. (optional) -timeout_seconds = 56 # int | Timeout for the list/watch call. (optional) -watch = true # bool | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) - -try: - api_response = api_instance.delete_collection_storage_class(pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) - pprint(api_response) -except ApiException as e: - print("Exception when calling StorageV1beta1Api->delete_collection_storage_class: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] - **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. | [optional] - **timeout_seconds** | **int**| Timeout for the list/watch call. | [optional] - **watch** | **bool**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] - -### Return type - -[**UnversionedStatus**](UnversionedStatus.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **delete_storage_class** -> UnversionedStatus delete_storage_class(name, body, pretty=pretty, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents) - - - -delete a StorageClass - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.StorageV1beta1Api() -name = 'name_example' # str | name of the StorageClass -body = openshift.client.V1DeleteOptions() # V1DeleteOptions | -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) -grace_period_seconds = 56 # int | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) -orphan_dependents = true # bool | Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. (optional) - -try: - api_response = api_instance.delete_storage_class(name, body, pretty=pretty, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents) - pprint(api_response) -except ApiException as e: - print("Exception when calling StorageV1beta1Api->delete_storage_class: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the StorageClass | - **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | - **pretty** | **str**| If 'true', then the output is pretty printed. | [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] - **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] - -### Return type - -[**UnversionedStatus**](UnversionedStatus.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **get_api_resources** -> UnversionedAPIResourceList get_api_resources() - - - -get available resources - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.StorageV1beta1Api() - -try: - api_response = api_instance.get_api_resources() - pprint(api_response) -except ApiException as e: - print("Exception when calling StorageV1beta1Api->get_api_resources: %s\n" % e) -``` - -### Parameters -This endpoint does not need any parameter. - -### Return type - -[**UnversionedAPIResourceList**](UnversionedAPIResourceList.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: application/json, application/yaml, application/vnd.kubernetes.protobuf - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **list_storage_class** -> V1beta1StorageClassList list_storage_class(pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) - - - -list or watch objects of kind StorageClass - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.StorageV1beta1Api() -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) -field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) -label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. (optional) -timeout_seconds = 56 # int | Timeout for the list/watch call. (optional) -watch = true # bool | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) - -try: - api_response = api_instance.list_storage_class(pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) - pprint(api_response) -except ApiException as e: - print("Exception when calling StorageV1beta1Api->list_storage_class: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] - **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. | [optional] - **timeout_seconds** | **int**| Timeout for the list/watch call. | [optional] - **watch** | **bool**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] - -### Return type - -[**V1beta1StorageClassList**](V1beta1StorageClassList.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **patch_storage_class** -> V1beta1StorageClass patch_storage_class(name, body, pretty=pretty) - - - -partially update the specified StorageClass - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.StorageV1beta1Api() -name = 'name_example' # str | name of the StorageClass -body = openshift.client.UnversionedPatch() # UnversionedPatch | -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) - -try: - api_response = api_instance.patch_storage_class(name, body, pretty=pretty) - pprint(api_response) -except ApiException as e: - print("Exception when calling StorageV1beta1Api->patch_storage_class: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the StorageClass | - **body** | [**UnversionedPatch**](UnversionedPatch.md)| | - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - -### Return type - -[**V1beta1StorageClass**](V1beta1StorageClass.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **read_storage_class** -> V1beta1StorageClass read_storage_class(name, pretty=pretty, exact=exact, export=export) - - - -read the specified StorageClass - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.StorageV1beta1Api() -name = 'name_example' # str | name of the StorageClass -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) -exact = true # bool | Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace' (optional) -export = true # bool | Should this value be exported. Export strips fields that a user can not specify. (optional) - -try: - api_response = api_instance.read_storage_class(name, pretty=pretty, exact=exact, export=export) - pprint(api_response) -except ApiException as e: - print("Exception when calling StorageV1beta1Api->read_storage_class: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the StorageClass | - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - **exact** | **bool**| Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace' | [optional] - **export** | **bool**| Should this value be exported. Export strips fields that a user can not specify. | [optional] - -### Return type - -[**V1beta1StorageClass**](V1beta1StorageClass.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **replace_storage_class** -> V1beta1StorageClass replace_storage_class(name, body, pretty=pretty) - - - -replace the specified StorageClass - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.StorageV1beta1Api() -name = 'name_example' # str | name of the StorageClass -body = openshift.client.V1beta1StorageClass() # V1beta1StorageClass | -pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) - -try: - api_response = api_instance.replace_storage_class(name, body, pretty=pretty) - pprint(api_response) -except ApiException as e: - print("Exception when calling StorageV1beta1Api->replace_storage_class: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the StorageClass | - **body** | [**V1beta1StorageClass**](V1beta1StorageClass.md)| | - **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - -### Return type - -[**V1beta1StorageClass**](V1beta1StorageClass.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - diff --git a/openshift/docs/TemplateOpenshiftIoApi.md b/openshift/docs/TemplateOpenshiftIoApi.md index 4345bc39..602f6bcc 100644 --- a/openshift/docs/TemplateOpenshiftIoApi.md +++ b/openshift/docs/TemplateOpenshiftIoApi.md @@ -9,7 +9,7 @@ Method | HTTP request | Description # **create_namespaced_processed_template_v1** -> V1Template create_namespaced_processed_template_v1(body, namespace, pretty=pretty) +> V1Template create_namespaced_processed_template_v1(namespace, body, pretty=pretty) @@ -23,14 +23,23 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.TemplateOpenshiftIoApi() -body = openshift.client.V1Template() # V1Template | namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects +body = openshift.client.V1Template() # V1Template | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) try: - api_response = api_instance.create_namespaced_processed_template_v1(body, namespace, pretty=pretty) + api_response = api_instance.create_namespaced_processed_template_v1(namespace, body, pretty=pretty) pprint(api_response) except ApiException as e: print("Exception when calling TemplateOpenshiftIoApi->create_namespaced_processed_template_v1: %s\n" % e) @@ -40,8 +49,8 @@ except ApiException as e: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **body** | [**V1Template**](V1Template.md)| | **namespace** | **str**| object name and auth scope, such as for teams and projects | + **body** | [**V1Template**](V1Template.md)| | **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] ### Return type @@ -50,7 +59,7 @@ Name | Type | Description | Notes ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -74,6 +83,15 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.TemplateOpenshiftIoApi() body = openshift.client.V1Template() # V1Template | @@ -99,7 +117,7 @@ Name | Type | Description | Notes ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers diff --git a/openshift/docs/TemplateOpenshiftIoV1Api.md b/openshift/docs/TemplateOpenshiftIoV1Api.md index 296882d1..7cb34330 100644 --- a/openshift/docs/TemplateOpenshiftIoV1Api.md +++ b/openshift/docs/TemplateOpenshiftIoV1Api.md @@ -4,20 +4,97 @@ All URIs are relative to *https://localhost* Method | HTTP request | Description ------------- | ------------- | ------------- -[**create_template_openshift_io_v1_namespaced_template**](TemplateOpenshiftIoV1Api.md#create_template_openshift_io_v1_namespaced_template) | **POST** /apis/template.openshift.io/v1/namespaces/{namespace}/templates | -[**create_template_openshift_io_v1_template_for_all_namespaces**](TemplateOpenshiftIoV1Api.md#create_template_openshift_io_v1_template_for_all_namespaces) | **POST** /apis/template.openshift.io/v1/templates | -[**delete_template_openshift_io_v1_collection_namespaced_template**](TemplateOpenshiftIoV1Api.md#delete_template_openshift_io_v1_collection_namespaced_template) | **DELETE** /apis/template.openshift.io/v1/namespaces/{namespace}/templates | -[**delete_template_openshift_io_v1_namespaced_template**](TemplateOpenshiftIoV1Api.md#delete_template_openshift_io_v1_namespaced_template) | **DELETE** /apis/template.openshift.io/v1/namespaces/{namespace}/templates/{name} | -[**get_template_openshift_io_v1_api_resources**](TemplateOpenshiftIoV1Api.md#get_template_openshift_io_v1_api_resources) | **GET** /apis/template.openshift.io/v1/ | -[**list_template_openshift_io_v1_namespaced_template**](TemplateOpenshiftIoV1Api.md#list_template_openshift_io_v1_namespaced_template) | **GET** /apis/template.openshift.io/v1/namespaces/{namespace}/templates | -[**list_template_openshift_io_v1_template_for_all_namespaces**](TemplateOpenshiftIoV1Api.md#list_template_openshift_io_v1_template_for_all_namespaces) | **GET** /apis/template.openshift.io/v1/templates | -[**patch_template_openshift_io_v1_namespaced_template**](TemplateOpenshiftIoV1Api.md#patch_template_openshift_io_v1_namespaced_template) | **PATCH** /apis/template.openshift.io/v1/namespaces/{namespace}/templates/{name} | -[**read_template_openshift_io_v1_namespaced_template**](TemplateOpenshiftIoV1Api.md#read_template_openshift_io_v1_namespaced_template) | **GET** /apis/template.openshift.io/v1/namespaces/{namespace}/templates/{name} | -[**replace_template_openshift_io_v1_namespaced_template**](TemplateOpenshiftIoV1Api.md#replace_template_openshift_io_v1_namespaced_template) | **PUT** /apis/template.openshift.io/v1/namespaces/{namespace}/templates/{name} | +[**create_broker_template_instance**](TemplateOpenshiftIoV1Api.md#create_broker_template_instance) | **POST** /apis/template.openshift.io/v1/brokertemplateinstances | +[**create_namespaced_template**](TemplateOpenshiftIoV1Api.md#create_namespaced_template) | **POST** /apis/template.openshift.io/v1/namespaces/{namespace}/templates | +[**create_namespaced_template_instance**](TemplateOpenshiftIoV1Api.md#create_namespaced_template_instance) | **POST** /apis/template.openshift.io/v1/namespaces/{namespace}/templateinstances | +[**create_template_for_all_namespaces**](TemplateOpenshiftIoV1Api.md#create_template_for_all_namespaces) | **POST** /apis/template.openshift.io/v1/templates | +[**create_template_instance_for_all_namespaces**](TemplateOpenshiftIoV1Api.md#create_template_instance_for_all_namespaces) | **POST** /apis/template.openshift.io/v1/templateinstances | +[**delete_broker_template_instance**](TemplateOpenshiftIoV1Api.md#delete_broker_template_instance) | **DELETE** /apis/template.openshift.io/v1/brokertemplateinstances/{name} | +[**delete_collection_broker_template_instance**](TemplateOpenshiftIoV1Api.md#delete_collection_broker_template_instance) | **DELETE** /apis/template.openshift.io/v1/brokertemplateinstances | +[**delete_collection_namespaced_template**](TemplateOpenshiftIoV1Api.md#delete_collection_namespaced_template) | **DELETE** /apis/template.openshift.io/v1/namespaces/{namespace}/templates | +[**delete_collection_namespaced_template_instance**](TemplateOpenshiftIoV1Api.md#delete_collection_namespaced_template_instance) | **DELETE** /apis/template.openshift.io/v1/namespaces/{namespace}/templateinstances | +[**delete_namespaced_template**](TemplateOpenshiftIoV1Api.md#delete_namespaced_template) | **DELETE** /apis/template.openshift.io/v1/namespaces/{namespace}/templates/{name} | +[**delete_namespaced_template_instance**](TemplateOpenshiftIoV1Api.md#delete_namespaced_template_instance) | **DELETE** /apis/template.openshift.io/v1/namespaces/{namespace}/templateinstances/{name} | +[**get_api_resources**](TemplateOpenshiftIoV1Api.md#get_api_resources) | **GET** /apis/template.openshift.io/v1/ | +[**list_broker_template_instance**](TemplateOpenshiftIoV1Api.md#list_broker_template_instance) | **GET** /apis/template.openshift.io/v1/brokertemplateinstances | +[**list_namespaced_template**](TemplateOpenshiftIoV1Api.md#list_namespaced_template) | **GET** /apis/template.openshift.io/v1/namespaces/{namespace}/templates | +[**list_namespaced_template_instance**](TemplateOpenshiftIoV1Api.md#list_namespaced_template_instance) | **GET** /apis/template.openshift.io/v1/namespaces/{namespace}/templateinstances | +[**list_template_for_all_namespaces**](TemplateOpenshiftIoV1Api.md#list_template_for_all_namespaces) | **GET** /apis/template.openshift.io/v1/templates | +[**list_template_instance_for_all_namespaces**](TemplateOpenshiftIoV1Api.md#list_template_instance_for_all_namespaces) | **GET** /apis/template.openshift.io/v1/templateinstances | +[**patch_broker_template_instance**](TemplateOpenshiftIoV1Api.md#patch_broker_template_instance) | **PATCH** /apis/template.openshift.io/v1/brokertemplateinstances/{name} | +[**patch_namespaced_template**](TemplateOpenshiftIoV1Api.md#patch_namespaced_template) | **PATCH** /apis/template.openshift.io/v1/namespaces/{namespace}/templates/{name} | +[**patch_namespaced_template_instance**](TemplateOpenshiftIoV1Api.md#patch_namespaced_template_instance) | **PATCH** /apis/template.openshift.io/v1/namespaces/{namespace}/templateinstances/{name} | +[**patch_namespaced_template_instance_status**](TemplateOpenshiftIoV1Api.md#patch_namespaced_template_instance_status) | **PATCH** /apis/template.openshift.io/v1/namespaces/{namespace}/templateinstances/{name}/status | +[**read_broker_template_instance**](TemplateOpenshiftIoV1Api.md#read_broker_template_instance) | **GET** /apis/template.openshift.io/v1/brokertemplateinstances/{name} | +[**read_namespaced_template**](TemplateOpenshiftIoV1Api.md#read_namespaced_template) | **GET** /apis/template.openshift.io/v1/namespaces/{namespace}/templates/{name} | +[**read_namespaced_template_instance**](TemplateOpenshiftIoV1Api.md#read_namespaced_template_instance) | **GET** /apis/template.openshift.io/v1/namespaces/{namespace}/templateinstances/{name} | +[**read_namespaced_template_instance_status**](TemplateOpenshiftIoV1Api.md#read_namespaced_template_instance_status) | **GET** /apis/template.openshift.io/v1/namespaces/{namespace}/templateinstances/{name}/status | +[**replace_broker_template_instance**](TemplateOpenshiftIoV1Api.md#replace_broker_template_instance) | **PUT** /apis/template.openshift.io/v1/brokertemplateinstances/{name} | +[**replace_namespaced_template**](TemplateOpenshiftIoV1Api.md#replace_namespaced_template) | **PUT** /apis/template.openshift.io/v1/namespaces/{namespace}/templates/{name} | +[**replace_namespaced_template_instance**](TemplateOpenshiftIoV1Api.md#replace_namespaced_template_instance) | **PUT** /apis/template.openshift.io/v1/namespaces/{namespace}/templateinstances/{name} | +[**replace_namespaced_template_instance_status**](TemplateOpenshiftIoV1Api.md#replace_namespaced_template_instance_status) | **PUT** /apis/template.openshift.io/v1/namespaces/{namespace}/templateinstances/{name}/status | + + +# **create_broker_template_instance** +> V1BrokerTemplateInstance create_broker_template_instance(body, pretty=pretty) + + + +create a BrokerTemplateInstance +### Example +```python +from __future__ import print_statement +import time +import openshift.client +from kubernetes.client.rest import ApiException +from pprint import pprint + +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + +# create an instance of the API class +api_instance = openshift.client.TemplateOpenshiftIoV1Api() +body = openshift.client.V1BrokerTemplateInstance() # V1BrokerTemplateInstance | +pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) + +try: + api_response = api_instance.create_broker_template_instance(body, pretty=pretty) + pprint(api_response) +except ApiException as e: + print("Exception when calling TemplateOpenshiftIoV1Api->create_broker_template_instance: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **body** | [**V1BrokerTemplateInstance**](V1BrokerTemplateInstance.md)| | + **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] + +### Return type + +[**V1BrokerTemplateInstance**](V1BrokerTemplateInstance.md) + +### Authorization + +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: */* + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **create_template_openshift_io_v1_namespaced_template** -> V1Template create_template_openshift_io_v1_namespaced_template(namespace, body, pretty=pretty) +# **create_namespaced_template** +> V1Template create_namespaced_template(namespace, body, pretty=pretty) @@ -31,6 +108,15 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.TemplateOpenshiftIoV1Api() namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects @@ -38,10 +124,10 @@ body = openshift.client.V1Template() # V1Template | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) try: - api_response = api_instance.create_template_openshift_io_v1_namespaced_template(namespace, body, pretty=pretty) + api_response = api_instance.create_namespaced_template(namespace, body, pretty=pretty) pprint(api_response) except ApiException as e: - print("Exception when calling TemplateOpenshiftIoV1Api->create_template_openshift_io_v1_namespaced_template: %s\n" % e) + print("Exception when calling TemplateOpenshiftIoV1Api->create_namespaced_template: %s\n" % e) ``` ### Parameters @@ -58,7 +144,67 @@ Name | Type | Description | Notes ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: */* + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **create_namespaced_template_instance** +> V1TemplateInstance create_namespaced_template_instance(namespace, body, pretty=pretty) + + + +create a TemplateInstance + +### Example +```python +from __future__ import print_statement +import time +import openshift.client +from kubernetes.client.rest import ApiException +from pprint import pprint + +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + +# create an instance of the API class +api_instance = openshift.client.TemplateOpenshiftIoV1Api() +namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects +body = openshift.client.V1TemplateInstance() # V1TemplateInstance | +pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) + +try: + api_response = api_instance.create_namespaced_template_instance(namespace, body, pretty=pretty) + pprint(api_response) +except ApiException as e: + print("Exception when calling TemplateOpenshiftIoV1Api->create_namespaced_template_instance: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **namespace** | **str**| object name and auth scope, such as for teams and projects | + **body** | [**V1TemplateInstance**](V1TemplateInstance.md)| | + **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] + +### Return type + +[**V1TemplateInstance**](V1TemplateInstance.md) + +### Authorization + +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -67,8 +213,8 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **create_template_openshift_io_v1_template_for_all_namespaces** -> V1Template create_template_openshift_io_v1_template_for_all_namespaces(body, pretty=pretty) +# **create_template_for_all_namespaces** +> V1Template create_template_for_all_namespaces(body, pretty=pretty) @@ -82,16 +228,25 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.TemplateOpenshiftIoV1Api() body = openshift.client.V1Template() # V1Template | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) try: - api_response = api_instance.create_template_openshift_io_v1_template_for_all_namespaces(body, pretty=pretty) + api_response = api_instance.create_template_for_all_namespaces(body, pretty=pretty) pprint(api_response) except ApiException as e: - print("Exception when calling TemplateOpenshiftIoV1Api->create_template_openshift_io_v1_template_for_all_namespaces: %s\n" % e) + print("Exception when calling TemplateOpenshiftIoV1Api->create_template_for_all_namespaces: %s\n" % e) ``` ### Parameters @@ -107,7 +262,7 @@ Name | Type | Description | Notes ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -116,12 +271,12 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **delete_template_openshift_io_v1_collection_namespaced_template** -> UnversionedStatus delete_template_openshift_io_v1_collection_namespaced_template(namespace, pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) +# **create_template_instance_for_all_namespaces** +> V1TemplateInstance create_template_instance_for_all_namespaces(body, pretty=pretty) -delete collection of Template +create a TemplateInstance ### Example ```python @@ -131,42 +286,41 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.TemplateOpenshiftIoV1Api() -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects +body = openshift.client.V1TemplateInstance() # V1TemplateInstance | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) -field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) -label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. (optional) -timeout_seconds = 56 # int | Timeout for the list/watch call. (optional) -watch = true # bool | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) try: - api_response = api_instance.delete_template_openshift_io_v1_collection_namespaced_template(namespace, pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) + api_response = api_instance.create_template_instance_for_all_namespaces(body, pretty=pretty) pprint(api_response) except ApiException as e: - print("Exception when calling TemplateOpenshiftIoV1Api->delete_template_openshift_io_v1_collection_namespaced_template: %s\n" % e) + print("Exception when calling TemplateOpenshiftIoV1Api->create_template_instance_for_all_namespaces: %s\n" % e) ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **namespace** | **str**| object name and auth scope, such as for teams and projects | + **body** | [**V1TemplateInstance**](V1TemplateInstance.md)| | **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] - **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. | [optional] - **timeout_seconds** | **int**| Timeout for the list/watch call. | [optional] - **watch** | **bool**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] ### Return type -[**UnversionedStatus**](UnversionedStatus.md) +[**V1TemplateInstance**](V1TemplateInstance.md) ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -175,12 +329,12 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **delete_template_openshift_io_v1_namespaced_template** -> UnversionedStatus delete_template_openshift_io_v1_namespaced_template(name, namespace, body, pretty=pretty, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents) +# **delete_broker_template_instance** +> V1Status delete_broker_template_instance(name, body, pretty=pretty, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) -delete a Template +delete a BrokerTemplateInstance ### Example ```python @@ -190,40 +344,49 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.TemplateOpenshiftIoV1Api() -name = 'name_example' # str | name of the Template -namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects +name = 'name_example' # str | name of the BrokerTemplateInstance body = openshift.client.V1DeleteOptions() # V1DeleteOptions | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) grace_period_seconds = 56 # int | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) -orphan_dependents = true # bool | Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. (optional) +orphan_dependents = true # bool | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) +propagation_policy = 'propagation_policy_example' # str | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. (optional) try: - api_response = api_instance.delete_template_openshift_io_v1_namespaced_template(name, namespace, body, pretty=pretty, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents) + api_response = api_instance.delete_broker_template_instance(name, body, pretty=pretty, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) pprint(api_response) except ApiException as e: - print("Exception when calling TemplateOpenshiftIoV1Api->delete_template_openshift_io_v1_namespaced_template: %s\n" % e) + print("Exception when calling TemplateOpenshiftIoV1Api->delete_broker_template_instance: %s\n" % e) ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the Template | - **namespace** | **str**| object name and auth scope, such as for teams and projects | + **name** | **str**| name of the BrokerTemplateInstance | **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | **pretty** | **str**| If 'true', then the output is pretty printed. | [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] - **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] + **orphan_dependents** | **bool**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional] + **propagation_policy** | **str**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. | [optional] ### Return type -[**UnversionedStatus**](UnversionedStatus.md) +[**V1Status**](V1Status.md) ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -232,12 +395,12 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **get_template_openshift_io_v1_api_resources** -> UnversionedAPIResourceList get_template_openshift_io_v1_api_resources() +# **delete_collection_broker_template_instance** +> V1Status delete_collection_broker_template_instance(pretty=pretty, field_selector=field_selector, include_uninitialized=include_uninitialized, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) -get available resources +delete collection of BrokerTemplateInstance ### Example ```python @@ -247,40 +410,65 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.TemplateOpenshiftIoV1Api() +pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) +field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) +include_uninitialized = true # bool | If true, partially initialized resources are included in the response. (optional) +label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) +resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) +timeout_seconds = 56 # int | Timeout for the list/watch call. (optional) +watch = true # bool | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) try: - api_response = api_instance.get_template_openshift_io_v1_api_resources() + api_response = api_instance.delete_collection_broker_template_instance(pretty=pretty, field_selector=field_selector, include_uninitialized=include_uninitialized, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) pprint(api_response) except ApiException as e: - print("Exception when calling TemplateOpenshiftIoV1Api->get_template_openshift_io_v1_api_resources: %s\n" % e) + print("Exception when calling TemplateOpenshiftIoV1Api->delete_collection_broker_template_instance: %s\n" % e) ``` ### Parameters -This endpoint does not need any parameter. + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] + **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] + **include_uninitialized** | **bool**| If true, partially initialized resources are included in the response. | [optional] + **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] + **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] + **timeout_seconds** | **int**| Timeout for the list/watch call. | [optional] + **watch** | **bool**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] ### Return type -[**UnversionedAPIResourceList**](UnversionedAPIResourceList.md) +[**V1Status**](V1Status.md) ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers - - **Content-Type**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Content-Type**: */* - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **list_template_openshift_io_v1_namespaced_template** -> V1TemplateList list_template_openshift_io_v1_namespaced_template(namespace, pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) +# **delete_collection_namespaced_template** +> V1Status delete_collection_namespaced_template(namespace, pretty=pretty, field_selector=field_selector, include_uninitialized=include_uninitialized, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) -list or watch objects of kind Template +delete collection of Template ### Example ```python @@ -290,21 +478,31 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.TemplateOpenshiftIoV1Api() namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) +include_uninitialized = true # bool | If true, partially initialized resources are included in the response. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. (optional) +resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) timeout_seconds = 56 # int | Timeout for the list/watch call. (optional) watch = true # bool | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) try: - api_response = api_instance.list_template_openshift_io_v1_namespaced_template(namespace, pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) + api_response = api_instance.delete_collection_namespaced_template(namespace, pretty=pretty, field_selector=field_selector, include_uninitialized=include_uninitialized, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) pprint(api_response) except ApiException as e: - print("Exception when calling TemplateOpenshiftIoV1Api->list_template_openshift_io_v1_namespaced_template: %s\n" % e) + print("Exception when calling TemplateOpenshiftIoV1Api->delete_collection_namespaced_template: %s\n" % e) ``` ### Parameters @@ -314,32 +512,33 @@ Name | Type | Description | Notes **namespace** | **str**| object name and auth scope, such as for teams and projects | **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] + **include_uninitialized** | **bool**| If true, partially initialized resources are included in the response. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. | [optional] + **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] **timeout_seconds** | **int**| Timeout for the list/watch call. | [optional] **watch** | **bool**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] ### Return type -[**V1TemplateList**](V1TemplateList.md) +[**V1Status**](V1Status.md) ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **list_template_openshift_io_v1_template_for_all_namespaces** -> V1TemplateList list_template_openshift_io_v1_template_for_all_namespaces(pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) +# **delete_collection_namespaced_template_instance** +> V1Status delete_collection_namespaced_template_instance(namespace, pretty=pretty, field_selector=field_selector, include_uninitialized=include_uninitialized, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) -list or watch objects of kind Template +delete collection of TemplateInstance ### Example ```python @@ -349,54 +548,67 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.TemplateOpenshiftIoV1Api() +namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) +include_uninitialized = true # bool | If true, partially initialized resources are included in the response. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. (optional) +resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) timeout_seconds = 56 # int | Timeout for the list/watch call. (optional) watch = true # bool | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) try: - api_response = api_instance.list_template_openshift_io_v1_template_for_all_namespaces(pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) + api_response = api_instance.delete_collection_namespaced_template_instance(namespace, pretty=pretty, field_selector=field_selector, include_uninitialized=include_uninitialized, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) pprint(api_response) except ApiException as e: - print("Exception when calling TemplateOpenshiftIoV1Api->list_template_openshift_io_v1_template_for_all_namespaces: %s\n" % e) + print("Exception when calling TemplateOpenshiftIoV1Api->delete_collection_namespaced_template_instance: %s\n" % e) ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- + **namespace** | **str**| object name and auth scope, such as for teams and projects | **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] + **include_uninitialized** | **bool**| If true, partially initialized resources are included in the response. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. | [optional] + **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] **timeout_seconds** | **int**| Timeout for the list/watch call. | [optional] **watch** | **bool**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] ### Return type -[**V1TemplateList**](V1TemplateList.md) +[**V1Status**](V1Status.md) ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **patch_template_openshift_io_v1_namespaced_template** -> V1Template patch_template_openshift_io_v1_namespaced_template(name, namespace, body, pretty=pretty) +# **delete_namespaced_template** +> V1Status delete_namespaced_template(name, namespace, body, pretty=pretty, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) -partially update the specified Template +delete a Template ### Example ```python @@ -406,18 +618,30 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.TemplateOpenshiftIoV1Api() name = 'name_example' # str | name of the Template namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = openshift.client.UnversionedPatch() # UnversionedPatch | +body = openshift.client.V1DeleteOptions() # V1DeleteOptions | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) +grace_period_seconds = 56 # int | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) +orphan_dependents = true # bool | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) +propagation_policy = 'propagation_policy_example' # str | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. (optional) try: - api_response = api_instance.patch_template_openshift_io_v1_namespaced_template(name, namespace, body, pretty=pretty) + api_response = api_instance.delete_namespaced_template(name, namespace, body, pretty=pretty, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) pprint(api_response) except ApiException as e: - print("Exception when calling TemplateOpenshiftIoV1Api->patch_template_openshift_io_v1_namespaced_template: %s\n" % e) + print("Exception when calling TemplateOpenshiftIoV1Api->delete_namespaced_template: %s\n" % e) ``` ### Parameters @@ -426,30 +650,33 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **name** | **str**| name of the Template | **namespace** | **str**| object name and auth scope, such as for teams and projects | - **body** | [**UnversionedPatch**](UnversionedPatch.md)| | + **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | **pretty** | **str**| If 'true', then the output is pretty printed. | [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] + **orphan_dependents** | **bool**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional] + **propagation_policy** | **str**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. | [optional] ### Return type -[**V1Template**](V1Template.md) +[**V1Status**](V1Status.md) ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers - - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json + - **Content-Type**: */* - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **read_template_openshift_io_v1_namespaced_template** -> V1Template read_template_openshift_io_v1_namespaced_template(name, namespace, pretty=pretty, exact=exact, export=export) +# **delete_namespaced_template_instance** +> V1Status delete_namespaced_template_instance(name, namespace, body, pretty=pretty, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) -read the specified Template +delete a TemplateInstance ### Example ```python @@ -459,38 +686,51 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.TemplateOpenshiftIoV1Api() -name = 'name_example' # str | name of the Template +name = 'name_example' # str | name of the TemplateInstance namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects +body = openshift.client.V1DeleteOptions() # V1DeleteOptions | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) -exact = true # bool | Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace' (optional) -export = true # bool | Should this value be exported. Export strips fields that a user can not specify. (optional) +grace_period_seconds = 56 # int | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) +orphan_dependents = true # bool | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) +propagation_policy = 'propagation_policy_example' # str | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. (optional) try: - api_response = api_instance.read_template_openshift_io_v1_namespaced_template(name, namespace, pretty=pretty, exact=exact, export=export) + api_response = api_instance.delete_namespaced_template_instance(name, namespace, body, pretty=pretty, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) pprint(api_response) except ApiException as e: - print("Exception when calling TemplateOpenshiftIoV1Api->read_template_openshift_io_v1_namespaced_template: %s\n" % e) + print("Exception when calling TemplateOpenshiftIoV1Api->delete_namespaced_template_instance: %s\n" % e) ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the Template | + **name** | **str**| name of the TemplateInstance | **namespace** | **str**| object name and auth scope, such as for teams and projects | + **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - **exact** | **bool**| Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace' | [optional] - **export** | **bool**| Should this value be exported. Export strips fields that a user can not specify. | [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] + **orphan_dependents** | **bool**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional] + **propagation_policy** | **str**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. | [optional] ### Return type -[**V1Template**](V1Template.md) +[**V1Status**](V1Status.md) ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -499,12 +739,12 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **replace_template_openshift_io_v1_namespaced_template** -> V1Template replace_template_openshift_io_v1_namespaced_template(name, namespace, body, pretty=pretty) +# **get_api_resources** +> V1APIResourceList get_api_resources() -replace the specified Template +get available resources ### Example ```python @@ -514,36 +754,1121 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + +# create an instance of the API class +api_instance = openshift.client.TemplateOpenshiftIoV1Api() + +try: + api_response = api_instance.get_api_resources() + pprint(api_response) +except ApiException as e: + print("Exception when calling TemplateOpenshiftIoV1Api->get_api_resources: %s\n" % e) +``` + +### Parameters +This endpoint does not need any parameter. + +### Return type + +[**V1APIResourceList**](V1APIResourceList.md) + +### Authorization + +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **list_broker_template_instance** +> V1BrokerTemplateInstanceList list_broker_template_instance(pretty=pretty, field_selector=field_selector, include_uninitialized=include_uninitialized, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) + + + +list or watch objects of kind BrokerTemplateInstance + +### Example +```python +from __future__ import print_statement +import time +import openshift.client +from kubernetes.client.rest import ApiException +from pprint import pprint + +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + +# create an instance of the API class +api_instance = openshift.client.TemplateOpenshiftIoV1Api() +pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) +field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) +include_uninitialized = true # bool | If true, partially initialized resources are included in the response. (optional) +label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) +resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) +timeout_seconds = 56 # int | Timeout for the list/watch call. (optional) +watch = true # bool | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + +try: + api_response = api_instance.list_broker_template_instance(pretty=pretty, field_selector=field_selector, include_uninitialized=include_uninitialized, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) + pprint(api_response) +except ApiException as e: + print("Exception when calling TemplateOpenshiftIoV1Api->list_broker_template_instance: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] + **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] + **include_uninitialized** | **bool**| If true, partially initialized resources are included in the response. | [optional] + **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] + **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] + **timeout_seconds** | **int**| Timeout for the list/watch call. | [optional] + **watch** | **bool**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] + +### Return type + +[**V1BrokerTemplateInstanceList**](V1BrokerTemplateInstanceList.md) + +### Authorization + +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: */* + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **list_namespaced_template** +> V1TemplateList list_namespaced_template(namespace, pretty=pretty, field_selector=field_selector, include_uninitialized=include_uninitialized, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) + + + +list or watch objects of kind Template + +### Example +```python +from __future__ import print_statement +import time +import openshift.client +from kubernetes.client.rest import ApiException +from pprint import pprint + +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.TemplateOpenshiftIoV1Api() -name = 'name_example' # str | name of the Template namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = openshift.client.V1Template() # V1Template | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) +field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) +include_uninitialized = true # bool | If true, partially initialized resources are included in the response. (optional) +label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) +resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) +timeout_seconds = 56 # int | Timeout for the list/watch call. (optional) +watch = true # bool | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) try: - api_response = api_instance.replace_template_openshift_io_v1_namespaced_template(name, namespace, body, pretty=pretty) + api_response = api_instance.list_namespaced_template(namespace, pretty=pretty, field_selector=field_selector, include_uninitialized=include_uninitialized, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) pprint(api_response) except ApiException as e: - print("Exception when calling TemplateOpenshiftIoV1Api->replace_template_openshift_io_v1_namespaced_template: %s\n" % e) + print("Exception when calling TemplateOpenshiftIoV1Api->list_namespaced_template: %s\n" % e) ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **name** | **str**| name of the Template | **namespace** | **str**| object name and auth scope, such as for teams and projects | - **body** | [**V1Template**](V1Template.md)| | **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] + **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] + **include_uninitialized** | **bool**| If true, partially initialized resources are included in the response. | [optional] + **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] + **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] + **timeout_seconds** | **int**| Timeout for the list/watch call. | [optional] + **watch** | **bool**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] ### Return type -[**V1Template**](V1Template.md) +[**V1TemplateList**](V1TemplateList.md) + +### Authorization + +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: */* + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **list_namespaced_template_instance** +> V1TemplateInstanceList list_namespaced_template_instance(namespace, pretty=pretty, field_selector=field_selector, include_uninitialized=include_uninitialized, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) + + + +list or watch objects of kind TemplateInstance + +### Example +```python +from __future__ import print_statement +import time +import openshift.client +from kubernetes.client.rest import ApiException +from pprint import pprint + +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + +# create an instance of the API class +api_instance = openshift.client.TemplateOpenshiftIoV1Api() +namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects +pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) +field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) +include_uninitialized = true # bool | If true, partially initialized resources are included in the response. (optional) +label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) +resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) +timeout_seconds = 56 # int | Timeout for the list/watch call. (optional) +watch = true # bool | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + +try: + api_response = api_instance.list_namespaced_template_instance(namespace, pretty=pretty, field_selector=field_selector, include_uninitialized=include_uninitialized, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) + pprint(api_response) +except ApiException as e: + print("Exception when calling TemplateOpenshiftIoV1Api->list_namespaced_template_instance: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **namespace** | **str**| object name and auth scope, such as for teams and projects | + **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] + **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] + **include_uninitialized** | **bool**| If true, partially initialized resources are included in the response. | [optional] + **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] + **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] + **timeout_seconds** | **int**| Timeout for the list/watch call. | [optional] + **watch** | **bool**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] + +### Return type + +[**V1TemplateInstanceList**](V1TemplateInstanceList.md) + +### Authorization + +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: */* + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **list_template_for_all_namespaces** +> V1TemplateList list_template_for_all_namespaces(pretty=pretty, field_selector=field_selector, include_uninitialized=include_uninitialized, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) + + + +list or watch objects of kind Template + +### Example +```python +from __future__ import print_statement +import time +import openshift.client +from kubernetes.client.rest import ApiException +from pprint import pprint + +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + +# create an instance of the API class +api_instance = openshift.client.TemplateOpenshiftIoV1Api() +pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) +field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) +include_uninitialized = true # bool | If true, partially initialized resources are included in the response. (optional) +label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) +resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) +timeout_seconds = 56 # int | Timeout for the list/watch call. (optional) +watch = true # bool | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + +try: + api_response = api_instance.list_template_for_all_namespaces(pretty=pretty, field_selector=field_selector, include_uninitialized=include_uninitialized, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) + pprint(api_response) +except ApiException as e: + print("Exception when calling TemplateOpenshiftIoV1Api->list_template_for_all_namespaces: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] + **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] + **include_uninitialized** | **bool**| If true, partially initialized resources are included in the response. | [optional] + **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] + **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] + **timeout_seconds** | **int**| Timeout for the list/watch call. | [optional] + **watch** | **bool**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] + +### Return type + +[**V1TemplateList**](V1TemplateList.md) + +### Authorization + +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: */* + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **list_template_instance_for_all_namespaces** +> V1TemplateInstanceList list_template_instance_for_all_namespaces(pretty=pretty, field_selector=field_selector, include_uninitialized=include_uninitialized, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) + + + +list or watch objects of kind TemplateInstance + +### Example +```python +from __future__ import print_statement +import time +import openshift.client +from kubernetes.client.rest import ApiException +from pprint import pprint + +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + +# create an instance of the API class +api_instance = openshift.client.TemplateOpenshiftIoV1Api() +pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) +field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) +include_uninitialized = true # bool | If true, partially initialized resources are included in the response. (optional) +label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) +resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) +timeout_seconds = 56 # int | Timeout for the list/watch call. (optional) +watch = true # bool | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + +try: + api_response = api_instance.list_template_instance_for_all_namespaces(pretty=pretty, field_selector=field_selector, include_uninitialized=include_uninitialized, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) + pprint(api_response) +except ApiException as e: + print("Exception when calling TemplateOpenshiftIoV1Api->list_template_instance_for_all_namespaces: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] + **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] + **include_uninitialized** | **bool**| If true, partially initialized resources are included in the response. | [optional] + **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] + **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] + **timeout_seconds** | **int**| Timeout for the list/watch call. | [optional] + **watch** | **bool**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] + +### Return type + +[**V1TemplateInstanceList**](V1TemplateInstanceList.md) + +### Authorization + +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: */* + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **patch_broker_template_instance** +> V1BrokerTemplateInstance patch_broker_template_instance(name, body, pretty=pretty) + + + +partially update the specified BrokerTemplateInstance + +### Example +```python +from __future__ import print_statement +import time +import openshift.client +from kubernetes.client.rest import ApiException +from pprint import pprint + +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + +# create an instance of the API class +api_instance = openshift.client.TemplateOpenshiftIoV1Api() +name = 'name_example' # str | name of the BrokerTemplateInstance +body = NULL # object | +pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) + +try: + api_response = api_instance.patch_broker_template_instance(name, body, pretty=pretty) + pprint(api_response) +except ApiException as e: + print("Exception when calling TemplateOpenshiftIoV1Api->patch_broker_template_instance: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **name** | **str**| name of the BrokerTemplateInstance | + **body** | **object**| | + **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] + +### Return type + +[**V1BrokerTemplateInstance**](V1BrokerTemplateInstance.md) + +### Authorization + +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **patch_namespaced_template** +> V1Template patch_namespaced_template(name, namespace, body, pretty=pretty) + + + +partially update the specified Template + +### Example +```python +from __future__ import print_statement +import time +import openshift.client +from kubernetes.client.rest import ApiException +from pprint import pprint + +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + +# create an instance of the API class +api_instance = openshift.client.TemplateOpenshiftIoV1Api() +name = 'name_example' # str | name of the Template +namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects +body = NULL # object | +pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) + +try: + api_response = api_instance.patch_namespaced_template(name, namespace, body, pretty=pretty) + pprint(api_response) +except ApiException as e: + print("Exception when calling TemplateOpenshiftIoV1Api->patch_namespaced_template: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **name** | **str**| name of the Template | + **namespace** | **str**| object name and auth scope, such as for teams and projects | + **body** | **object**| | + **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] + +### Return type + +[**V1Template**](V1Template.md) + +### Authorization + +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **patch_namespaced_template_instance** +> V1TemplateInstance patch_namespaced_template_instance(name, namespace, body, pretty=pretty) + + + +partially update the specified TemplateInstance + +### Example +```python +from __future__ import print_statement +import time +import openshift.client +from kubernetes.client.rest import ApiException +from pprint import pprint + +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + +# create an instance of the API class +api_instance = openshift.client.TemplateOpenshiftIoV1Api() +name = 'name_example' # str | name of the TemplateInstance +namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects +body = NULL # object | +pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) + +try: + api_response = api_instance.patch_namespaced_template_instance(name, namespace, body, pretty=pretty) + pprint(api_response) +except ApiException as e: + print("Exception when calling TemplateOpenshiftIoV1Api->patch_namespaced_template_instance: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **name** | **str**| name of the TemplateInstance | + **namespace** | **str**| object name and auth scope, such as for teams and projects | + **body** | **object**| | + **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] + +### Return type + +[**V1TemplateInstance**](V1TemplateInstance.md) + +### Authorization + +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **patch_namespaced_template_instance_status** +> V1TemplateInstance patch_namespaced_template_instance_status(name, namespace, body, pretty=pretty) + + + +partially update status of the specified TemplateInstance + +### Example +```python +from __future__ import print_statement +import time +import openshift.client +from kubernetes.client.rest import ApiException +from pprint import pprint + +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + +# create an instance of the API class +api_instance = openshift.client.TemplateOpenshiftIoV1Api() +name = 'name_example' # str | name of the TemplateInstance +namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects +body = NULL # object | +pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) + +try: + api_response = api_instance.patch_namespaced_template_instance_status(name, namespace, body, pretty=pretty) + pprint(api_response) +except ApiException as e: + print("Exception when calling TemplateOpenshiftIoV1Api->patch_namespaced_template_instance_status: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **name** | **str**| name of the TemplateInstance | + **namespace** | **str**| object name and auth scope, such as for teams and projects | + **body** | **object**| | + **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] + +### Return type + +[**V1TemplateInstance**](V1TemplateInstance.md) + +### Authorization + +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **read_broker_template_instance** +> V1BrokerTemplateInstance read_broker_template_instance(name, pretty=pretty, exact=exact, export=export) + + + +read the specified BrokerTemplateInstance + +### Example +```python +from __future__ import print_statement +import time +import openshift.client +from kubernetes.client.rest import ApiException +from pprint import pprint + +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + +# create an instance of the API class +api_instance = openshift.client.TemplateOpenshiftIoV1Api() +name = 'name_example' # str | name of the BrokerTemplateInstance +pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) +exact = true # bool | Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. (optional) +export = true # bool | Should this value be exported. Export strips fields that a user can not specify. (optional) + +try: + api_response = api_instance.read_broker_template_instance(name, pretty=pretty, exact=exact, export=export) + pprint(api_response) +except ApiException as e: + print("Exception when calling TemplateOpenshiftIoV1Api->read_broker_template_instance: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **name** | **str**| name of the BrokerTemplateInstance | + **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] + **exact** | **bool**| Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. | [optional] + **export** | **bool**| Should this value be exported. Export strips fields that a user can not specify. | [optional] + +### Return type + +[**V1BrokerTemplateInstance**](V1BrokerTemplateInstance.md) + +### Authorization + +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: */* + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **read_namespaced_template** +> V1Template read_namespaced_template(name, namespace, pretty=pretty, exact=exact, export=export) + + + +read the specified Template + +### Example +```python +from __future__ import print_statement +import time +import openshift.client +from kubernetes.client.rest import ApiException +from pprint import pprint + +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + +# create an instance of the API class +api_instance = openshift.client.TemplateOpenshiftIoV1Api() +name = 'name_example' # str | name of the Template +namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects +pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) +exact = true # bool | Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. (optional) +export = true # bool | Should this value be exported. Export strips fields that a user can not specify. (optional) + +try: + api_response = api_instance.read_namespaced_template(name, namespace, pretty=pretty, exact=exact, export=export) + pprint(api_response) +except ApiException as e: + print("Exception when calling TemplateOpenshiftIoV1Api->read_namespaced_template: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **name** | **str**| name of the Template | + **namespace** | **str**| object name and auth scope, such as for teams and projects | + **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] + **exact** | **bool**| Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. | [optional] + **export** | **bool**| Should this value be exported. Export strips fields that a user can not specify. | [optional] + +### Return type + +[**V1Template**](V1Template.md) + +### Authorization + +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: */* + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **read_namespaced_template_instance** +> V1TemplateInstance read_namespaced_template_instance(name, namespace, pretty=pretty, exact=exact, export=export) + + + +read the specified TemplateInstance + +### Example +```python +from __future__ import print_statement +import time +import openshift.client +from kubernetes.client.rest import ApiException +from pprint import pprint + +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + +# create an instance of the API class +api_instance = openshift.client.TemplateOpenshiftIoV1Api() +name = 'name_example' # str | name of the TemplateInstance +namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects +pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) +exact = true # bool | Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. (optional) +export = true # bool | Should this value be exported. Export strips fields that a user can not specify. (optional) + +try: + api_response = api_instance.read_namespaced_template_instance(name, namespace, pretty=pretty, exact=exact, export=export) + pprint(api_response) +except ApiException as e: + print("Exception when calling TemplateOpenshiftIoV1Api->read_namespaced_template_instance: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **name** | **str**| name of the TemplateInstance | + **namespace** | **str**| object name and auth scope, such as for teams and projects | + **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] + **exact** | **bool**| Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. | [optional] + **export** | **bool**| Should this value be exported. Export strips fields that a user can not specify. | [optional] + +### Return type + +[**V1TemplateInstance**](V1TemplateInstance.md) + +### Authorization + +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: */* + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **read_namespaced_template_instance_status** +> V1TemplateInstance read_namespaced_template_instance_status(name, namespace, pretty=pretty) + + + +read status of the specified TemplateInstance + +### Example +```python +from __future__ import print_statement +import time +import openshift.client +from kubernetes.client.rest import ApiException +from pprint import pprint + +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + +# create an instance of the API class +api_instance = openshift.client.TemplateOpenshiftIoV1Api() +name = 'name_example' # str | name of the TemplateInstance +namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects +pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) + +try: + api_response = api_instance.read_namespaced_template_instance_status(name, namespace, pretty=pretty) + pprint(api_response) +except ApiException as e: + print("Exception when calling TemplateOpenshiftIoV1Api->read_namespaced_template_instance_status: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **name** | **str**| name of the TemplateInstance | + **namespace** | **str**| object name and auth scope, such as for teams and projects | + **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] + +### Return type + +[**V1TemplateInstance**](V1TemplateInstance.md) + +### Authorization + +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: */* + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **replace_broker_template_instance** +> V1BrokerTemplateInstance replace_broker_template_instance(name, body, pretty=pretty) + + + +replace the specified BrokerTemplateInstance + +### Example +```python +from __future__ import print_statement +import time +import openshift.client +from kubernetes.client.rest import ApiException +from pprint import pprint + +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + +# create an instance of the API class +api_instance = openshift.client.TemplateOpenshiftIoV1Api() +name = 'name_example' # str | name of the BrokerTemplateInstance +body = openshift.client.V1BrokerTemplateInstance() # V1BrokerTemplateInstance | +pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) + +try: + api_response = api_instance.replace_broker_template_instance(name, body, pretty=pretty) + pprint(api_response) +except ApiException as e: + print("Exception when calling TemplateOpenshiftIoV1Api->replace_broker_template_instance: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **name** | **str**| name of the BrokerTemplateInstance | + **body** | [**V1BrokerTemplateInstance**](V1BrokerTemplateInstance.md)| | + **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] + +### Return type + +[**V1BrokerTemplateInstance**](V1BrokerTemplateInstance.md) + +### Authorization + +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: */* + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **replace_namespaced_template** +> V1Template replace_namespaced_template(name, namespace, body, pretty=pretty) + + + +replace the specified Template + +### Example +```python +from __future__ import print_statement +import time +import openshift.client +from kubernetes.client.rest import ApiException +from pprint import pprint + +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + +# create an instance of the API class +api_instance = openshift.client.TemplateOpenshiftIoV1Api() +name = 'name_example' # str | name of the Template +namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects +body = openshift.client.V1Template() # V1Template | +pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) + +try: + api_response = api_instance.replace_namespaced_template(name, namespace, body, pretty=pretty) + pprint(api_response) +except ApiException as e: + print("Exception when calling TemplateOpenshiftIoV1Api->replace_namespaced_template: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **name** | **str**| name of the Template | + **namespace** | **str**| object name and auth scope, such as for teams and projects | + **body** | [**V1Template**](V1Template.md)| | + **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] + +### Return type + +[**V1Template**](V1Template.md) + +### Authorization + +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: */* + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **replace_namespaced_template_instance** +> V1TemplateInstance replace_namespaced_template_instance(name, namespace, body, pretty=pretty) + + + +replace the specified TemplateInstance + +### Example +```python +from __future__ import print_statement +import time +import openshift.client +from kubernetes.client.rest import ApiException +from pprint import pprint + +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + +# create an instance of the API class +api_instance = openshift.client.TemplateOpenshiftIoV1Api() +name = 'name_example' # str | name of the TemplateInstance +namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects +body = openshift.client.V1TemplateInstance() # V1TemplateInstance | +pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) + +try: + api_response = api_instance.replace_namespaced_template_instance(name, namespace, body, pretty=pretty) + pprint(api_response) +except ApiException as e: + print("Exception when calling TemplateOpenshiftIoV1Api->replace_namespaced_template_instance: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **name** | **str**| name of the TemplateInstance | + **namespace** | **str**| object name and auth scope, such as for teams and projects | + **body** | [**V1TemplateInstance**](V1TemplateInstance.md)| | + **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] + +### Return type + +[**V1TemplateInstance**](V1TemplateInstance.md) + +### Authorization + +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: */* + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **replace_namespaced_template_instance_status** +> V1TemplateInstance replace_namespaced_template_instance_status(name, namespace, body, pretty=pretty) + + + +replace status of the specified TemplateInstance + +### Example +```python +from __future__ import print_statement +import time +import openshift.client +from kubernetes.client.rest import ApiException +from pprint import pprint + +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + +# create an instance of the API class +api_instance = openshift.client.TemplateOpenshiftIoV1Api() +name = 'name_example' # str | name of the TemplateInstance +namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects +body = openshift.client.V1TemplateInstance() # V1TemplateInstance | +pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) + +try: + api_response = api_instance.replace_namespaced_template_instance_status(name, namespace, body, pretty=pretty) + pprint(api_response) +except ApiException as e: + print("Exception when calling TemplateOpenshiftIoV1Api->replace_namespaced_template_instance_status: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **name** | **str**| name of the TemplateInstance | + **namespace** | **str**| object name and auth scope, such as for teams and projects | + **body** | [**V1TemplateInstance**](V1TemplateInstance.md)| | + **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] + +### Return type + +[**V1TemplateInstance**](V1TemplateInstance.md) ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers diff --git a/openshift/docs/UnversionedAPIGroup.md b/openshift/docs/UnversionedAPIGroup.md deleted file mode 100644 index 731c52d8..00000000 --- a/openshift/docs/UnversionedAPIGroup.md +++ /dev/null @@ -1,15 +0,0 @@ -# UnversionedAPIGroup - -## 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 openshift.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 openshift.client CIDR to server address that is serving this group. This is to help openshift.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, openshift.clients should use the longest matching CIDR. The server returns only those CIDRs that it thinks that the openshift.client can match. For example: the master will return an internal IP CIDR only, if the openshift.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 openshift.client IP. | -**versions** | [**list[UnversionedGroupVersionForDiscovery]**](UnversionedGroupVersionForDiscovery.md) | versions are the versions supported in this group. | - -[[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/openshift/docs/UnversionedAPIResource.md b/openshift/docs/UnversionedAPIResource.md deleted file mode 100644 index b1774241..00000000 --- a/openshift/docs/UnversionedAPIResource.md +++ /dev/null @@ -1,12 +0,0 @@ -# UnversionedAPIResource - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**kind** | **str** | kind is the kind for the resource (e.g. 'Foo' is the kind for a resource 'foo') | -**name** | **str** | name is the name of the resource. | -**namespaced** | **bool** | namespaced indicates if a resource is namespaced or not. | - -[[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/openshift/docs/UnversionedAPIVersions.md b/openshift/docs/UnversionedAPIVersions.md deleted file mode 100644 index 5bf179cc..00000000 --- a/openshift/docs/UnversionedAPIVersions.md +++ /dev/null @@ -1,13 +0,0 @@ -# UnversionedAPIVersions - -## 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 openshift.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 openshift.client CIDR to server address that is serving this group. This is to help openshift.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, openshift.clients should use the longest matching CIDR. The server returns only those CIDRs that it thinks that the openshift.client can match. For example: the master will return an internal IP CIDR only, if the openshift.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 openshift.client IP. | -**versions** | **list[str]** | versions are the api versions that are available. | - -[[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/openshift/docs/UnversionedGroupVersionForDiscovery.md b/openshift/docs/UnversionedGroupVersionForDiscovery.md deleted file mode 100644 index 5a2f9b73..00000000 --- a/openshift/docs/UnversionedGroupVersionForDiscovery.md +++ /dev/null @@ -1,11 +0,0 @@ -# UnversionedGroupVersionForDiscovery - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**group_version** | **str** | groupVersion specifies the API group and version in the form \"group/version\" | -**version** | **str** | version specifies the version in the form of \"version\". This is to save the openshift.clients the trouble of splitting the GroupVersion. | - -[[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/openshift/docs/UnversionedLabelSelector.md b/openshift/docs/UnversionedLabelSelector.md deleted file mode 100644 index 3d6ec56b..00000000 --- a/openshift/docs/UnversionedLabelSelector.md +++ /dev/null @@ -1,11 +0,0 @@ -# UnversionedLabelSelector - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**match_expressions** | [**list[UnversionedLabelSelectorRequirement]**](UnversionedLabelSelectorRequirement.md) | matchExpressions is a list of label selector requirements. The requirements are ANDed. | [optional] -**match_labels** | **dict(str, str)** | matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed. | [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/openshift/docs/UnversionedLabelSelectorRequirement.md b/openshift/docs/UnversionedLabelSelectorRequirement.md deleted file mode 100644 index 6251f8c9..00000000 --- a/openshift/docs/UnversionedLabelSelectorRequirement.md +++ /dev/null @@ -1,12 +0,0 @@ -# UnversionedLabelSelectorRequirement - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**key** | **str** | key is the label key that the selector applies to. | -**operator** | **str** | operator represents a key's relationship to a set of values. Valid operators ard In, NotIn, Exists and DoesNotExist. | -**values** | **list[str]** | values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch. | [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/openshift/docs/UnversionedListMeta.md b/openshift/docs/UnversionedListMeta.md deleted file mode 100644 index ad88da9a..00000000 --- a/openshift/docs/UnversionedListMeta.md +++ /dev/null @@ -1,11 +0,0 @@ -# UnversionedListMeta - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**resource_version** | **str** | String that identifies the server's internal version of this object that can be used by openshift.clients to determine when objects have changed. Value must be treated as opaque by openshift.clients and passed unmodified back to the server. Populated by the system. Read-only. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#concurrency-control-and-consistency | [optional] -**self_link** | **str** | SelfLink is a URL representing this object. Populated by the system. Read-only. | [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/openshift/docs/UnversionedStatus.md b/openshift/docs/UnversionedStatus.md deleted file mode 100644 index b5537aa4..00000000 --- a/openshift/docs/UnversionedStatus.md +++ /dev/null @@ -1,17 +0,0 @@ -# UnversionedStatus - -## 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 openshift.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] -**status** | **str** | Status of the operation. One of: \"Success\" or \"Failure\". More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status | [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/openshift/docs/UnversionedStatusCause.md b/openshift/docs/UnversionedStatusCause.md deleted file mode 100644 index a614c121..00000000 --- a/openshift/docs/UnversionedStatusCause.md +++ /dev/null @@ -1,12 +0,0 @@ -# UnversionedStatusCause - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**field** | **str** | The field of the resource that has caused this error, as named by its JSON serialization. May include dot and postfix notation for nested attributes. Arrays are zero-indexed. Fields may appear more than once in an array of causes due to fields having multiple errors. Optional. Examples: \"name\" - the field \"name\" on the current resource \"items[0].name\" - the field \"name\" on the first array entry in \"items\" | [optional] -**message** | **str** | A human-readable description of the cause of the error. This field may be presented as-is to a reader. | [optional] -**reason** | **str** | A machine-readable description of the cause of the error. If this value is empty there is no information available. | [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/openshift/docs/UnversionedStatusDetails.md b/openshift/docs/UnversionedStatusDetails.md deleted file mode 100644 index c497dace..00000000 --- a/openshift/docs/UnversionedStatusDetails.md +++ /dev/null @@ -1,14 +0,0 @@ -# UnversionedStatusDetails - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**causes** | [**list[UnversionedStatusCause]**](UnversionedStatusCause.md) | The Causes array includes more details associated with the StatusReason failure. Not all StatusReasons may provide detailed causes. | [optional] -**group** | **str** | The group attribute of the resource associated with the status StatusReason. | [optional] -**kind** | **str** | The kind attribute of the resource associated with the status StatusReason. On some operations may differ from the requested resource Kind. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional] -**name** | **str** | The name attribute of the resource associated with the status StatusReason (when there is a single name which can be described). | [optional] -**retry_after_seconds** | **int** | If specified, the time in seconds before the operation should be retried. | [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/openshift/docs/UserOpenshiftIoApi.md b/openshift/docs/UserOpenshiftIoApi.md index 343b78e9..7e2717c7 100644 --- a/openshift/docs/UserOpenshiftIoApi.md +++ b/openshift/docs/UserOpenshiftIoApi.md @@ -4,11 +4,11 @@ All URIs are relative to *https://localhost* Method | HTTP request | Description ------------- | ------------- | ------------- -[**get_user_openshift_io_api_group**](UserOpenshiftIoApi.md#get_user_openshift_io_api_group) | **GET** /apis/user.openshift.io/ | +[**get_api_group**](UserOpenshiftIoApi.md#get_api_group) | **GET** /apis/user.openshift.io/ | -# **get_user_openshift_io_api_group** -> UnversionedAPIGroup get_user_openshift_io_api_group() +# **get_api_group** +> V1APIGroup get_api_group() @@ -22,14 +22,23 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.UserOpenshiftIoApi() try: - api_response = api_instance.get_user_openshift_io_api_group() + api_response = api_instance.get_api_group() pprint(api_response) except ApiException as e: - print("Exception when calling UserOpenshiftIoApi->get_user_openshift_io_api_group: %s\n" % e) + print("Exception when calling UserOpenshiftIoApi->get_api_group: %s\n" % e) ``` ### Parameters @@ -37,11 +46,11 @@ This endpoint does not need any parameter. ### Return type -[**UnversionedAPIGroup**](UnversionedAPIGroup.md) +[**V1APIGroup**](V1APIGroup.md) ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers diff --git a/openshift/docs/UserOpenshiftIoV1Api.md b/openshift/docs/UserOpenshiftIoV1Api.md index 12d8ecbe..2097a047 100644 --- a/openshift/docs/UserOpenshiftIoV1Api.md +++ b/openshift/docs/UserOpenshiftIoV1Api.md @@ -4,37 +4,37 @@ All URIs are relative to *https://localhost* Method | HTTP request | Description ------------- | ------------- | ------------- -[**create_user_openshift_io_v1_group**](UserOpenshiftIoV1Api.md#create_user_openshift_io_v1_group) | **POST** /apis/user.openshift.io/v1/groups | -[**create_user_openshift_io_v1_identity**](UserOpenshiftIoV1Api.md#create_user_openshift_io_v1_identity) | **POST** /apis/user.openshift.io/v1/identities | -[**create_user_openshift_io_v1_user**](UserOpenshiftIoV1Api.md#create_user_openshift_io_v1_user) | **POST** /apis/user.openshift.io/v1/users | -[**create_user_openshift_io_v1_user_identity_mapping**](UserOpenshiftIoV1Api.md#create_user_openshift_io_v1_user_identity_mapping) | **POST** /apis/user.openshift.io/v1/useridentitymappings | -[**delete_user_openshift_io_v1_collection_group**](UserOpenshiftIoV1Api.md#delete_user_openshift_io_v1_collection_group) | **DELETE** /apis/user.openshift.io/v1/groups | -[**delete_user_openshift_io_v1_collection_identity**](UserOpenshiftIoV1Api.md#delete_user_openshift_io_v1_collection_identity) | **DELETE** /apis/user.openshift.io/v1/identities | -[**delete_user_openshift_io_v1_collection_user**](UserOpenshiftIoV1Api.md#delete_user_openshift_io_v1_collection_user) | **DELETE** /apis/user.openshift.io/v1/users | -[**delete_user_openshift_io_v1_group**](UserOpenshiftIoV1Api.md#delete_user_openshift_io_v1_group) | **DELETE** /apis/user.openshift.io/v1/groups/{name} | -[**delete_user_openshift_io_v1_identity**](UserOpenshiftIoV1Api.md#delete_user_openshift_io_v1_identity) | **DELETE** /apis/user.openshift.io/v1/identities/{name} | -[**delete_user_openshift_io_v1_user**](UserOpenshiftIoV1Api.md#delete_user_openshift_io_v1_user) | **DELETE** /apis/user.openshift.io/v1/users/{name} | -[**delete_user_openshift_io_v1_user_identity_mapping**](UserOpenshiftIoV1Api.md#delete_user_openshift_io_v1_user_identity_mapping) | **DELETE** /apis/user.openshift.io/v1/useridentitymappings/{name} | -[**get_user_openshift_io_v1_api_resources**](UserOpenshiftIoV1Api.md#get_user_openshift_io_v1_api_resources) | **GET** /apis/user.openshift.io/v1/ | -[**list_user_openshift_io_v1_group**](UserOpenshiftIoV1Api.md#list_user_openshift_io_v1_group) | **GET** /apis/user.openshift.io/v1/groups | -[**list_user_openshift_io_v1_identity**](UserOpenshiftIoV1Api.md#list_user_openshift_io_v1_identity) | **GET** /apis/user.openshift.io/v1/identities | -[**list_user_openshift_io_v1_user**](UserOpenshiftIoV1Api.md#list_user_openshift_io_v1_user) | **GET** /apis/user.openshift.io/v1/users | -[**patch_user_openshift_io_v1_group**](UserOpenshiftIoV1Api.md#patch_user_openshift_io_v1_group) | **PATCH** /apis/user.openshift.io/v1/groups/{name} | -[**patch_user_openshift_io_v1_identity**](UserOpenshiftIoV1Api.md#patch_user_openshift_io_v1_identity) | **PATCH** /apis/user.openshift.io/v1/identities/{name} | -[**patch_user_openshift_io_v1_user**](UserOpenshiftIoV1Api.md#patch_user_openshift_io_v1_user) | **PATCH** /apis/user.openshift.io/v1/users/{name} | -[**patch_user_openshift_io_v1_user_identity_mapping**](UserOpenshiftIoV1Api.md#patch_user_openshift_io_v1_user_identity_mapping) | **PATCH** /apis/user.openshift.io/v1/useridentitymappings/{name} | -[**read_user_openshift_io_v1_group**](UserOpenshiftIoV1Api.md#read_user_openshift_io_v1_group) | **GET** /apis/user.openshift.io/v1/groups/{name} | -[**read_user_openshift_io_v1_identity**](UserOpenshiftIoV1Api.md#read_user_openshift_io_v1_identity) | **GET** /apis/user.openshift.io/v1/identities/{name} | -[**read_user_openshift_io_v1_user**](UserOpenshiftIoV1Api.md#read_user_openshift_io_v1_user) | **GET** /apis/user.openshift.io/v1/users/{name} | -[**read_user_openshift_io_v1_user_identity_mapping**](UserOpenshiftIoV1Api.md#read_user_openshift_io_v1_user_identity_mapping) | **GET** /apis/user.openshift.io/v1/useridentitymappings/{name} | -[**replace_user_openshift_io_v1_group**](UserOpenshiftIoV1Api.md#replace_user_openshift_io_v1_group) | **PUT** /apis/user.openshift.io/v1/groups/{name} | -[**replace_user_openshift_io_v1_identity**](UserOpenshiftIoV1Api.md#replace_user_openshift_io_v1_identity) | **PUT** /apis/user.openshift.io/v1/identities/{name} | -[**replace_user_openshift_io_v1_user**](UserOpenshiftIoV1Api.md#replace_user_openshift_io_v1_user) | **PUT** /apis/user.openshift.io/v1/users/{name} | -[**replace_user_openshift_io_v1_user_identity_mapping**](UserOpenshiftIoV1Api.md#replace_user_openshift_io_v1_user_identity_mapping) | **PUT** /apis/user.openshift.io/v1/useridentitymappings/{name} | - - -# **create_user_openshift_io_v1_group** -> V1Group create_user_openshift_io_v1_group(body, pretty=pretty) +[**create_group**](UserOpenshiftIoV1Api.md#create_group) | **POST** /apis/user.openshift.io/v1/groups | +[**create_identity**](UserOpenshiftIoV1Api.md#create_identity) | **POST** /apis/user.openshift.io/v1/identities | +[**create_user**](UserOpenshiftIoV1Api.md#create_user) | **POST** /apis/user.openshift.io/v1/users | +[**create_user_identity_mapping**](UserOpenshiftIoV1Api.md#create_user_identity_mapping) | **POST** /apis/user.openshift.io/v1/useridentitymappings | +[**delete_collection_group**](UserOpenshiftIoV1Api.md#delete_collection_group) | **DELETE** /apis/user.openshift.io/v1/groups | +[**delete_collection_identity**](UserOpenshiftIoV1Api.md#delete_collection_identity) | **DELETE** /apis/user.openshift.io/v1/identities | +[**delete_collection_user**](UserOpenshiftIoV1Api.md#delete_collection_user) | **DELETE** /apis/user.openshift.io/v1/users | +[**delete_group**](UserOpenshiftIoV1Api.md#delete_group) | **DELETE** /apis/user.openshift.io/v1/groups/{name} | +[**delete_identity**](UserOpenshiftIoV1Api.md#delete_identity) | **DELETE** /apis/user.openshift.io/v1/identities/{name} | +[**delete_user**](UserOpenshiftIoV1Api.md#delete_user) | **DELETE** /apis/user.openshift.io/v1/users/{name} | +[**delete_user_identity_mapping**](UserOpenshiftIoV1Api.md#delete_user_identity_mapping) | **DELETE** /apis/user.openshift.io/v1/useridentitymappings/{name} | +[**get_api_resources**](UserOpenshiftIoV1Api.md#get_api_resources) | **GET** /apis/user.openshift.io/v1/ | +[**list_group**](UserOpenshiftIoV1Api.md#list_group) | **GET** /apis/user.openshift.io/v1/groups | +[**list_identity**](UserOpenshiftIoV1Api.md#list_identity) | **GET** /apis/user.openshift.io/v1/identities | +[**list_user**](UserOpenshiftIoV1Api.md#list_user) | **GET** /apis/user.openshift.io/v1/users | +[**patch_group**](UserOpenshiftIoV1Api.md#patch_group) | **PATCH** /apis/user.openshift.io/v1/groups/{name} | +[**patch_identity**](UserOpenshiftIoV1Api.md#patch_identity) | **PATCH** /apis/user.openshift.io/v1/identities/{name} | +[**patch_user**](UserOpenshiftIoV1Api.md#patch_user) | **PATCH** /apis/user.openshift.io/v1/users/{name} | +[**patch_user_identity_mapping**](UserOpenshiftIoV1Api.md#patch_user_identity_mapping) | **PATCH** /apis/user.openshift.io/v1/useridentitymappings/{name} | +[**read_group**](UserOpenshiftIoV1Api.md#read_group) | **GET** /apis/user.openshift.io/v1/groups/{name} | +[**read_identity**](UserOpenshiftIoV1Api.md#read_identity) | **GET** /apis/user.openshift.io/v1/identities/{name} | +[**read_user**](UserOpenshiftIoV1Api.md#read_user) | **GET** /apis/user.openshift.io/v1/users/{name} | +[**read_user_identity_mapping**](UserOpenshiftIoV1Api.md#read_user_identity_mapping) | **GET** /apis/user.openshift.io/v1/useridentitymappings/{name} | +[**replace_group**](UserOpenshiftIoV1Api.md#replace_group) | **PUT** /apis/user.openshift.io/v1/groups/{name} | +[**replace_identity**](UserOpenshiftIoV1Api.md#replace_identity) | **PUT** /apis/user.openshift.io/v1/identities/{name} | +[**replace_user**](UserOpenshiftIoV1Api.md#replace_user) | **PUT** /apis/user.openshift.io/v1/users/{name} | +[**replace_user_identity_mapping**](UserOpenshiftIoV1Api.md#replace_user_identity_mapping) | **PUT** /apis/user.openshift.io/v1/useridentitymappings/{name} | + + +# **create_group** +> V1Group create_group(body, pretty=pretty) @@ -48,16 +48,25 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.UserOpenshiftIoV1Api() body = openshift.client.V1Group() # V1Group | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) try: - api_response = api_instance.create_user_openshift_io_v1_group(body, pretty=pretty) + api_response = api_instance.create_group(body, pretty=pretty) pprint(api_response) except ApiException as e: - print("Exception when calling UserOpenshiftIoV1Api->create_user_openshift_io_v1_group: %s\n" % e) + print("Exception when calling UserOpenshiftIoV1Api->create_group: %s\n" % e) ``` ### Parameters @@ -73,7 +82,7 @@ Name | Type | Description | Notes ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -82,8 +91,8 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **create_user_openshift_io_v1_identity** -> V1Identity create_user_openshift_io_v1_identity(body, pretty=pretty) +# **create_identity** +> V1Identity create_identity(body, pretty=pretty) @@ -97,16 +106,25 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.UserOpenshiftIoV1Api() body = openshift.client.V1Identity() # V1Identity | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) try: - api_response = api_instance.create_user_openshift_io_v1_identity(body, pretty=pretty) + api_response = api_instance.create_identity(body, pretty=pretty) pprint(api_response) except ApiException as e: - print("Exception when calling UserOpenshiftIoV1Api->create_user_openshift_io_v1_identity: %s\n" % e) + print("Exception when calling UserOpenshiftIoV1Api->create_identity: %s\n" % e) ``` ### Parameters @@ -122,7 +140,7 @@ Name | Type | Description | Notes ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -131,8 +149,8 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **create_user_openshift_io_v1_user** -> V1User create_user_openshift_io_v1_user(body, pretty=pretty) +# **create_user** +> V1User create_user(body, pretty=pretty) @@ -146,16 +164,25 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.UserOpenshiftIoV1Api() body = openshift.client.V1User() # V1User | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) try: - api_response = api_instance.create_user_openshift_io_v1_user(body, pretty=pretty) + api_response = api_instance.create_user(body, pretty=pretty) pprint(api_response) except ApiException as e: - print("Exception when calling UserOpenshiftIoV1Api->create_user_openshift_io_v1_user: %s\n" % e) + print("Exception when calling UserOpenshiftIoV1Api->create_user: %s\n" % e) ``` ### Parameters @@ -171,7 +198,7 @@ Name | Type | Description | Notes ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -180,8 +207,8 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **create_user_openshift_io_v1_user_identity_mapping** -> V1UserIdentityMapping create_user_openshift_io_v1_user_identity_mapping(body, pretty=pretty) +# **create_user_identity_mapping** +> V1UserIdentityMapping create_user_identity_mapping(body, pretty=pretty) @@ -195,16 +222,25 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.UserOpenshiftIoV1Api() body = openshift.client.V1UserIdentityMapping() # V1UserIdentityMapping | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) try: - api_response = api_instance.create_user_openshift_io_v1_user_identity_mapping(body, pretty=pretty) + api_response = api_instance.create_user_identity_mapping(body, pretty=pretty) pprint(api_response) except ApiException as e: - print("Exception when calling UserOpenshiftIoV1Api->create_user_openshift_io_v1_user_identity_mapping: %s\n" % e) + print("Exception when calling UserOpenshiftIoV1Api->create_user_identity_mapping: %s\n" % e) ``` ### Parameters @@ -220,7 +256,7 @@ Name | Type | Description | Notes ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -229,8 +265,8 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **delete_user_openshift_io_v1_collection_group** -> UnversionedStatus delete_user_openshift_io_v1_collection_group(pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) +# **delete_collection_group** +> V1Status delete_collection_group(pretty=pretty, field_selector=field_selector, include_uninitialized=include_uninitialized, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) @@ -244,20 +280,30 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.UserOpenshiftIoV1Api() pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) +include_uninitialized = true # bool | If true, partially initialized resources are included in the response. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. (optional) +resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) timeout_seconds = 56 # int | Timeout for the list/watch call. (optional) watch = true # bool | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) try: - api_response = api_instance.delete_user_openshift_io_v1_collection_group(pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) + api_response = api_instance.delete_collection_group(pretty=pretty, field_selector=field_selector, include_uninitialized=include_uninitialized, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) pprint(api_response) except ApiException as e: - print("Exception when calling UserOpenshiftIoV1Api->delete_user_openshift_io_v1_collection_group: %s\n" % e) + print("Exception when calling UserOpenshiftIoV1Api->delete_collection_group: %s\n" % e) ``` ### Parameters @@ -266,18 +312,19 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] + **include_uninitialized** | **bool**| If true, partially initialized resources are included in the response. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. | [optional] + **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] **timeout_seconds** | **int**| Timeout for the list/watch call. | [optional] **watch** | **bool**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] ### Return type -[**UnversionedStatus**](UnversionedStatus.md) +[**V1Status**](V1Status.md) ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -286,8 +333,8 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **delete_user_openshift_io_v1_collection_identity** -> UnversionedStatus delete_user_openshift_io_v1_collection_identity(pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) +# **delete_collection_identity** +> V1Status delete_collection_identity(pretty=pretty, field_selector=field_selector, include_uninitialized=include_uninitialized, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) @@ -301,20 +348,30 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.UserOpenshiftIoV1Api() pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) +include_uninitialized = true # bool | If true, partially initialized resources are included in the response. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. (optional) +resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) timeout_seconds = 56 # int | Timeout for the list/watch call. (optional) watch = true # bool | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) try: - api_response = api_instance.delete_user_openshift_io_v1_collection_identity(pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) + api_response = api_instance.delete_collection_identity(pretty=pretty, field_selector=field_selector, include_uninitialized=include_uninitialized, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) pprint(api_response) except ApiException as e: - print("Exception when calling UserOpenshiftIoV1Api->delete_user_openshift_io_v1_collection_identity: %s\n" % e) + print("Exception when calling UserOpenshiftIoV1Api->delete_collection_identity: %s\n" % e) ``` ### Parameters @@ -323,18 +380,19 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] + **include_uninitialized** | **bool**| If true, partially initialized resources are included in the response. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. | [optional] + **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] **timeout_seconds** | **int**| Timeout for the list/watch call. | [optional] **watch** | **bool**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] ### Return type -[**UnversionedStatus**](UnversionedStatus.md) +[**V1Status**](V1Status.md) ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -343,8 +401,8 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **delete_user_openshift_io_v1_collection_user** -> UnversionedStatus delete_user_openshift_io_v1_collection_user(pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) +# **delete_collection_user** +> V1Status delete_collection_user(pretty=pretty, field_selector=field_selector, include_uninitialized=include_uninitialized, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) @@ -358,20 +416,30 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.UserOpenshiftIoV1Api() pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) +include_uninitialized = true # bool | If true, partially initialized resources are included in the response. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. (optional) +resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) timeout_seconds = 56 # int | Timeout for the list/watch call. (optional) watch = true # bool | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) try: - api_response = api_instance.delete_user_openshift_io_v1_collection_user(pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) + api_response = api_instance.delete_collection_user(pretty=pretty, field_selector=field_selector, include_uninitialized=include_uninitialized, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) pprint(api_response) except ApiException as e: - print("Exception when calling UserOpenshiftIoV1Api->delete_user_openshift_io_v1_collection_user: %s\n" % e) + print("Exception when calling UserOpenshiftIoV1Api->delete_collection_user: %s\n" % e) ``` ### Parameters @@ -380,18 +448,19 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] + **include_uninitialized** | **bool**| If true, partially initialized resources are included in the response. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. | [optional] + **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] **timeout_seconds** | **int**| Timeout for the list/watch call. | [optional] **watch** | **bool**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] ### Return type -[**UnversionedStatus**](UnversionedStatus.md) +[**V1Status**](V1Status.md) ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -400,8 +469,8 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **delete_user_openshift_io_v1_group** -> UnversionedStatus delete_user_openshift_io_v1_group(name, body, pretty=pretty, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents) +# **delete_group** +> V1Status delete_group(name, body, pretty=pretty, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) @@ -415,19 +484,29 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.UserOpenshiftIoV1Api() name = 'name_example' # str | name of the Group body = openshift.client.V1DeleteOptions() # V1DeleteOptions | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) grace_period_seconds = 56 # int | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) -orphan_dependents = true # bool | Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. (optional) +orphan_dependents = true # bool | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) +propagation_policy = 'propagation_policy_example' # str | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. (optional) try: - api_response = api_instance.delete_user_openshift_io_v1_group(name, body, pretty=pretty, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents) + api_response = api_instance.delete_group(name, body, pretty=pretty, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) pprint(api_response) except ApiException as e: - print("Exception when calling UserOpenshiftIoV1Api->delete_user_openshift_io_v1_group: %s\n" % e) + print("Exception when calling UserOpenshiftIoV1Api->delete_group: %s\n" % e) ``` ### Parameters @@ -438,15 +517,16 @@ Name | Type | Description | Notes **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | **pretty** | **str**| If 'true', then the output is pretty printed. | [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] - **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] + **orphan_dependents** | **bool**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional] + **propagation_policy** | **str**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. | [optional] ### Return type -[**UnversionedStatus**](UnversionedStatus.md) +[**V1Status**](V1Status.md) ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -455,8 +535,8 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **delete_user_openshift_io_v1_identity** -> UnversionedStatus delete_user_openshift_io_v1_identity(name, body, pretty=pretty, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents) +# **delete_identity** +> V1Status delete_identity(name, body, pretty=pretty, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) @@ -470,19 +550,29 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.UserOpenshiftIoV1Api() name = 'name_example' # str | name of the Identity body = openshift.client.V1DeleteOptions() # V1DeleteOptions | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) grace_period_seconds = 56 # int | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) -orphan_dependents = true # bool | Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. (optional) +orphan_dependents = true # bool | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) +propagation_policy = 'propagation_policy_example' # str | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. (optional) try: - api_response = api_instance.delete_user_openshift_io_v1_identity(name, body, pretty=pretty, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents) + api_response = api_instance.delete_identity(name, body, pretty=pretty, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) pprint(api_response) except ApiException as e: - print("Exception when calling UserOpenshiftIoV1Api->delete_user_openshift_io_v1_identity: %s\n" % e) + print("Exception when calling UserOpenshiftIoV1Api->delete_identity: %s\n" % e) ``` ### Parameters @@ -493,15 +583,16 @@ Name | Type | Description | Notes **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | **pretty** | **str**| If 'true', then the output is pretty printed. | [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] - **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] + **orphan_dependents** | **bool**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional] + **propagation_policy** | **str**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. | [optional] ### Return type -[**UnversionedStatus**](UnversionedStatus.md) +[**V1Status**](V1Status.md) ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -510,8 +601,8 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **delete_user_openshift_io_v1_user** -> UnversionedStatus delete_user_openshift_io_v1_user(name, body, pretty=pretty, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents) +# **delete_user** +> V1Status delete_user(name, body, pretty=pretty, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) @@ -525,19 +616,29 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.UserOpenshiftIoV1Api() name = 'name_example' # str | name of the User body = openshift.client.V1DeleteOptions() # V1DeleteOptions | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) grace_period_seconds = 56 # int | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) -orphan_dependents = true # bool | Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. (optional) +orphan_dependents = true # bool | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) +propagation_policy = 'propagation_policy_example' # str | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. (optional) try: - api_response = api_instance.delete_user_openshift_io_v1_user(name, body, pretty=pretty, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents) + api_response = api_instance.delete_user(name, body, pretty=pretty, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy) pprint(api_response) except ApiException as e: - print("Exception when calling UserOpenshiftIoV1Api->delete_user_openshift_io_v1_user: %s\n" % e) + print("Exception when calling UserOpenshiftIoV1Api->delete_user: %s\n" % e) ``` ### Parameters @@ -548,15 +649,16 @@ Name | Type | Description | Notes **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | **pretty** | **str**| If 'true', then the output is pretty printed. | [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] - **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] + **orphan_dependents** | **bool**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional] + **propagation_policy** | **str**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. | [optional] ### Return type -[**UnversionedStatus**](UnversionedStatus.md) +[**V1Status**](V1Status.md) ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -565,8 +667,8 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **delete_user_openshift_io_v1_user_identity_mapping** -> UnversionedStatus delete_user_openshift_io_v1_user_identity_mapping(name, pretty=pretty) +# **delete_user_identity_mapping** +> V1Status delete_user_identity_mapping(name, pretty=pretty) @@ -580,16 +682,25 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.UserOpenshiftIoV1Api() name = 'name_example' # str | name of the UserIdentityMapping pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) try: - api_response = api_instance.delete_user_openshift_io_v1_user_identity_mapping(name, pretty=pretty) + api_response = api_instance.delete_user_identity_mapping(name, pretty=pretty) pprint(api_response) except ApiException as e: - print("Exception when calling UserOpenshiftIoV1Api->delete_user_openshift_io_v1_user_identity_mapping: %s\n" % e) + print("Exception when calling UserOpenshiftIoV1Api->delete_user_identity_mapping: %s\n" % e) ``` ### Parameters @@ -601,11 +712,11 @@ Name | Type | Description | Notes ### Return type -[**UnversionedStatus**](UnversionedStatus.md) +[**V1Status**](V1Status.md) ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -614,8 +725,8 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **get_user_openshift_io_v1_api_resources** -> UnversionedAPIResourceList get_user_openshift_io_v1_api_resources() +# **get_api_resources** +> V1APIResourceList get_api_resources() @@ -629,14 +740,23 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.UserOpenshiftIoV1Api() try: - api_response = api_instance.get_user_openshift_io_v1_api_resources() + api_response = api_instance.get_api_resources() pprint(api_response) except ApiException as e: - print("Exception when calling UserOpenshiftIoV1Api->get_user_openshift_io_v1_api_resources: %s\n" % e) + print("Exception when calling UserOpenshiftIoV1Api->get_api_resources: %s\n" % e) ``` ### Parameters @@ -644,11 +764,11 @@ This endpoint does not need any parameter. ### Return type -[**UnversionedAPIResourceList**](UnversionedAPIResourceList.md) +[**V1APIResourceList**](V1APIResourceList.md) ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -657,8 +777,8 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **list_user_openshift_io_v1_group** -> V1GroupList list_user_openshift_io_v1_group(pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) +# **list_group** +> V1GroupList list_group(pretty=pretty, field_selector=field_selector, include_uninitialized=include_uninitialized, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) @@ -672,20 +792,30 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.UserOpenshiftIoV1Api() pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) +include_uninitialized = true # bool | If true, partially initialized resources are included in the response. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. (optional) +resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) timeout_seconds = 56 # int | Timeout for the list/watch call. (optional) watch = true # bool | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) try: - api_response = api_instance.list_user_openshift_io_v1_group(pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) + api_response = api_instance.list_group(pretty=pretty, field_selector=field_selector, include_uninitialized=include_uninitialized, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) pprint(api_response) except ApiException as e: - print("Exception when calling UserOpenshiftIoV1Api->list_user_openshift_io_v1_group: %s\n" % e) + print("Exception when calling UserOpenshiftIoV1Api->list_group: %s\n" % e) ``` ### Parameters @@ -694,8 +824,9 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] + **include_uninitialized** | **bool**| If true, partially initialized resources are included in the response. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. | [optional] + **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] **timeout_seconds** | **int**| Timeout for the list/watch call. | [optional] **watch** | **bool**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] @@ -705,7 +836,7 @@ Name | Type | Description | Notes ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -714,8 +845,8 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **list_user_openshift_io_v1_identity** -> V1IdentityList list_user_openshift_io_v1_identity(pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) +# **list_identity** +> V1IdentityList list_identity(pretty=pretty, field_selector=field_selector, include_uninitialized=include_uninitialized, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) @@ -729,20 +860,30 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.UserOpenshiftIoV1Api() pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) +include_uninitialized = true # bool | If true, partially initialized resources are included in the response. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. (optional) +resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) timeout_seconds = 56 # int | Timeout for the list/watch call. (optional) watch = true # bool | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) try: - api_response = api_instance.list_user_openshift_io_v1_identity(pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) + api_response = api_instance.list_identity(pretty=pretty, field_selector=field_selector, include_uninitialized=include_uninitialized, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) pprint(api_response) except ApiException as e: - print("Exception when calling UserOpenshiftIoV1Api->list_user_openshift_io_v1_identity: %s\n" % e) + print("Exception when calling UserOpenshiftIoV1Api->list_identity: %s\n" % e) ``` ### Parameters @@ -751,8 +892,9 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] + **include_uninitialized** | **bool**| If true, partially initialized resources are included in the response. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. | [optional] + **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] **timeout_seconds** | **int**| Timeout for the list/watch call. | [optional] **watch** | **bool**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] @@ -762,7 +904,7 @@ Name | Type | Description | Notes ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -771,8 +913,8 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **list_user_openshift_io_v1_user** -> V1UserList list_user_openshift_io_v1_user(pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) +# **list_user** +> V1UserList list_user(pretty=pretty, field_selector=field_selector, include_uninitialized=include_uninitialized, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) @@ -786,20 +928,30 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.UserOpenshiftIoV1Api() pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) +include_uninitialized = true # bool | If true, partially initialized resources are included in the response. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) -resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. (optional) +resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. (optional) timeout_seconds = 56 # int | Timeout for the list/watch call. (optional) watch = true # bool | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) try: - api_response = api_instance.list_user_openshift_io_v1_user(pretty=pretty, field_selector=field_selector, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) + api_response = api_instance.list_user(pretty=pretty, field_selector=field_selector, include_uninitialized=include_uninitialized, label_selector=label_selector, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) pprint(api_response) except ApiException as e: - print("Exception when calling UserOpenshiftIoV1Api->list_user_openshift_io_v1_user: %s\n" % e) + print("Exception when calling UserOpenshiftIoV1Api->list_user: %s\n" % e) ``` ### Parameters @@ -808,8 +960,9 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] + **include_uninitialized** | **bool**| If true, partially initialized resources are included in the response. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. | [optional] + **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] **timeout_seconds** | **int**| Timeout for the list/watch call. | [optional] **watch** | **bool**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] @@ -819,7 +972,7 @@ Name | Type | Description | Notes ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -828,8 +981,8 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **patch_user_openshift_io_v1_group** -> V1Group patch_user_openshift_io_v1_group(name, body, pretty=pretty) +# **patch_group** +> V1Group patch_group(name, body, pretty=pretty) @@ -843,17 +996,26 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.UserOpenshiftIoV1Api() name = 'name_example' # str | name of the Group -body = openshift.client.UnversionedPatch() # UnversionedPatch | +body = NULL # object | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) try: - api_response = api_instance.patch_user_openshift_io_v1_group(name, body, pretty=pretty) + api_response = api_instance.patch_group(name, body, pretty=pretty) pprint(api_response) except ApiException as e: - print("Exception when calling UserOpenshiftIoV1Api->patch_user_openshift_io_v1_group: %s\n" % e) + print("Exception when calling UserOpenshiftIoV1Api->patch_group: %s\n" % e) ``` ### Parameters @@ -861,7 +1023,7 @@ except ApiException as e: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **name** | **str**| name of the Group | - **body** | [**UnversionedPatch**](UnversionedPatch.md)| | + **body** | **object**| | **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] ### Return type @@ -870,7 +1032,7 @@ Name | Type | Description | Notes ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -879,8 +1041,8 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **patch_user_openshift_io_v1_identity** -> V1Identity patch_user_openshift_io_v1_identity(name, body, pretty=pretty) +# **patch_identity** +> V1Identity patch_identity(name, body, pretty=pretty) @@ -894,17 +1056,26 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.UserOpenshiftIoV1Api() name = 'name_example' # str | name of the Identity -body = openshift.client.UnversionedPatch() # UnversionedPatch | +body = NULL # object | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) try: - api_response = api_instance.patch_user_openshift_io_v1_identity(name, body, pretty=pretty) + api_response = api_instance.patch_identity(name, body, pretty=pretty) pprint(api_response) except ApiException as e: - print("Exception when calling UserOpenshiftIoV1Api->patch_user_openshift_io_v1_identity: %s\n" % e) + print("Exception when calling UserOpenshiftIoV1Api->patch_identity: %s\n" % e) ``` ### Parameters @@ -912,7 +1083,7 @@ except ApiException as e: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **name** | **str**| name of the Identity | - **body** | [**UnversionedPatch**](UnversionedPatch.md)| | + **body** | **object**| | **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] ### Return type @@ -921,7 +1092,7 @@ Name | Type | Description | Notes ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -930,8 +1101,8 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **patch_user_openshift_io_v1_user** -> V1User patch_user_openshift_io_v1_user(name, body, pretty=pretty) +# **patch_user** +> V1User patch_user(name, body, pretty=pretty) @@ -945,17 +1116,26 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.UserOpenshiftIoV1Api() name = 'name_example' # str | name of the User -body = openshift.client.UnversionedPatch() # UnversionedPatch | +body = NULL # object | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) try: - api_response = api_instance.patch_user_openshift_io_v1_user(name, body, pretty=pretty) + api_response = api_instance.patch_user(name, body, pretty=pretty) pprint(api_response) except ApiException as e: - print("Exception when calling UserOpenshiftIoV1Api->patch_user_openshift_io_v1_user: %s\n" % e) + print("Exception when calling UserOpenshiftIoV1Api->patch_user: %s\n" % e) ``` ### Parameters @@ -963,7 +1143,7 @@ except ApiException as e: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **name** | **str**| name of the User | - **body** | [**UnversionedPatch**](UnversionedPatch.md)| | + **body** | **object**| | **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] ### Return type @@ -972,7 +1152,7 @@ Name | Type | Description | Notes ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -981,8 +1161,8 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **patch_user_openshift_io_v1_user_identity_mapping** -> V1UserIdentityMapping patch_user_openshift_io_v1_user_identity_mapping(name, body, pretty=pretty) +# **patch_user_identity_mapping** +> V1UserIdentityMapping patch_user_identity_mapping(name, body, pretty=pretty) @@ -996,17 +1176,26 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.UserOpenshiftIoV1Api() name = 'name_example' # str | name of the UserIdentityMapping -body = openshift.client.UnversionedPatch() # UnversionedPatch | +body = NULL # object | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) try: - api_response = api_instance.patch_user_openshift_io_v1_user_identity_mapping(name, body, pretty=pretty) + api_response = api_instance.patch_user_identity_mapping(name, body, pretty=pretty) pprint(api_response) except ApiException as e: - print("Exception when calling UserOpenshiftIoV1Api->patch_user_openshift_io_v1_user_identity_mapping: %s\n" % e) + print("Exception when calling UserOpenshiftIoV1Api->patch_user_identity_mapping: %s\n" % e) ``` ### Parameters @@ -1014,7 +1203,7 @@ except ApiException as e: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **name** | **str**| name of the UserIdentityMapping | - **body** | [**UnversionedPatch**](UnversionedPatch.md)| | + **body** | **object**| | **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] ### Return type @@ -1023,7 +1212,7 @@ Name | Type | Description | Notes ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -1032,8 +1221,8 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **read_user_openshift_io_v1_group** -> V1Group read_user_openshift_io_v1_group(name, pretty=pretty, exact=exact, export=export) +# **read_group** +> V1Group read_group(name, pretty=pretty, exact=exact, export=export) @@ -1047,18 +1236,27 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.UserOpenshiftIoV1Api() name = 'name_example' # str | name of the Group pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) -exact = true # bool | Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace' (optional) +exact = true # bool | Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. (optional) export = true # bool | Should this value be exported. Export strips fields that a user can not specify. (optional) try: - api_response = api_instance.read_user_openshift_io_v1_group(name, pretty=pretty, exact=exact, export=export) + api_response = api_instance.read_group(name, pretty=pretty, exact=exact, export=export) pprint(api_response) except ApiException as e: - print("Exception when calling UserOpenshiftIoV1Api->read_user_openshift_io_v1_group: %s\n" % e) + print("Exception when calling UserOpenshiftIoV1Api->read_group: %s\n" % e) ``` ### Parameters @@ -1067,7 +1265,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **name** | **str**| name of the Group | **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - **exact** | **bool**| Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace' | [optional] + **exact** | **bool**| Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. | [optional] **export** | **bool**| Should this value be exported. Export strips fields that a user can not specify. | [optional] ### Return type @@ -1076,7 +1274,7 @@ Name | Type | Description | Notes ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -1085,8 +1283,8 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **read_user_openshift_io_v1_identity** -> V1Identity read_user_openshift_io_v1_identity(name, pretty=pretty, exact=exact, export=export) +# **read_identity** +> V1Identity read_identity(name, pretty=pretty, exact=exact, export=export) @@ -1100,18 +1298,27 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.UserOpenshiftIoV1Api() name = 'name_example' # str | name of the Identity pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) -exact = true # bool | Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace' (optional) +exact = true # bool | Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. (optional) export = true # bool | Should this value be exported. Export strips fields that a user can not specify. (optional) try: - api_response = api_instance.read_user_openshift_io_v1_identity(name, pretty=pretty, exact=exact, export=export) + api_response = api_instance.read_identity(name, pretty=pretty, exact=exact, export=export) pprint(api_response) except ApiException as e: - print("Exception when calling UserOpenshiftIoV1Api->read_user_openshift_io_v1_identity: %s\n" % e) + print("Exception when calling UserOpenshiftIoV1Api->read_identity: %s\n" % e) ``` ### Parameters @@ -1120,7 +1327,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **name** | **str**| name of the Identity | **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - **exact** | **bool**| Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace' | [optional] + **exact** | **bool**| Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. | [optional] **export** | **bool**| Should this value be exported. Export strips fields that a user can not specify. | [optional] ### Return type @@ -1129,7 +1336,7 @@ Name | Type | Description | Notes ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -1138,8 +1345,8 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **read_user_openshift_io_v1_user** -> V1User read_user_openshift_io_v1_user(name, pretty=pretty, exact=exact, export=export) +# **read_user** +> V1User read_user(name, pretty=pretty, exact=exact, export=export) @@ -1153,18 +1360,27 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.UserOpenshiftIoV1Api() name = 'name_example' # str | name of the User pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) -exact = true # bool | Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace' (optional) +exact = true # bool | Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. (optional) export = true # bool | Should this value be exported. Export strips fields that a user can not specify. (optional) try: - api_response = api_instance.read_user_openshift_io_v1_user(name, pretty=pretty, exact=exact, export=export) + api_response = api_instance.read_user(name, pretty=pretty, exact=exact, export=export) pprint(api_response) except ApiException as e: - print("Exception when calling UserOpenshiftIoV1Api->read_user_openshift_io_v1_user: %s\n" % e) + print("Exception when calling UserOpenshiftIoV1Api->read_user: %s\n" % e) ``` ### Parameters @@ -1173,7 +1389,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **name** | **str**| name of the User | **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - **exact** | **bool**| Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace' | [optional] + **exact** | **bool**| Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. | [optional] **export** | **bool**| Should this value be exported. Export strips fields that a user can not specify. | [optional] ### Return type @@ -1182,7 +1398,7 @@ Name | Type | Description | Notes ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -1191,8 +1407,8 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **read_user_openshift_io_v1_user_identity_mapping** -> V1UserIdentityMapping read_user_openshift_io_v1_user_identity_mapping(name, pretty=pretty) +# **read_user_identity_mapping** +> V1UserIdentityMapping read_user_identity_mapping(name, pretty=pretty) @@ -1206,16 +1422,25 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.UserOpenshiftIoV1Api() name = 'name_example' # str | name of the UserIdentityMapping pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) try: - api_response = api_instance.read_user_openshift_io_v1_user_identity_mapping(name, pretty=pretty) + api_response = api_instance.read_user_identity_mapping(name, pretty=pretty) pprint(api_response) except ApiException as e: - print("Exception when calling UserOpenshiftIoV1Api->read_user_openshift_io_v1_user_identity_mapping: %s\n" % e) + print("Exception when calling UserOpenshiftIoV1Api->read_user_identity_mapping: %s\n" % e) ``` ### Parameters @@ -1231,7 +1456,7 @@ Name | Type | Description | Notes ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -1240,8 +1465,8 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **replace_user_openshift_io_v1_group** -> V1Group replace_user_openshift_io_v1_group(name, body, pretty=pretty) +# **replace_group** +> V1Group replace_group(name, body, pretty=pretty) @@ -1255,6 +1480,15 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.UserOpenshiftIoV1Api() name = 'name_example' # str | name of the Group @@ -1262,10 +1496,10 @@ body = openshift.client.V1Group() # V1Group | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) try: - api_response = api_instance.replace_user_openshift_io_v1_group(name, body, pretty=pretty) + api_response = api_instance.replace_group(name, body, pretty=pretty) pprint(api_response) except ApiException as e: - print("Exception when calling UserOpenshiftIoV1Api->replace_user_openshift_io_v1_group: %s\n" % e) + print("Exception when calling UserOpenshiftIoV1Api->replace_group: %s\n" % e) ``` ### Parameters @@ -1282,7 +1516,7 @@ Name | Type | Description | Notes ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -1291,8 +1525,8 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **replace_user_openshift_io_v1_identity** -> V1Identity replace_user_openshift_io_v1_identity(name, body, pretty=pretty) +# **replace_identity** +> V1Identity replace_identity(name, body, pretty=pretty) @@ -1306,6 +1540,15 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.UserOpenshiftIoV1Api() name = 'name_example' # str | name of the Identity @@ -1313,10 +1556,10 @@ body = openshift.client.V1Identity() # V1Identity | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) try: - api_response = api_instance.replace_user_openshift_io_v1_identity(name, body, pretty=pretty) + api_response = api_instance.replace_identity(name, body, pretty=pretty) pprint(api_response) except ApiException as e: - print("Exception when calling UserOpenshiftIoV1Api->replace_user_openshift_io_v1_identity: %s\n" % e) + print("Exception when calling UserOpenshiftIoV1Api->replace_identity: %s\n" % e) ``` ### Parameters @@ -1333,7 +1576,7 @@ Name | Type | Description | Notes ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -1342,8 +1585,8 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **replace_user_openshift_io_v1_user** -> V1User replace_user_openshift_io_v1_user(name, body, pretty=pretty) +# **replace_user** +> V1User replace_user(name, body, pretty=pretty) @@ -1357,6 +1600,15 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.UserOpenshiftIoV1Api() name = 'name_example' # str | name of the User @@ -1364,10 +1616,10 @@ body = openshift.client.V1User() # V1User | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) try: - api_response = api_instance.replace_user_openshift_io_v1_user(name, body, pretty=pretty) + api_response = api_instance.replace_user(name, body, pretty=pretty) pprint(api_response) except ApiException as e: - print("Exception when calling UserOpenshiftIoV1Api->replace_user_openshift_io_v1_user: %s\n" % e) + print("Exception when calling UserOpenshiftIoV1Api->replace_user: %s\n" % e) ``` ### Parameters @@ -1384,7 +1636,7 @@ Name | Type | Description | Notes ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers @@ -1393,8 +1645,8 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **replace_user_openshift_io_v1_user_identity_mapping** -> V1UserIdentityMapping replace_user_openshift_io_v1_user_identity_mapping(name, body, pretty=pretty) +# **replace_user_identity_mapping** +> V1UserIdentityMapping replace_user_identity_mapping(name, body, pretty=pretty) @@ -1408,6 +1660,15 @@ import openshift.client from kubernetes.client.rest import ApiException from pprint import pprint +# Configure OAuth2 access token for authorization: Oauth2Implicit +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure OAuth2 access token for authorization: Oauth2AccessToken +openshift.client.configuration.access_token = 'YOUR_ACCESS_TOKEN' +# Configure API key authorization: BearerToken +openshift.client.configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# openshift.client.configuration.api_key_prefix['authorization'] = 'Bearer' + # create an instance of the API class api_instance = openshift.client.UserOpenshiftIoV1Api() name = 'name_example' # str | name of the UserIdentityMapping @@ -1415,10 +1676,10 @@ body = openshift.client.V1UserIdentityMapping() # V1UserIdentityMapping | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) try: - api_response = api_instance.replace_user_openshift_io_v1_user_identity_mapping(name, body, pretty=pretty) + api_response = api_instance.replace_user_identity_mapping(name, body, pretty=pretty) pprint(api_response) except ApiException as e: - print("Exception when calling UserOpenshiftIoV1Api->replace_user_openshift_io_v1_user_identity_mapping: %s\n" % e) + print("Exception when calling UserOpenshiftIoV1Api->replace_user_identity_mapping: %s\n" % e) ``` ### Parameters @@ -1435,7 +1696,7 @@ Name | Type | Description | Notes ### Authorization -No authorization required +[Oauth2Implicit](../README.md#Oauth2Implicit), [Oauth2AccessToken](../README.md#Oauth2AccessToken), [BearerToken](../README.md#BearerToken) ### HTTP request headers diff --git a/openshift/docs/V1APIGroup.md b/openshift/docs/V1APIGroup.md new file mode 100644 index 00000000..6ce22dc0 --- /dev/null +++ b/openshift/docs/V1APIGroup.md @@ -0,0 +1,15 @@ +# V1APIGroup + +## 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: https://git.k8s.io/community/contributors/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 openshift.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds | [optional] +**name** | **str** | name is the name of the group. | +**preferred_version** | [**V1GroupVersionForDiscovery**](V1GroupVersionForDiscovery.md) | preferredVersion is the version preferred by the API server, which probably is the storage version. | [optional] +**server_address_by_client_cid_rs** | [**list[V1ServerAddressByClientCIDR]**](V1ServerAddressByClientCIDR.md) | a map of openshift.client CIDR to server address that is serving this group. This is to help openshift.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, openshift.clients should use the longest matching CIDR. The server returns only those CIDRs that it thinks that the openshift.client can match. For example: the master will return an internal IP CIDR only, if the openshift.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 openshift.client IP. | +**versions** | [**list[V1GroupVersionForDiscovery]**](V1GroupVersionForDiscovery.md) | versions are the versions supported in this group. | + +[[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/openshift/docs/UnversionedAPIGroupList.md b/openshift/docs/V1APIGroupList.md similarity index 64% rename from openshift/docs/UnversionedAPIGroupList.md rename to openshift/docs/V1APIGroupList.md index ae662a2d..784043a3 100644 --- a/openshift/docs/UnversionedAPIGroupList.md +++ b/openshift/docs/V1APIGroupList.md @@ -1,11 +1,11 @@ -# UnversionedAPIGroupList +# V1APIGroupList ## 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 openshift.client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional] +**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: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources | [optional] +**groups** | [**list[V1APIGroup]**](V1APIGroup.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 openshift.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/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/openshift/docs/V1APIResource.md b/openshift/docs/V1APIResource.md new file mode 100644 index 00000000..08adabc0 --- /dev/null +++ b/openshift/docs/V1APIResource.md @@ -0,0 +1,16 @@ +# V1APIResource + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**categories** | **list[str]** | categories is a list of the grouped resources this resource belongs to (e.g. 'all') | [optional] +**kind** | **str** | kind is the kind for the resource (e.g. 'Foo' is the kind for a resource 'foo') | +**name** | **str** | name is the plural name of the resource. | +**namespaced** | **bool** | namespaced indicates if a resource is namespaced or not. | +**short_names** | **list[str]** | shortNames is a list of suggested short names of the resource. | [optional] +**singular_name** | **str** | singularName is the singular name of the resource. This allows openshift.clients to handle plural and singular opaquely. The singularName is more correct for reporting status on a single item and both singular and plural are allowed from the kubectl CLI interface. | +**verbs** | **list[str]** | verbs is a list of supported kube verbs (this includes get, list, watch, create, update, patch, delete, deletecollection, and proxy) | + +[[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/openshift/docs/UnversionedAPIResourceList.md b/openshift/docs/V1APIResourceList.md similarity index 64% rename from openshift/docs/UnversionedAPIResourceList.md rename to openshift/docs/V1APIResourceList.md index 9861b61b..294a6d0f 100644 --- a/openshift/docs/UnversionedAPIResourceList.md +++ b/openshift/docs/V1APIResourceList.md @@ -1,12 +1,12 @@ -# UnversionedAPIResourceList +# V1APIResourceList ## 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] +**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: https://git.k8s.io/community/contributors/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 openshift.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. | +**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the openshift.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds | [optional] +**resources** | [**list[V1APIResource]**](V1APIResource.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/openshift/docs/V1APIVersions.md b/openshift/docs/V1APIVersions.md new file mode 100644 index 00000000..1214bd7b --- /dev/null +++ b/openshift/docs/V1APIVersions.md @@ -0,0 +1,13 @@ +# V1APIVersions + +## 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: https://git.k8s.io/community/contributors/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 openshift.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds | [optional] +**server_address_by_client_cid_rs** | [**list[V1ServerAddressByClientCIDR]**](V1ServerAddressByClientCIDR.md) | a map of openshift.client CIDR to server address that is serving this group. This is to help openshift.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, openshift.clients should use the longest matching CIDR. The server returns only those CIDRs that it thinks that the openshift.client can match. For example: the master will return an internal IP CIDR only, if the openshift.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 openshift.client IP. | +**versions** | **list[str]** | versions are the api versions that are available. | + +[[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/openshift/docs/V1AWSElasticBlockStoreVolumeSource.md b/openshift/docs/V1AWSElasticBlockStoreVolumeSource.md index e64a0432..d8775572 100644 --- a/openshift/docs/V1AWSElasticBlockStoreVolumeSource.md +++ b/openshift/docs/V1AWSElasticBlockStoreVolumeSource.md @@ -3,10 +3,10 @@ ## 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] +**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: https://kubernetes.io/docs/concepts/storage/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 | +**read_only** | **bool** | Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore | [optional] +**volume_id** | **str** | Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/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/openshift/docs/IntstrIntOrString.md b/openshift/docs/V1AllowedFlexVolume.md similarity index 72% rename from openshift/docs/IntstrIntOrString.md rename to openshift/docs/V1AllowedFlexVolume.md index c91598ac..a78a64ac 100644 --- a/openshift/docs/IntstrIntOrString.md +++ b/openshift/docs/V1AllowedFlexVolume.md @@ -1,8 +1,9 @@ -# IntstrIntOrString +# V1AllowedFlexVolume ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**driver** | **str** | Driver is the name of the Flexvolume driver. | [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/openshift/docs/V1AppliedClusterResourceQuota.md b/openshift/docs/V1AppliedClusterResourceQuota.md index bfede015..38104571 100644 --- a/openshift/docs/V1AppliedClusterResourceQuota.md +++ b/openshift/docs/V1AppliedClusterResourceQuota.md @@ -3,8 +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 openshift.client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional] +**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: https://git.k8s.io/community/contributors/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 openshift.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds | [optional] **metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | Standard object's metadata. | **spec** | [**V1ClusterResourceQuotaSpec**](V1ClusterResourceQuotaSpec.md) | Spec defines the desired quota | **status** | [**V1ClusterResourceQuotaStatus**](V1ClusterResourceQuotaStatus.md) | Status defines the actual enforced quota and its current usage | [optional] diff --git a/openshift/docs/V1AppliedClusterResourceQuotaList.md b/openshift/docs/V1AppliedClusterResourceQuotaList.md index efb34a4e..3a825a62 100644 --- a/openshift/docs/V1AppliedClusterResourceQuotaList.md +++ b/openshift/docs/V1AppliedClusterResourceQuotaList.md @@ -3,10 +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] +**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: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources | [optional] **items** | [**list[V1AppliedClusterResourceQuota]**](V1AppliedClusterResourceQuota.md) | Items is a list of AppliedClusterResourceQuota | -**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the openshift.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] +**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the openshift.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds | [optional] +**metadata** | [**V1ListMeta**](V1ListMeta.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/openshift/docs/V1AttachedVolume.md b/openshift/docs/V1AttachedVolume.md deleted file mode 100644 index cc9023e9..00000000 --- a/openshift/docs/V1AttachedVolume.md +++ /dev/null @@ -1,11 +0,0 @@ -# V1AttachedVolume - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**device_path** | **str** | DevicePath represents the device path where the volume should be available | -**name** | **str** | Name of the attached volume | - -[[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/openshift/docs/V1AzureDiskVolumeSource.md b/openshift/docs/V1AzureDiskVolumeSource.md deleted file mode 100644 index 1d39289b..00000000 --- a/openshift/docs/V1AzureDiskVolumeSource.md +++ /dev/null @@ -1,14 +0,0 @@ -# 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/openshift/docs/V1AzureFileVolumeSource.md b/openshift/docs/V1AzureFileVolumeSource.md deleted file mode 100644 index d07de534..00000000 --- a/openshift/docs/V1AzureFileVolumeSource.md +++ /dev/null @@ -1,12 +0,0 @@ -# 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/openshift/docs/UnversionedTime.md b/openshift/docs/V1BitbucketWebHookCause.md similarity index 50% rename from openshift/docs/UnversionedTime.md rename to openshift/docs/V1BitbucketWebHookCause.md index 6d8243c2..705d12c9 100644 --- a/openshift/docs/UnversionedTime.md +++ b/openshift/docs/V1BitbucketWebHookCause.md @@ -1,8 +1,10 @@ -# UnversionedTime +# V1BitbucketWebHookCause ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**revision** | [**V1SourceRevision**](V1SourceRevision.md) | Revision is the git source revision information of the trigger. | [optional] +**secret** | **str** | Secret is the obfuscated webhook secret that triggered a build. | [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/openshift/docs/V1Binding.md b/openshift/docs/V1BrokerTemplateInstance.md similarity index 59% rename from openshift/docs/V1Binding.md rename to openshift/docs/V1BrokerTemplateInstance.md index 3027ea2a..baf7ca25 100644 --- a/openshift/docs/V1Binding.md +++ b/openshift/docs/V1BrokerTemplateInstance.md @@ -1,12 +1,12 @@ -# V1Binding +# V1BrokerTemplateInstance ## 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 openshift.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. | +**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: https://git.k8s.io/community/contributors/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 openshift.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds | [optional] +**metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | Standard object metadata. | [optional] +**spec** | [**V1BrokerTemplateInstanceSpec**](V1BrokerTemplateInstanceSpec.md) | spec describes the state of this BrokerTemplateInstance. | [[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/openshift/docs/V1EventList.md b/openshift/docs/V1BrokerTemplateInstanceList.md similarity index 57% rename from openshift/docs/V1EventList.md rename to openshift/docs/V1BrokerTemplateInstanceList.md index f2453567..5c8be371 100644 --- a/openshift/docs/V1EventList.md +++ b/openshift/docs/V1BrokerTemplateInstanceList.md @@ -1,12 +1,12 @@ -# V1EventList +# V1BrokerTemplateInstanceList ## 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 openshift.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] +**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: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources | [optional] +**items** | [**list[V1BrokerTemplateInstance]**](V1BrokerTemplateInstance.md) | items is a list of BrokerTemplateInstances | +**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the openshift.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds | [optional] +**metadata** | [**V1ListMeta**](V1ListMeta.md) | Standard object 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/openshift/docs/V1BrokerTemplateInstanceSpec.md b/openshift/docs/V1BrokerTemplateInstanceSpec.md new file mode 100644 index 00000000..50b1831a --- /dev/null +++ b/openshift/docs/V1BrokerTemplateInstanceSpec.md @@ -0,0 +1,12 @@ +# V1BrokerTemplateInstanceSpec + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**binding_i_ds** | **list[str]** | bindingids is a list of 'binding_id's provided during successive bind calls to the template service broker. | [optional] +**secret** | [**V1ObjectReference**](V1ObjectReference.md) | secret is a reference to a Secret object residing in a namespace, containing the necessary template parameters. | +**template_instance** | [**V1ObjectReference**](V1ObjectReference.md) | templateinstance is a reference to a TemplateInstance object residing in a namespace. | + +[[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/openshift/docs/V1Build.md b/openshift/docs/V1Build.md index c709e7f7..4b267803 100644 --- a/openshift/docs/V1Build.md +++ b/openshift/docs/V1Build.md @@ -3,8 +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 openshift.client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional] +**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: https://git.k8s.io/community/contributors/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 openshift.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds | [optional] **metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | Standard object's metadata. | [optional] **spec** | [**V1BuildSpec**](V1BuildSpec.md) | spec is all the inputs used to execute the build. | [optional] **status** | [**V1BuildStatus**](V1BuildStatus.md) | status is the current status of the build. | [optional] diff --git a/openshift/docs/V1BuildConfig.md b/openshift/docs/V1BuildConfig.md index 5e154c35..1c00998c 100644 --- a/openshift/docs/V1BuildConfig.md +++ b/openshift/docs/V1BuildConfig.md @@ -3,8 +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 openshift.client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional] +**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: https://git.k8s.io/community/contributors/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 openshift.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds | [optional] **metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | metadata for BuildConfig. | [optional] **spec** | [**V1BuildConfigSpec**](V1BuildConfigSpec.md) | spec holds all the input necessary to produce a new build, and the conditions when to trigger them. | **status** | [**V1BuildConfigStatus**](V1BuildConfigStatus.md) | status holds any relevant information about a build config | diff --git a/openshift/docs/V1BuildConfigList.md b/openshift/docs/V1BuildConfigList.md index 4f3aefc1..02080cc6 100644 --- a/openshift/docs/V1BuildConfigList.md +++ b/openshift/docs/V1BuildConfigList.md @@ -3,10 +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] +**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: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources | [optional] **items** | [**list[V1BuildConfig]**](V1BuildConfig.md) | items is a list of build configs | -**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the openshift.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) | metadata for BuildConfigList. | [optional] +**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the openshift.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds | [optional] +**metadata** | [**V1ListMeta**](V1ListMeta.md) | metadata for BuildConfigList. | [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/openshift/docs/V1BuildConfigSpec.md b/openshift/docs/V1BuildConfigSpec.md index 071b6040..be20ed11 100644 --- a/openshift/docs/V1BuildConfigSpec.md +++ b/openshift/docs/V1BuildConfigSpec.md @@ -4,6 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **completion_deadline_seconds** | **int** | completionDeadlineSeconds is an optional duration in seconds, counted from the time when a build pod gets scheduled in the system, that the build may be active on a node before the system actively tries to terminate the build; value must be positive integer | [optional] +**failed_builds_history_limit** | **int** | failedBuildsHistoryLimit is the number of old failed builds to retain. If not specified, all failed builds are retained. | [optional] **node_selector** | **dict(str, str)** | nodeSelector is a selector which must be true for the build pod to fit on a node If nil, it can be overridden by default build nodeselector values for the cluster. If set to an empty map or a map with any values, default build nodeselector values are ignored. | **output** | [**V1BuildOutput**](V1BuildOutput.md) | output describes the Docker image the Strategy should produce. | [optional] **post_commit** | [**V1BuildPostCommitSpec**](V1BuildPostCommitSpec.md) | postCommit is a build hook executed after the build output image is committed, before it is pushed to a registry. | [optional] @@ -13,6 +14,7 @@ Name | Type | Description | Notes **service_account** | **str** | serviceAccount is the name of the ServiceAccount to use to run the pod created by this build. The pod will be allowed to use secrets referenced by the ServiceAccount | [optional] **source** | [**V1BuildSource**](V1BuildSource.md) | source describes the SCM in use. | [optional] **strategy** | [**V1BuildStrategy**](V1BuildStrategy.md) | strategy defines how to perform a build. | +**successful_builds_history_limit** | **int** | successfulBuildsHistoryLimit is the number of old successful builds to retain. If not specified, all successful builds are retained. | [optional] **triggers** | [**list[V1BuildTriggerPolicy]**](V1BuildTriggerPolicy.md) | triggers determine how new Builds can be launched from a BuildConfig. If no triggers are defined, a new build can only occur as a result of an explicit openshift.client build creation. | [[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/openshift/docs/V1BuildList.md b/openshift/docs/V1BuildList.md index e2e4ae0e..46f9baec 100644 --- a/openshift/docs/V1BuildList.md +++ b/openshift/docs/V1BuildList.md @@ -3,10 +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] +**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: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources | [optional] **items** | [**list[V1Build]**](V1Build.md) | items is a list of builds | -**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the openshift.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) | metadata for BuildList. | [optional] +**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the openshift.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds | [optional] +**metadata** | [**V1ListMeta**](V1ListMeta.md) | metadata for BuildList. | [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/openshift/docs/V1BuildLog.md b/openshift/docs/V1BuildLog.md index afcc8f0a..4e3df580 100644 --- a/openshift/docs/V1BuildLog.md +++ b/openshift/docs/V1BuildLog.md @@ -3,8 +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 openshift.client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional] +**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: https://git.k8s.io/community/contributors/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 openshift.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/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/openshift/docs/V1BuildRequest.md b/openshift/docs/V1BuildRequest.md index 06bc1a3a..d9ed83d6 100644 --- a/openshift/docs/V1BuildRequest.md +++ b/openshift/docs/V1BuildRequest.md @@ -3,15 +3,16 @@ ## 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] +**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: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources | [optional] **binary** | [**V1BinaryBuildSource**](V1BinaryBuildSource.md) | binary indicates a request to build from a binary provided to the builder | [optional] **docker_strategy_options** | [**V1DockerStrategyOptions**](V1DockerStrategyOptions.md) | DockerStrategyOptions contains additional docker-strategy specific options for the build | [optional] -**env** | [**list[V1EnvVar]**](V1EnvVar.md) | env contains additional environment variables you want to pass into a builder container. ValueFrom is not supported. | [optional] +**env** | [**list[V1EnvVar]**](V1EnvVar.md) | env contains additional environment variables you want to pass into a builder container. | [optional] **_from** | [**V1ObjectReference**](V1ObjectReference.md) | from is the reference to the ImageStreamTag that triggered the build. | [optional] -**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the openshift.client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional] +**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the openshift.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds | [optional] **last_version** | **int** | lastVersion (optional) is the LastVersion of the BuildConfig that was used to generate the build. If the BuildConfig in the generator doesn't match, a build will not be generated. | [optional] **metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | metadata for BuildRequest. | [optional] **revision** | [**V1SourceRevision**](V1SourceRevision.md) | revision is the information from the source for a specific repo snapshot. | [optional] +**source_strategy_options** | [**V1SourceStrategyOptions**](V1SourceStrategyOptions.md) | SourceStrategyOptions contains additional source-strategy specific options for the build | [optional] **triggered_by** | [**list[V1BuildTriggerCause]**](V1BuildTriggerCause.md) | triggeredBy describes which triggers started the most recent update to the build configuration and contains information about those triggers. | **triggered_by_image** | [**V1ObjectReference**](V1ObjectReference.md) | triggeredByImage is the Image that triggered this build. | [optional] diff --git a/openshift/docs/V1BuildStatus.md b/openshift/docs/V1BuildStatus.md index 13d19a0b..ba4983e8 100644 --- a/openshift/docs/V1BuildStatus.md +++ b/openshift/docs/V1BuildStatus.md @@ -4,15 +4,17 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **cancelled** | **bool** | cancelled describes if a cancel event was triggered for the build. | [optional] -**completion_timestamp** | [**UnversionedTime**](UnversionedTime.md) | completionTimestamp is a timestamp representing the server time when this Build was finished, whether that build failed or succeeded. It reflects the time at which the Pod running the Build terminated. It is represented in RFC3339 form and is in UTC. | [optional] +**completion_timestamp** | **datetime** | completionTimestamp is a timestamp representing the server time when this Build was finished, whether that build failed or succeeded. It reflects the time at which the Pod running the Build terminated. It is represented in RFC3339 form and is in UTC. | [optional] **config** | [**V1ObjectReference**](V1ObjectReference.md) | config is an ObjectReference to the BuildConfig this Build is based on. | [optional] **duration** | **int** | duration contains time.Duration object describing build time. | [optional] +**log_snippet** | **str** | logSnippet is the last few lines of the build log. This value is only set for builds that failed. | [optional] **message** | **str** | message is a human-readable message indicating details about why the build has this status. | [optional] **output** | [**V1BuildStatusOutput**](V1BuildStatusOutput.md) | output describes the Docker image the build has produced. | [optional] **output_docker_image_reference** | **str** | outputDockerImageReference contains a reference to the Docker image that will be built by this build. Its value is computed from Build.Spec.Output.To, and should include the registry address, so that it can be used to push and pull the image. | [optional] -**phase** | **str** | phase is the point in the build lifecycle. | +**phase** | **str** | phase is the point in the build lifecycle. Possible values are \"New\", \"Pending\", \"Running\", \"Complete\", \"Failed\", \"Error\", and \"Cancelled\". | **reason** | **str** | reason is a brief CamelCase string that describes any failure and is meant for machine parsing and tidy display in the CLI. | [optional] -**start_timestamp** | [**UnversionedTime**](UnversionedTime.md) | startTimestamp is a timestamp representing the server time when this Build started running in a Pod. It is represented in RFC3339 form and is in UTC. | [optional] +**stages** | [**list[V1StageInfo]**](V1StageInfo.md) | stages contains details about each stage that occurs during the build including start time, duration (in milliseconds), and the steps that occured within each stage. | [optional] +**start_timestamp** | **datetime** | startTimestamp is a timestamp representing the server time when this Build started running in a Pod. It is represented in RFC3339 form and is in UTC. | [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/openshift/docs/V1BuildTriggerCause.md b/openshift/docs/V1BuildTriggerCause.md index dbbe2c89..beea5f3f 100644 --- a/openshift/docs/V1BuildTriggerCause.md +++ b/openshift/docs/V1BuildTriggerCause.md @@ -3,8 +3,10 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**bitbucket_web_hook** | [**V1BitbucketWebHookCause**](V1BitbucketWebHookCause.md) | BitbucketWebHook represents data for a Bitbucket webhook that fired a specific build. | [optional] **generic_web_hook** | [**V1GenericWebHookCause**](V1GenericWebHookCause.md) | genericWebHook holds data about a builds generic webhook trigger. | [optional] **github_web_hook** | [**V1GitHubWebHookCause**](V1GitHubWebHookCause.md) | gitHubWebHook represents data for a GitHub webhook that fired a specific build. | [optional] +**gitlab_web_hook** | [**V1GitLabWebHookCause**](V1GitLabWebHookCause.md) | GitLabWebHook represents data for a GitLab webhook that fired a specific build. | [optional] **image_change_build** | [**V1ImageChangeCause**](V1ImageChangeCause.md) | imageChangeBuild stores information about an imagechange event that triggered a new build. | [optional] **message** | **str** | message is used to store a human readable message for why the build was triggered. E.g.: \"Manually triggered by user\", \"Configuration change\",etc. | [optional] diff --git a/openshift/docs/V1BuildTriggerPolicy.md b/openshift/docs/V1BuildTriggerPolicy.md index 58c9939f..9c37ab1f 100644 --- a/openshift/docs/V1BuildTriggerPolicy.md +++ b/openshift/docs/V1BuildTriggerPolicy.md @@ -3,8 +3,10 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**bitbucket** | [**V1WebHookTrigger**](V1WebHookTrigger.md) | BitbucketWebHook contains the parameters for a Bitbucket webhook type of trigger | [optional] **generic** | [**V1WebHookTrigger**](V1WebHookTrigger.md) | generic contains the parameters for a Generic webhook type of trigger | [optional] **github** | [**V1WebHookTrigger**](V1WebHookTrigger.md) | github contains the parameters for a GitHub webhook type of trigger | [optional] +**gitlab** | [**V1WebHookTrigger**](V1WebHookTrigger.md) | GitLabWebHook contains the parameters for a GitLab webhook type of trigger | [optional] **image_change** | [**V1ImageChangeTrigger**](V1ImageChangeTrigger.md) | imageChange contains parameters for an ImageChange type of trigger | [optional] **type** | **str** | type is the type of build trigger | diff --git a/openshift/docs/V1Capabilities.md b/openshift/docs/V1Capabilities.md deleted file mode 100644 index f7b22b74..00000000 --- a/openshift/docs/V1Capabilities.md +++ /dev/null @@ -1,11 +0,0 @@ -# V1Capabilities - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**add** | **list[str]** | Added capabilities | [optional] -**drop** | **list[str]** | Removed capabilities | [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/openshift/docs/V1CephFSVolumeSource.md b/openshift/docs/V1CephFSVolumeSource.md index 25529610..45edac4d 100644 --- a/openshift/docs/V1CephFSVolumeSource.md +++ b/openshift/docs/V1CephFSVolumeSource.md @@ -3,12 +3,12 @@ ## 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 | +**monitors** | **list[str]** | Required: Monitors is a collection of Ceph monitors More info: https://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] +**read_only** | **bool** | Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://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: https://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: https://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: https://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/openshift/docs/V1CinderVolumeSource.md b/openshift/docs/V1CinderVolumeSource.md deleted file mode 100644 index af097e24..00000000 --- a/openshift/docs/V1CinderVolumeSource.md +++ /dev/null @@ -1,12 +0,0 @@ -# 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/openshift/docs/V1ClusterNetwork.md b/openshift/docs/V1ClusterNetwork.md index 494c9048..2eadd6fc 100644 --- a/openshift/docs/V1ClusterNetwork.md +++ b/openshift/docs/V1ClusterNetwork.md @@ -3,9 +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] +**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: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources | [optional] **hostsubnetlength** | **int** | HostSubnetLength is the number of bits of network to allocate to each node. eg, 8 would mean that each node would have a /24 slice of the overlay network for its pods | -**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the openshift.client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional] +**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the openshift.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds | [optional] **metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | Standard object's metadata. | [optional] **network** | **str** | Network is a CIDR string specifying the global overlay network's L3 space | **plugin_name** | **str** | PluginName is the name of the network plugin being used | [optional] diff --git a/openshift/docs/V1ClusterNetworkList.md b/openshift/docs/V1ClusterNetworkList.md index 4d385124..8eeaaf53 100644 --- a/openshift/docs/V1ClusterNetworkList.md +++ b/openshift/docs/V1ClusterNetworkList.md @@ -3,10 +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] +**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: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources | [optional] **items** | [**list[V1ClusterNetwork]**](V1ClusterNetwork.md) | Items is the list of cluster networks | -**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the openshift.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] +**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the openshift.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds | [optional] +**metadata** | [**V1ListMeta**](V1ListMeta.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/openshift/docs/V1ClusterPolicy.md b/openshift/docs/V1ClusterPolicy.md deleted file mode 100644 index 9370e30c..00000000 --- a/openshift/docs/V1ClusterPolicy.md +++ /dev/null @@ -1,14 +0,0 @@ -# V1ClusterPolicy - -## 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 openshift.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_modified** | [**UnversionedTime**](UnversionedTime.md) | LastModified is the last time that any part of the ClusterPolicy was created, updated, or deleted | -**metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | Standard object's metadata. | [optional] -**roles** | [**list[V1NamedClusterRole]**](V1NamedClusterRole.md) | Roles holds all the ClusterRoles held by this ClusterPolicy, mapped by ClusterRole.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/openshift/docs/V1ClusterPolicyBinding.md b/openshift/docs/V1ClusterPolicyBinding.md deleted file mode 100644 index 98c6cfe3..00000000 --- a/openshift/docs/V1ClusterPolicyBinding.md +++ /dev/null @@ -1,15 +0,0 @@ -# V1ClusterPolicyBinding - -## 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 openshift.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_modified** | [**UnversionedTime**](UnversionedTime.md) | LastModified is the last time that any part of the ClusterPolicyBinding was created, updated, or deleted | -**metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | Standard object's metadata. | [optional] -**policy_ref** | [**V1ObjectReference**](V1ObjectReference.md) | PolicyRef is a reference to the ClusterPolicy that contains all the ClusterRoles that this ClusterPolicyBinding's RoleBindings may reference | -**role_bindings** | [**list[V1NamedClusterRoleBinding]**](V1NamedClusterRoleBinding.md) | RoleBindings holds all the ClusterRoleBindings held by this ClusterPolicyBinding, mapped by ClusterRoleBinding.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/openshift/docs/V1ClusterPolicyBindingList.md b/openshift/docs/V1ClusterPolicyBindingList.md deleted file mode 100644 index 1712591f..00000000 --- a/openshift/docs/V1ClusterPolicyBindingList.md +++ /dev/null @@ -1,13 +0,0 @@ -# V1ClusterPolicyBindingList - -## 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[V1ClusterPolicyBinding]**](V1ClusterPolicyBinding.md) | Items is a list of ClusterPolicyBindings | -**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the openshift.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/openshift/docs/V1ClusterPolicyList.md b/openshift/docs/V1ClusterPolicyList.md deleted file mode 100644 index 0ca07e87..00000000 --- a/openshift/docs/V1ClusterPolicyList.md +++ /dev/null @@ -1,13 +0,0 @@ -# V1ClusterPolicyList - -## 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[V1ClusterPolicy]**](V1ClusterPolicy.md) | Items is a list of ClusterPolicies | -**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the openshift.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/openshift/docs/V1ClusterResourceQuota.md b/openshift/docs/V1ClusterResourceQuota.md index b4f89dcb..6b0865c8 100644 --- a/openshift/docs/V1ClusterResourceQuota.md +++ b/openshift/docs/V1ClusterResourceQuota.md @@ -3,8 +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 openshift.client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional] +**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: https://git.k8s.io/community/contributors/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 openshift.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds | [optional] **metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | Standard object's metadata. | **spec** | [**V1ClusterResourceQuotaSpec**](V1ClusterResourceQuotaSpec.md) | Spec defines the desired quota | **status** | [**V1ClusterResourceQuotaStatus**](V1ClusterResourceQuotaStatus.md) | Status defines the actual enforced quota and its current usage | [optional] diff --git a/openshift/docs/V1ClusterResourceQuotaList.md b/openshift/docs/V1ClusterResourceQuotaList.md index 6b45bd49..f006123e 100644 --- a/openshift/docs/V1ClusterResourceQuotaList.md +++ b/openshift/docs/V1ClusterResourceQuotaList.md @@ -3,10 +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] +**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: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources | [optional] **items** | [**list[V1ClusterResourceQuota]**](V1ClusterResourceQuota.md) | Items is a list of ClusterResourceQuotas | -**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the openshift.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] +**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the openshift.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds | [optional] +**metadata** | [**V1ListMeta**](V1ListMeta.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/openshift/docs/V1ClusterResourceQuotaSelector.md b/openshift/docs/V1ClusterResourceQuotaSelector.md index 3cb64d06..b1854bf9 100644 --- a/openshift/docs/V1ClusterResourceQuotaSelector.md +++ b/openshift/docs/V1ClusterResourceQuotaSelector.md @@ -4,7 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **annotations** | **dict(str, str)** | AnnotationSelector is used to select projects by annotation. | -**labels** | [**UnversionedLabelSelector**](UnversionedLabelSelector.md) | LabelSelector is used to select projects by label. | +**labels** | [**V1LabelSelector**](V1LabelSelector.md) | LabelSelector is used to select projects by label. | [[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/openshift/docs/V1ClusterRole.md b/openshift/docs/V1ClusterRole.md index d6b74466..7eb65d9a 100644 --- a/openshift/docs/V1ClusterRole.md +++ b/openshift/docs/V1ClusterRole.md @@ -3,8 +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 openshift.client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional] +**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: https://git.k8s.io/community/contributors/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 openshift.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds | [optional] **metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | Standard object's metadata. | [optional] **rules** | [**list[V1PolicyRule]**](V1PolicyRule.md) | Rules holds all the PolicyRules for this ClusterRole | diff --git a/openshift/docs/V1ClusterRoleBinding.md b/openshift/docs/V1ClusterRoleBinding.md index a0da82e5..8f9f3c35 100644 --- a/openshift/docs/V1ClusterRoleBinding.md +++ b/openshift/docs/V1ClusterRoleBinding.md @@ -3,9 +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] +**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: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources | [optional] **group_names** | **list[str]** | GroupNames holds all the groups directly bound to the role. This field should only be specified when supporting legacy openshift.clients and servers. See Subjects for further details. | -**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the openshift.client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional] +**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the openshift.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds | [optional] **metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | Standard object's metadata. | [optional] **role_ref** | [**V1ObjectReference**](V1ObjectReference.md) | RoleRef can only reference the current namespace and the global namespace. If the ClusterRoleRef cannot be resolved, the Authorizer must return an error. Since Policy is a singleton, this is sufficient knowledge to locate a role. | **subjects** | [**list[V1ObjectReference]**](V1ObjectReference.md) | Subjects hold object references to authorize with this rule. This field is ignored if UserNames or GroupNames are specified to support legacy openshift.clients and servers. Thus newer openshift.clients that do not need to support backwards compatibility should send only fully qualified Subjects and should omit the UserNames and GroupNames fields. Clients that need to support backwards compatibility can use this field to build the UserNames and GroupNames. | diff --git a/openshift/docs/V1ClusterRoleBindingList.md b/openshift/docs/V1ClusterRoleBindingList.md index 8f01500e..b4ffff06 100644 --- a/openshift/docs/V1ClusterRoleBindingList.md +++ b/openshift/docs/V1ClusterRoleBindingList.md @@ -3,10 +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] +**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: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources | [optional] **items** | [**list[V1ClusterRoleBinding]**](V1ClusterRoleBinding.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 openshift.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] +**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the openshift.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds | [optional] +**metadata** | [**V1ListMeta**](V1ListMeta.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/openshift/docs/V1ClusterRoleList.md b/openshift/docs/V1ClusterRoleList.md index 356f39c8..10b16d8c 100644 --- a/openshift/docs/V1ClusterRoleList.md +++ b/openshift/docs/V1ClusterRoleList.md @@ -3,10 +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] +**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: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources | [optional] **items** | [**list[V1ClusterRole]**](V1ClusterRole.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 openshift.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] +**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the openshift.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds | [optional] +**metadata** | [**V1ListMeta**](V1ListMeta.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/openshift/docs/V1ComponentCondition.md b/openshift/docs/V1ComponentCondition.md deleted file mode 100644 index 8d7540e7..00000000 --- a/openshift/docs/V1ComponentCondition.md +++ /dev/null @@ -1,13 +0,0 @@ -# V1ComponentCondition - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**error** | **str** | Condition error code for a component. For example, a health check error code. | [optional] -**message** | **str** | Message about the condition for a component. For example, information about a health check. | [optional] -**status** | **str** | Status of the condition for a component. Valid values for \"Healthy\": \"True\", \"False\", or \"Unknown\". | -**type** | **str** | Type of condition for a component. Valid value: \"Healthy\" | - -[[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/openshift/docs/V1ComponentStatus.md b/openshift/docs/V1ComponentStatus.md deleted file mode 100644 index 83eb7e44..00000000 --- a/openshift/docs/V1ComponentStatus.md +++ /dev/null @@ -1,13 +0,0 @@ -# V1ComponentStatus - -## 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 openshift.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/openshift/docs/V1ComponentStatusList.md b/openshift/docs/V1ComponentStatusList.md deleted file mode 100644 index 988eeb3c..00000000 --- a/openshift/docs/V1ComponentStatusList.md +++ /dev/null @@ -1,13 +0,0 @@ -# V1ComponentStatusList - -## 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 openshift.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/openshift/docs/V1ConfigMap.md b/openshift/docs/V1ConfigMap.md deleted file mode 100644 index d116cd14..00000000 --- a/openshift/docs/V1ConfigMap.md +++ /dev/null @@ -1,13 +0,0 @@ -# V1ConfigMap - -## 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 openshift.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/openshift/docs/V1ConfigMapKeySelector.md b/openshift/docs/V1ConfigMapKeySelector.md deleted file mode 100644 index 1983b685..00000000 --- a/openshift/docs/V1ConfigMapKeySelector.md +++ /dev/null @@ -1,11 +0,0 @@ -# V1ConfigMapKeySelector - -## Properties -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/openshift/docs/V1ConfigMapList.md b/openshift/docs/V1ConfigMapList.md deleted file mode 100644 index 2405083c..00000000 --- a/openshift/docs/V1ConfigMapList.md +++ /dev/null @@ -1,13 +0,0 @@ -# V1ConfigMapList - -## 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 openshift.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/openshift/docs/V1ConfigMapVolumeSource.md b/openshift/docs/V1ConfigMapVolumeSource.md deleted file mode 100644 index 7cadfedf..00000000 --- a/openshift/docs/V1ConfigMapVolumeSource.md +++ /dev/null @@ -1,12 +0,0 @@ -# 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/openshift/docs/V1Container.md b/openshift/docs/V1Container.md deleted file mode 100644 index 6144c263..00000000 --- a/openshift/docs/V1Container.md +++ /dev/null @@ -1,27 +0,0 @@ -# V1Container - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**args** | **list[str]** | Arguments to the entrypoint. The docker image's CMD is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. The $(VAR_NAME) syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded, regardless of whether the variable exists or not. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/containers#containers-and-commands | [optional] -**command** | **list[str]** | Entrypoint array. Not executed within a shell. The docker image's ENTRYPOINT is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. The $(VAR_NAME) syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded, regardless of whether the variable exists or not. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/containers#containers-and-commands | [optional] -**env** | [**list[V1EnvVar]**](V1EnvVar.md) | List of environment variables to set in the container. Cannot be updated. | [optional] -**image** | **str** | Docker image name. More info: http://kubernetes.io/docs/user-guide/images | [optional] -**image_pull_policy** | **str** | Image pull policy. One of Always, Never, IfNotPresent. Defaults to Always if :latest tag is specified, or IfNotPresent otherwise. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/images#updating-images | [optional] -**lifecycle** | [**V1Lifecycle**](V1Lifecycle.md) | Actions that the management system should take in response to container lifecycle events. Cannot be updated. | [optional] -**liveness_probe** | [**V1Probe**](V1Probe.md) | Periodic probe of container liveness. Container will be restarted if the probe fails. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/pod-states#container-probes | [optional] -**name** | **str** | Name of the container specified as a DNS_LABEL. Each container in a pod must have a unique name (DNS_LABEL). Cannot be updated. | -**ports** | [**list[V1ContainerPort]**](V1ContainerPort.md) | List of ports to expose from the container. Exposing a port here gives the system additional information about the network connections a container uses, but is primarily informational. Not specifying a port here DOES NOT prevent that port from being exposed. Any port which is listening on the default \"0.0.0.0\" address inside a container will be accessible from the network. Cannot be updated. | [optional] -**readiness_probe** | [**V1Probe**](V1Probe.md) | Periodic probe of container service readiness. Container will be removed from service endpoints if the probe fails. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/pod-states#container-probes | [optional] -**resources** | [**V1ResourceRequirements**](V1ResourceRequirements.md) | Compute Resources required by this container. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/persistent-volumes#resources | [optional] -**security_context** | [**V1SecurityContext**](V1SecurityContext.md) | Security options the pod should run with. More info: http://releases.k8s.io/HEAD/docs/design/security_context.md | [optional] -**stdin** | **bool** | Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false. | [optional] -**stdin_once** | **bool** | Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first openshift.client attaches to stdin, and then remains open and accepts data until the openshift.client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false | [optional] -**termination_message_path** | **str** | Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Defaults to /dev/termination-log. Cannot be updated. | [optional] -**tty** | **bool** | Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false. | [optional] -**volume_mounts** | [**list[V1VolumeMount]**](V1VolumeMount.md) | Pod volumes to mount into the container's filesystem. Cannot be updated. | [optional] -**working_dir** | **str** | Container's working directory. If not specified, the container runtime's default will be used, which might be configured in the container image. Cannot be updated. | [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/openshift/docs/V1ContainerImage.md b/openshift/docs/V1ContainerImage.md deleted file mode 100644 index 1bc49c9d..00000000 --- a/openshift/docs/V1ContainerImage.md +++ /dev/null @@ -1,11 +0,0 @@ -# V1ContainerImage - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**names** | **list[str]** | Names by which this image is known. e.g. [\"gcr.io/google_containers/hyperkube:v1.0.7\", \"dockerhub.io/google_containers/hyperkube:v1.0.7\"] | -**size_bytes** | **int** | The size of the image in bytes. | [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/openshift/docs/V1ContainerPort.md b/openshift/docs/V1ContainerPort.md deleted file mode 100644 index fc37ff2a..00000000 --- a/openshift/docs/V1ContainerPort.md +++ /dev/null @@ -1,14 +0,0 @@ -# V1ContainerPort - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**container_port** | **int** | Number of port to expose on the pod's IP address. This must be a valid port number, 0 < x < 65536. | -**host_ip** | **str** | What host IP to bind the external port to. | [optional] -**host_port** | **int** | Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this. | [optional] -**name** | **str** | If specified, this must be an IANA_SVC_NAME and unique within the pod. Each named port in a pod must have a unique name. Name for the port that can be referred to by services. | [optional] -**protocol** | **str** | Protocol for port. Must be UDP or TCP. Defaults to \"TCP\". | [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/openshift/docs/V1ContainerState.md b/openshift/docs/V1ContainerState.md deleted file mode 100644 index cb5d0985..00000000 --- a/openshift/docs/V1ContainerState.md +++ /dev/null @@ -1,12 +0,0 @@ -# V1ContainerState - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**running** | [**V1ContainerStateRunning**](V1ContainerStateRunning.md) | Details about a running container | [optional] -**terminated** | [**V1ContainerStateTerminated**](V1ContainerStateTerminated.md) | Details about a terminated container | [optional] -**waiting** | [**V1ContainerStateWaiting**](V1ContainerStateWaiting.md) | Details about a waiting container | [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/openshift/docs/V1ContainerStateRunning.md b/openshift/docs/V1ContainerStateRunning.md deleted file mode 100644 index 9db0dac6..00000000 --- a/openshift/docs/V1ContainerStateRunning.md +++ /dev/null @@ -1,10 +0,0 @@ -# V1ContainerStateRunning - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**started_at** | [**UnversionedTime**](UnversionedTime.md) | Time at which the container was last (re-)started | [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/openshift/docs/V1ContainerStateTerminated.md b/openshift/docs/V1ContainerStateTerminated.md deleted file mode 100644 index aa2a1d26..00000000 --- a/openshift/docs/V1ContainerStateTerminated.md +++ /dev/null @@ -1,16 +0,0 @@ -# V1ContainerStateTerminated - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**container_id** | **str** | Container's ID in the format 'docker://<container_id>' | [optional] -**exit_code** | **int** | Exit status from the last termination of the container | -**finished_at** | [**UnversionedTime**](UnversionedTime.md) | Time at which the container last terminated | [optional] -**message** | **str** | Message regarding the last termination of the container | [optional] -**reason** | **str** | (brief) reason from the last termination of the container | [optional] -**signal** | **int** | Signal from the last termination of the container | [optional] -**started_at** | [**UnversionedTime**](UnversionedTime.md) | Time at which previous execution of the container started | [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/openshift/docs/V1ContainerStateWaiting.md b/openshift/docs/V1ContainerStateWaiting.md deleted file mode 100644 index 43f6b683..00000000 --- a/openshift/docs/V1ContainerStateWaiting.md +++ /dev/null @@ -1,11 +0,0 @@ -# V1ContainerStateWaiting - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**message** | **str** | Message regarding why the container is not yet running. | [optional] -**reason** | **str** | (brief) reason the container is not yet running. | [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/openshift/docs/V1ContainerStatus.md b/openshift/docs/V1ContainerStatus.md deleted file mode 100644 index 951851fc..00000000 --- a/openshift/docs/V1ContainerStatus.md +++ /dev/null @@ -1,17 +0,0 @@ -# V1ContainerStatus - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**container_id** | **str** | Container's ID in the format 'docker://<container_id>'. More info: http://kubernetes.io/docs/user-guide/container-environment#container-information | [optional] -**image** | **str** | The image the container is running. More info: http://kubernetes.io/docs/user-guide/images | -**image_id** | **str** | ImageID of the container's image. | -**last_state** | [**V1ContainerState**](V1ContainerState.md) | Details about the container's last termination condition. | [optional] -**name** | **str** | This must be a DNS_LABEL. Each container in a pod must have a unique name. Cannot be updated. | -**ready** | **bool** | Specifies whether the container has passed its readiness probe. | -**restart_count** | **int** | The number of times the container has been restarted, currently based on the number of dead containers that have not yet been removed. Note that this is calculated from dead containers. But those containers are subject to garbage collection. This value will get capped at 5 by GC. | -**state** | [**V1ContainerState**](V1ContainerState.md) | Details about the container's current condition. | [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/openshift/docs/V1CrossVersionObjectReference.md b/openshift/docs/V1CrossVersionObjectReference.md deleted file mode 100644 index a329e91a..00000000 --- a/openshift/docs/V1CrossVersionObjectReference.md +++ /dev/null @@ -1,12 +0,0 @@ -# V1CrossVersionObjectReference - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**api_version** | **str** | API version of the referent | [optional] -**kind** | **str** | Kind of the referent; More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds\" | -**name** | **str** | Name of the referent; More info: http://kubernetes.io/docs/user-guide/identifiers#names | - -[[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/openshift/docs/V1CustomBuildStrategy.md b/openshift/docs/V1CustomBuildStrategy.md index 2be136e9..88dca919 100644 --- a/openshift/docs/V1CustomBuildStrategy.md +++ b/openshift/docs/V1CustomBuildStrategy.md @@ -4,7 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **build_api_version** | **str** | buildAPIVersion is the requested API version for the Build object serialized and passed to the custom builder | [optional] -**env** | [**list[V1EnvVar]**](V1EnvVar.md) | env contains additional environment variables you want to pass into a builder container. ValueFrom is not supported. | [optional] +**env** | [**list[V1EnvVar]**](V1EnvVar.md) | env contains additional environment variables you want to pass into a builder container. | [optional] **expose_docker_socket** | **bool** | exposeDockerSocket will allow running Docker commands (and build Docker images) from inside the Docker container. | [optional] **force_pull** | **bool** | forcePull describes if the controller should configure the build pod to always pull the images for the builder or only pull if it is not present locally | [optional] **_from** | [**V1ObjectReference**](V1ObjectReference.md) | from is reference to an DockerImage, ImageStreamTag, or ImageStreamImage from which the docker image should be pulled | diff --git a/openshift/docs/V1DaemonEndpoint.md b/openshift/docs/V1DaemonEndpoint.md deleted file mode 100644 index 7c5e93d9..00000000 --- a/openshift/docs/V1DaemonEndpoint.md +++ /dev/null @@ -1,10 +0,0 @@ -# V1DaemonEndpoint - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**port** | **int** | Port number of the given endpoint. | - -[[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/openshift/docs/V1DeleteOptions.md b/openshift/docs/V1DeleteOptions.md deleted file mode 100644 index 0585c803..00000000 --- a/openshift/docs/V1DeleteOptions.md +++ /dev/null @@ -1,14 +0,0 @@ -# V1DeleteOptions - -## 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 openshift.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] - -[[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/openshift/docs/V1DeploymentCondition.md b/openshift/docs/V1DeploymentCondition.md index 24a92db9..633724d5 100644 --- a/openshift/docs/V1DeploymentCondition.md +++ b/openshift/docs/V1DeploymentCondition.md @@ -3,8 +3,8 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**last_transition_time** | [**UnversionedTime**](UnversionedTime.md) | The last time the condition transitioned from one status to another. | [optional] -**last_update_time** | [**UnversionedTime**](UnversionedTime.md) | The last time this condition was updated. | [optional] +**last_transition_time** | **datetime** | The last time the condition transitioned from one status to another. | [optional] +**last_update_time** | **datetime** | The last time this condition was updated. | [optional] **message** | **str** | A human readable message indicating details about the transition. | [optional] **reason** | **str** | The reason for the condition's last transition. | [optional] **status** | **str** | Status of the condition, one of True, False, Unknown. | diff --git a/openshift/docs/V1DeploymentConfig.md b/openshift/docs/V1DeploymentConfig.md index a2ab8613..134ce399 100644 --- a/openshift/docs/V1DeploymentConfig.md +++ b/openshift/docs/V1DeploymentConfig.md @@ -3,8 +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 openshift.client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional] +**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: https://git.k8s.io/community/contributors/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 openshift.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds | [optional] **metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | Standard object's metadata. | [optional] **spec** | [**V1DeploymentConfigSpec**](V1DeploymentConfigSpec.md) | Spec represents a desired deployment state and how to deploy to it. | **status** | [**V1DeploymentConfigStatus**](V1DeploymentConfigStatus.md) | Status represents the current deployment state. | diff --git a/openshift/docs/V1DeploymentConfigList.md b/openshift/docs/V1DeploymentConfigList.md index 85b511b6..0f6b3b8e 100644 --- a/openshift/docs/V1DeploymentConfigList.md +++ b/openshift/docs/V1DeploymentConfigList.md @@ -3,10 +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] +**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: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources | [optional] **items** | [**list[V1DeploymentConfig]**](V1DeploymentConfig.md) | Items is a list of deployment configs | -**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the openshift.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] +**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the openshift.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds | [optional] +**metadata** | [**V1ListMeta**](V1ListMeta.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/openshift/docs/V1DeploymentConfigRollback.md b/openshift/docs/V1DeploymentConfigRollback.md index 039cfb4a..211cdc87 100644 --- a/openshift/docs/V1DeploymentConfigRollback.md +++ b/openshift/docs/V1DeploymentConfigRollback.md @@ -3,8 +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 openshift.client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional] +**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: https://git.k8s.io/community/contributors/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 openshift.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds | [optional] **name** | **str** | Name of the deployment config that will be rolled back. | **spec** | [**V1DeploymentConfigRollbackSpec**](V1DeploymentConfigRollbackSpec.md) | Spec defines the options to rollback generation. | **updated_annotations** | **dict(str, str)** | UpdatedAnnotations is a set of new annotations that will be added in the deployment config. | [optional] diff --git a/openshift/docs/V1DeploymentConfigSpec.md b/openshift/docs/V1DeploymentConfigSpec.md index 72e0ac3e..5e81598b 100644 --- a/openshift/docs/V1DeploymentConfigSpec.md +++ b/openshift/docs/V1DeploymentConfigSpec.md @@ -6,7 +6,7 @@ Name | Type | Description | Notes **min_ready_seconds** | **int** | MinReadySeconds is the minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready) | [optional] **paused** | **bool** | Paused indicates that the deployment config is paused resulting in no new deployments on template changes or changes in the template caused by other triggers. | [optional] **replicas** | **int** | Replicas is the number of desired replicas. | -**revision_history_limit** | **int** | RevisionHistoryLimit is the number of old ReplicationControllers to retain to allow for rollbacks. This field is a pointer to allow for differentiation between an explicit zero and not specified. | [optional] +**revision_history_limit** | **int** | RevisionHistoryLimit is the number of old ReplicationControllers to retain to allow for rollbacks. This field is a pointer to allow for differentiation between an explicit zero and not specified. Defaults to 10. (This only applies to DeploymentConfigs created via the new group API resource, not the legacy resource.) | [optional] **selector** | **dict(str, str)** | Selector is a label query over pods that should match the Replicas count. | [optional] **strategy** | [**V1DeploymentStrategy**](V1DeploymentStrategy.md) | Strategy describes how a deployment is executed. | **template** | [**V1PodTemplateSpec**](V1PodTemplateSpec.md) | Template is the object that describes the pod that will be created if insufficient replicas are detected. | [optional] diff --git a/openshift/docs/V1DeploymentLog.md b/openshift/docs/V1DeploymentLog.md index 84b95c0a..fc228ef6 100644 --- a/openshift/docs/V1DeploymentLog.md +++ b/openshift/docs/V1DeploymentLog.md @@ -3,8 +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 openshift.client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional] +**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: https://git.k8s.io/community/contributors/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 openshift.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/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/openshift/docs/V1DeploymentRequest.md b/openshift/docs/V1DeploymentRequest.md index 047b3244..d2444626 100644 --- a/openshift/docs/V1DeploymentRequest.md +++ b/openshift/docs/V1DeploymentRequest.md @@ -3,9 +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] +**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: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources | [optional] +**exclude_triggers** | **list[str]** | ExcludeTriggers instructs the instantiator to avoid processing the specified triggers. This field overrides the triggers from latest and allows openshift.clients to control specific logic. This field is ignored if not specified. | [optional] **force** | **bool** | Force will try to force a new deployment to run. If the deployment config is paused, then setting this to true will return an Invalid error. | -**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the openshift.client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional] +**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the openshift.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds | [optional] **latest** | **bool** | Latest will update the deployment config with the latest state from all triggers. | **name** | **str** | Name of the deployment config for requesting a new deployment. | diff --git a/openshift/docs/V1DeploymentTriggerImageChangeParams.md b/openshift/docs/V1DeploymentTriggerImageChangeParams.md index 6404836f..df36b018 100644 --- a/openshift/docs/V1DeploymentTriggerImageChangeParams.md +++ b/openshift/docs/V1DeploymentTriggerImageChangeParams.md @@ -4,7 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **automatic** | **bool** | Automatic means that the detection of a new tag value should result in an image update inside the pod template. | [optional] -**container_names** | **list[str]** | ContainerNames is used to restrict tag updates to the specified set of container names in a pod. | [optional] +**container_names** | **list[str]** | ContainerNames is used to restrict tag updates to the specified set of container names in a pod. If multiple triggers point to the same containers, the resulting behavior is undefined. Future API versions will make this a validation error. If ContainerNames does not point to a valid container, the trigger will be ignored. Future API versions will make this a validation error. | [optional] **_from** | [**V1ObjectReference**](V1ObjectReference.md) | From is a reference to an image stream tag to watch for changes. From.Name is the only required subfield - if From.Namespace is blank, the namespace of the current deployment trigger will be used. | **last_triggered_image** | **str** | LastTriggeredImage is the last image to be triggered. | [optional] diff --git a/openshift/docs/V1DeprecatedDownwardAPIVolumeFile.md b/openshift/docs/V1DeprecatedDownwardAPIVolumeFile.md deleted file mode 100644 index 24c5b1a9..00000000 --- a/openshift/docs/V1DeprecatedDownwardAPIVolumeFile.md +++ /dev/null @@ -1,13 +0,0 @@ -# V1DeprecatedDownwardAPIVolumeFile - -## 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] -**name** | **str** | Required: Name 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/openshift/docs/V1DeprecatedDownwardAPIVolumeSource.md b/openshift/docs/V1DeprecatedDownwardAPIVolumeSource.md deleted file mode 100644 index 761dfa94..00000000 --- a/openshift/docs/V1DeprecatedDownwardAPIVolumeSource.md +++ /dev/null @@ -1,11 +0,0 @@ -# V1DeprecatedDownwardAPIVolumeSource - -## 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[V1DeprecatedDownwardAPIVolumeFile]**](V1DeprecatedDownwardAPIVolumeFile.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/openshift/docs/V1DockerBuildStrategy.md b/openshift/docs/V1DockerBuildStrategy.md index 3c95aea7..b1247463 100644 --- a/openshift/docs/V1DockerBuildStrategy.md +++ b/openshift/docs/V1DockerBuildStrategy.md @@ -5,7 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **build_args** | [**list[V1EnvVar]**](V1EnvVar.md) | buildArgs contains build arguments that will be resolved in the Dockerfile. See https://docs.docker.com/engine/reference/builder/#/arg for more details. | [optional] **dockerfile_path** | **str** | dockerfilePath is the path of the Dockerfile that will be used to build the Docker image, relative to the root of the context (contextDir). | [optional] -**env** | [**list[V1EnvVar]**](V1EnvVar.md) | env contains additional environment variables you want to pass into a builder container. ValueFrom is not supported. | [optional] +**env** | [**list[V1EnvVar]**](V1EnvVar.md) | env contains additional environment variables you want to pass into a builder container. | [optional] **force_pull** | **bool** | forcePull describes if the builder should pull the images from registry prior to building. | [optional] **_from** | [**V1ObjectReference**](V1ObjectReference.md) | from is reference to an DockerImage, ImageStreamTag, or ImageStreamImage from which the docker image should be pulled the resulting image will be used in the FROM line of the Dockerfile for this build. | [optional] **image_optimization_policy** | **str** | imageOptimizationPolicy describes what optimizations the system can use when building images to reduce the final size or time spent building the image. The default policy is 'None' which means the final build image will be equivalent to an image created by the Docker build API. The experimental policy 'SkipLayers' will avoid commiting new layers in between each image step, and will fail if the Dockerfile cannot provide compatibility with the 'None' policy. An additional experimental policy 'SkipLayersAndWarn' is the same as 'SkipLayers' but simply warns if compatibility cannot be preserved. | [optional] diff --git a/openshift/docs/V1DockerStrategyOptions.md b/openshift/docs/V1DockerStrategyOptions.md index d2d985a3..696fc1e2 100644 --- a/openshift/docs/V1DockerStrategyOptions.md +++ b/openshift/docs/V1DockerStrategyOptions.md @@ -4,6 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **build_args** | [**list[V1EnvVar]**](V1EnvVar.md) | Args contains any build arguments that are to be passed to Docker. See https://docs.docker.com/engine/reference/builder/#/arg for more details | [optional] +**no_cache** | **bool** | noCache overrides the docker-strategy noCache option in the build config | [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/openshift/docs/V1beta1TokenReviewSpec.md b/openshift/docs/V1DownwardAPIProjection.md similarity index 64% rename from openshift/docs/V1beta1TokenReviewSpec.md rename to openshift/docs/V1DownwardAPIProjection.md index 1c347b82..733b095b 100644 --- a/openshift/docs/V1beta1TokenReviewSpec.md +++ b/openshift/docs/V1DownwardAPIProjection.md @@ -1,9 +1,9 @@ -# V1beta1TokenReviewSpec +# V1DownwardAPIProjection ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**token** | **str** | Token is the opaque bearer token. | [optional] +**items** | [**list[V1DownwardAPIVolumeFile]**](V1DownwardAPIVolumeFile.md) | Items is a list of DownwardAPIVolume 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/openshift/docs/V1EgressNetworkPolicy.md b/openshift/docs/V1EgressNetworkPolicy.md index 3f15142d..c91207f5 100644 --- a/openshift/docs/V1EgressNetworkPolicy.md +++ b/openshift/docs/V1EgressNetworkPolicy.md @@ -3,8 +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 openshift.client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional] +**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: https://git.k8s.io/community/contributors/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 openshift.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds | [optional] **metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | metadata for EgressNetworkPolicy | [optional] **spec** | [**V1EgressNetworkPolicySpec**](V1EgressNetworkPolicySpec.md) | spec is the specification of the current egress network policy | diff --git a/openshift/docs/V1EgressNetworkPolicyList.md b/openshift/docs/V1EgressNetworkPolicyList.md index d0392d55..052a0ee0 100644 --- a/openshift/docs/V1EgressNetworkPolicyList.md +++ b/openshift/docs/V1EgressNetworkPolicyList.md @@ -3,10 +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] +**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: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources | [optional] **items** | [**list[V1EgressNetworkPolicy]**](V1EgressNetworkPolicy.md) | items is the list of policies | -**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the openshift.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) | metadata for EgressNetworkPolicyList | [optional] +**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the openshift.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds | [optional] +**metadata** | [**V1ListMeta**](V1ListMeta.md) | metadata for EgressNetworkPolicyList | [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/openshift/docs/V1EgressNetworkPolicyPeer.md b/openshift/docs/V1EgressNetworkPolicyPeer.md index b99a77cd..f4c92527 100644 --- a/openshift/docs/V1EgressNetworkPolicyPeer.md +++ b/openshift/docs/V1EgressNetworkPolicyPeer.md @@ -3,7 +3,8 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**cidr_selector** | **str** | cidrSelector is the CIDR range to allow/deny traffic to | +**cidr_selector** | **str** | cidrSelector is the CIDR range to allow/deny traffic to. If this is set, dnsName must be unset | [optional] +**dns_name** | **str** | dnsName is the domain name to allow/deny traffic to. If this is set, cidrSelector must be unset | [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/openshift/docs/V1EmptyDirVolumeSource.md b/openshift/docs/V1EmptyDirVolumeSource.md deleted file mode 100644 index 57cc9f72..00000000 --- a/openshift/docs/V1EmptyDirVolumeSource.md +++ /dev/null @@ -1,10 +0,0 @@ -# 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/openshift/docs/V1EndpointAddress.md b/openshift/docs/V1EndpointAddress.md deleted file mode 100644 index 90cd0326..00000000 --- a/openshift/docs/V1EndpointAddress.md +++ /dev/null @@ -1,13 +0,0 @@ -# V1EndpointAddress - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**hostname** | **str** | The Hostname of this endpoint | [optional] -**ip** | **str** | The IP of this endpoint. May not be loopback (127.0.0.0/8), link-local (169.254.0.0/16), or link-local multicast ((224.0.0.0/24). IPv6 is also accepted but not fully supported on all platforms. Also, certain kubernetes components, like kube-proxy, are not IPv6 ready. | -**node_name** | **str** | Optional: Node hosting this endpoint. This can be used to determine endpoints local to a node. | [optional] -**target_ref** | [**V1ObjectReference**](V1ObjectReference.md) | Reference to object providing the endpoint. | [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/openshift/docs/V1EndpointPort.md b/openshift/docs/V1EndpointPort.md deleted file mode 100644 index ca9eca2c..00000000 --- a/openshift/docs/V1EndpointPort.md +++ /dev/null @@ -1,12 +0,0 @@ -# V1EndpointPort - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**name** | **str** | The name of this port (corresponds to ServicePort.Name). Must be a DNS_LABEL. Optional only if one port is defined. | [optional] -**port** | **int** | The port number of the endpoint. | -**protocol** | **str** | The IP protocol for this port. Must be UDP or TCP. Default is TCP. | [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/openshift/docs/V1EndpointSubset.md b/openshift/docs/V1EndpointSubset.md deleted file mode 100644 index 8c696db5..00000000 --- a/openshift/docs/V1EndpointSubset.md +++ /dev/null @@ -1,12 +0,0 @@ -# V1EndpointSubset - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**addresses** | [**list[V1EndpointAddress]**](V1EndpointAddress.md) | IP addresses which offer the related ports that are marked as ready. These endpoints should be considered safe for load balancers and openshift.clients to utilize. | [optional] -**not_ready_addresses** | [**list[V1EndpointAddress]**](V1EndpointAddress.md) | IP addresses which offer the related ports but are not currently marked as ready because they have not yet finished starting, have recently failed a readiness check, or have recently failed a liveness check. | [optional] -**ports** | [**list[V1EndpointPort]**](V1EndpointPort.md) | Port numbers available on the related IP addresses. | [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/openshift/docs/V1Endpoints.md b/openshift/docs/V1Endpoints.md deleted file mode 100644 index 9bb78d86..00000000 --- a/openshift/docs/V1Endpoints.md +++ /dev/null @@ -1,13 +0,0 @@ -# V1Endpoints - -## 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 openshift.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. | - -[[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/openshift/docs/V1EndpointsList.md b/openshift/docs/V1EndpointsList.md deleted file mode 100644 index cc2c35bf..00000000 --- a/openshift/docs/V1EndpointsList.md +++ /dev/null @@ -1,13 +0,0 @@ -# V1EndpointsList - -## 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 openshift.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/openshift/docs/V1EnvVar.md b/openshift/docs/V1EnvVar.md deleted file mode 100644 index a3869b8a..00000000 --- a/openshift/docs/V1EnvVar.md +++ /dev/null @@ -1,12 +0,0 @@ -# V1EnvVar - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**name** | **str** | Name of the environment variable. Must be a C_IDENTIFIER. | -**value** | **str** | Variable references $(VAR_NAME) are expanded using the previous defined environment variables in the container and any service environment variables. If a variable cannot be resolved, the reference in the input string will be unchanged. The $(VAR_NAME) syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded, regardless of whether the variable exists or not. Defaults to \"\". | [optional] -**value_from** | [**V1EnvVarSource**](V1EnvVarSource.md) | Source for the environment variable's value. Cannot be used if value is not empty. | [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/openshift/docs/V1EnvVarSource.md b/openshift/docs/V1EnvVarSource.md deleted file mode 100644 index 73463736..00000000 --- a/openshift/docs/V1EnvVarSource.md +++ /dev/null @@ -1,13 +0,0 @@ -# V1EnvVarSource - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**config_map_key_ref** | [**V1ConfigMapKeySelector**](V1ConfigMapKeySelector.md) | Selects a key of a ConfigMap. | [optional] -**field_ref** | [**V1ObjectFieldSelector**](V1ObjectFieldSelector.md) | Selects a field of the pod: supports metadata.name, metadata.namespace, metadata.labels, metadata.annotations, spec.nodeName, spec.serviceAccountName, status.podIP. | [optional] -**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] -**secret_key_ref** | [**V1SecretKeySelector**](V1SecretKeySelector.md) | Selects a key of a secret in the pod's namespace | [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/openshift/docs/V1Event.md b/openshift/docs/V1Event.md deleted file mode 100644 index 5dd08909..00000000 --- a/openshift/docs/V1Event.md +++ /dev/null @@ -1,20 +0,0 @@ -# V1Event - -## 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 openshift.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 | -**reason** | **str** | This should be a short, machine understandable string that gives the reason for the transition into the object's current status. | [optional] -**source** | [**V1EventSource**](V1EventSource.md) | The component reporting this event. Should be a short machine understandable string. | [optional] -**type** | **str** | Type of this event (Normal, Warning), new types could be added in the future | [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/openshift/docs/V1EventSource.md b/openshift/docs/V1EventSource.md deleted file mode 100644 index e3841ee2..00000000 --- a/openshift/docs/V1EventSource.md +++ /dev/null @@ -1,11 +0,0 @@ -# V1EventSource - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**component** | **str** | Component from which the event is generated. | [optional] -**host** | **str** | Node name on which the event is generated. | [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/openshift/docs/V1ExecAction.md b/openshift/docs/V1ExecAction.md deleted file mode 100644 index ea405f06..00000000 --- a/openshift/docs/V1ExecAction.md +++ /dev/null @@ -1,10 +0,0 @@ -# V1ExecAction - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**command** | **list[str]** | Command is the command line to execute inside the container, the working directory for the command is root ('/') in the container's filesystem. The command is simply exec'd, it is not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy. | [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/openshift/docs/V1FlexVolumeSource.md b/openshift/docs/V1FlexVolumeSource.md deleted file mode 100644 index 5dde69d8..00000000 --- a/openshift/docs/V1FlexVolumeSource.md +++ /dev/null @@ -1,14 +0,0 @@ -# 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/openshift/docs/V1FlockerVolumeSource.md b/openshift/docs/V1FlockerVolumeSource.md deleted file mode 100644 index 7af9a9e7..00000000 --- a/openshift/docs/V1FlockerVolumeSource.md +++ /dev/null @@ -1,11 +0,0 @@ -# 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/openshift/docs/V1GCEPersistentDiskVolumeSource.md b/openshift/docs/V1GCEPersistentDiskVolumeSource.md index 13b9e575..a15378a8 100644 --- a/openshift/docs/V1GCEPersistentDiskVolumeSource.md +++ b/openshift/docs/V1GCEPersistentDiskVolumeSource.md @@ -3,10 +3,10 @@ ## 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] +**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: https://kubernetes.io/docs/concepts/storage/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: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk | [optional] +**pd_name** | **str** | Unique name of the PD resource in GCE. Used to identify the disk in GCE. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk | +**read_only** | **bool** | ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/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/openshift/docs/RuntimeRawExtension.md b/openshift/docs/V1GitLabWebHookCause.md similarity index 51% rename from openshift/docs/RuntimeRawExtension.md rename to openshift/docs/V1GitLabWebHookCause.md index 6be207fb..ca425dc1 100644 --- a/openshift/docs/RuntimeRawExtension.md +++ b/openshift/docs/V1GitLabWebHookCause.md @@ -1,9 +1,10 @@ -# RuntimeRawExtension +# V1GitLabWebHookCause ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**raw** | **str** | Raw is the underlying serialization of this object. | +**revision** | [**V1SourceRevision**](V1SourceRevision.md) | Revision is the git source revision information of the trigger. | [optional] +**secret** | **str** | Secret is the obfuscated webhook secret that triggered a build. | [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/openshift/docs/V1GitRepoVolumeSource.md b/openshift/docs/V1GitRepoVolumeSource.md deleted file mode 100644 index 9932bca1..00000000 --- a/openshift/docs/V1GitRepoVolumeSource.md +++ /dev/null @@ -1,12 +0,0 @@ -# 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/openshift/docs/V1GlusterfsVolumeSource.md b/openshift/docs/V1GlusterfsVolumeSource.md deleted file mode 100644 index 3dad5d2a..00000000 --- a/openshift/docs/V1GlusterfsVolumeSource.md +++ /dev/null @@ -1,12 +0,0 @@ -# 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/openshift/docs/V1Group.md b/openshift/docs/V1Group.md index 7175b913..cf1c71b3 100644 --- a/openshift/docs/V1Group.md +++ b/openshift/docs/V1Group.md @@ -3,8 +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 openshift.client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional] +**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: https://git.k8s.io/community/contributors/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 openshift.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds | [optional] **metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | Standard object's metadata. | [optional] **users** | **list[str]** | Users is the list of users in this group. | diff --git a/openshift/docs/V1GroupList.md b/openshift/docs/V1GroupList.md index f403874e..c9eef244 100644 --- a/openshift/docs/V1GroupList.md +++ b/openshift/docs/V1GroupList.md @@ -3,10 +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] +**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: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources | [optional] **items** | [**list[V1Group]**](V1Group.md) | Items is the list of groups | -**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the openshift.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] +**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the openshift.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds | [optional] +**metadata** | [**V1ListMeta**](V1ListMeta.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/openshift/docs/V1GroupRestriction.md b/openshift/docs/V1GroupRestriction.md index 55cf6d48..124a20ae 100644 --- a/openshift/docs/V1GroupRestriction.md +++ b/openshift/docs/V1GroupRestriction.md @@ -4,7 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **groups** | **list[str]** | Groups is a list of groups used to match against an individual user's groups. If the user is a member of one of the whitelisted groups, the user is allowed to be bound to a role. | -**labels** | [**list[UnversionedLabelSelector]**](UnversionedLabelSelector.md) | Selectors specifies a list of label selectors over group labels. | +**labels** | [**list[V1LabelSelector]**](V1LabelSelector.md) | Selectors specifies a list of label selectors over group labels. | [[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/openshift/docs/V1HTTPGetAction.md b/openshift/docs/V1HTTPGetAction.md index 3d3d3a00..a3f586a8 100644 --- a/openshift/docs/V1HTTPGetAction.md +++ b/openshift/docs/V1HTTPGetAction.md @@ -6,7 +6,7 @@ Name | Type | Description | Notes **host** | **str** | Host name to connect to, defaults to the pod IP. You probably want to set \"Host\" in httpHeaders instead. | [optional] **http_headers** | [**list[V1HTTPHeader]**](V1HTTPHeader.md) | Custom headers to set in the request. HTTP allows repeated headers. | [optional] **path** | **str** | Path to access on the HTTP server. | [optional] -**port** | [**IntstrIntOrString**](IntstrIntOrString.md) | Name or number of the port to access on the container. Number must be in the range 1 to 65535. Name must be an IANA_SVC_NAME. | +**port** | **str** | Name or number of the port to access on the container. Number must be in the range 1 to 65535. Name must be an IANA_SVC_NAME. | **scheme** | **str** | Scheme to use for connecting to the host. Defaults to HTTP. | [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/openshift/docs/V1Handler.md b/openshift/docs/V1Handler.md deleted file mode 100644 index 6e6687dd..00000000 --- a/openshift/docs/V1Handler.md +++ /dev/null @@ -1,12 +0,0 @@ -# V1Handler - -## 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] -**http_get** | [**V1HTTPGetAction**](V1HTTPGetAction.md) | HTTPGet specifies the http request to perform. | [optional] -**tcp_socket** | [**V1TCPSocketAction**](V1TCPSocketAction.md) | TCPSocket specifies an action involving a TCP port. TCP hooks not yet 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/openshift/docs/V1HorizontalPodAutoscaler.md b/openshift/docs/V1HorizontalPodAutoscaler.md deleted file mode 100644 index 36b4095e..00000000 --- a/openshift/docs/V1HorizontalPodAutoscaler.md +++ /dev/null @@ -1,14 +0,0 @@ -# V1HorizontalPodAutoscaler - -## 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 openshift.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] - -[[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/openshift/docs/V1HorizontalPodAutoscalerList.md b/openshift/docs/V1HorizontalPodAutoscalerList.md deleted file mode 100644 index d0a5c9b8..00000000 --- a/openshift/docs/V1HorizontalPodAutoscalerList.md +++ /dev/null @@ -1,13 +0,0 @@ -# V1HorizontalPodAutoscalerList - -## 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 openshift.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/openshift/docs/V1HorizontalPodAutoscalerSpec.md b/openshift/docs/V1HorizontalPodAutoscalerSpec.md deleted file mode 100644 index 3681654a..00000000 --- a/openshift/docs/V1HorizontalPodAutoscalerSpec.md +++ /dev/null @@ -1,13 +0,0 @@ -# V1HorizontalPodAutoscalerSpec - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**max_replicas** | **int** | upper limit for the number of pods that can be set by the autoscaler; cannot be smaller than MinReplicas. | -**min_replicas** | **int** | lower limit for the number of pods that can be set by the autoscaler, default 1. | [optional] -**scale_target_ref** | [**V1CrossVersionObjectReference**](V1CrossVersionObjectReference.md) | reference to scaled resource; horizontal pod autoscaler will learn the current resource consumption and will set the desired number of pods by using its Scale subresource. | -**target_cpu_utilization_percentage** | **int** | target average CPU utilization (represented as a percentage of requested CPU) over all the pods; if not specified the default autoscaling policy will be used. | [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/openshift/docs/V1HorizontalPodAutoscalerStatus.md b/openshift/docs/V1HorizontalPodAutoscalerStatus.md deleted file mode 100644 index e48da321..00000000 --- a/openshift/docs/V1HorizontalPodAutoscalerStatus.md +++ /dev/null @@ -1,14 +0,0 @@ -# V1HorizontalPodAutoscalerStatus - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**current_cpu_utilization_percentage** | **int** | current average CPU utilization over all pods, represented as a percentage of requested CPU, e.g. 70 means that an average pod is using now 70% of its requested CPU. | [optional] -**current_replicas** | **int** | current number of replicas of pods managed by this autoscaler. | -**desired_replicas** | **int** | desired number of replicas of pods managed by this autoscaler. | -**last_scale_time** | [**UnversionedTime**](UnversionedTime.md) | last time the HorizontalPodAutoscaler scaled the number of pods; used by the autoscaler to control how often the number of pods is changed. | [optional] -**observed_generation** | **int** | most recent generation observed by this autoscaler. | [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/openshift/docs/V1HostPathVolumeSource.md b/openshift/docs/V1HostPathVolumeSource.md deleted file mode 100644 index 74280b48..00000000 --- a/openshift/docs/V1HostPathVolumeSource.md +++ /dev/null @@ -1,10 +0,0 @@ -# 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/openshift/docs/V1HostSubnet.md b/openshift/docs/V1HostSubnet.md index c3c323b5..5636d20f 100644 --- a/openshift/docs/V1HostSubnet.md +++ b/openshift/docs/V1HostSubnet.md @@ -3,10 +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] +**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: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources | [optional] **host** | **str** | Host is the name of the node. (This is the same as the object's name, but both fields must be set.) | **host_ip** | **str** | HostIP is the IP address to be used as a VTEP by other nodes in the overlay network | -**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the openshift.client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional] +**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the openshift.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds | [optional] **metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | Standard object's metadata. | [optional] **subnet** | **str** | Subnet is the CIDR range of the overlay network assigned to the node for its pods | diff --git a/openshift/docs/V1HostSubnetList.md b/openshift/docs/V1HostSubnetList.md index c9388ca6..b81dfe1d 100644 --- a/openshift/docs/V1HostSubnetList.md +++ b/openshift/docs/V1HostSubnetList.md @@ -3,10 +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] +**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: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources | [optional] **items** | [**list[V1HostSubnet]**](V1HostSubnet.md) | Items is the list of host subnets | -**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the openshift.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] +**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the openshift.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds | [optional] +**metadata** | [**V1ListMeta**](V1ListMeta.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/openshift/docs/V1ISCSIVolumeSource.md b/openshift/docs/V1ISCSIVolumeSource.md index dd3b74b8..4573adc5 100644 --- a/openshift/docs/V1ISCSIVolumeSource.md +++ b/openshift/docs/V1ISCSIVolumeSource.md @@ -3,11 +3,15 @@ ## 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] +**chap_auth_discovery** | **bool** | whether support iSCSI Discovery CHAP authentication | [optional] +**chap_auth_session** | **bool** | whether support iSCSI Session CHAP authentication | [optional] +**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: https://kubernetes.io/docs/concepts/storage/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. | +**portals** | **list[str]** | iSCSI target portal List. The portal is either an IP or ip_addr:port if the port is other than default (typically TCP ports 860 and 3260). | [optional] **read_only** | **bool** | ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. | [optional] +**secret_ref** | [**V1LocalObjectReference**](V1LocalObjectReference.md) | CHAP secret for iSCSI target and initiator authentication | [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/openshift/docs/V1Identity.md b/openshift/docs/V1Identity.md index 0f7c8131..8da389ba 100644 --- a/openshift/docs/V1Identity.md +++ b/openshift/docs/V1Identity.md @@ -3,9 +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] +**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: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources | [optional] **extra** | **dict(str, str)** | Extra holds extra information about this identity | [optional] -**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the openshift.client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional] +**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the openshift.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds | [optional] **metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | Standard object's metadata. | [optional] **provider_name** | **str** | ProviderName is the source of identity information | **provider_user_name** | **str** | ProviderUserName uniquely represents this identity in the scope of the provider | diff --git a/openshift/docs/V1IdentityList.md b/openshift/docs/V1IdentityList.md index 068c830e..09bca96f 100644 --- a/openshift/docs/V1IdentityList.md +++ b/openshift/docs/V1IdentityList.md @@ -3,10 +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] +**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: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources | [optional] **items** | [**list[V1Identity]**](V1Identity.md) | Items is the list of identities | -**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the openshift.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] +**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the openshift.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds | [optional] +**metadata** | [**V1ListMeta**](V1ListMeta.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/openshift/docs/V1Image.md b/openshift/docs/V1Image.md index 816212a9..b3693513 100644 --- a/openshift/docs/V1Image.md +++ b/openshift/docs/V1Image.md @@ -3,7 +3,7 @@ ## 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] +**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: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources | [optional] **docker_image_config** | **str** | DockerImageConfig is a JSON blob that the runtime uses to set up the container. This is a part of manifest schema v2. | [optional] **docker_image_layers** | [**list[V1ImageLayer]**](V1ImageLayer.md) | DockerImageLayers represents the layers in the image. May not be set if the image does not define that data. | **docker_image_manifest** | **str** | DockerImageManifest is the raw JSON of the manifest | [optional] @@ -12,7 +12,7 @@ Name | Type | Description | Notes **docker_image_metadata_version** | **str** | DockerImageMetadataVersion conveys the version of the object, which if empty defaults to \"1.0\" | [optional] **docker_image_reference** | **str** | DockerImageReference is the string that can be used to pull this image. | [optional] **docker_image_signatures** | **list[str]** | DockerImageSignatures provides the signatures as opaque blobs. This is a part of manifest schema v1. | [optional] -**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the openshift.client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional] +**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the openshift.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds | [optional] **metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | Standard object's metadata. | [optional] **signatures** | [**list[V1ImageSignature]**](V1ImageSignature.md) | Signatures holds all signatures of the image. | [optional] diff --git a/openshift/docs/V1ImageImportStatus.md b/openshift/docs/V1ImageImportStatus.md index 7eb10e95..52c86353 100644 --- a/openshift/docs/V1ImageImportStatus.md +++ b/openshift/docs/V1ImageImportStatus.md @@ -4,7 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **image** | [**V1Image**](V1Image.md) | Image is the metadata of that image, if the image was located | [optional] -**status** | [**UnversionedStatus**](UnversionedStatus.md) | Status is the status of the image import, including errors encountered while retrieving the image | +**status** | [**V1Status**](V1Status.md) | Status is the status of the image import, including errors encountered while retrieving the image | **tag** | **str** | Tag is the tag this image was located under, if any | [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/openshift/docs/V1ImageList.md b/openshift/docs/V1ImageList.md index 82146b3e..f0a76b4d 100644 --- a/openshift/docs/V1ImageList.md +++ b/openshift/docs/V1ImageList.md @@ -3,10 +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] +**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: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources | [optional] **items** | [**list[V1Image]**](V1Image.md) | Items is a list of images | -**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the openshift.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] +**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the openshift.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds | [optional] +**metadata** | [**V1ListMeta**](V1ListMeta.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/openshift/docs/V1ImageLookupPolicy.md b/openshift/docs/V1ImageLookupPolicy.md new file mode 100644 index 00000000..7b1d8ef5 --- /dev/null +++ b/openshift/docs/V1ImageLookupPolicy.md @@ -0,0 +1,10 @@ +# V1ImageLookupPolicy + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**local** | **bool** | local will change the docker short image references (like \"mysql\" or \"php:latest\") on objects in this namespace to the image ID whenever they match this image stream, instead of reaching out to a remote registry. The name will be fully qualified to an image ID if found. The tag's referencePolicy is taken into account on the replaced value. Only works within the current namespace. | + +[[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/openshift/docs/V1ImageSignature.md b/openshift/docs/V1ImageSignature.md index 492484d7..bac3266c 100644 --- a/openshift/docs/V1ImageSignature.md +++ b/openshift/docs/V1ImageSignature.md @@ -3,14 +3,14 @@ ## 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] +**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: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources | [optional] **conditions** | [**list[V1SignatureCondition]**](V1SignatureCondition.md) | Conditions represent the latest available observations of a signature's current state. | [optional] **content** | **str** | Required: An opaque binary string which is an image's signature. | -**created** | [**UnversionedTime**](UnversionedTime.md) | If specified, it is the time of signature's creation. | [optional] +**created** | **datetime** | If specified, it is the time of signature's creation. | [optional] **image_identity** | **str** | A human readable string representing image's identity. It could be a product name and version, or an image pull spec (e.g. \"registry.access.redhat.com/rhel7/rhel:7.2\"). | [optional] **issued_by** | [**V1SignatureIssuer**](V1SignatureIssuer.md) | If specified, it holds information about an issuer of signing certificate or key (a person or entity who signed the signing certificate or key). | [optional] **issued_to** | [**V1SignatureSubject**](V1SignatureSubject.md) | If specified, it holds information about a subject of signing certificate or key (a person or entity who signed the image). | [optional] -**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the openshift.client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional] +**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the openshift.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds | [optional] **metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | Standard object's metadata. | [optional] **signed_claims** | **dict(str, str)** | Contains claims from the signature. | [optional] **type** | **str** | Required: Describes a type of stored blob. | diff --git a/openshift/docs/V1ImageSourcePath.md b/openshift/docs/V1ImageSourcePath.md index 1aed5fe8..a9d12e7b 100644 --- a/openshift/docs/V1ImageSourcePath.md +++ b/openshift/docs/V1ImageSourcePath.md @@ -4,7 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **destination_dir** | **str** | destinationDir is the relative directory within the build directory where files copied from the image are placed. | -**source_path** | **str** | sourcePath is the absolute path of the file or directory inside the image to copy to the build directory. | +**source_path** | **str** | sourcePath is the absolute path of the file or directory inside the image to copy to the build directory. If the source path ends in /. then the content of the directory will be copied, but the directory itself will not be created at the destination. | [[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/openshift/docs/V1ImageStream.md b/openshift/docs/V1ImageStream.md index f1165a69..7d62fd8e 100644 --- a/openshift/docs/V1ImageStream.md +++ b/openshift/docs/V1ImageStream.md @@ -3,8 +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 openshift.client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional] +**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: https://git.k8s.io/community/contributors/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 openshift.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds | [optional] **metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | Standard object's metadata. | [optional] **spec** | [**V1ImageStreamSpec**](V1ImageStreamSpec.md) | Spec describes the desired state of this stream | **status** | [**V1ImageStreamStatus**](V1ImageStreamStatus.md) | Status describes the current state of this stream | [optional] diff --git a/openshift/docs/V1ImageStreamImage.md b/openshift/docs/V1ImageStreamImage.md index 28359e46..cdbda690 100644 --- a/openshift/docs/V1ImageStreamImage.md +++ b/openshift/docs/V1ImageStreamImage.md @@ -3,9 +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] +**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: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources | [optional] **image** | [**V1Image**](V1Image.md) | Image associated with the ImageStream and image name. | -**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the openshift.client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional] +**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the openshift.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds | [optional] **metadata** | [**V1ObjectMeta**](V1ObjectMeta.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/openshift/docs/V1ImageStreamImport.md b/openshift/docs/V1ImageStreamImport.md index 3f1f4c68..391a931a 100644 --- a/openshift/docs/V1ImageStreamImport.md +++ b/openshift/docs/V1ImageStreamImport.md @@ -3,8 +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 openshift.client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional] +**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: https://git.k8s.io/community/contributors/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 openshift.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds | [optional] **metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | Standard object's metadata. | [optional] **spec** | [**V1ImageStreamImportSpec**](V1ImageStreamImportSpec.md) | Spec is a description of the images that the user wishes to import | **status** | [**V1ImageStreamImportStatus**](V1ImageStreamImportStatus.md) | Status is the the result of importing the image | diff --git a/openshift/docs/V1ImageStreamList.md b/openshift/docs/V1ImageStreamList.md index 5fb9b594..fc68d757 100644 --- a/openshift/docs/V1ImageStreamList.md +++ b/openshift/docs/V1ImageStreamList.md @@ -3,10 +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] +**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: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources | [optional] **items** | [**list[V1ImageStream]**](V1ImageStream.md) | Items is a list of imageStreams | -**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the openshift.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] +**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the openshift.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds | [optional] +**metadata** | [**V1ListMeta**](V1ListMeta.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/openshift/docs/V1ImageStreamMapping.md b/openshift/docs/V1ImageStreamMapping.md index e5cdbc48..f61673a3 100644 --- a/openshift/docs/V1ImageStreamMapping.md +++ b/openshift/docs/V1ImageStreamMapping.md @@ -3,9 +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] +**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: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources | [optional] **image** | [**V1Image**](V1Image.md) | Image is a Docker image. | -**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the openshift.client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional] +**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the openshift.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds | [optional] **metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | Standard object's metadata. | [optional] **tag** | **str** | Tag is a string value this image can be located with inside the stream. | diff --git a/openshift/docs/V1ImageStreamSpec.md b/openshift/docs/V1ImageStreamSpec.md index 7439aa4b..0dbaeac0 100644 --- a/openshift/docs/V1ImageStreamSpec.md +++ b/openshift/docs/V1ImageStreamSpec.md @@ -3,8 +3,9 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**docker_image_repository** | **str** | DockerImageRepository is optional, if specified this stream is backed by a Docker repository on this server | [optional] -**tags** | [**list[V1TagReference]**](V1TagReference.md) | Tags map arbitrary string values to specific image locators | [optional] +**docker_image_repository** | **str** | dockerImageRepository is optional, if specified this stream is backed by a Docker repository on this server Deprecated: This field is deprecated as of v3.7 and will be removed in a future release. Specify the source for the tags to be imported in each tag via the spec.tags.from reference instead. | [optional] +**lookup_policy** | [**V1ImageLookupPolicy**](V1ImageLookupPolicy.md) | lookupPolicy controls how other resources reference images within this namespace. | [optional] +**tags** | [**list[V1TagReference]**](V1TagReference.md) | tags map arbitrary string values to specific image locators | [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/openshift/docs/V1ImageStreamStatus.md b/openshift/docs/V1ImageStreamStatus.md index c378fab9..76ef8997 100644 --- a/openshift/docs/V1ImageStreamStatus.md +++ b/openshift/docs/V1ImageStreamStatus.md @@ -4,6 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **docker_image_repository** | **str** | DockerImageRepository represents the effective location this stream may be accessed at. May be empty until the server determines where the repository is located | +**public_docker_image_repository** | **str** | PublicDockerImageRepository represents the public location from where the image can be pulled outside the cluster. This field may be empty if the administrator has not exposed the integrated registry externally. | [optional] **tags** | [**list[V1NamedTagEventList]**](V1NamedTagEventList.md) | Tags are a historical record of images associated with each tag. The first entry in the TagEvent array is the currently tagged image. | [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/openshift/docs/V1ImageStreamTag.md b/openshift/docs/V1ImageStreamTag.md index 6dbcf75e..e1e466f7 100644 --- a/openshift/docs/V1ImageStreamTag.md +++ b/openshift/docs/V1ImageStreamTag.md @@ -3,13 +3,14 @@ ## 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[V1TagEventCondition]**](V1TagEventCondition.md) | Conditions is an array of conditions that apply to the image stream tag. | [optional] -**generation** | **int** | Generation is the current generation of the tagged image - if tag is provided and this value is not equal to the tag generation, a user has requested an import that has not completed, or Conditions will be filled out indicating any error. | -**image** | [**V1Image**](V1Image.md) | Image associated with the ImageStream and tag. | -**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the openshift.client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional] +**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: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources | [optional] +**conditions** | [**list[V1TagEventCondition]**](V1TagEventCondition.md) | conditions is an array of conditions that apply to the image stream tag. | [optional] +**generation** | **int** | generation is the current generation of the tagged image - if tag is provided and this value is not equal to the tag generation, a user has requested an import that has not completed, or conditions will be filled out indicating any error. | +**image** | [**V1Image**](V1Image.md) | image associated with the ImageStream and tag. | +**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the openshift.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds | [optional] +**lookup_policy** | [**V1ImageLookupPolicy**](V1ImageLookupPolicy.md) | lookupPolicy indicates whether this tag will handle image references in this namespace. | **metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | Standard object's metadata. | [optional] -**tag** | [**V1TagReference**](V1TagReference.md) | Tag is the spec tag associated with this image stream tag, and it may be null if only pushes have occurred to this image stream. | +**tag** | [**V1TagReference**](V1TagReference.md) | tag is the spec tag associated with this image stream tag, and it may be null if only pushes have occurred to this image stream. | [[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/openshift/docs/V1ImageStreamTagList.md b/openshift/docs/V1ImageStreamTagList.md index 243244c3..cf610533 100644 --- a/openshift/docs/V1ImageStreamTagList.md +++ b/openshift/docs/V1ImageStreamTagList.md @@ -3,10 +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] +**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: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources | [optional] **items** | [**list[V1ImageStreamTag]**](V1ImageStreamTag.md) | Items is the list of image stream tags | -**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the openshift.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] +**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the openshift.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds | [optional] +**metadata** | [**V1ListMeta**](V1ListMeta.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/openshift/docs/V1JenkinsPipelineBuildStrategy.md b/openshift/docs/V1JenkinsPipelineBuildStrategy.md index 360ee7c4..fab0f3b8 100644 --- a/openshift/docs/V1JenkinsPipelineBuildStrategy.md +++ b/openshift/docs/V1JenkinsPipelineBuildStrategy.md @@ -3,7 +3,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**env** | [**list[V1EnvVar]**](V1EnvVar.md) | env contains additional environment variables you want to pass into a build pipeline. ValueFrom is not supported. | [optional] +**env** | [**list[V1EnvVar]**](V1EnvVar.md) | env contains additional environment variables you want to pass into a build pipeline. | [optional] **jenkinsfile** | **str** | Jenkinsfile defines the optional raw contents of a Jenkinsfile which defines a Jenkins pipeline build. | [optional] **jenkinsfile_path** | **str** | JenkinsfilePath is the optional path of the Jenkinsfile that will be used to configure the pipeline relative to the root of the context (contextDir). If both JenkinsfilePath & Jenkinsfile are both not specified, this defaults to Jenkinsfile in the root of the specified contextDir. | [optional] diff --git a/openshift/docs/V1Job.md b/openshift/docs/V1Job.md deleted file mode 100644 index 80c745f3..00000000 --- a/openshift/docs/V1Job.md +++ /dev/null @@ -1,14 +0,0 @@ -# V1Job - -## 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 openshift.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] - -[[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/openshift/docs/V1JobCondition.md b/openshift/docs/V1JobCondition.md deleted file mode 100644 index 254e909d..00000000 --- a/openshift/docs/V1JobCondition.md +++ /dev/null @@ -1,15 +0,0 @@ -# V1JobCondition - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**last_probe_time** | [**UnversionedTime**](UnversionedTime.md) | Last time the condition was checked. | [optional] -**last_transition_time** | [**UnversionedTime**](UnversionedTime.md) | Last time the condition transit from one status to another. | [optional] -**message** | **str** | Human readable message indicating details about last transition. | [optional] -**reason** | **str** | (brief) reason for the condition's last transition. | [optional] -**status** | **str** | Status of the condition, one of True, False, Unknown. | -**type** | **str** | Type of job condition, Complete or Failed. | - -[[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/openshift/docs/V1JobList.md b/openshift/docs/V1JobList.md deleted file mode 100644 index 24c38afe..00000000 --- a/openshift/docs/V1JobList.md +++ /dev/null @@ -1,13 +0,0 @@ -# V1JobList - -## 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 openshift.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/openshift/docs/V1JobSpec.md b/openshift/docs/V1JobSpec.md deleted file mode 100644 index 7776712f..00000000 --- a/openshift/docs/V1JobSpec.md +++ /dev/null @@ -1,15 +0,0 @@ -# V1JobSpec - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**active_deadline_seconds** | **int** | Optional duration in seconds relative to the startTime that the job may be active before the system tries to terminate it; value must be positive integer | [optional] -**completions** | **int** | Completions specifies the desired number of successfully finished pods the job should be run with. Setting to nil means that the success of any pod signals the success of all pods, and allows parallelism to have any positive value. Setting to 1 means that parallelism is limited to 1 and the success of that pod signals the success of the job. More info: http://kubernetes.io/docs/user-guide/jobs | [optional] -**manual_selector** | **bool** | ManualSelector controls generation of pod labels and pod selectors. Leave `manualSelector` unset unless you are certain what you are doing. When false or unset, the system pick labels unique to this job and appends those labels to the pod template. When true, the user is responsible for picking unique labels and specifying the selector. Failure to pick a unique label may cause this and other jobs to not function correctly. However, You may see `manualSelector=true` in jobs that were created with the old `extensions/v1beta1` API. More info: http://releases.k8s.io/HEAD/docs/design/selector-generation.md | [optional] -**parallelism** | **int** | Parallelism specifies the maximum desired number of pods the job should run at any given time. The actual number of pods running in steady state will be less than this number when ((.spec.completions - .status.successful) < .spec.parallelism), i.e. when the work left to do is less than max parallelism. More info: http://kubernetes.io/docs/user-guide/jobs | [optional] -**selector** | [**UnversionedLabelSelector**](UnversionedLabelSelector.md) | Selector is a label query over pods that should match the pod count. Normally, the system sets this field for you. More info: http://kubernetes.io/docs/user-guide/labels#label-selectors | [optional] -**template** | [**V1PodTemplateSpec**](V1PodTemplateSpec.md) | Template is the object that describes the pod that will be created when executing a job. More info: http://kubernetes.io/docs/user-guide/jobs | - -[[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/openshift/docs/V1JobStatus.md b/openshift/docs/V1JobStatus.md deleted file mode 100644 index cc93cb52..00000000 --- a/openshift/docs/V1JobStatus.md +++ /dev/null @@ -1,15 +0,0 @@ -# V1JobStatus - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**active** | **int** | Active is the number of actively running pods. | [optional] -**completion_time** | [**UnversionedTime**](UnversionedTime.md) | CompletionTime represents time when the job was completed. It is not guaranteed to be set in happens-before order across separate operations. It is represented in RFC3339 form and is in UTC. | [optional] -**conditions** | [**list[V1JobCondition]**](V1JobCondition.md) | Conditions represent the latest available observations of an object's current state. More info: http://kubernetes.io/docs/user-guide/jobs | [optional] -**failed** | **int** | Failed is the number of pods which reached Phase Failed. | [optional] -**start_time** | [**UnversionedTime**](UnversionedTime.md) | StartTime represents time when the job was acknowledged by the Job Manager. It is not guaranteed to be set in happens-before order across separate operations. It is represented in RFC3339 form and is in UTC. | [optional] -**succeeded** | **int** | Succeeded is the number of pods which reached Phase Succeeded. | [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/openshift/docs/V1KeyToPath.md b/openshift/docs/V1KeyToPath.md deleted file mode 100644 index 0affd944..00000000 --- a/openshift/docs/V1KeyToPath.md +++ /dev/null @@ -1,12 +0,0 @@ -# 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/openshift/docs/V1Lifecycle.md b/openshift/docs/V1Lifecycle.md deleted file mode 100644 index cf33a4ab..00000000 --- a/openshift/docs/V1Lifecycle.md +++ /dev/null @@ -1,11 +0,0 @@ -# V1Lifecycle - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**post_start** | [**V1Handler**](V1Handler.md) | PostStart is called immediately after a container is created. If the handler fails, the container is terminated and restarted according to its restart policy. Other management of the container blocks until the hook completes. More info: http://kubernetes.io/docs/user-guide/container-environment#hook-details | [optional] -**pre_stop** | [**V1Handler**](V1Handler.md) | PreStop is called immediately before a container is terminated. The container is terminated after the handler completes. The reason for termination is passed to the handler. Regardless of the outcome of the handler, the container is eventually terminated. Other management of the container blocks until the hook completes. More info: http://kubernetes.io/docs/user-guide/container-environment#hook-details | [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/openshift/docs/V1LimitRange.md b/openshift/docs/V1LimitRange.md deleted file mode 100644 index fb5c4cab..00000000 --- a/openshift/docs/V1LimitRange.md +++ /dev/null @@ -1,13 +0,0 @@ -# V1LimitRange - -## 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 openshift.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] - -[[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/openshift/docs/V1LimitRangeItem.md b/openshift/docs/V1LimitRangeItem.md deleted file mode 100644 index 2270b0e5..00000000 --- a/openshift/docs/V1LimitRangeItem.md +++ /dev/null @@ -1,15 +0,0 @@ -# V1LimitRangeItem - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**default** | [**dict(str, ResourceQuantity)**](ResourceQuantity.md) | Default resource requirement limit value by resource name if resource limit is omitted. | [optional] -**default_request** | [**dict(str, ResourceQuantity)**](ResourceQuantity.md) | DefaultRequest is the default resource requirement request value by resource name if resource request is omitted. | [optional] -**max** | [**dict(str, ResourceQuantity)**](ResourceQuantity.md) | Max usage constraints on this kind by resource name. | [optional] -**max_limit_request_ratio** | [**dict(str, ResourceQuantity)**](ResourceQuantity.md) | MaxLimitRequestRatio if specified, the named resource must have a request and limit that are both non-zero where limit divided by request is less than or equal to the enumerated value; this represents the max burst for the named resource. | [optional] -**min** | [**dict(str, ResourceQuantity)**](ResourceQuantity.md) | Min usage constraints on this kind by resource name. | [optional] -**type** | **str** | Type of resource that this limit applies to. | [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/openshift/docs/V1LimitRangeList.md b/openshift/docs/V1LimitRangeList.md deleted file mode 100644 index f135e065..00000000 --- a/openshift/docs/V1LimitRangeList.md +++ /dev/null @@ -1,13 +0,0 @@ -# V1LimitRangeList - -## 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 openshift.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/openshift/docs/V1LimitRangeSpec.md b/openshift/docs/V1LimitRangeSpec.md deleted file mode 100644 index 315b732d..00000000 --- a/openshift/docs/V1LimitRangeSpec.md +++ /dev/null @@ -1,10 +0,0 @@ -# V1LimitRangeSpec - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**limits** | [**list[V1LimitRangeItem]**](V1LimitRangeItem.md) | Limits is the list of LimitRangeItem objects that are enforced. | - -[[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/openshift/docs/V1LoadBalancerIngress.md b/openshift/docs/V1LoadBalancerIngress.md deleted file mode 100644 index 42b5d5ea..00000000 --- a/openshift/docs/V1LoadBalancerIngress.md +++ /dev/null @@ -1,11 +0,0 @@ -# V1LoadBalancerIngress - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**hostname** | **str** | Hostname is set for load-balancer ingress points that are DNS based (typically AWS load-balancers) | [optional] -**ip** | **str** | IP is set for load-balancer ingress points that are IP based (typically GCE or OpenStack load-balancers) | [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/openshift/docs/V1LoadBalancerStatus.md b/openshift/docs/V1LoadBalancerStatus.md deleted file mode 100644 index c35acacc..00000000 --- a/openshift/docs/V1LoadBalancerStatus.md +++ /dev/null @@ -1,10 +0,0 @@ -# V1LoadBalancerStatus - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**ingress** | [**list[V1LoadBalancerIngress]**](V1LoadBalancerIngress.md) | Ingress is a list containing ingress points for the load-balancer. Traffic intended for the service should be sent to these ingress points. | [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/openshift/docs/V1LocalObjectReference.md b/openshift/docs/V1LocalObjectReference.md deleted file mode 100644 index e49729af..00000000 --- a/openshift/docs/V1LocalObjectReference.md +++ /dev/null @@ -1,10 +0,0 @@ -# V1LocalObjectReference - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**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/openshift/docs/V1LocalResourceAccessReview.md b/openshift/docs/V1LocalResourceAccessReview.md index 8ec784de..81fe085f 100644 --- a/openshift/docs/V1LocalResourceAccessReview.md +++ b/openshift/docs/V1LocalResourceAccessReview.md @@ -3,10 +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] +**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: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources | [optional] **content** | [**RuntimeRawExtension**](RuntimeRawExtension.md) | Content is the actual content of the request for create and update | [optional] **is_non_resource_url** | **bool** | IsNonResourceURL is true if this is a request for a non-resource URL (outside of the resource hieraarchy) | -**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the openshift.client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional] +**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the openshift.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds | [optional] **namespace** | **str** | Namespace is the namespace of the action being requested. Currently, there is no distinction between no namespace and all namespaces | **path** | **str** | Path is the path of a non resource URL | **resource** | **str** | Resource is one of the existing resource types | diff --git a/openshift/docs/V1LocalSubjectAccessReview.md b/openshift/docs/V1LocalSubjectAccessReview.md deleted file mode 100644 index ad4187f5..00000000 --- a/openshift/docs/V1LocalSubjectAccessReview.md +++ /dev/null @@ -1,23 +0,0 @@ -# V1LocalSubjectAccessReview - -## 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] -**content** | [**RuntimeRawExtension**](RuntimeRawExtension.md) | Content is the actual content of the request for create and update | [optional] -**groups** | **list[str]** | Groups is optional. Groups is the list of groups to which the User belongs. | -**is_non_resource_url** | **bool** | IsNonResourceURL is true if this is a request for a non-resource URL (outside of the resource hieraarchy) | -**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the openshift.client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional] -**namespace** | **str** | Namespace is the namespace of the action being requested. Currently, there is no distinction between no namespace and all namespaces | -**path** | **str** | Path is the path of a non resource URL | -**resource** | **str** | Resource is one of the existing resource types | -**resource_api_group** | **str** | Group is the API group of the resource Serialized as resourceAPIGroup to avoid confusion with the 'groups' field when inlined | -**resource_api_version** | **str** | Version is the API version of the resource Serialized as resourceAPIVersion to avoid confusion with TypeMeta.apiVersion and ObjectMeta.resourceVersion when inlined | -**resource_name** | **str** | ResourceName is the name of the resource being requested for a \"get\" or deleted for a \"delete\" | -**scopes** | **list[str]** | Scopes to use for the evaluation. Empty means \"use the unscoped (full) permissions of the user/groups\". Nil for a self-SAR, means \"use the scopes on this request\". Nil for a regular SAR, means the same as empty. | -**user** | **str** | User is optional. If both User and Groups are empty, the current authenticated user is used. | -**verb** | **str** | Verb is one of: get, list, watch, create, update, delete | - -[[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/openshift/docs/V1NFSVolumeSource.md b/openshift/docs/V1NFSVolumeSource.md index 153fbe92..f16fdaff 100644 --- a/openshift/docs/V1NFSVolumeSource.md +++ b/openshift/docs/V1NFSVolumeSource.md @@ -3,9 +3,9 @@ ## 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 | +**path** | **str** | Path that is exported by the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs | +**read_only** | **bool** | ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs | [optional] +**server** | **str** | Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/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/openshift/docs/V1NamedClusterRole.md b/openshift/docs/V1NamedClusterRole.md deleted file mode 100644 index 564f229c..00000000 --- a/openshift/docs/V1NamedClusterRole.md +++ /dev/null @@ -1,11 +0,0 @@ -# V1NamedClusterRole - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**name** | **str** | Name is the name of the cluster role | -**role** | [**V1ClusterRole**](V1ClusterRole.md) | Role is the cluster role being named | - -[[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/openshift/docs/V1NamedClusterRoleBinding.md b/openshift/docs/V1NamedClusterRoleBinding.md deleted file mode 100644 index a314c8be..00000000 --- a/openshift/docs/V1NamedClusterRoleBinding.md +++ /dev/null @@ -1,11 +0,0 @@ -# V1NamedClusterRoleBinding - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**name** | **str** | Name is the name of the cluster role binding | -**role_binding** | [**V1ClusterRoleBinding**](V1ClusterRoleBinding.md) | RoleBinding is the cluster role binding being named | - -[[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/openshift/docs/V1NamedRole.md b/openshift/docs/V1NamedRole.md deleted file mode 100644 index 56f16907..00000000 --- a/openshift/docs/V1NamedRole.md +++ /dev/null @@ -1,11 +0,0 @@ -# V1NamedRole - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**name** | **str** | Name is the name of the role | -**role** | [**V1Role**](V1Role.md) | Role is the role being named | - -[[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/openshift/docs/V1NamedRoleBinding.md b/openshift/docs/V1NamedRoleBinding.md deleted file mode 100644 index b38a8a6b..00000000 --- a/openshift/docs/V1NamedRoleBinding.md +++ /dev/null @@ -1,11 +0,0 @@ -# V1NamedRoleBinding - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**name** | **str** | Name is the name of the role binding | -**role_binding** | [**V1RoleBinding**](V1RoleBinding.md) | RoleBinding is the role binding being named | - -[[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/openshift/docs/V1Namespace.md b/openshift/docs/V1Namespace.md deleted file mode 100644 index 30e5b2d5..00000000 --- a/openshift/docs/V1Namespace.md +++ /dev/null @@ -1,14 +0,0 @@ -# V1Namespace - -## 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 openshift.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] - -[[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/openshift/docs/V1NamespaceList.md b/openshift/docs/V1NamespaceList.md deleted file mode 100644 index 51a3c000..00000000 --- a/openshift/docs/V1NamespaceList.md +++ /dev/null @@ -1,13 +0,0 @@ -# V1NamespaceList - -## 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 openshift.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/openshift/docs/V1NamespaceSpec.md b/openshift/docs/V1NamespaceSpec.md deleted file mode 100644 index 324502ac..00000000 --- a/openshift/docs/V1NamespaceSpec.md +++ /dev/null @@ -1,10 +0,0 @@ -# V1NamespaceSpec - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**finalizers** | **list[str]** | Finalizers is an opaque list of values that must be empty to permanently remove object from storage. More info: http://releases.k8s.io/HEAD/docs/design/namespaces.md#finalizers | [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/openshift/docs/V1NamespaceStatus.md b/openshift/docs/V1NamespaceStatus.md deleted file mode 100644 index 72c28ba5..00000000 --- a/openshift/docs/V1NamespaceStatus.md +++ /dev/null @@ -1,10 +0,0 @@ -# V1NamespaceStatus - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**phase** | **str** | Phase is the current lifecycle phase of the namespace. More info: http://releases.k8s.io/HEAD/docs/design/namespaces.md#phases | [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/openshift/docs/V1NetNamespace.md b/openshift/docs/V1NetNamespace.md index a6413c90..b5bd28d4 100644 --- a/openshift/docs/V1NetNamespace.md +++ b/openshift/docs/V1NetNamespace.md @@ -3,10 +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] -**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the openshift.client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional] +**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: https://git.k8s.io/community/contributors/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 openshift.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds | [optional] **metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | Standard object's metadata. | [optional] -**netid** | **int** | NetID is the network identifier of the network namespace assigned to each overlay network packet. This can be manipulated with the \"oadm pod-network\" commands. | +**netid** | **int** | NetID is the network identifier of the network namespace assigned to each overlay network packet. This can be manipulated with the \"oc adm pod-network\" commands. | **netname** | **str** | NetName is the name of the network namespace. (This is the same as the object's name, but both fields must be set.) | [[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/openshift/docs/V1NetNamespaceList.md b/openshift/docs/V1NetNamespaceList.md index 36684ae5..1a539564 100644 --- a/openshift/docs/V1NetNamespaceList.md +++ b/openshift/docs/V1NetNamespaceList.md @@ -3,10 +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] +**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: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources | [optional] **items** | [**list[V1NetNamespace]**](V1NetNamespace.md) | Items is the list of net namespaces | -**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the openshift.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] +**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the openshift.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds | [optional] +**metadata** | [**V1ListMeta**](V1ListMeta.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/openshift/docs/V1Node.md b/openshift/docs/V1Node.md deleted file mode 100644 index 30919624..00000000 --- a/openshift/docs/V1Node.md +++ /dev/null @@ -1,14 +0,0 @@ -# V1Node - -## 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 openshift.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] - -[[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/openshift/docs/V1NodeAddress.md b/openshift/docs/V1NodeAddress.md deleted file mode 100644 index 07728d7e..00000000 --- a/openshift/docs/V1NodeAddress.md +++ /dev/null @@ -1,11 +0,0 @@ -# V1NodeAddress - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**address** | **str** | The node address. | -**type** | **str** | Node address type, one of Hostname, ExternalIP or InternalIP. | - -[[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/openshift/docs/V1NodeCondition.md b/openshift/docs/V1NodeCondition.md deleted file mode 100644 index a2c30f52..00000000 --- a/openshift/docs/V1NodeCondition.md +++ /dev/null @@ -1,15 +0,0 @@ -# V1NodeCondition - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**last_heartbeat_time** | [**UnversionedTime**](UnversionedTime.md) | Last time we got an update on a given condition. | [optional] -**last_transition_time** | [**UnversionedTime**](UnversionedTime.md) | Last time the condition transit from one status to another. | [optional] -**message** | **str** | Human readable message indicating details about last transition. | [optional] -**reason** | **str** | (brief) reason for the condition's last transition. | [optional] -**status** | **str** | Status of the condition, one of True, False, Unknown. | -**type** | **str** | Type of node condition. | - -[[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/openshift/docs/V1NodeDaemonEndpoints.md b/openshift/docs/V1NodeDaemonEndpoints.md deleted file mode 100644 index 5c04aaa8..00000000 --- a/openshift/docs/V1NodeDaemonEndpoints.md +++ /dev/null @@ -1,10 +0,0 @@ -# V1NodeDaemonEndpoints - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**kubelet_endpoint** | [**V1DaemonEndpoint**](V1DaemonEndpoint.md) | Endpoint on which Kubelet is listening. | [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/openshift/docs/V1NodeList.md b/openshift/docs/V1NodeList.md deleted file mode 100644 index 48f26a84..00000000 --- a/openshift/docs/V1NodeList.md +++ /dev/null @@ -1,13 +0,0 @@ -# V1NodeList - -## 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 openshift.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/openshift/docs/V1NodeSpec.md b/openshift/docs/V1NodeSpec.md deleted file mode 100644 index 20445bd2..00000000 --- a/openshift/docs/V1NodeSpec.md +++ /dev/null @@ -1,13 +0,0 @@ -# V1NodeSpec - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**external_id** | **str** | External ID of the node assigned by some machine database (e.g. a cloud provider). Deprecated. | [optional] -**pod_cidr** | **str** | PodCIDR represents the pod IP range assigned to the node. | [optional] -**provider_id** | **str** | ID of the node assigned by the cloud provider in the format: <ProviderName>://<ProviderSpecificNodeID> | [optional] -**unschedulable** | **bool** | Unschedulable controls node schedulability of new pods. By default, node is schedulable. More info: http://releases.k8s.io/HEAD/docs/admin/node.md#manual-node-administration\" | [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/openshift/docs/V1NodeStatus.md b/openshift/docs/V1NodeStatus.md deleted file mode 100644 index 10f3e568..00000000 --- a/openshift/docs/V1NodeStatus.md +++ /dev/null @@ -1,19 +0,0 @@ -# V1NodeStatus - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**addresses** | [**list[V1NodeAddress]**](V1NodeAddress.md) | List of addresses reachable to the node. Queried from cloud provider, if available. More info: http://releases.k8s.io/HEAD/docs/admin/node.md#node-addresses | [optional] -**allocatable** | [**dict(str, ResourceQuantity)**](ResourceQuantity.md) | Allocatable represents the resources of a node that are available for scheduling. Defaults to Capacity. | [optional] -**capacity** | [**dict(str, ResourceQuantity)**](ResourceQuantity.md) | Capacity represents the total resources of a node. More info: http://kubernetes.io/docs/user-guide/persistent-volumes#capacity for more details. | [optional] -**conditions** | [**list[V1NodeCondition]**](V1NodeCondition.md) | Conditions is an array of current observed node conditions. More info: http://releases.k8s.io/HEAD/docs/admin/node.md#node-condition | [optional] -**daemon_endpoints** | [**V1NodeDaemonEndpoints**](V1NodeDaemonEndpoints.md) | Endpoints of daemons running on the Node. | [optional] -**images** | [**list[V1ContainerImage]**](V1ContainerImage.md) | List of container images on this node | [optional] -**node_info** | [**V1NodeSystemInfo**](V1NodeSystemInfo.md) | Set of ids/uuids to uniquely identify the node. More info: http://releases.k8s.io/HEAD/docs/admin/node.md#node-info | [optional] -**phase** | **str** | NodePhase is the recently observed lifecycle phase of the node. More info: http://releases.k8s.io/HEAD/docs/admin/node.md#node-phase The field is never populated, and now is deprecated. | [optional] -**volumes_attached** | [**list[V1AttachedVolume]**](V1AttachedVolume.md) | List of volumes that are attached to the node. | [optional] -**volumes_in_use** | **list[str]** | List of attachable volumes in use (mounted) by the node. | [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/openshift/docs/V1NodeSystemInfo.md b/openshift/docs/V1NodeSystemInfo.md deleted file mode 100644 index 42f10260..00000000 --- a/openshift/docs/V1NodeSystemInfo.md +++ /dev/null @@ -1,19 +0,0 @@ -# V1NodeSystemInfo - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**architecture** | **str** | The Architecture reported by the node | -**boot_id** | **str** | Boot ID reported by the node. | -**container_runtime_version** | **str** | ContainerRuntime Version reported by the node through runtime remote API (e.g. docker://1.5.0). | -**kernel_version** | **str** | Kernel Version reported by the node from 'uname -r' (e.g. 3.16.0-0.bpo.4-amd64). | -**kube_proxy_version** | **str** | KubeProxy Version reported by the node. | -**kubelet_version** | **str** | Kubelet Version reported by the node. | -**machine_id** | **str** | MachineID reported by the node. For unique machine identification in the cluster this field is prefered. Learn more from man(5) machine-id: http://man7.org/linux/man-pages/man5/machine-id.5.html | -**operating_system** | **str** | The Operating System reported by the node | -**os_image** | **str** | OS Image reported by the node from /etc/os-release (e.g. Debian GNU/Linux 7 (wheezy)). | -**system_uuid** | **str** | SystemUUID reported by the node. For unique machine identification MachineID is prefered. This field is specific to Red Hat hosts https://access.redhat.com/documentation/en-US/Red_Hat_Subscription_Management/1/html/RHSM/getting-system-uuid.html | - -[[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/openshift/docs/V1OAuthAccessToken.md b/openshift/docs/V1OAuthAccessToken.md index 33a7207d..1dbba840 100644 --- a/openshift/docs/V1OAuthAccessToken.md +++ b/openshift/docs/V1OAuthAccessToken.md @@ -3,11 +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] +**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: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources | [optional] **authorize_token** | **str** | AuthorizeToken contains the token that authorized this token | [optional] **openshift.client_name** | **str** | ClientName references the openshift.client that created this token. | [optional] **expires_in** | **int** | ExpiresIn is the seconds from CreationTime before this token expires. | [optional] -**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the openshift.client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional] +**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the openshift.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds | [optional] **metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | Standard object's metadata. | [optional] **redirect_uri** | **str** | RedirectURI is the redirection associated with the token. | [optional] **refresh_token** | **str** | RefreshToken is the value by which this token can be renewed. Can be blank. | [optional] diff --git a/openshift/docs/V1OAuthAccessTokenList.md b/openshift/docs/V1OAuthAccessTokenList.md index d52d8a18..45317e15 100644 --- a/openshift/docs/V1OAuthAccessTokenList.md +++ b/openshift/docs/V1OAuthAccessTokenList.md @@ -3,10 +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] +**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: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources | [optional] **items** | [**list[V1OAuthAccessToken]**](V1OAuthAccessToken.md) | Items is the list of OAuth access tokens | -**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the openshift.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] +**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the openshift.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds | [optional] +**metadata** | [**V1ListMeta**](V1ListMeta.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/openshift/docs/V1OAuthAuthorizeToken.md b/openshift/docs/V1OAuthAuthorizeToken.md index 7b47d3f8..2bf572c9 100644 --- a/openshift/docs/V1OAuthAuthorizeToken.md +++ b/openshift/docs/V1OAuthAuthorizeToken.md @@ -3,12 +3,12 @@ ## 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] +**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: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources | [optional] **openshift.client_name** | **str** | ClientName references the openshift.client that created this token. | [optional] **code_challenge** | **str** | CodeChallenge is the optional code_challenge associated with this authorization code, as described in rfc7636 | [optional] **code_challenge_method** | **str** | CodeChallengeMethod is the optional code_challenge_method associated with this authorization code, as described in rfc7636 | [optional] **expires_in** | **int** | ExpiresIn is the seconds from CreationTime before this token expires. | [optional] -**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the openshift.client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional] +**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the openshift.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds | [optional] **metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | Standard object's metadata. | [optional] **redirect_uri** | **str** | RedirectURI is the redirection associated with the token. | [optional] **scopes** | **list[str]** | Scopes is an array of the requested scopes. | [optional] diff --git a/openshift/docs/V1OAuthAuthorizeTokenList.md b/openshift/docs/V1OAuthAuthorizeTokenList.md index 8d8a9b19..f8ef1029 100644 --- a/openshift/docs/V1OAuthAuthorizeTokenList.md +++ b/openshift/docs/V1OAuthAuthorizeTokenList.md @@ -3,10 +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] +**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: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources | [optional] **items** | [**list[V1OAuthAuthorizeToken]**](V1OAuthAuthorizeToken.md) | Items is the list of OAuth authorization tokens | -**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the openshift.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] +**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the openshift.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds | [optional] +**metadata** | [**V1ListMeta**](V1ListMeta.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/openshift/docs/V1OAuthClient.md b/openshift/docs/V1OAuthClient.md index 82bd3200..32dafb25 100644 --- a/openshift/docs/V1OAuthClient.md +++ b/openshift/docs/V1OAuthClient.md @@ -3,10 +3,11 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**access_token_max_age_seconds** | **int** | AccessTokenMaxAgeSeconds overrides the default access token max age for tokens granted to this openshift.client. 0 means no expiration. | [optional] **additional_secrets** | **list[str]** | AdditionalSecrets holds other secrets that may be used to identify the openshift.client. This is useful for rotation and for service account token validation | [optional] -**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] +**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: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources | [optional] **grant_method** | **str** | GrantMethod determines how to handle grants for this openshift.client. If no method is provided, the cluster default grant handling method will be used. Valid grant handling methods are: - auto: always approves grant requests, useful for trusted openshift.clients - prompt: prompts the end user for approval of grant requests, useful for third-party openshift.clients - deny: always denies grant requests, useful for black-listed openshift.clients | [optional] -**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the openshift.client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional] +**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the openshift.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds | [optional] **metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | Standard object's metadata. | [optional] **redirect_ur_is** | **list[str]** | RedirectURIs is the valid redirection URIs associated with a openshift.client | [optional] **respond_with_challenges** | **bool** | RespondWithChallenges indicates whether the openshift.client wants authentication needed responses made in the form of challenges instead of redirects | [optional] diff --git a/openshift/docs/V1OAuthClientAuthorization.md b/openshift/docs/V1OAuthClientAuthorization.md index 5d410e3b..4c93cdbe 100644 --- a/openshift/docs/V1OAuthClientAuthorization.md +++ b/openshift/docs/V1OAuthClientAuthorization.md @@ -3,9 +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] +**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: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources | [optional] **openshift.client_name** | **str** | ClientName references the openshift.client that created this authorization | [optional] -**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the openshift.client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional] +**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the openshift.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds | [optional] **metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | Standard object's metadata. | [optional] **scopes** | **list[str]** | Scopes is an array of the granted scopes. | [optional] **user_name** | **str** | UserName is the user name that authorized this openshift.client | [optional] diff --git a/openshift/docs/V1OAuthClientAuthorizationList.md b/openshift/docs/V1OAuthClientAuthorizationList.md index de75a78c..9a0ccb93 100644 --- a/openshift/docs/V1OAuthClientAuthorizationList.md +++ b/openshift/docs/V1OAuthClientAuthorizationList.md @@ -3,10 +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] +**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: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources | [optional] **items** | [**list[V1OAuthClientAuthorization]**](V1OAuthClientAuthorization.md) | Items is the list of OAuth openshift.client authorizations | -**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the openshift.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] +**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the openshift.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds | [optional] +**metadata** | [**V1ListMeta**](V1ListMeta.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/openshift/docs/V1OAuthClientList.md b/openshift/docs/V1OAuthClientList.md index 1c9a3f08..69160a8f 100644 --- a/openshift/docs/V1OAuthClientList.md +++ b/openshift/docs/V1OAuthClientList.md @@ -3,10 +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] +**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: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources | [optional] **items** | [**list[V1OAuthClient]**](V1OAuthClient.md) | Items is the list of OAuth openshift.clients | -**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the openshift.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] +**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the openshift.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds | [optional] +**metadata** | [**V1ListMeta**](V1ListMeta.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/openshift/docs/V1ObjectFieldSelector.md b/openshift/docs/V1ObjectFieldSelector.md deleted file mode 100644 index e63cd582..00000000 --- a/openshift/docs/V1ObjectFieldSelector.md +++ /dev/null @@ -1,11 +0,0 @@ -# V1ObjectFieldSelector - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**api_version** | **str** | Version of the schema the FieldPath is written in terms of, defaults to \"v1\". | [optional] -**field_path** | **str** | Path of the field to select in the specified API version. | - -[[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/openshift/docs/V1ObjectMeta.md b/openshift/docs/V1ObjectMeta.md deleted file mode 100644 index 5fb611cb..00000000 --- a/openshift/docs/V1ObjectMeta.md +++ /dev/null @@ -1,24 +0,0 @@ -# V1ObjectMeta - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**annotations** | **dict(str, str)** | Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations | [optional] -**cluster_name** | **str** | The name of the cluster which the object belongs to. This is used to distinguish resources with same name and namespace in different clusters. This field is not set anywhere right now and apiserver is going to ignore it if set in create or update request. | [optional] -**creation_timestamp** | [**UnversionedTime**](UnversionedTime.md) | CreationTimestamp is a timestamp representing the server time when this object was created. It is not guaranteed to be set in happens-before order across separate operations. Clients may not set this value. It is represented in RFC3339 form and is in UTC. Populated by the system. Read-only. Null for lists. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata | [optional] -**deletion_grace_period_seconds** | **int** | Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only. | [optional] -**deletion_timestamp** | [**UnversionedTime**](UnversionedTime.md) | DeletionTimestamp is RFC 3339 date and time at which this resource will be deleted. This field is set by the server when a graceful deletion is requested by the user, and is not directly settable by a openshift.client. The resource is expected to be deleted (no longer visible from resource lists, and not reachable by name) after the time in this field. Once set, this value may not be unset or be set further into the future, although it may be shortened or the resource may be deleted prior to this time. For example, a user may request that a pod is deleted in 30 seconds. The Kubelet will react by sending a graceful termination signal to the containers in the pod. After that 30 seconds, the Kubelet will send a hard termination signal (SIGKILL) to the container and after cleanup, remove the pod from the API. In the presence of network partitions, this object may still exist after this timestamp, until an administrator or automated process can determine the resource is fully terminated. If not set, graceful deletion of the object has not been requested. Populated by the system when a graceful deletion is requested. Read-only. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata | [optional] -**finalizers** | **list[str]** | Must be empty before the object is deleted from the registry. Each entry is an identifier for the responsible component that will remove the entry from the list. If the deletionTimestamp of the object is non-nil, entries in this list can only be removed. | [optional] -**generate_name** | **str** | GenerateName is an optional prefix, used by the server, to generate a unique name ONLY IF the Name field has not been provided. If this field is used, the name returned to the openshift.client will be different than the name passed. This value will also be combined with a unique suffix. The provided value has the same validation rules as the Name field, and may be truncated by the length of the suffix required to make the value unique on the server. If this field is specified and the generated name exists, the server will NOT return a 409 - instead, it will either return 201 Created or 500 with Reason ServerTimeout indicating a unique name could not be found in the time allotted, and the openshift.client should retry (optionally after the time indicated in the Retry-After header). Applied only if Name is not specified. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#idempotency | [optional] -**generation** | **int** | A sequence number representing a specific generation of the desired state. Populated by the system. Read-only. | [optional] -**labels** | **dict(str, str)** | Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels | [optional] -**name** | **str** | Name must be unique within a namespace. Is required when creating resources, although some resources may allow a openshift.client to request the generation of an appropriate name automatically. Name is primarily intended for creation idempotence and configuration definition. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/identifiers#names | [optional] -**namespace** | **str** | Namespace defines the space within each name must be unique. An empty namespace is equivalent to the \"default\" namespace, but \"default\" is the canonical representation. Not all objects are required to be scoped to a namespace - the value of this field for those objects will be empty. Must be a DNS_LABEL. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/namespaces | [optional] -**owner_references** | [**list[V1OwnerReference]**](V1OwnerReference.md) | List of objects depended by this object. If ALL objects in the list have been deleted, this object will be garbage collected. If this object is managed by a controller, then an entry in this list will point to this controller, with the controller field set to true. There cannot be more than one managing controller. | [optional] -**resource_version** | **str** | An opaque value that represents the internal version of this object that can be used by openshift.clients to determine when objects have changed. May be used for optimistic concurrency, change detection, and the watch operation on a resource or set of resources. Clients must treat these values as opaque and passed unmodified back to the server. They may only be valid for a particular resource or set of resources. Populated by the system. Read-only. Value must be treated as opaque by openshift.clients and . More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#concurrency-control-and-consistency | [optional] -**self_link** | **str** | SelfLink is a URL representing this object. Populated by the system. Read-only. | [optional] -**uid** | **str** | UID is the unique in time and space value for this object. It is typically generated by the server on successful creation of a resource and is not allowed to change on PUT operations. Populated by the system. Read-only. More info: http://kubernetes.io/docs/user-guide/identifiers#uids | [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/openshift/docs/V1ObjectReference.md b/openshift/docs/V1ObjectReference.md deleted file mode 100644 index dfe22f93..00000000 --- a/openshift/docs/V1ObjectReference.md +++ /dev/null @@ -1,16 +0,0 @@ -# V1ObjectReference - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**api_version** | **str** | API version of the referent. | [optional] -**field_path** | **str** | If referring to a piece of an object instead of an entire object, this string should contain a valid JSON/Go field access statement, such as desiredState.manifest.containers[2]. For example, if the object reference is to a container within a pod, this would take on a value like: \"spec.containers{name}\" (where \"name\" refers to the name of the container that triggered the event) or if no container name is specified \"spec.containers[2]\" (container with index 2 in this pod). This syntax is chosen only to have some well-defined way of referencing a part of an object. | [optional] -**kind** | **str** | Kind of the referent. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional] -**name** | **str** | Name of the referent. More info: http://kubernetes.io/docs/user-guide/identifiers#names | [optional] -**namespace** | **str** | Namespace of the referent. More info: http://kubernetes.io/docs/user-guide/namespaces | [optional] -**resource_version** | **str** | Specific resourceVersion to which this reference is made, if any. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#concurrency-control-and-consistency | [optional] -**uid** | **str** | UID of the referent. More info: http://kubernetes.io/docs/user-guide/identifiers#uids | [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/openshift/docs/V1OwnerReference.md b/openshift/docs/V1OwnerReference.md deleted file mode 100644 index db9ba818..00000000 --- a/openshift/docs/V1OwnerReference.md +++ /dev/null @@ -1,14 +0,0 @@ -# V1OwnerReference - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**api_version** | **str** | API version of the referent. | -**controller** | **bool** | If true, this reference points to the managing controller. | [optional] -**kind** | **str** | Kind of the referent. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | -**name** | **str** | Name of the referent. More info: http://kubernetes.io/docs/user-guide/identifiers#names | -**uid** | **str** | UID of the referent. More info: http://kubernetes.io/docs/user-guide/identifiers#uids | - -[[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/openshift/docs/V1PersistentVolume.md b/openshift/docs/V1PersistentVolume.md deleted file mode 100644 index 3adff1e9..00000000 --- a/openshift/docs/V1PersistentVolume.md +++ /dev/null @@ -1,14 +0,0 @@ -# V1PersistentVolume - -## 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 openshift.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] - -[[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/openshift/docs/V1PersistentVolumeClaim.md b/openshift/docs/V1PersistentVolumeClaim.md deleted file mode 100644 index 8d2ea3f3..00000000 --- a/openshift/docs/V1PersistentVolumeClaim.md +++ /dev/null @@ -1,14 +0,0 @@ -# V1PersistentVolumeClaim - -## 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 openshift.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] - -[[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/openshift/docs/V1PersistentVolumeClaimList.md b/openshift/docs/V1PersistentVolumeClaimList.md deleted file mode 100644 index e11dbf0d..00000000 --- a/openshift/docs/V1PersistentVolumeClaimList.md +++ /dev/null @@ -1,13 +0,0 @@ -# V1PersistentVolumeClaimList - -## 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 openshift.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/openshift/docs/V1PersistentVolumeClaimSpec.md b/openshift/docs/V1PersistentVolumeClaimSpec.md deleted file mode 100644 index eae09b13..00000000 --- a/openshift/docs/V1PersistentVolumeClaimSpec.md +++ /dev/null @@ -1,13 +0,0 @@ -# V1PersistentVolumeClaimSpec - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**access_modes** | **list[str]** | AccessModes contains the desired access modes the volume should have. More info: http://kubernetes.io/docs/user-guide/persistent-volumes#access-modes-1 | [optional] -**resources** | [**V1ResourceRequirements**](V1ResourceRequirements.md) | Resources represents the minimum resources the volume should have. More info: http://kubernetes.io/docs/user-guide/persistent-volumes#resources | [optional] -**selector** | [**UnversionedLabelSelector**](UnversionedLabelSelector.md) | A label query over volumes to consider for binding. | [optional] -**volume_name** | **str** | VolumeName is the binding reference to the PersistentVolume backing this claim. | [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/openshift/docs/V1PersistentVolumeClaimStatus.md b/openshift/docs/V1PersistentVolumeClaimStatus.md deleted file mode 100644 index 93fa2e3c..00000000 --- a/openshift/docs/V1PersistentVolumeClaimStatus.md +++ /dev/null @@ -1,12 +0,0 @@ -# V1PersistentVolumeClaimStatus - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**access_modes** | **list[str]** | AccessModes contains the actual access modes the volume backing the PVC has. More info: http://kubernetes.io/docs/user-guide/persistent-volumes#access-modes-1 | [optional] -**capacity** | [**dict(str, ResourceQuantity)**](ResourceQuantity.md) | Represents the actual resources of the underlying volume. | [optional] -**phase** | **str** | Phase represents the current phase of PersistentVolumeClaim. | [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/openshift/docs/V1PersistentVolumeClaimVolumeSource.md b/openshift/docs/V1PersistentVolumeClaimVolumeSource.md deleted file mode 100644 index f6a9199a..00000000 --- a/openshift/docs/V1PersistentVolumeClaimVolumeSource.md +++ /dev/null @@ -1,11 +0,0 @@ -# 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/openshift/docs/V1PersistentVolumeList.md b/openshift/docs/V1PersistentVolumeList.md deleted file mode 100644 index 8aa07ab0..00000000 --- a/openshift/docs/V1PersistentVolumeList.md +++ /dev/null @@ -1,13 +0,0 @@ -# V1PersistentVolumeList - -## 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 openshift.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/openshift/docs/V1PersistentVolumeSpec.md b/openshift/docs/V1PersistentVolumeSpec.md deleted file mode 100644 index 0359439d..00000000 --- a/openshift/docs/V1PersistentVolumeSpec.md +++ /dev/null @@ -1,30 +0,0 @@ -# V1PersistentVolumeSpec - -## Properties -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/openshift/docs/V1PersistentVolumeStatus.md b/openshift/docs/V1PersistentVolumeStatus.md deleted file mode 100644 index be527d13..00000000 --- a/openshift/docs/V1PersistentVolumeStatus.md +++ /dev/null @@ -1,12 +0,0 @@ -# V1PersistentVolumeStatus - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**message** | **str** | A human-readable message indicating details about why the volume is in this state. | [optional] -**phase** | **str** | Phase indicates if a volume is available, bound to a claim, or released by a claim. More info: http://kubernetes.io/docs/user-guide/persistent-volumes#phase | [optional] -**reason** | **str** | Reason is a brief CamelCase string that describes any failure and is meant for machine parsing and tidy display in the CLI. | [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/openshift/docs/V1PhotonPersistentDiskVolumeSource.md b/openshift/docs/V1PhotonPersistentDiskVolumeSource.md deleted file mode 100644 index 9442165c..00000000 --- a/openshift/docs/V1PhotonPersistentDiskVolumeSource.md +++ /dev/null @@ -1,11 +0,0 @@ -# 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/openshift/docs/V1Pod.md b/openshift/docs/V1Pod.md deleted file mode 100644 index aa5fedaf..00000000 --- a/openshift/docs/V1Pod.md +++ /dev/null @@ -1,14 +0,0 @@ -# V1Pod - -## 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 openshift.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] - -[[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/openshift/docs/V1PodCondition.md b/openshift/docs/V1PodCondition.md deleted file mode 100644 index 45d03e3e..00000000 --- a/openshift/docs/V1PodCondition.md +++ /dev/null @@ -1,15 +0,0 @@ -# V1PodCondition - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**last_probe_time** | [**UnversionedTime**](UnversionedTime.md) | Last time we probed the condition. | [optional] -**last_transition_time** | [**UnversionedTime**](UnversionedTime.md) | Last time the condition transitioned from one status to another. | [optional] -**message** | **str** | Human-readable message indicating details about last transition. | [optional] -**reason** | **str** | Unique, one-word, CamelCase reason for the condition's last transition. | [optional] -**status** | **str** | Status is the status of the condition. Can be True, False, Unknown. More info: http://kubernetes.io/docs/user-guide/pod-states#pod-conditions | -**type** | **str** | Type is the type of the condition. Currently only Ready. More info: http://kubernetes.io/docs/user-guide/pod-states#pod-conditions | - -[[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/openshift/docs/V1PodList.md b/openshift/docs/V1PodList.md deleted file mode 100644 index cd2a4377..00000000 --- a/openshift/docs/V1PodList.md +++ /dev/null @@ -1,13 +0,0 @@ -# V1PodList - -## 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 openshift.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/openshift/docs/V1PodSecurityContext.md b/openshift/docs/V1PodSecurityContext.md deleted file mode 100644 index d2caf984..00000000 --- a/openshift/docs/V1PodSecurityContext.md +++ /dev/null @@ -1,14 +0,0 @@ -# V1PodSecurityContext - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**fs_group** | **int** | A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod: 1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw---- If unset, the Kubelet will not modify the ownership and permissions of any volume. | [optional] -**run_as_non_root** | **bool** | Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. | [optional] -**run_as_user** | **int** | The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container. | [optional] -**se_linux_options** | [**V1SELinuxOptions**](V1SELinuxOptions.md) | The SELinux context to be applied to all containers. If unspecified, the container runtime will allocate a random SELinux context for each container. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container. | [optional] -**supplemental_groups** | **list[int]** | A list of groups applied to the first process run in each container, in addition to the container's primary GID. If unspecified, no groups will be added to any container. | [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/openshift/docs/V1PodSecurityPolicyReview.md b/openshift/docs/V1PodSecurityPolicyReview.md index 70194e9b..48004946 100644 --- a/openshift/docs/V1PodSecurityPolicyReview.md +++ b/openshift/docs/V1PodSecurityPolicyReview.md @@ -3,8 +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 openshift.client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional] +**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: https://git.k8s.io/community/contributors/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 openshift.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds | [optional] **spec** | [**V1PodSecurityPolicyReviewSpec**](V1PodSecurityPolicyReviewSpec.md) | spec is the PodSecurityPolicy to check. | **status** | [**V1PodSecurityPolicyReviewStatus**](V1PodSecurityPolicyReviewStatus.md) | status represents the current information/status for the PodSecurityPolicyReview. | [optional] diff --git a/openshift/docs/V1PodSecurityPolicySelfSubjectReview.md b/openshift/docs/V1PodSecurityPolicySelfSubjectReview.md index d2464a76..cdd694f8 100644 --- a/openshift/docs/V1PodSecurityPolicySelfSubjectReview.md +++ b/openshift/docs/V1PodSecurityPolicySelfSubjectReview.md @@ -3,8 +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 openshift.client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional] +**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: https://git.k8s.io/community/contributors/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 openshift.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds | [optional] **spec** | [**V1PodSecurityPolicySelfSubjectReviewSpec**](V1PodSecurityPolicySelfSubjectReviewSpec.md) | spec defines specification the PodSecurityPolicySelfSubjectReview. | **status** | [**V1PodSecurityPolicySubjectReviewStatus**](V1PodSecurityPolicySubjectReviewStatus.md) | status represents the current information/status for the PodSecurityPolicySelfSubjectReview. | [optional] diff --git a/openshift/docs/V1PodSecurityPolicySubjectReview.md b/openshift/docs/V1PodSecurityPolicySubjectReview.md index 2ffdeb17..1fd693d5 100644 --- a/openshift/docs/V1PodSecurityPolicySubjectReview.md +++ b/openshift/docs/V1PodSecurityPolicySubjectReview.md @@ -3,8 +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 openshift.client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional] +**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: https://git.k8s.io/community/contributors/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 openshift.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds | [optional] **spec** | [**V1PodSecurityPolicySubjectReviewSpec**](V1PodSecurityPolicySubjectReviewSpec.md) | spec defines specification for the PodSecurityPolicySubjectReview. | **status** | [**V1PodSecurityPolicySubjectReviewStatus**](V1PodSecurityPolicySubjectReviewStatus.md) | status represents the current information/status for the PodSecurityPolicySubjectReview. | [optional] diff --git a/openshift/docs/V1PodSpec.md b/openshift/docs/V1PodSpec.md deleted file mode 100644 index 1cd52d62..00000000 --- a/openshift/docs/V1PodSpec.md +++ /dev/null @@ -1,26 +0,0 @@ -# V1PodSpec - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**active_deadline_seconds** | **int** | Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer. | [optional] -**containers** | [**list[V1Container]**](V1Container.md) | List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/containers | -**dns_policy** | **str** | Set DNS policy for containers within the pod. One of 'ClusterFirst' or 'Default'. Defaults to \"ClusterFirst\". | [optional] -**host_ipc** | **bool** | Use the host's ipc namespace. Optional: Default to false. | [optional] -**host_network** | **bool** | Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false. | [optional] -**host_pid** | **bool** | Use the host's pid namespace. Optional: Default to false. | [optional] -**hostname** | **str** | Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value. | [optional] -**image_pull_secrets** | [**list[V1LocalObjectReference]**](V1LocalObjectReference.md) | ImagePullSecrets is an optional list of references to secrets in the same namespace to use for pulling any of the images used by this PodSpec. If specified, these secrets will be passed to individual puller implementations for them to use. For example, in the case of docker, only DockerConfig type secrets are honored. More info: http://kubernetes.io/docs/user-guide/images#specifying-imagepullsecrets-on-a-pod | [optional] -**node_name** | **str** | NodeName is a request to schedule this pod onto a specific node. If it is non-empty, the scheduler simply schedules this pod onto that node, assuming that it fits resource requirements. | [optional] -**node_selector** | **dict(str, str)** | NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: http://kubernetes.io/docs/user-guide/node-selection/README | [optional] -**restart_policy** | **str** | Restart policy for all containers within the pod. One of Always, OnFailure, Never. Default to Always. More info: http://kubernetes.io/docs/user-guide/pod-states#restartpolicy | [optional] -**security_context** | [**V1PodSecurityContext**](V1PodSecurityContext.md) | SecurityContext holds pod-level security attributes and common container settings. Optional: Defaults to empty. See type description for default values of each field. | [optional] -**service_account** | **str** | DeprecatedServiceAccount is a depreciated alias for ServiceAccountName. Deprecated: Use serviceAccountName instead. | [optional] -**service_account_name** | **str** | ServiceAccountName is the name of the ServiceAccount to use to run this pod. More info: http://releases.k8s.io/HEAD/docs/design/service_accounts.md | [optional] -**subdomain** | **str** | If specified, the fully qualified Pod hostname will be \"<hostname>.<subdomain>.<pod namespace>.svc.<cluster domain>\". If not specified, the pod will not have a domainname at all. | [optional] -**termination_grace_period_seconds** | **int** | Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds. | [optional] -**volumes** | [**list[V1Volume]**](V1Volume.md) | List of volumes that can be mounted by containers belonging to the pod. More info: http://kubernetes.io/docs/user-guide/volumes | [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/openshift/docs/V1PodStatus.md b/openshift/docs/V1PodStatus.md deleted file mode 100644 index 161cf18d..00000000 --- a/openshift/docs/V1PodStatus.md +++ /dev/null @@ -1,17 +0,0 @@ -# V1PodStatus - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**conditions** | [**list[V1PodCondition]**](V1PodCondition.md) | Current service state of pod. More info: http://kubernetes.io/docs/user-guide/pod-states#pod-conditions | [optional] -**container_statuses** | [**list[V1ContainerStatus]**](V1ContainerStatus.md) | The list has one entry per container in the manifest. Each entry is currently the output of `docker inspect`. More info: http://kubernetes.io/docs/user-guide/pod-states#container-statuses | [optional] -**host_ip** | **str** | IP address of the host to which the pod is assigned. Empty if not yet scheduled. | [optional] -**message** | **str** | A human readable message indicating details about why the pod is in this condition. | [optional] -**phase** | **str** | Current condition of the pod. More info: http://kubernetes.io/docs/user-guide/pod-states#pod-phase | [optional] -**pod_ip** | **str** | IP address allocated to the pod. Routable at least within the cluster. Empty if not yet allocated. | [optional] -**reason** | **str** | A brief CamelCase message indicating details about why the pod is in this state. e.g. 'OutOfDisk' | [optional] -**start_time** | [**UnversionedTime**](UnversionedTime.md) | RFC 3339 date and time at which the object was acknowledged by the Kubelet. This is before the Kubelet pulled the container image(s) for the 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/openshift/docs/V1PodTemplate.md b/openshift/docs/V1PodTemplate.md deleted file mode 100644 index c503cdd6..00000000 --- a/openshift/docs/V1PodTemplate.md +++ /dev/null @@ -1,13 +0,0 @@ -# V1PodTemplate - -## 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 openshift.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] - -[[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/openshift/docs/V1PodTemplateList.md b/openshift/docs/V1PodTemplateList.md deleted file mode 100644 index 63628c6a..00000000 --- a/openshift/docs/V1PodTemplateList.md +++ /dev/null @@ -1,13 +0,0 @@ -# V1PodTemplateList - -## 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 openshift.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/openshift/docs/V1PodTemplateSpec.md b/openshift/docs/V1PodTemplateSpec.md deleted file mode 100644 index 1c03a90d..00000000 --- a/openshift/docs/V1PodTemplateSpec.md +++ /dev/null @@ -1,11 +0,0 @@ -# V1PodTemplateSpec - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**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] - -[[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/openshift/docs/V1Policy.md b/openshift/docs/V1Policy.md deleted file mode 100644 index 822ebf67..00000000 --- a/openshift/docs/V1Policy.md +++ /dev/null @@ -1,14 +0,0 @@ -# V1Policy - -## 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 openshift.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_modified** | [**UnversionedTime**](UnversionedTime.md) | LastModified is the last time that any part of the Policy was created, updated, or deleted | -**metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | Standard object's metadata. | [optional] -**roles** | [**list[V1NamedRole]**](V1NamedRole.md) | Roles holds all the Roles held by this Policy, mapped by Role.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/openshift/docs/V1PolicyBinding.md b/openshift/docs/V1PolicyBinding.md deleted file mode 100644 index 1a6cc98b..00000000 --- a/openshift/docs/V1PolicyBinding.md +++ /dev/null @@ -1,15 +0,0 @@ -# V1PolicyBinding - -## 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 openshift.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_modified** | [**UnversionedTime**](UnversionedTime.md) | LastModified is the last time that any part of the PolicyBinding was created, updated, or deleted | -**metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | Standard object's metadata. | [optional] -**policy_ref** | [**V1ObjectReference**](V1ObjectReference.md) | PolicyRef is a reference to the Policy that contains all the Roles that this PolicyBinding's RoleBindings may reference | -**role_bindings** | [**list[V1NamedRoleBinding]**](V1NamedRoleBinding.md) | RoleBindings holds all the RoleBindings held by this PolicyBinding, mapped by RoleBinding.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/openshift/docs/V1PolicyList.md b/openshift/docs/V1PolicyList.md deleted file mode 100644 index e3a3e00c..00000000 --- a/openshift/docs/V1PolicyList.md +++ /dev/null @@ -1,13 +0,0 @@ -# V1PolicyList - -## 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[V1Policy]**](V1Policy.md) | Items is a list of Policies | -**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the openshift.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/openshift/docs/V1Preconditions.md b/openshift/docs/V1Preconditions.md deleted file mode 100644 index 256f3fca..00000000 --- a/openshift/docs/V1Preconditions.md +++ /dev/null @@ -1,10 +0,0 @@ -# V1Preconditions - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**uid** | **str** | Specifies the target UID. | [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/openshift/docs/V1Probe.md b/openshift/docs/V1Probe.md deleted file mode 100644 index 1913248c..00000000 --- a/openshift/docs/V1Probe.md +++ /dev/null @@ -1,17 +0,0 @@ -# V1Probe - -## 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/openshift/docs/V1Project.md b/openshift/docs/V1Project.md index db1a7384..d99cd24e 100644 --- a/openshift/docs/V1Project.md +++ b/openshift/docs/V1Project.md @@ -3,8 +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 openshift.client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional] +**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: https://git.k8s.io/community/contributors/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 openshift.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds | [optional] **metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | Standard object's metadata. | [optional] **spec** | [**V1ProjectSpec**](V1ProjectSpec.md) | Spec defines the behavior of the Namespace. | [optional] **status** | [**V1ProjectStatus**](V1ProjectStatus.md) | Status describes the current status of a Namespace | [optional] diff --git a/openshift/docs/V1ProjectList.md b/openshift/docs/V1ProjectList.md index 1a95baf2..8fb1b8d9 100644 --- a/openshift/docs/V1ProjectList.md +++ b/openshift/docs/V1ProjectList.md @@ -3,10 +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] +**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: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources | [optional] **items** | [**list[V1Project]**](V1Project.md) | Items is the list of projects | -**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the openshift.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] +**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the openshift.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds | [optional] +**metadata** | [**V1ListMeta**](V1ListMeta.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/openshift/docs/V1ProjectRequest.md b/openshift/docs/V1ProjectRequest.md index 30c28c53..93530309 100644 --- a/openshift/docs/V1ProjectRequest.md +++ b/openshift/docs/V1ProjectRequest.md @@ -3,10 +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] +**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: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources | [optional] **description** | **str** | Description is the description to apply to a project | [optional] **display_name** | **str** | DisplayName is the display name to apply to a project | [optional] -**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the openshift.client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional] +**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the openshift.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds | [optional] **metadata** | [**V1ObjectMeta**](V1ObjectMeta.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/openshift/docs/V1QuobyteVolumeSource.md b/openshift/docs/V1QuobyteVolumeSource.md deleted file mode 100644 index c92056fc..00000000 --- a/openshift/docs/V1QuobyteVolumeSource.md +++ /dev/null @@ -1,14 +0,0 @@ -# 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/openshift/docs/V1RBDVolumeSource.md b/openshift/docs/V1RBDVolumeSource.md index 47f4b037..7aff0a30 100644 --- a/openshift/docs/V1RBDVolumeSource.md +++ b/openshift/docs/V1RBDVolumeSource.md @@ -3,14 +3,14 @@ ## 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] +**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: https://kubernetes.io/docs/concepts/storage/volumes#rbd | [optional] +**image** | **str** | The rados image name. More info: https://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: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it | [optional] +**monitors** | **list[str]** | A collection of Ceph monitors. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it | +**pool** | **str** | The rados pool name. Default is rbd. More info: https://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: https://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: https://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: https://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/openshift/docs/V1ReplicationController.md b/openshift/docs/V1ReplicationController.md deleted file mode 100644 index b9ce30e6..00000000 --- a/openshift/docs/V1ReplicationController.md +++ /dev/null @@ -1,14 +0,0 @@ -# V1ReplicationController - -## 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 openshift.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] - -[[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/openshift/docs/V1ReplicationControllerCondition.md b/openshift/docs/V1ReplicationControllerCondition.md deleted file mode 100644 index 8dcfd1d3..00000000 --- a/openshift/docs/V1ReplicationControllerCondition.md +++ /dev/null @@ -1,14 +0,0 @@ -# V1ReplicationControllerCondition - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**last_transition_time** | [**UnversionedTime**](UnversionedTime.md) | The last time the condition transitioned from one status to another. | [optional] -**message** | **str** | A human readable message indicating details about the transition. | [optional] -**reason** | **str** | The reason for the condition's last transition. | [optional] -**status** | **str** | Status of the condition, one of True, False, Unknown. | -**type** | **str** | Type of replication controller condition. | - -[[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/openshift/docs/V1ReplicationControllerList.md b/openshift/docs/V1ReplicationControllerList.md deleted file mode 100644 index 3f1f632d..00000000 --- a/openshift/docs/V1ReplicationControllerList.md +++ /dev/null @@ -1,13 +0,0 @@ -# V1ReplicationControllerList - -## 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 openshift.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/openshift/docs/V1ReplicationControllerSpec.md b/openshift/docs/V1ReplicationControllerSpec.md deleted file mode 100644 index 82818bc8..00000000 --- a/openshift/docs/V1ReplicationControllerSpec.md +++ /dev/null @@ -1,13 +0,0 @@ -# V1ReplicationControllerSpec - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**min_ready_seconds** | **int** | Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready) | [optional] -**replicas** | **int** | Replicas is the number of desired replicas. This is a pointer to distinguish between explicit zero and unspecified. Defaults to 1. More info: http://kubernetes.io/docs/user-guide/replication-controller#what-is-a-replication-controller | [optional] -**selector** | **dict(str, str)** | Selector is a label query over pods that should match the Replicas count. If Selector is empty, it is defaulted to the labels present on the Pod template. Label keys and values that must match in order to be controlled by this replication controller, if empty defaulted to labels on Pod template. More info: http://kubernetes.io/docs/user-guide/labels#label-selectors | [optional] -**template** | [**V1PodTemplateSpec**](V1PodTemplateSpec.md) | Template is the object that describes the pod that will be created if insufficient replicas are detected. This takes precedence over a TemplateRef. More info: http://kubernetes.io/docs/user-guide/replication-controller#pod-template | [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/openshift/docs/V1ReplicationControllerStatus.md b/openshift/docs/V1ReplicationControllerStatus.md deleted file mode 100644 index 9dadae71..00000000 --- a/openshift/docs/V1ReplicationControllerStatus.md +++ /dev/null @@ -1,15 +0,0 @@ -# V1ReplicationControllerStatus - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**available_replicas** | **int** | The number of available replicas (ready for at least minReadySeconds) for this replication controller. | [optional] -**conditions** | [**list[V1ReplicationControllerCondition]**](V1ReplicationControllerCondition.md) | Represents the latest available observations of a replication controller's current state. | [optional] -**fully_labeled_replicas** | **int** | The number of pods that have labels matching the labels of the pod template of the replication controller. | [optional] -**observed_generation** | **int** | ObservedGeneration reflects the generation of the most recently observed replication controller. | [optional] -**ready_replicas** | **int** | The number of ready replicas for this replication controller. | [optional] -**replicas** | **int** | Replicas is the most recently oberved number of replicas. More info: http://kubernetes.io/docs/user-guide/replication-controller#what-is-a-replication-controller | - -[[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/openshift/docs/V1RepositoryImportStatus.md b/openshift/docs/V1RepositoryImportStatus.md index 0d88d54c..ef175561 100644 --- a/openshift/docs/V1RepositoryImportStatus.md +++ b/openshift/docs/V1RepositoryImportStatus.md @@ -5,7 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **additional_tags** | **list[str]** | AdditionalTags are tags that exist in the repository but were not imported because a maximum limit of automatic imports was applied. | [optional] **images** | [**list[V1ImageImportStatus]**](V1ImageImportStatus.md) | Images is a list of images successfully retrieved by the import of the repository. | [optional] -**status** | [**UnversionedStatus**](UnversionedStatus.md) | Status reflects whether any failure occurred during import | [optional] +**status** | [**V1Status**](V1Status.md) | Status reflects whether any failure occurred during import | [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/openshift/docs/V1ResourceAccessReview.md b/openshift/docs/V1ResourceAccessReview.md index 71796a78..6297d1d5 100644 --- a/openshift/docs/V1ResourceAccessReview.md +++ b/openshift/docs/V1ResourceAccessReview.md @@ -3,10 +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] +**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: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources | [optional] **content** | [**RuntimeRawExtension**](RuntimeRawExtension.md) | Content is the actual content of the request for create and update | [optional] **is_non_resource_url** | **bool** | IsNonResourceURL is true if this is a request for a non-resource URL (outside of the resource hieraarchy) | -**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the openshift.client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional] +**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the openshift.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds | [optional] **namespace** | **str** | Namespace is the namespace of the action being requested. Currently, there is no distinction between no namespace and all namespaces | **path** | **str** | Path is the path of a non resource URL | **resource** | **str** | Resource is one of the existing resource types | diff --git a/openshift/docs/V1ResourceFieldSelector.md b/openshift/docs/V1ResourceFieldSelector.md deleted file mode 100644 index e3d11911..00000000 --- a/openshift/docs/V1ResourceFieldSelector.md +++ /dev/null @@ -1,12 +0,0 @@ -# V1ResourceFieldSelector - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**container_name** | **str** | Container name: required for volumes, optional for env vars | [optional] -**divisor** | [**ResourceQuantity**](ResourceQuantity.md) | Specifies the output format of the exposed resources, defaults to \"1\" | [optional] -**resource** | **str** | Required: resource to select | - -[[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/openshift/docs/V1ResourceQuota.md b/openshift/docs/V1ResourceQuota.md deleted file mode 100644 index 9abee405..00000000 --- a/openshift/docs/V1ResourceQuota.md +++ /dev/null @@ -1,14 +0,0 @@ -# V1ResourceQuota - -## 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 openshift.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] - -[[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/openshift/docs/V1ResourceQuotaList.md b/openshift/docs/V1ResourceQuotaList.md deleted file mode 100644 index f60a165c..00000000 --- a/openshift/docs/V1ResourceQuotaList.md +++ /dev/null @@ -1,13 +0,0 @@ -# V1ResourceQuotaList - -## 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 openshift.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/openshift/docs/V1ResourceQuotaSpec.md b/openshift/docs/V1ResourceQuotaSpec.md deleted file mode 100644 index 5e0575bb..00000000 --- a/openshift/docs/V1ResourceQuotaSpec.md +++ /dev/null @@ -1,11 +0,0 @@ -# V1ResourceQuotaSpec - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**hard** | [**dict(str, ResourceQuantity)**](ResourceQuantity.md) | Hard is the set of desired hard limits for each named resource. More info: http://releases.k8s.io/HEAD/docs/design/admission_control_resource_quota.md#admissioncontrol-plugin-resourcequota | [optional] -**scopes** | **list[str]** | A collection of filters that must match each object tracked by a quota. If not specified, the quota matches all objects. | [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/openshift/docs/V1ResourceQuotaStatus.md b/openshift/docs/V1ResourceQuotaStatus.md deleted file mode 100644 index 6461b118..00000000 --- a/openshift/docs/V1ResourceQuotaStatus.md +++ /dev/null @@ -1,11 +0,0 @@ -# V1ResourceQuotaStatus - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**hard** | [**dict(str, ResourceQuantity)**](ResourceQuantity.md) | Hard is the set of enforced hard limits for each named resource. More info: http://releases.k8s.io/HEAD/docs/design/admission_control_resource_quota.md#admissioncontrol-plugin-resourcequota | [optional] -**used** | [**dict(str, ResourceQuantity)**](ResourceQuantity.md) | Used is the current observed total usage of the resource in the namespace. | [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/openshift/docs/V1ResourceRequirements.md b/openshift/docs/V1ResourceRequirements.md deleted file mode 100644 index abbc258e..00000000 --- a/openshift/docs/V1ResourceRequirements.md +++ /dev/null @@ -1,11 +0,0 @@ -# V1ResourceRequirements - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**limits** | [**dict(str, ResourceQuantity)**](ResourceQuantity.md) | Limits describes the maximum amount of compute resources allowed. More info: http://kubernetes.io/docs/user-guide/compute-resources/ | [optional] -**requests** | [**dict(str, ResourceQuantity)**](ResourceQuantity.md) | Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: http://kubernetes.io/docs/user-guide/compute-resources/ | [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/openshift/docs/V1Role.md b/openshift/docs/V1Role.md index f1e1ec52..11577e45 100644 --- a/openshift/docs/V1Role.md +++ b/openshift/docs/V1Role.md @@ -3,8 +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 openshift.client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional] +**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: https://git.k8s.io/community/contributors/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 openshift.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds | [optional] **metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | Standard object's metadata. | [optional] **rules** | [**list[V1PolicyRule]**](V1PolicyRule.md) | Rules holds all the PolicyRules for this Role | diff --git a/openshift/docs/V1RoleBinding.md b/openshift/docs/V1RoleBinding.md index 3c6f31c6..3c5e733f 100644 --- a/openshift/docs/V1RoleBinding.md +++ b/openshift/docs/V1RoleBinding.md @@ -3,9 +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] +**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: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources | [optional] **group_names** | **list[str]** | GroupNames holds all the groups directly bound to the role. This field should only be specified when supporting legacy openshift.clients and servers. See Subjects for further details. | -**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the openshift.client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional] +**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the openshift.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds | [optional] **metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | Standard object's metadata. | [optional] **role_ref** | [**V1ObjectReference**](V1ObjectReference.md) | RoleRef can only reference the current namespace and the global namespace. If the RoleRef cannot be resolved, the Authorizer must return an error. Since Policy is a singleton, this is sufficient knowledge to locate a role. | **subjects** | [**list[V1ObjectReference]**](V1ObjectReference.md) | Subjects hold object references to authorize with this rule. This field is ignored if UserNames or GroupNames are specified to support legacy openshift.clients and servers. Thus newer openshift.clients that do not need to support backwards compatibility should send only fully qualified Subjects and should omit the UserNames and GroupNames fields. Clients that need to support backwards compatibility can use this field to build the UserNames and GroupNames. | diff --git a/openshift/docs/V1RoleBindingList.md b/openshift/docs/V1RoleBindingList.md index 5faba40b..2234b2c3 100644 --- a/openshift/docs/V1RoleBindingList.md +++ b/openshift/docs/V1RoleBindingList.md @@ -3,10 +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] +**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: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources | [optional] **items** | [**list[V1RoleBinding]**](V1RoleBinding.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 openshift.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] +**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the openshift.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds | [optional] +**metadata** | [**V1ListMeta**](V1ListMeta.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/openshift/docs/V1RoleBindingRestriction.md b/openshift/docs/V1RoleBindingRestriction.md index a8e8afea..e8e9cd72 100644 --- a/openshift/docs/V1RoleBindingRestriction.md +++ b/openshift/docs/V1RoleBindingRestriction.md @@ -3,8 +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 openshift.client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional] +**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: https://git.k8s.io/community/contributors/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 openshift.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds | [optional] **metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | Standard object's metadata. | **spec** | [**V1RoleBindingRestrictionSpec**](V1RoleBindingRestrictionSpec.md) | Spec defines the matcher. | diff --git a/openshift/docs/V1RoleBindingRestrictionList.md b/openshift/docs/V1RoleBindingRestrictionList.md index 4c0434be..4c83a952 100644 --- a/openshift/docs/V1RoleBindingRestrictionList.md +++ b/openshift/docs/V1RoleBindingRestrictionList.md @@ -3,10 +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] +**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: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources | [optional] **items** | [**list[V1RoleBindingRestriction]**](V1RoleBindingRestriction.md) | Items is a list of RoleBindingRestriction objects. | -**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the openshift.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] +**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the openshift.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds | [optional] +**metadata** | [**V1ListMeta**](V1ListMeta.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/openshift/docs/V1RoleList.md b/openshift/docs/V1RoleList.md index 5f551018..384721b0 100644 --- a/openshift/docs/V1RoleList.md +++ b/openshift/docs/V1RoleList.md @@ -3,10 +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] +**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: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources | [optional] **items** | [**list[V1Role]**](V1Role.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 openshift.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] +**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the openshift.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds | [optional] +**metadata** | [**V1ListMeta**](V1ListMeta.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/openshift/docs/V1RollingDeploymentStrategyParams.md b/openshift/docs/V1RollingDeploymentStrategyParams.md index bdee8490..ab491c41 100644 --- a/openshift/docs/V1RollingDeploymentStrategyParams.md +++ b/openshift/docs/V1RollingDeploymentStrategyParams.md @@ -4,8 +4,8 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **interval_seconds** | **int** | IntervalSeconds is the time to wait between polling deployment status after update. If the value is nil, a default will be used. | [optional] -**max_surge** | [**IntstrIntOrString**](IntstrIntOrString.md) | MaxSurge is the maximum number of pods that can be scheduled above the original number of pods. Value can be an absolute number (ex: 5) or a percentage of total pods at the start of the update (ex: 10%). Absolute number is calculated from percentage by rounding up. This cannot be 0 if MaxUnavailable is 0. By default, 25% is used. Example: when this is set to 30%, the new RC can be scaled up by 30% immediately when the rolling update starts. Once old pods have been killed, new RC can be scaled up further, ensuring that total number of pods running at any time during the update is atmost 130% of original pods. | [optional] -**max_unavailable** | [**IntstrIntOrString**](IntstrIntOrString.md) | MaxUnavailable is the maximum number of pods that can be unavailable during the update. Value can be an absolute number (ex: 5) or a percentage of total pods at the start of update (ex: 10%). Absolute number is calculated from percentage by rounding down. This cannot be 0 if MaxSurge is 0. By default, 25% is used. Example: when this is set to 30%, the old RC can be scaled down by 30% immediately when the rolling update starts. Once new pods are ready, old RC can be scaled down further, followed by scaling up the new RC, ensuring that at least 70% of original number of pods are available at all times during the update. | [optional] +**max_surge** | **str** | MaxSurge is the maximum number of pods that can be scheduled above the original number of pods. Value can be an absolute number (ex: 5) or a percentage of total pods at the start of the update (ex: 10%). Absolute number is calculated from percentage by rounding up. This cannot be 0 if MaxUnavailable is 0. By default, 25% is used. Example: when this is set to 30%, the new RC can be scaled up by 30% immediately when the rolling update starts. Once old pods have been killed, new RC can be scaled up further, ensuring that total number of pods running at any time during the update is atmost 130% of original pods. | [optional] +**max_unavailable** | **str** | MaxUnavailable is the maximum number of pods that can be unavailable during the update. Value can be an absolute number (ex: 5) or a percentage of total pods at the start of update (ex: 10%). Absolute number is calculated from percentage by rounding down. This cannot be 0 if MaxSurge is 0. By default, 25% is used. Example: when this is set to 30%, the old RC can be scaled down by 30% immediately when the rolling update starts. Once new pods are ready, old RC can be scaled down further, followed by scaling up the new RC, ensuring that at least 70% of original number of pods are available at all times during the update. | [optional] **post** | [**V1LifecycleHook**](V1LifecycleHook.md) | Post is a lifecycle hook which is executed after the strategy has finished all deployment logic. All LifecycleHookFailurePolicy values are supported. | [optional] **pre** | [**V1LifecycleHook**](V1LifecycleHook.md) | Pre is a lifecycle hook which is executed before the deployment process begins. All LifecycleHookFailurePolicy values are supported. | [optional] **timeout_seconds** | **int** | TimeoutSeconds is the time to wait for updates before giving up. If the value is nil, a default will be used. | [optional] diff --git a/openshift/docs/V1Route.md b/openshift/docs/V1Route.md index b31e7c5f..d2424f4b 100644 --- a/openshift/docs/V1Route.md +++ b/openshift/docs/V1Route.md @@ -3,8 +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 openshift.client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional] +**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: https://git.k8s.io/community/contributors/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 openshift.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds | [optional] **metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | Standard object metadata. | [optional] **spec** | [**V1RouteSpec**](V1RouteSpec.md) | spec is the desired state of the route | **status** | [**V1RouteStatus**](V1RouteStatus.md) | status is the current state of the route | diff --git a/openshift/docs/V1RouteIngressCondition.md b/openshift/docs/V1RouteIngressCondition.md index e822f498..8f4e81d4 100644 --- a/openshift/docs/V1RouteIngressCondition.md +++ b/openshift/docs/V1RouteIngressCondition.md @@ -3,7 +3,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**last_transition_time** | [**UnversionedTime**](UnversionedTime.md) | RFC 3339 date and time when this condition last transitioned | [optional] +**last_transition_time** | **datetime** | RFC 3339 date and time when this condition last transitioned | [optional] **message** | **str** | Human readable message indicating details about last transition. | [optional] **reason** | **str** | (brief) reason for the condition's last transition, and is usually a machine and human readable constant | [optional] **status** | **str** | Status is the status of the condition. Can be True, False, Unknown. | diff --git a/openshift/docs/V1RouteList.md b/openshift/docs/V1RouteList.md index 7bfae4ec..d773ab3e 100644 --- a/openshift/docs/V1RouteList.md +++ b/openshift/docs/V1RouteList.md @@ -3,10 +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] +**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: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources | [optional] **items** | [**list[V1Route]**](V1Route.md) | items is a list of routes | -**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the openshift.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 metadata. | [optional] +**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the openshift.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds | [optional] +**metadata** | [**V1ListMeta**](V1ListMeta.md) | Standard object 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/openshift/docs/V1RoutePort.md b/openshift/docs/V1RoutePort.md index 1ba72885..7175f16e 100644 --- a/openshift/docs/V1RoutePort.md +++ b/openshift/docs/V1RoutePort.md @@ -3,7 +3,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**target_port** | [**IntstrIntOrString**](IntstrIntOrString.md) | The target port on pods selected by the service this route points to. If this is a string, it will be looked up as a named port in the target endpoints port list. Required | +**target_port** | **str** | The target port on pods selected by the service this route points to. If this is a string, it will be looked up as a named port in the target endpoints port list. Required | [[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/openshift/docs/V1RouteSpec.md b/openshift/docs/V1RouteSpec.md index 85744924..ac9f55a9 100644 --- a/openshift/docs/V1RouteSpec.md +++ b/openshift/docs/V1RouteSpec.md @@ -3,12 +3,12 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**alternate_backends** | [**list[V1RouteTargetReference]**](V1RouteTargetReference.md) | alternateBackends is an extension of the 'to' field. If more than one service needs to be pointed to, then use this field. Use the weight field in RouteTargetReference object to specify relative preference. If the weight field is zero, the backend is ignored. | [optional] +**alternate_backends** | [**list[V1RouteTargetReference]**](V1RouteTargetReference.md) | alternateBackends allows up to 3 additional backends to be assigned to the route. Only the Service kind is allowed, and it will be defaulted to Service. Use the weight field in RouteTargetReference object to specify relative preference. | [optional] **host** | **str** | host is an alias/DNS that points to the service. Optional. If not specified a route name will typically be automatically chosen. Must follow DNS952 subdomain conventions. | **path** | **str** | Path that the router watches for, to route traffic for to the service. Optional | [optional] **port** | [**V1RoutePort**](V1RoutePort.md) | If specified, the port to be used by the router. Most routers will use all endpoints exposed by the service by default - set this value to instruct routers which port to use. | [optional] **tls** | [**V1TLSConfig**](V1TLSConfig.md) | The tls field provides the ability to configure certificates and termination for the route. | [optional] -**to** | [**V1RouteTargetReference**](V1RouteTargetReference.md) | to is an object the route should use as the primary backend. Only the Service kind is allowed, and it will be defaulted to Service. If the weight field is set to zero, no traffic will be sent to this service. | +**to** | [**V1RouteTargetReference**](V1RouteTargetReference.md) | to is an object the route should use as the primary backend. Only the Service kind is allowed, and it will be defaulted to Service. If the weight field (0-256 default 1) is set to zero, no traffic will be sent to this backend. | **wildcard_policy** | **str** | Wildcard policy if any for the route. Currently only 'Subdomain' or 'None' is allowed. | [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/openshift/docs/V1RouteTargetReference.md b/openshift/docs/V1RouteTargetReference.md index be42c68f..8ab165e6 100644 --- a/openshift/docs/V1RouteTargetReference.md +++ b/openshift/docs/V1RouteTargetReference.md @@ -5,7 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **kind** | **str** | The kind of target that the route is referring to. Currently, only 'Service' is allowed | **name** | **str** | name of the service/target that is being referred to. e.g. name of the service | -**weight** | **int** | weight as an integer between 1 and 256 that specifies the target's relative weight against other target reference objects | +**weight** | **int** | weight as an integer between 0 and 256, default 1, that specifies the target's relative weight against other target reference objects. 0 suppresses requests to this backend. | [[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/openshift/docs/V1Scale.md b/openshift/docs/V1Scale.md deleted file mode 100644 index 4dac0862..00000000 --- a/openshift/docs/V1Scale.md +++ /dev/null @@ -1,14 +0,0 @@ -# V1Scale - -## 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 openshift.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] - -[[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/openshift/docs/V1ScaleIOVolumeSource.md b/openshift/docs/V1ScaleIOVolumeSource.md new file mode 100644 index 00000000..ebd3a0d1 --- /dev/null +++ b/openshift/docs/V1ScaleIOVolumeSource.md @@ -0,0 +1,19 @@ +# V1ScaleIOVolumeSource + +## 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] +**gateway** | **str** | The host address of the ScaleIO API Gateway. | +**protection_domain** | **str** | The name of the Protection Domain for the configured storage (defaults to \"default\"). | [optional] +**read_only** | **bool** | Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. | [optional] +**secret_ref** | [**V1LocalObjectReference**](V1LocalObjectReference.md) | SecretRef references to the secret for ScaleIO user and other sensitive information. If this is not provided, Login operation will fail. | +**ssl_enabled** | **bool** | Flag to enable/disable SSL communication with Gateway, default false | [optional] +**storage_mode** | **str** | Indicates whether the storage for a volume should be thick or thin (defaults to \"thin\"). | [optional] +**storage_pool** | **str** | The Storage Pool associated with the protection domain (defaults to \"default\"). | [optional] +**system** | **str** | The name of the storage system as configured in ScaleIO. | +**volume_name** | **str** | The name of a volume already created in the ScaleIO system that is associated with this volume source. | [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/openshift/docs/V1ScaleSpec.md b/openshift/docs/V1ScaleSpec.md deleted file mode 100644 index 84005741..00000000 --- a/openshift/docs/V1ScaleSpec.md +++ /dev/null @@ -1,10 +0,0 @@ -# V1ScaleSpec - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**replicas** | **int** | desired number of instances for the scaled object. | [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/openshift/docs/V1ScaleStatus.md b/openshift/docs/V1ScaleStatus.md deleted file mode 100644 index 2e5d093f..00000000 --- a/openshift/docs/V1ScaleStatus.md +++ /dev/null @@ -1,11 +0,0 @@ -# V1ScaleStatus - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**replicas** | **int** | actual number of observed instances of the scaled object. | -**selector** | **str** | label query over pods that should match the replicas count. This is same as the label selector but in the string format to avoid introspection by openshift.clients. The string will be in the same format as the query-param syntax. More info about label selectors: http://kubernetes.io/docs/user-guide/labels#label-selectors | [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/openshift/docs/V1Secret.md b/openshift/docs/V1Secret.md deleted file mode 100644 index d0be28d6..00000000 --- a/openshift/docs/V1Secret.md +++ /dev/null @@ -1,15 +0,0 @@ -# V1Secret - -## 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 openshift.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] - -[[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/openshift/docs/V1SecretKeySelector.md b/openshift/docs/V1SecretKeySelector.md deleted file mode 100644 index ef697d21..00000000 --- a/openshift/docs/V1SecretKeySelector.md +++ /dev/null @@ -1,11 +0,0 @@ -# V1SecretKeySelector - -## Properties -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/openshift/docs/V1SecretList.md b/openshift/docs/V1SecretList.md deleted file mode 100644 index 81e72902..00000000 --- a/openshift/docs/V1SecretList.md +++ /dev/null @@ -1,13 +0,0 @@ -# V1SecretList - -## 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 openshift.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/openshift/docs/V1SecretVolumeSource.md b/openshift/docs/V1SecretVolumeSource.md deleted file mode 100644 index e7bb6294..00000000 --- a/openshift/docs/V1SecretVolumeSource.md +++ /dev/null @@ -1,12 +0,0 @@ -# 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/openshift/docs/V1SecurityContext.md b/openshift/docs/V1SecurityContext.md deleted file mode 100644 index d475c06b..00000000 --- a/openshift/docs/V1SecurityContext.md +++ /dev/null @@ -1,15 +0,0 @@ -# V1SecurityContext - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**capabilities** | [**V1Capabilities**](V1Capabilities.md) | The capabilities to add/drop when running containers. Defaults to the default set of capabilities granted by the container runtime. | [optional] -**privileged** | **bool** | Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false. | [optional] -**read_only_root_filesystem** | **bool** | Whether this container has a read-only root filesystem. Default is false. | [optional] -**run_as_non_root** | **bool** | Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. | [optional] -**run_as_user** | **int** | The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. | [optional] -**se_linux_options** | [**V1SELinuxOptions**](V1SELinuxOptions.md) | The SELinux context to be applied to the container. If unspecified, the container runtime will allocate a random SELinux context for each container. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. | [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/openshift/docs/V1SecurityContextConstraints.md b/openshift/docs/V1SecurityContextConstraints.md index 4ce3d2a2..465bdfec 100644 --- a/openshift/docs/V1SecurityContextConstraints.md +++ b/openshift/docs/V1SecurityContextConstraints.md @@ -10,13 +10,14 @@ Name | Type | Description | Notes **allow_host_ports** | **bool** | AllowHostPorts determines if the policy allows host ports in the containers. | **allow_privileged_container** | **bool** | AllowPrivilegedContainer determines if a container can request to be run as privileged. | **allowed_capabilities** | **list[str]** | AllowedCapabilities is a list of capabilities that can be requested to add to the container. Capabilities in this field maybe added at the pod author's discretion. You must not list a capability in both AllowedCapabilities and RequiredDropCapabilities. To allow all capabilities you may use '*'. | -**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] +**allowed_flex_volumes** | [**list[V1AllowedFlexVolume]**](V1AllowedFlexVolume.md) | AllowedFlexVolumes is a whitelist of allowed Flexvolumes. Empty or nil indicates that all Flexvolumes may be used. This parameter is effective only when the usage of the Flexvolumes is allowed in the \"Volumes\" field. | +**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: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources | [optional] **default_add_capabilities** | **list[str]** | DefaultAddCapabilities is the default set of capabilities that will be added to the container unless the pod spec specifically drops the capability. You may not list a capabiility in both DefaultAddCapabilities and RequiredDropCapabilities. | **fs_group** | [**V1FSGroupStrategyOptions**](V1FSGroupStrategyOptions.md) | FSGroup is the strategy that will dictate what fs group is used by the SecurityContext. | [optional] **groups** | **list[str]** | The groups that have permission to use this security context constraints | [optional] -**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the openshift.client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional] +**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the openshift.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/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] -**priority** | **int** | Priority influences the sort order of SCCs when evaluating which SCCs to try first for a given pod request based on access in the Users and Groups fields. The higher the int, the higher priority. If scores for multiple SCCs are equal they will be sorted by name. | +**priority** | **int** | Priority influences the sort order of SCCs when evaluating which SCCs to try first for a given pod request based on access in the Users and Groups fields. The higher the int, the higher priority. An unset value is considered a 0 priority. If scores for multiple SCCs are equal they will be sorted from most restrictive to least restrictive. If both priorities and restrictions are equal the SCCs will be sorted by name. | **read_only_root_filesystem** | **bool** | ReadOnlyRootFilesystem when set to true will force containers to run with a read only root file system. If the container specifically requests to run with a non-read only root file system the SCC should deny the pod. If set to false the container may run with a read only root file system if it wishes but it will not be forced to. | **required_drop_capabilities** | **list[str]** | RequiredDropCapabilities are the capabilities that will be dropped from the container. These are required to be dropped and cannot be added. | **run_as_user** | [**V1RunAsUserStrategyOptions**](V1RunAsUserStrategyOptions.md) | RunAsUser is the strategy that will dictate what RunAsUser is used in the SecurityContext. | [optional] @@ -24,7 +25,7 @@ Name | Type | Description | Notes **seccomp_profiles** | **list[str]** | SeccompProfiles lists the allowed profiles that may be set for the pod or container's seccomp annotations. An unset (nil) or empty value means that no profiles may be specifid by the pod or container. The wildcard '*' may be used to allow all profiles. When used to generate a value for a pod the first non-wildcard profile will be used as the default. | [optional] **supplemental_groups** | [**V1SupplementalGroupsStrategyOptions**](V1SupplementalGroupsStrategyOptions.md) | SupplementalGroups is the strategy that will dictate what supplemental groups are used by the SecurityContext. | [optional] **users** | **list[str]** | The users who have permissions to use this security context constraints | [optional] -**volumes** | **list[str]** | Volumes is a white list of allowed volume plugins. FSType corresponds directly with the field names of a VolumeSource (azureFile, configMap, emptyDir). To allow all volumes you may use '*'. | +**volumes** | **list[str]** | Volumes is a white list of allowed volume plugins. FSType corresponds directly with the field names of a VolumeSource (azureFile, configMap, emptyDir). To allow all volumes you may use \"*\". To allow no volumes, set to [\"none\"]. | [[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/openshift/docs/V1SecurityContextConstraintsList.md b/openshift/docs/V1SecurityContextConstraintsList.md index 57b1cd05..8202a4be 100644 --- a/openshift/docs/V1SecurityContextConstraintsList.md +++ b/openshift/docs/V1SecurityContextConstraintsList.md @@ -3,10 +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] +**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: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources | [optional] **items** | [**list[V1SecurityContextConstraints]**](V1SecurityContextConstraints.md) | List of security context constraints. | -**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the openshift.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] +**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the openshift.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds | [optional] +**metadata** | [**V1ListMeta**](V1ListMeta.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/openshift/docs/V1SelfSubjectRulesReview.md b/openshift/docs/V1SelfSubjectRulesReview.md index ed1ff391..0a0cdd1f 100644 --- a/openshift/docs/V1SelfSubjectRulesReview.md +++ b/openshift/docs/V1SelfSubjectRulesReview.md @@ -3,8 +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 openshift.client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional] +**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: https://git.k8s.io/community/contributors/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 openshift.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds | [optional] **spec** | [**V1SelfSubjectRulesReviewSpec**](V1SelfSubjectRulesReviewSpec.md) | Spec adds information about how to conduct the check | **status** | [**V1SubjectRulesReviewStatus**](V1SubjectRulesReviewStatus.md) | Status is completed by the server to tell which permissions you have | [optional] diff --git a/openshift/docs/UnversionedServerAddressByClientCIDR.md b/openshift/docs/V1ServerAddressByClientCIDR.md similarity index 93% rename from openshift/docs/UnversionedServerAddressByClientCIDR.md rename to openshift/docs/V1ServerAddressByClientCIDR.md index 764b4214..4e610b13 100644 --- a/openshift/docs/UnversionedServerAddressByClientCIDR.md +++ b/openshift/docs/V1ServerAddressByClientCIDR.md @@ -1,4 +1,4 @@ -# UnversionedServerAddressByClientCIDR +# V1ServerAddressByClientCIDR ## Properties Name | Type | Description | Notes diff --git a/openshift/docs/V1Service.md b/openshift/docs/V1Service.md deleted file mode 100644 index 97d20f84..00000000 --- a/openshift/docs/V1Service.md +++ /dev/null @@ -1,14 +0,0 @@ -# V1Service - -## 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 openshift.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] - -[[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/openshift/docs/V1ServiceAccount.md b/openshift/docs/V1ServiceAccount.md deleted file mode 100644 index d49243ec..00000000 --- a/openshift/docs/V1ServiceAccount.md +++ /dev/null @@ -1,14 +0,0 @@ -# V1ServiceAccount - -## 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 openshift.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] - -[[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/openshift/docs/V1ServiceAccountList.md b/openshift/docs/V1ServiceAccountList.md deleted file mode 100644 index ced9491a..00000000 --- a/openshift/docs/V1ServiceAccountList.md +++ /dev/null @@ -1,13 +0,0 @@ -# V1ServiceAccountList - -## 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 openshift.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/openshift/docs/V1ServiceList.md b/openshift/docs/V1ServiceList.md deleted file mode 100644 index cbca8dec..00000000 --- a/openshift/docs/V1ServiceList.md +++ /dev/null @@ -1,13 +0,0 @@ -# V1ServiceList - -## 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 openshift.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/openshift/docs/V1ServicePort.md b/openshift/docs/V1ServicePort.md deleted file mode 100644 index e29f6c54..00000000 --- a/openshift/docs/V1ServicePort.md +++ /dev/null @@ -1,14 +0,0 @@ -# V1ServicePort - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**name** | **str** | The name of this port within the service. This must be a DNS_LABEL. All ports within a ServiceSpec must have unique names. This maps to the 'Name' field in EndpointPort objects. Optional if only one ServicePort is defined on this service. | [optional] -**node_port** | **int** | The port on each node on which this service is exposed when type=NodePort or LoadBalancer. Usually assigned by the system. If specified, it will be allocated to the service if unused or else creation of the service will fail. Default is to auto-allocate a port if the ServiceType of this Service requires one. More info: http://kubernetes.io/docs/user-guide/services#type--nodeport | [optional] -**port** | **int** | The port that will be exposed by this service. | -**protocol** | **str** | The IP protocol for this port. Supports \"TCP\" and \"UDP\". Default is TCP. | [optional] -**target_port** | [**IntstrIntOrString**](IntstrIntOrString.md) | Number or name of the port to access on the pods targeted by the service. Number must be in the range 1 to 65535. Name must be an IANA_SVC_NAME. If this is a string, it will be looked up as a named port in the target Pod's container ports. If this is not specified, the value of the 'port' field is used (an identity map). This field is ignored for services with clusterIP=None, and should be omitted or set equal to the 'port' field. More info: http://kubernetes.io/docs/user-guide/services#defining-a-service | [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/openshift/docs/V1ServiceSpec.md b/openshift/docs/V1ServiceSpec.md deleted file mode 100644 index 9c9f8acb..00000000 --- a/openshift/docs/V1ServiceSpec.md +++ /dev/null @@ -1,19 +0,0 @@ -# V1ServiceSpec - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**cluster_ip** | **str** | clusterIP is the IP address of the service and is usually assigned randomly by the master. If an address is specified manually and is not in use by others, it will be allocated to the service; otherwise, creation of the service will fail. This field can not be changed through updates. Valid values are \"None\", empty string (\"\"), or a valid IP address. \"None\" can be specified for headless services when proxying is not required. Only applies to types ClusterIP, NodePort, and LoadBalancer. Ignored if type is ExternalName. More info: http://kubernetes.io/docs/user-guide/services#virtual-ips-and-service-proxies | [optional] -**deprecated_public_i_ps** | **list[str]** | deprecatedPublicIPs is deprecated and replaced by the externalIPs field with almost the exact same semantics. This field is retained in the v1 API for compatibility until at least 8/20/2016. It will be removed from any new API revisions. If both deprecatedPublicIPs *and* externalIPs are set, deprecatedPublicIPs is used. | [optional] -**external_i_ps** | **list[str]** | externalIPs is a list of IP addresses for which nodes in the cluster will also accept traffic for this service. These IPs are not managed by Kubernetes. The user is responsible for ensuring that traffic arrives at a node with this IP. A common example is external load-balancers that are not part of the Kubernetes system. A previous form of this functionality exists as the deprecatedPublicIPs field. When using this field, callers should also clear the deprecatedPublicIPs field. | [optional] -**external_name** | **str** | externalName is the external reference that kubedns or equivalent will return as a CNAME record for this service. No proxying will be involved. Must be a valid DNS name and requires Type to be ExternalName. | [optional] -**load_balancer_ip** | **str** | Only applies to Service Type: LoadBalancer LoadBalancer will get created with the IP specified in this field. This feature depends on whether the underlying cloud-provider supports specifying the loadBalancerIP when a load balancer is created. This field will be ignored if the cloud-provider does not support the feature. | [optional] -**load_balancer_source_ranges** | **list[str]** | If specified and supported by the platform, this will restrict traffic through the cloud-provider load-balancer will be restricted to the specified openshift.client IPs. This field will be ignored if the cloud-provider does not support the feature.\" More info: http://kubernetes.io/docs/user-guide/services-firewalls | [optional] -**ports** | [**list[V1ServicePort]**](V1ServicePort.md) | The list of ports that are exposed by this service. More info: http://kubernetes.io/docs/user-guide/services#virtual-ips-and-service-proxies | -**selector** | **dict(str, str)** | Route service traffic to pods with label keys and values matching this selector. If empty or not present, the service is assumed to have an external process managing its endpoints, which Kubernetes will not modify. Only applies to types ClusterIP, NodePort, and LoadBalancer. Ignored if type is ExternalName. More info: http://kubernetes.io/docs/user-guide/services#overview | [optional] -**session_affinity** | **str** | Supports \"ClientIP\" and \"None\". Used to maintain session affinity. Enable openshift.client IP based session affinity. Must be ClientIP or None. Defaults to None. More info: http://kubernetes.io/docs/user-guide/services#virtual-ips-and-service-proxies | [optional] -**type** | **str** | type determines how the Service is exposed. Defaults to ClusterIP. Valid options are ExternalName, ClusterIP, NodePort, and LoadBalancer. \"ExternalName\" maps to the specified externalName. \"ClusterIP\" allocates a cluster-internal IP address for load-balancing to endpoints. Endpoints are determined by the selector or if that is not specified, by manual construction of an Endpoints object. If clusterIP is \"None\", no virtual IP is allocated and the endpoints are published as a set of endpoints rather than a stable IP. \"NodePort\" builds on ClusterIP and allocates a port on every node which routes to the clusterIP. \"LoadBalancer\" builds on NodePort and creates an external load-balancer (if supported in the current cloud) which routes to the clusterIP. More info: http://kubernetes.io/docs/user-guide/services#overview | [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/openshift/docs/V1ServiceStatus.md b/openshift/docs/V1ServiceStatus.md deleted file mode 100644 index 7db42376..00000000 --- a/openshift/docs/V1ServiceStatus.md +++ /dev/null @@ -1,10 +0,0 @@ -# V1ServiceStatus - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**load_balancer** | [**V1LoadBalancerStatus**](V1LoadBalancerStatus.md) | LoadBalancer contains the current status of the load-balancer, if one is present. | [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/openshift/docs/V1SignatureCondition.md b/openshift/docs/V1SignatureCondition.md index 8628cf2e..536dd9f3 100644 --- a/openshift/docs/V1SignatureCondition.md +++ b/openshift/docs/V1SignatureCondition.md @@ -3,8 +3,8 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**last_probe_time** | [**UnversionedTime**](UnversionedTime.md) | Last time the condition was checked. | [optional] -**last_transition_time** | [**UnversionedTime**](UnversionedTime.md) | Last time the condition transit from one status to another. | [optional] +**last_probe_time** | **datetime** | Last time the condition was checked. | [optional] +**last_transition_time** | **datetime** | Last time the condition transit from one status to another. | [optional] **message** | **str** | Human readable message indicating details about last transition. | [optional] **reason** | **str** | (brief) reason for the condition's last transition. | [optional] **status** | **str** | Status of the condition, one of True, False, Unknown. | diff --git a/openshift/docs/V1SourceBuildStrategy.md b/openshift/docs/V1SourceBuildStrategy.md index f3e00cb5..5929dd64 100644 --- a/openshift/docs/V1SourceBuildStrategy.md +++ b/openshift/docs/V1SourceBuildStrategy.md @@ -3,7 +3,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**env** | [**list[V1EnvVar]**](V1EnvVar.md) | env contains additional environment variables you want to pass into a builder container. ValueFrom is not supported. | [optional] +**env** | [**list[V1EnvVar]**](V1EnvVar.md) | env contains additional environment variables you want to pass into a builder container. | [optional] **force_pull** | **bool** | forcePull describes if the builder should pull the images from registry prior to building. | [optional] **_from** | [**V1ObjectReference**](V1ObjectReference.md) | from is reference to an DockerImage, ImageStreamTag, or ImageStreamImage from which the docker image should be pulled | **incremental** | **bool** | incremental flag forces the Source build to do incremental builds if true. | [optional] diff --git a/openshift/docs/ResourceQuantity.md b/openshift/docs/V1SourceStrategyOptions.md similarity index 64% rename from openshift/docs/ResourceQuantity.md rename to openshift/docs/V1SourceStrategyOptions.md index 8304f32f..a1c72448 100644 --- a/openshift/docs/ResourceQuantity.md +++ b/openshift/docs/V1SourceStrategyOptions.md @@ -1,8 +1,9 @@ -# ResourceQuantity +# V1SourceStrategyOptions ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**incremental** | **bool** | incremental overrides the source-strategy incremental option in the build config | [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/openshift/docs/V1StageInfo.md b/openshift/docs/V1StageInfo.md new file mode 100644 index 00000000..62472c4b --- /dev/null +++ b/openshift/docs/V1StageInfo.md @@ -0,0 +1,13 @@ +# V1StageInfo + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**duration_milliseconds** | **int** | durationMilliseconds identifies how long the stage took to complete in milliseconds. Note: the duration of a stage can exceed the sum of the duration of the steps within the stage as not all actions are accounted for in explicit build steps. | [optional] +**name** | **str** | name is a unique identifier for each build stage that occurs. | [optional] +**start_time** | **datetime** | startTime is a timestamp representing the server time when this Stage started. It is represented in RFC3339 form and is in UTC. | [optional] +**steps** | [**list[V1StepInfo]**](V1StepInfo.md) | steps contains details about each step that occurs during a build stage including start time and duration in milliseconds. | [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/openshift/docs/V1StepInfo.md b/openshift/docs/V1StepInfo.md new file mode 100644 index 00000000..179ac079 --- /dev/null +++ b/openshift/docs/V1StepInfo.md @@ -0,0 +1,12 @@ +# V1StepInfo + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**duration_milliseconds** | **int** | durationMilliseconds identifies how long the step took to complete in milliseconds. | [optional] +**name** | **str** | name is a unique identifier for each build step. | [optional] +**start_time** | **datetime** | startTime is a timestamp representing the server time when this Step started. it is represented in RFC3339 form and is in UTC. | [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/openshift/docs/V1StorageOSPersistentVolumeSource.md b/openshift/docs/V1StorageOSPersistentVolumeSource.md new file mode 100644 index 00000000..9fc192df --- /dev/null +++ b/openshift/docs/V1StorageOSPersistentVolumeSource.md @@ -0,0 +1,14 @@ +# V1StorageOSPersistentVolumeSource + +## 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] +**read_only** | **bool** | Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. | [optional] +**secret_ref** | [**V1ObjectReference**](V1ObjectReference.md) | SecretRef specifies the secret to use for obtaining the StorageOS API credentials. If not specified, default values will be attempted. | [optional] +**volume_name** | **str** | VolumeName is the human-readable name of the StorageOS volume. Volume names are only unique within a namespace. | [optional] +**volume_namespace** | **str** | VolumeNamespace specifies the scope of the volume within StorageOS. If no namespace is specified then the Pod's namespace will be used. This allows the Kubernetes name scoping to be mirrored within StorageOS for tighter integration. Set VolumeName to any name to override the default behaviour. Set to \"default\" if you are not using namespaces within StorageOS. Namespaces that do not pre-exist within StorageOS will be created. | [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/openshift/docs/V1StorageOSVolumeSource.md b/openshift/docs/V1StorageOSVolumeSource.md new file mode 100644 index 00000000..36f8a278 --- /dev/null +++ b/openshift/docs/V1StorageOSVolumeSource.md @@ -0,0 +1,14 @@ +# V1StorageOSVolumeSource + +## 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] +**read_only** | **bool** | Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. | [optional] +**secret_ref** | [**V1LocalObjectReference**](V1LocalObjectReference.md) | SecretRef specifies the secret to use for obtaining the StorageOS API credentials. If not specified, default values will be attempted. | [optional] +**volume_name** | **str** | VolumeName is the human-readable name of the StorageOS volume. Volume names are only unique within a namespace. | [optional] +**volume_namespace** | **str** | VolumeNamespace specifies the scope of the volume within StorageOS. If no namespace is specified then the Pod's namespace will be used. This allows the Kubernetes name scoping to be mirrored within StorageOS for tighter integration. Set VolumeName to any name to override the default behaviour. Set to \"default\" if you are not using namespaces within StorageOS. Namespaces that do not pre-exist within StorageOS will be created. | [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/openshift/docs/V1SubjectAccessReview.md b/openshift/docs/V1SubjectAccessReview.md deleted file mode 100644 index 4213e990..00000000 --- a/openshift/docs/V1SubjectAccessReview.md +++ /dev/null @@ -1,23 +0,0 @@ -# V1SubjectAccessReview - -## 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] -**content** | [**RuntimeRawExtension**](RuntimeRawExtension.md) | Content is the actual content of the request for create and update | [optional] -**groups** | **list[str]** | GroupsSlice is optional. Groups is the list of groups to which the User belongs. | -**is_non_resource_url** | **bool** | IsNonResourceURL is true if this is a request for a non-resource URL (outside of the resource hieraarchy) | -**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the openshift.client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional] -**namespace** | **str** | Namespace is the namespace of the action being requested. Currently, there is no distinction between no namespace and all namespaces | -**path** | **str** | Path is the path of a non resource URL | -**resource** | **str** | Resource is one of the existing resource types | -**resource_api_group** | **str** | Group is the API group of the resource Serialized as resourceAPIGroup to avoid confusion with the 'groups' field when inlined | -**resource_api_version** | **str** | Version is the API version of the resource Serialized as resourceAPIVersion to avoid confusion with TypeMeta.apiVersion and ObjectMeta.resourceVersion when inlined | -**resource_name** | **str** | ResourceName is the name of the resource being requested for a \"get\" or deleted for a \"delete\" | -**scopes** | **list[str]** | Scopes to use for the evaluation. Empty means \"use the unscoped (full) permissions of the user/groups\". Nil for a self-SAR, means \"use the scopes on this request\". Nil for a regular SAR, means the same as empty. | -**user** | **str** | User is optional. If both User and Groups are empty, the current authenticated user is used. | -**verb** | **str** | Verb is one of: get, list, watch, create, update, delete | - -[[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/openshift/docs/V1SubjectRulesReview.md b/openshift/docs/V1SubjectRulesReview.md index 558d8b00..631b0998 100644 --- a/openshift/docs/V1SubjectRulesReview.md +++ b/openshift/docs/V1SubjectRulesReview.md @@ -3,8 +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 openshift.client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional] +**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: https://git.k8s.io/community/contributors/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 openshift.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds | [optional] **spec** | [**V1SubjectRulesReviewSpec**](V1SubjectRulesReviewSpec.md) | Spec adds information about how to conduct the check | **status** | [**V1SubjectRulesReviewStatus**](V1SubjectRulesReviewStatus.md) | Status is completed by the server to tell which permissions you have | [optional] diff --git a/openshift/docs/V1TCPSocketAction.md b/openshift/docs/V1TCPSocketAction.md index 3067067f..c73a25f5 100644 --- a/openshift/docs/V1TCPSocketAction.md +++ b/openshift/docs/V1TCPSocketAction.md @@ -3,7 +3,8 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**port** | [**IntstrIntOrString**](IntstrIntOrString.md) | Number or name of the port to access on the container. Number must be in the range 1 to 65535. Name must be an IANA_SVC_NAME. | +**host** | **str** | Optional: Host name to connect to, defaults to the pod IP. | [optional] +**port** | **str** | Number or name of the port to access on the container. Number must be in the range 1 to 65535. Name must be an IANA_SVC_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/openshift/docs/V1TLSConfig.md b/openshift/docs/V1TLSConfig.md index 24615c7f..9df6622f 100644 --- a/openshift/docs/V1TLSConfig.md +++ b/openshift/docs/V1TLSConfig.md @@ -5,7 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **ca_certificate** | **str** | caCertificate provides the cert authority certificate contents | [optional] **certificate** | **str** | certificate provides certificate contents | [optional] -**destination_ca_certificate** | **str** | destinationCACertificate provides the contents of the ca certificate of the final destination. When using reencrypt termination this file should be provided in order to have routers use it for health checks on the secure connection | [optional] +**destination_ca_certificate** | **str** | destinationCACertificate provides the contents of the ca certificate of the final destination. When using reencrypt termination this file should be provided in order to have routers use it for health checks on the secure connection. If this field is not specified, the router may provide its own destination CA and perform hostname validation using the short service name (service.namespace.svc), which allows infrastructure generated certificates to automatically verify. | [optional] **insecure_edge_termination_policy** | **str** | insecureEdgeTerminationPolicy indicates the desired behavior for insecure connections to a route. While each router may make its own decisions on which ports to expose, this is normally port 80. * Allow - traffic is sent to the server on the insecure port (default) * Disable - no traffic is allowed on the insecure port. * Redirect - openshift.clients are redirected to the secure port. | [optional] **key** | **str** | key provides key file contents | [optional] **termination** | **str** | termination indicates termination type. | diff --git a/openshift/docs/V1TagEvent.md b/openshift/docs/V1TagEvent.md index 15d89d1a..f95fe520 100644 --- a/openshift/docs/V1TagEvent.md +++ b/openshift/docs/V1TagEvent.md @@ -3,7 +3,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**created** | [**UnversionedTime**](UnversionedTime.md) | Created holds the time the TagEvent was created | +**created** | **datetime** | Created holds the time the TagEvent was created | **docker_image_reference** | **str** | DockerImageReference is the string that can be used to pull this image | **generation** | **int** | Generation is the spec tag generation that resulted in this tag being updated | **image** | **str** | Image is the image | diff --git a/openshift/docs/V1TagEventCondition.md b/openshift/docs/V1TagEventCondition.md index 5f6669e1..5c9911a2 100644 --- a/openshift/docs/V1TagEventCondition.md +++ b/openshift/docs/V1TagEventCondition.md @@ -4,7 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **generation** | **int** | Generation is the spec tag generation that this status corresponds to | -**last_transition_time** | [**UnversionedTime**](UnversionedTime.md) | LastTransitionTIme is the time the condition transitioned from one status to another. | [optional] +**last_transition_time** | **datetime** | LastTransitionTIme is the time the condition transitioned from one status to another. | [optional] **message** | **str** | Message is a human readable description of the details about last transition, complementing reason. | [optional] **reason** | **str** | Reason is a brief machine readable explanation for the condition's last transition. | [optional] **status** | **str** | Status of the condition, one of True, False, Unknown. | diff --git a/openshift/docs/V1TagReference.md b/openshift/docs/V1TagReference.md index fc1606a5..96f1f1ee 100644 --- a/openshift/docs/V1TagReference.md +++ b/openshift/docs/V1TagReference.md @@ -3,13 +3,13 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**annotations** | **dict(str, str)** | Annotations associated with images using this tag | -**_from** | [**V1ObjectReference**](V1ObjectReference.md) | From is a reference to an image stream tag or image stream this tag should track | [optional] -**generation** | **int** | Generation is the image stream generation that updated this tag - setting it to 0 is an indication that the generation must be updated. Legacy openshift.clients will send this as nil, which means the openshift.client doesn't know or care. | -**import_policy** | [**V1TagImportPolicy**](V1TagImportPolicy.md) | Import is information that controls how images may be imported by the server. | [optional] +**annotations** | **dict(str, str)** | Optional; if specified, annotations that are applied to images retrieved via ImageStreamTags. | +**_from** | [**V1ObjectReference**](V1ObjectReference.md) | Optional; if specified, a reference to another image that this tag should point to. Valid values are ImageStreamTag, ImageStreamImage, and DockerImage. | [optional] +**generation** | **int** | Generation is a counter that tracks mutations to the spec tag (user intent). When a tag reference is changed the generation is set to match the current stream generation (which is incremented every time spec is changed). Other processes in the system like the image importer observe that the generation of spec tag is newer than the generation recorded in the status and use that as a trigger to import the newest remote tag. To trigger a new import, openshift.clients may set this value to zero which will reset the generation to the latest stream generation. Legacy openshift.clients will send this value as nil which will be merged with the current tag generation. | +**import_policy** | [**V1TagImportPolicy**](V1TagImportPolicy.md) | ImportPolicy is information that controls how images may be imported by the server. | [optional] **name** | **str** | Name of the tag | **reference** | **bool** | Reference states if the tag will be imported. Default value is false, which means the tag will be imported. | [optional] -**reference_policy** | [**V1TagReferencePolicy**](V1TagReferencePolicy.md) | ReferencePolicy defines how other components should consume the image | [optional] +**reference_policy** | [**V1TagReferencePolicy**](V1TagReferencePolicy.md) | ReferencePolicy defines how other components should consume the image. | [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/openshift/docs/V1Template.md b/openshift/docs/V1Template.md index 5fbf3130..f2ebe722 100644 --- a/openshift/docs/V1Template.md +++ b/openshift/docs/V1Template.md @@ -3,8 +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 openshift.client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional] +**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: https://git.k8s.io/community/contributors/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 openshift.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds | [optional] **labels** | **dict(str, str)** | labels is a optional set of labels that are applied to every object during the Template to Config transformation. | [optional] **message** | **str** | message is an optional instructional message that will be displayed when this template is instantiated. This field should inform the user how to utilize the newly created resources. Parameter substitution will be performed on the message before being displayed so that generated credentials and other parameters can be included in the output. | [optional] **metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | Standard object's metadata. | [optional] diff --git a/openshift/docs/V1beta1Deployment.md b/openshift/docs/V1TemplateInstance.md similarity index 58% rename from openshift/docs/V1beta1Deployment.md rename to openshift/docs/V1TemplateInstance.md index da48cf5d..a1d4b84d 100644 --- a/openshift/docs/V1beta1Deployment.md +++ b/openshift/docs/V1TemplateInstance.md @@ -1,13 +1,13 @@ -# V1beta1Deployment +# V1TemplateInstance ## 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 openshift.client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional] +**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: https://git.k8s.io/community/contributors/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 openshift.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/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] +**spec** | [**V1TemplateInstanceSpec**](V1TemplateInstanceSpec.md) | spec describes the desired state of this TemplateInstance. | +**status** | [**V1TemplateInstanceStatus**](V1TemplateInstanceStatus.md) | status describes the current state of this TemplateInstance. | [[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/openshift/docs/V1TemplateInstanceCondition.md b/openshift/docs/V1TemplateInstanceCondition.md new file mode 100644 index 00000000..8c1c1de5 --- /dev/null +++ b/openshift/docs/V1TemplateInstanceCondition.md @@ -0,0 +1,14 @@ +# V1TemplateInstanceCondition + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**last_transition_time** | **datetime** | LastTransitionTime is the last time a condition status transitioned from one state to another. | +**message** | **str** | Message is a human readable description of the details of the last transition, complementing reason. | +**reason** | **str** | Reason is a brief machine readable explanation for the condition's last transition. | +**status** | **str** | Status of the condition, one of True, False or Unknown. | +**type** | **str** | Type of the condition, currently Ready or InstantiateFailure. | + +[[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/openshift/docs/V1PolicyBindingList.md b/openshift/docs/V1TemplateInstanceList.md similarity index 58% rename from openshift/docs/V1PolicyBindingList.md rename to openshift/docs/V1TemplateInstanceList.md index 26caffd0..0246811e 100644 --- a/openshift/docs/V1PolicyBindingList.md +++ b/openshift/docs/V1TemplateInstanceList.md @@ -1,12 +1,12 @@ -# V1PolicyBindingList +# V1TemplateInstanceList ## 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[V1PolicyBinding]**](V1PolicyBinding.md) | Items is a list of PolicyBindings | -**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the openshift.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] +**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: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources | [optional] +**items** | [**list[V1TemplateInstance]**](V1TemplateInstance.md) | items is a list of Templateinstances | +**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the openshift.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds | [optional] +**metadata** | [**V1ListMeta**](V1ListMeta.md) | Standard object 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/openshift/docs/V1TemplateInstanceObject.md b/openshift/docs/V1TemplateInstanceObject.md new file mode 100644 index 00000000..25287a59 --- /dev/null +++ b/openshift/docs/V1TemplateInstanceObject.md @@ -0,0 +1,10 @@ +# V1TemplateInstanceObject + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**ref** | [**V1ObjectReference**](V1ObjectReference.md) | ref is a reference to the created object. When used under .spec, only name and namespace are used; these can contain references to parameters which will be substituted following the usual rules. | [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/openshift/docs/V1TemplateInstanceRequester.md b/openshift/docs/V1TemplateInstanceRequester.md new file mode 100644 index 00000000..ce981b05 --- /dev/null +++ b/openshift/docs/V1TemplateInstanceRequester.md @@ -0,0 +1,13 @@ +# V1TemplateInstanceRequester + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**extra** | **dict(str, list[str])** | extra holds additional information provided by the authenticator. | [optional] +**groups** | **list[str]** | groups represent the groups this user is a part of. | [optional] +**uid** | **str** | uid is a unique value that identifies this user across time; if this user is deleted and another user by the same name is added, they will have different UIDs. | [optional] +**username** | **str** | username uniquely identifies this user among all active users. | [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/openshift/docs/V1TemplateInstanceSpec.md b/openshift/docs/V1TemplateInstanceSpec.md new file mode 100644 index 00000000..08f8abed --- /dev/null +++ b/openshift/docs/V1TemplateInstanceSpec.md @@ -0,0 +1,12 @@ +# V1TemplateInstanceSpec + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**requester** | [**V1TemplateInstanceRequester**](V1TemplateInstanceRequester.md) | requester holds the identity of the agent requesting the template instantiation. | +**secret** | [**V1LocalObjectReference**](V1LocalObjectReference.md) | secret is a reference to a Secret object containing the necessary template parameters. | [optional] +**template** | [**V1Template**](V1Template.md) | template is a full copy of the template for instantiation. | + +[[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/openshift/docs/V1TemplateInstanceStatus.md b/openshift/docs/V1TemplateInstanceStatus.md new file mode 100644 index 00000000..2b299796 --- /dev/null +++ b/openshift/docs/V1TemplateInstanceStatus.md @@ -0,0 +1,11 @@ +# V1TemplateInstanceStatus + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**conditions** | [**list[V1TemplateInstanceCondition]**](V1TemplateInstanceCondition.md) | conditions represent the latest available observations of a TemplateInstance's current state. | [optional] +**objects** | [**list[V1TemplateInstanceObject]**](V1TemplateInstanceObject.md) | Objects references the objects created by the TemplateInstance. | [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/openshift/docs/V1TemplateList.md b/openshift/docs/V1TemplateList.md index e94187a6..3f44be8d 100644 --- a/openshift/docs/V1TemplateList.md +++ b/openshift/docs/V1TemplateList.md @@ -3,10 +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] +**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: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources | [optional] **items** | [**list[V1Template]**](V1Template.md) | Items is a list of templates | -**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the openshift.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] +**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the openshift.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds | [optional] +**metadata** | [**V1ListMeta**](V1ListMeta.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/openshift/docs/V1User.md b/openshift/docs/V1User.md index 18d6cf06..890e1a8e 100644 --- a/openshift/docs/V1User.md +++ b/openshift/docs/V1User.md @@ -3,11 +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] +**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: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources | [optional] **full_name** | **str** | FullName is the full name of user | [optional] **groups** | **list[str]** | Groups specifies group names this user is a member of. This field is deprecated and will be removed in a future release. Instead, create a Group object containing the name of this User. | **identities** | **list[str]** | Identities are the identities associated with this user | -**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the openshift.client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional] +**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the openshift.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds | [optional] **metadata** | [**V1ObjectMeta**](V1ObjectMeta.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/openshift/docs/V1UserIdentityMapping.md b/openshift/docs/V1UserIdentityMapping.md index 108200aa..2de3f681 100644 --- a/openshift/docs/V1UserIdentityMapping.md +++ b/openshift/docs/V1UserIdentityMapping.md @@ -3,9 +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] +**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: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources | [optional] **identity** | [**V1ObjectReference**](V1ObjectReference.md) | Identity is a reference to an identity | [optional] -**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the openshift.client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional] +**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the openshift.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds | [optional] **metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | Standard object's metadata. | [optional] **user** | [**V1ObjectReference**](V1ObjectReference.md) | User is a reference to a user | [optional] diff --git a/openshift/docs/V1UserList.md b/openshift/docs/V1UserList.md index 09719324..df907f01 100644 --- a/openshift/docs/V1UserList.md +++ b/openshift/docs/V1UserList.md @@ -3,10 +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] +**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: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources | [optional] **items** | [**list[V1User]**](V1User.md) | Items is the list of users | -**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the openshift.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] +**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the openshift.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds | [optional] +**metadata** | [**V1ListMeta**](V1ListMeta.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/openshift/docs/V1UserRestriction.md b/openshift/docs/V1UserRestriction.md index 34e83a50..475d33ce 100644 --- a/openshift/docs/V1UserRestriction.md +++ b/openshift/docs/V1UserRestriction.md @@ -4,7 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **groups** | **list[str]** | Groups specifies a list of literal group names. | -**labels** | [**list[UnversionedLabelSelector]**](UnversionedLabelSelector.md) | Selectors specifies a list of label selectors over user labels. | +**labels** | [**list[V1LabelSelector]**](V1LabelSelector.md) | Selectors specifies a list of label selectors over user labels. | **users** | **list[str]** | Users specifies a list of literal user names. | [[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/openshift/docs/V1Volume.md b/openshift/docs/V1Volume.md deleted file mode 100644 index 5424a205..00000000 --- a/openshift/docs/V1Volume.md +++ /dev/null @@ -1,34 +0,0 @@ -# V1Volume - -## 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] -**metadata** | [**V1DeprecatedDownwardAPIVolumeSource**](V1DeprecatedDownwardAPIVolumeSource.md) | Metadata represents metadata about the pod that should populate this volume Deprecated: Use downwardAPI instead. | [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/openshift/docs/V1VolumeMount.md b/openshift/docs/V1VolumeMount.md deleted file mode 100644 index 2c045d93..00000000 --- a/openshift/docs/V1VolumeMount.md +++ /dev/null @@ -1,13 +0,0 @@ -# V1VolumeMount - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**mount_path** | **str** | Path within the container at which the volume should be mounted. Must not contain ':'. | -**name** | **str** | This must match the Name of a Volume. | -**read_only** | **bool** | Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false. | [optional] -**sub_path** | **str** | Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root). | [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/openshift/docs/V1VsphereVirtualDiskVolumeSource.md b/openshift/docs/V1VsphereVirtualDiskVolumeSource.md deleted file mode 100644 index 891a246a..00000000 --- a/openshift/docs/V1VsphereVirtualDiskVolumeSource.md +++ /dev/null @@ -1,11 +0,0 @@ -# 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/openshift/docs/V1alpha1CertificateSigningRequest.md b/openshift/docs/V1alpha1CertificateSigningRequest.md deleted file mode 100644 index 57628ccb..00000000 --- a/openshift/docs/V1alpha1CertificateSigningRequest.md +++ /dev/null @@ -1,14 +0,0 @@ -# V1alpha1CertificateSigningRequest - -## 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 openshift.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] - -[[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/openshift/docs/V1alpha1CertificateSigningRequestCondition.md b/openshift/docs/V1alpha1CertificateSigningRequestCondition.md deleted file mode 100644 index f61c9883..00000000 --- a/openshift/docs/V1alpha1CertificateSigningRequestCondition.md +++ /dev/null @@ -1,13 +0,0 @@ -# V1alpha1CertificateSigningRequestCondition - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**last_update_time** | [**UnversionedTime**](UnversionedTime.md) | timestamp for the last update to this condition | [optional] -**message** | **str** | human readable message with details about the request state | [optional] -**reason** | **str** | brief reason for the request state | [optional] -**type** | **str** | request approval state, currently Approved or Denied. | - -[[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/openshift/docs/V1alpha1CertificateSigningRequestList.md b/openshift/docs/V1alpha1CertificateSigningRequestList.md deleted file mode 100644 index 3a582348..00000000 --- a/openshift/docs/V1alpha1CertificateSigningRequestList.md +++ /dev/null @@ -1,13 +0,0 @@ -# V1alpha1CertificateSigningRequestList - -## 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 openshift.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/openshift/docs/V1alpha1CertificateSigningRequestSpec.md b/openshift/docs/V1alpha1CertificateSigningRequestSpec.md deleted file mode 100644 index 17e56a4e..00000000 --- a/openshift/docs/V1alpha1CertificateSigningRequestSpec.md +++ /dev/null @@ -1,13 +0,0 @@ -# V1alpha1CertificateSigningRequestSpec - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**groups** | **list[str]** | | [optional] -**request** | **str** | Base64-encoded PKCS#10 CSR data | -**uid** | **str** | | [optional] -**username** | **str** | Information about the requesting user (if relevant) See user.Info interface for details | [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/openshift/docs/V1alpha1CertificateSigningRequestStatus.md b/openshift/docs/V1alpha1CertificateSigningRequestStatus.md deleted file mode 100644 index 4067df57..00000000 --- a/openshift/docs/V1alpha1CertificateSigningRequestStatus.md +++ /dev/null @@ -1,11 +0,0 @@ -# V1alpha1CertificateSigningRequestStatus - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**certificate** | **str** | If request was approved, the controller will place the issued certificate here. | [optional] -**conditions** | [**list[V1alpha1CertificateSigningRequestCondition]**](V1alpha1CertificateSigningRequestCondition.md) | Conditions applied to the request, such as approval or denial. | [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/openshift/docs/V1beta1CPUTargetUtilization.md b/openshift/docs/V1beta1CPUTargetUtilization.md deleted file mode 100644 index d5fb486e..00000000 --- a/openshift/docs/V1beta1CPUTargetUtilization.md +++ /dev/null @@ -1,10 +0,0 @@ -# V1beta1CPUTargetUtilization - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**target_percentage** | **int** | fraction of the requested CPU that should be utilized/used, e.g. 70 means that 70% of the requested CPU should be in use. | - -[[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/openshift/docs/V1beta1DaemonSet.md b/openshift/docs/V1beta1DaemonSet.md deleted file mode 100644 index 18a8fe4b..00000000 --- a/openshift/docs/V1beta1DaemonSet.md +++ /dev/null @@ -1,14 +0,0 @@ -# V1beta1DaemonSet - -## 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 openshift.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] - -[[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/openshift/docs/V1beta1DaemonSetList.md b/openshift/docs/V1beta1DaemonSetList.md deleted file mode 100644 index 89fd42b0..00000000 --- a/openshift/docs/V1beta1DaemonSetList.md +++ /dev/null @@ -1,13 +0,0 @@ -# V1beta1DaemonSetList - -## 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 openshift.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/openshift/docs/V1beta1DaemonSetSpec.md b/openshift/docs/V1beta1DaemonSetSpec.md deleted file mode 100644 index bef99315..00000000 --- a/openshift/docs/V1beta1DaemonSetSpec.md +++ /dev/null @@ -1,11 +0,0 @@ -# V1beta1DaemonSetSpec - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**selector** | [**UnversionedLabelSelector**](UnversionedLabelSelector.md) | Selector is a label query over pods that are managed by the daemon set. Must match in order to be controlled. If empty, defaulted to labels on Pod template. More info: http://kubernetes.io/docs/user-guide/labels#label-selectors | [optional] -**template** | [**V1PodTemplateSpec**](V1PodTemplateSpec.md) | Template is the object that describes the pod that will be created. The DaemonSet will create exactly one copy of this pod on every node that matches the template's node selector (or on every node if no node selector is specified). More info: http://kubernetes.io/docs/user-guide/replication-controller#pod-template | - -[[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/openshift/docs/V1beta1DaemonSetStatus.md b/openshift/docs/V1beta1DaemonSetStatus.md deleted file mode 100644 index 2691652a..00000000 --- a/openshift/docs/V1beta1DaemonSetStatus.md +++ /dev/null @@ -1,13 +0,0 @@ -# V1beta1DaemonSetStatus - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**current_number_scheduled** | **int** | CurrentNumberScheduled is the number of nodes that are running at least 1 daemon pod and are supposed to run the daemon pod. More info: http://releases.k8s.io/HEAD/docs/admin/daemons.md | -**desired_number_scheduled** | **int** | DesiredNumberScheduled is the total number of nodes that should be running the daemon pod (including nodes correctly running the daemon pod). More info: http://releases.k8s.io/HEAD/docs/admin/daemons.md | -**number_misscheduled** | **int** | NumberMisscheduled is the number of nodes that are running the daemon pod, but are not supposed to run the daemon pod. More info: http://releases.k8s.io/HEAD/docs/admin/daemons.md | -**number_ready** | **int** | NumberReady is the number of nodes that should be running the daemon pod and have one or more of the daemon pod running and ready. | - -[[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/openshift/docs/V1beta1DeploymentCondition.md b/openshift/docs/V1beta1DeploymentCondition.md deleted file mode 100644 index fb21f85d..00000000 --- a/openshift/docs/V1beta1DeploymentCondition.md +++ /dev/null @@ -1,15 +0,0 @@ -# V1beta1DeploymentCondition - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**last_transition_time** | [**UnversionedTime**](UnversionedTime.md) | Last time the condition transitioned from one status to another. | [optional] -**last_update_time** | [**UnversionedTime**](UnversionedTime.md) | The last time this condition was updated. | [optional] -**message** | **str** | A human readable message indicating details about the transition. | [optional] -**reason** | **str** | The reason for the condition's last transition. | [optional] -**status** | **str** | Status of the condition, one of True, False, Unknown. | -**type** | **str** | Type of deployment condition. | - -[[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/openshift/docs/V1beta1DeploymentList.md b/openshift/docs/V1beta1DeploymentList.md deleted file mode 100644 index 96157993..00000000 --- a/openshift/docs/V1beta1DeploymentList.md +++ /dev/null @@ -1,13 +0,0 @@ -# V1beta1DeploymentList - -## 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 openshift.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/openshift/docs/V1beta1DeploymentRollback.md b/openshift/docs/V1beta1DeploymentRollback.md deleted file mode 100644 index abc74c59..00000000 --- a/openshift/docs/V1beta1DeploymentRollback.md +++ /dev/null @@ -1,14 +0,0 @@ -# V1beta1DeploymentRollback - -## 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 openshift.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] - -[[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/openshift/docs/V1beta1DeploymentSpec.md b/openshift/docs/V1beta1DeploymentSpec.md deleted file mode 100644 index 0e4d4ebe..00000000 --- a/openshift/docs/V1beta1DeploymentSpec.md +++ /dev/null @@ -1,18 +0,0 @@ -# V1beta1DeploymentSpec - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**min_ready_seconds** | **int** | Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready) | [optional] -**paused** | **bool** | Indicates that the deployment is paused and will not be processed by the deployment controller. | [optional] -**progress_deadline_seconds** | **int** | The maximum time in seconds for a deployment to make progress before it is considered to be failed. The deployment controller will continue to process failed deployments and a condition with a ProgressDeadlineExceeded reason will be surfaced in the deployment status. Once autoRollback is implemented, the deployment controller will automatically rollback failed deployments. Note that progress will not be estimated during the time a deployment is paused. This is not set by default. | [optional] -**replicas** | **int** | Number of desired pods. This is a pointer to distinguish between explicit zero and not specified. Defaults to 1. | [optional] -**revision_history_limit** | **int** | The number of old ReplicaSets to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified. | [optional] -**rollback_to** | [**V1beta1RollbackConfig**](V1beta1RollbackConfig.md) | The config this deployment is rolling back to. Will be cleared after rollback is done. | [optional] -**selector** | [**UnversionedLabelSelector**](UnversionedLabelSelector.md) | Label selector for pods. Existing ReplicaSets whose pods are selected by this will be the ones affected by this deployment. | [optional] -**strategy** | [**V1beta1DeploymentStrategy**](V1beta1DeploymentStrategy.md) | The deployment strategy to use to replace existing pods with new ones. | [optional] -**template** | [**V1PodTemplateSpec**](V1PodTemplateSpec.md) | Template describes the pods that will be created. | - -[[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/openshift/docs/V1beta1DeploymentStatus.md b/openshift/docs/V1beta1DeploymentStatus.md deleted file mode 100644 index 439b210c..00000000 --- a/openshift/docs/V1beta1DeploymentStatus.md +++ /dev/null @@ -1,15 +0,0 @@ -# V1beta1DeploymentStatus - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**available_replicas** | **int** | Total number of available pods (ready for at least minReadySeconds) targeted by this deployment. | [optional] -**conditions** | [**list[V1beta1DeploymentCondition]**](V1beta1DeploymentCondition.md) | Represents the latest available observations of a deployment's current state. | [optional] -**observed_generation** | **int** | The generation observed by the deployment controller. | [optional] -**replicas** | **int** | Total number of non-terminated pods targeted by this deployment (their labels match the selector). | [optional] -**unavailable_replicas** | **int** | Total number of unavailable pods targeted by this deployment. | [optional] -**updated_replicas** | **int** | Total number of non-terminated pods targeted by this deployment that have the desired template spec. | [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/openshift/docs/V1beta1DeploymentStrategy.md b/openshift/docs/V1beta1DeploymentStrategy.md deleted file mode 100644 index 6f657d55..00000000 --- a/openshift/docs/V1beta1DeploymentStrategy.md +++ /dev/null @@ -1,11 +0,0 @@ -# V1beta1DeploymentStrategy - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**rolling_update** | [**V1beta1RollingUpdateDeployment**](V1beta1RollingUpdateDeployment.md) | Rolling update config params. Present only if DeploymentStrategyType = RollingUpdate. | [optional] -**type** | **str** | Type of deployment. Can be \"Recreate\" or \"RollingUpdate\". Default is RollingUpdate. | [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/openshift/docs/V1beta1Eviction.md b/openshift/docs/V1beta1Eviction.md deleted file mode 100644 index 19267968..00000000 --- a/openshift/docs/V1beta1Eviction.md +++ /dev/null @@ -1,13 +0,0 @@ -# V1beta1Eviction - -## 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 openshift.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/openshift/docs/V1beta1HorizontalPodAutoscaler.md b/openshift/docs/V1beta1HorizontalPodAutoscaler.md deleted file mode 100644 index 4c745d70..00000000 --- a/openshift/docs/V1beta1HorizontalPodAutoscaler.md +++ /dev/null @@ -1,14 +0,0 @@ -# V1beta1HorizontalPodAutoscaler - -## 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 openshift.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] - -[[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/openshift/docs/V1beta1HorizontalPodAutoscalerList.md b/openshift/docs/V1beta1HorizontalPodAutoscalerList.md deleted file mode 100644 index 32e2e8d0..00000000 --- a/openshift/docs/V1beta1HorizontalPodAutoscalerList.md +++ /dev/null @@ -1,13 +0,0 @@ -# V1beta1HorizontalPodAutoscalerList - -## 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 openshift.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/openshift/docs/V1beta1HorizontalPodAutoscalerSpec.md b/openshift/docs/V1beta1HorizontalPodAutoscalerSpec.md deleted file mode 100644 index 80724f32..00000000 --- a/openshift/docs/V1beta1HorizontalPodAutoscalerSpec.md +++ /dev/null @@ -1,13 +0,0 @@ -# V1beta1HorizontalPodAutoscalerSpec - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**cpu_utilization** | [**V1beta1CPUTargetUtilization**](V1beta1CPUTargetUtilization.md) | target average CPU utilization (represented as a percentage of requested CPU) over all the pods; if not specified it defaults to the target CPU utilization at 80% of the requested resources. | [optional] -**max_replicas** | **int** | upper limit for the number of pods that can be set by the autoscaler; cannot be smaller than MinReplicas. | -**min_replicas** | **int** | lower limit for the number of pods that can be set by the autoscaler, default 1. | [optional] -**scale_ref** | [**V1beta1SubresourceReference**](V1beta1SubresourceReference.md) | reference to Scale subresource; horizontal pod autoscaler will learn the current resource consumption from its status, and will set the desired number of pods by modifying its spec. | - -[[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/openshift/docs/V1beta1HorizontalPodAutoscalerStatus.md b/openshift/docs/V1beta1HorizontalPodAutoscalerStatus.md deleted file mode 100644 index b5c04359..00000000 --- a/openshift/docs/V1beta1HorizontalPodAutoscalerStatus.md +++ /dev/null @@ -1,14 +0,0 @@ -# V1beta1HorizontalPodAutoscalerStatus - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**current_cpu_utilization_percentage** | **int** | current average CPU utilization over all pods, represented as a percentage of requested CPU, e.g. 70 means that an average pod is using now 70% of its requested CPU. | [optional] -**current_replicas** | **int** | current number of replicas of pods managed by this autoscaler. | -**desired_replicas** | **int** | desired number of replicas of pods managed by this autoscaler. | -**last_scale_time** | [**UnversionedTime**](UnversionedTime.md) | last time the HorizontalPodAutoscaler scaled the number of pods; used by the autoscaler to control how often the number of pods is changed. | [optional] -**observed_generation** | **int** | most recent generation observed by this autoscaler. | [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/openshift/docs/V1beta1HostPortRange.md b/openshift/docs/V1beta1HostPortRange.md deleted file mode 100644 index 49033062..00000000 --- a/openshift/docs/V1beta1HostPortRange.md +++ /dev/null @@ -1,11 +0,0 @@ -# V1beta1HostPortRange - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**max** | **int** | max is the end of the range, inclusive. | -**min** | **int** | min is the start of the range, inclusive. | - -[[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/openshift/docs/V1beta1Ingress.md b/openshift/docs/V1beta1Ingress.md deleted file mode 100644 index ebd56518..00000000 --- a/openshift/docs/V1beta1Ingress.md +++ /dev/null @@ -1,14 +0,0 @@ -# V1beta1Ingress - -## 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 openshift.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] - -[[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/openshift/docs/V1beta1IngressBackend.md b/openshift/docs/V1beta1IngressBackend.md deleted file mode 100644 index d2e58b89..00000000 --- a/openshift/docs/V1beta1IngressBackend.md +++ /dev/null @@ -1,11 +0,0 @@ -# V1beta1IngressBackend - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**service_name** | **str** | Specifies the name of the referenced service. | -**service_port** | [**IntstrIntOrString**](IntstrIntOrString.md) | Specifies the port of the referenced service. | - -[[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/openshift/docs/V1beta1IngressList.md b/openshift/docs/V1beta1IngressList.md deleted file mode 100644 index 0c94c13d..00000000 --- a/openshift/docs/V1beta1IngressList.md +++ /dev/null @@ -1,13 +0,0 @@ -# V1beta1IngressList - -## 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 openshift.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/openshift/docs/V1beta1IngressRule.md b/openshift/docs/V1beta1IngressRule.md deleted file mode 100644 index a431d109..00000000 --- a/openshift/docs/V1beta1IngressRule.md +++ /dev/null @@ -1,11 +0,0 @@ -# V1beta1IngressRule - -## Properties -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/openshift/docs/V1beta1IngressSpec.md b/openshift/docs/V1beta1IngressSpec.md deleted file mode 100644 index 337753d1..00000000 --- a/openshift/docs/V1beta1IngressSpec.md +++ /dev/null @@ -1,12 +0,0 @@ -# V1beta1IngressSpec - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**backend** | [**V1beta1IngressBackend**](V1beta1IngressBackend.md) | A default backend capable of servicing requests that don't match any rule. At least one of 'backend' or 'rules' must be specified. This field is optional to allow the loadbalancer controller or defaulting logic to specify a global default. | [optional] -**rules** | [**list[V1beta1IngressRule]**](V1beta1IngressRule.md) | A list of host rules used to configure the Ingress. If unspecified, or no rule matches, all traffic is sent to the default backend. | [optional] -**tls** | [**list[V1beta1IngressTLS]**](V1beta1IngressTLS.md) | TLS configuration. Currently the Ingress only supports a single TLS port, 443. If multiple members of this list specify different hosts, they will be multiplexed on the same port according to the hostname specified through the SNI TLS extension, if the ingress controller fulfilling the ingress supports SNI. | [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/openshift/docs/V1beta1IngressStatus.md b/openshift/docs/V1beta1IngressStatus.md deleted file mode 100644 index 1bcb2506..00000000 --- a/openshift/docs/V1beta1IngressStatus.md +++ /dev/null @@ -1,10 +0,0 @@ -# V1beta1IngressStatus - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**load_balancer** | [**V1LoadBalancerStatus**](V1LoadBalancerStatus.md) | LoadBalancer contains the current status of the load-balancer. | [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/openshift/docs/V1beta1Job.md b/openshift/docs/V1beta1Job.md deleted file mode 100644 index f14b8566..00000000 --- a/openshift/docs/V1beta1Job.md +++ /dev/null @@ -1,14 +0,0 @@ -# V1beta1Job - -## 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 openshift.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] - -[[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/openshift/docs/V1beta1JobCondition.md b/openshift/docs/V1beta1JobCondition.md deleted file mode 100644 index e3982d83..00000000 --- a/openshift/docs/V1beta1JobCondition.md +++ /dev/null @@ -1,15 +0,0 @@ -# V1beta1JobCondition - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**last_probe_time** | [**UnversionedTime**](UnversionedTime.md) | Last time the condition was checked. | [optional] -**last_transition_time** | [**UnversionedTime**](UnversionedTime.md) | Last time the condition transit from one status to another. | [optional] -**message** | **str** | Human readable message indicating details about last transition. | [optional] -**reason** | **str** | (brief) reason for the condition's last transition. | [optional] -**status** | **str** | Status of the condition, one of True, False, Unknown. | -**type** | **str** | Type of job condition, Complete or Failed. | - -[[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/openshift/docs/V1beta1JobList.md b/openshift/docs/V1beta1JobList.md deleted file mode 100644 index b0b1c6b7..00000000 --- a/openshift/docs/V1beta1JobList.md +++ /dev/null @@ -1,13 +0,0 @@ -# V1beta1JobList - -## 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 openshift.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/openshift/docs/V1beta1JobSpec.md b/openshift/docs/V1beta1JobSpec.md deleted file mode 100644 index 23f2d2b9..00000000 --- a/openshift/docs/V1beta1JobSpec.md +++ /dev/null @@ -1,15 +0,0 @@ -# V1beta1JobSpec - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**active_deadline_seconds** | **int** | Optional duration in seconds relative to the startTime that the job may be active before the system tries to terminate it; value must be positive integer | [optional] -**auto_selector** | **bool** | AutoSelector controls generation of pod labels and pod selectors. It was not present in the original extensions/v1beta1 Job definition, but exists to allow conversion from batch/v1 Jobs, where it corresponds to, but has the opposite meaning as, ManualSelector. More info: http://releases.k8s.io/HEAD/docs/design/selector-generation.md | [optional] -**completions** | **int** | Completions specifies the desired number of successfully finished pods the job should be run with. Setting to nil means that the success of any pod signals the success of all pods, and allows parallelism to have any positive value. Setting to 1 means that parallelism is limited to 1 and the success of that pod signals the success of the job. More info: http://kubernetes.io/docs/user-guide/jobs | [optional] -**parallelism** | **int** | Parallelism specifies the maximum desired number of pods the job should run at any given time. The actual number of pods running in steady state will be less than this number when ((.spec.completions - .status.successful) < .spec.parallelism), i.e. when the work left to do is less than max parallelism. More info: http://kubernetes.io/docs/user-guide/jobs | [optional] -**selector** | [**UnversionedLabelSelector**](UnversionedLabelSelector.md) | Selector is a label query over pods that should match the pod count. Normally, the system sets this field for you. More info: http://kubernetes.io/docs/user-guide/labels#label-selectors | [optional] -**template** | [**V1PodTemplateSpec**](V1PodTemplateSpec.md) | Template is the object that describes the pod that will be created when executing a job. More info: http://kubernetes.io/docs/user-guide/jobs | - -[[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/openshift/docs/V1beta1JobStatus.md b/openshift/docs/V1beta1JobStatus.md deleted file mode 100644 index 95220fad..00000000 --- a/openshift/docs/V1beta1JobStatus.md +++ /dev/null @@ -1,15 +0,0 @@ -# V1beta1JobStatus - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**active** | **int** | Active is the number of actively running pods. | [optional] -**completion_time** | [**UnversionedTime**](UnversionedTime.md) | CompletionTime represents time when the job was completed. It is not guaranteed to be set in happens-before order across separate operations. It is represented in RFC3339 form and is in UTC. | [optional] -**conditions** | [**list[V1beta1JobCondition]**](V1beta1JobCondition.md) | Conditions represent the latest available observations of an object's current state. More info: http://kubernetes.io/docs/user-guide/jobs | [optional] -**failed** | **int** | Failed is the number of pods which reached Phase Failed. | [optional] -**start_time** | [**UnversionedTime**](UnversionedTime.md) | StartTime represents time when the job was acknowledged by the Job Manager. It is not guaranteed to be set in happens-before order across separate operations. It is represented in RFC3339 form and is in UTC. | [optional] -**succeeded** | **int** | Succeeded is the number of pods which reached Phase Succeeded. | [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/openshift/docs/V1beta1LocalSubjectAccessReview.md b/openshift/docs/V1beta1LocalSubjectAccessReview.md deleted file mode 100644 index 7de7fa53..00000000 --- a/openshift/docs/V1beta1LocalSubjectAccessReview.md +++ /dev/null @@ -1,14 +0,0 @@ -# V1beta1LocalSubjectAccessReview - -## 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 openshift.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] - -[[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/openshift/docs/V1beta1NetworkPolicy.md b/openshift/docs/V1beta1NetworkPolicy.md deleted file mode 100644 index 8bcd8504..00000000 --- a/openshift/docs/V1beta1NetworkPolicy.md +++ /dev/null @@ -1,13 +0,0 @@ -# V1beta1NetworkPolicy - -## 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 openshift.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] - -[[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/openshift/docs/V1beta1NetworkPolicyIngressRule.md b/openshift/docs/V1beta1NetworkPolicyIngressRule.md deleted file mode 100644 index 17143d71..00000000 --- a/openshift/docs/V1beta1NetworkPolicyIngressRule.md +++ /dev/null @@ -1,11 +0,0 @@ -# V1beta1NetworkPolicyIngressRule - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**_from** | [**list[V1beta1NetworkPolicyPeer]**](V1beta1NetworkPolicyPeer.md) | List of sources which should be able to access the pods selected for this rule. Items in this list are combined using a logical OR operation. If this field is not provided, this rule matches all sources (traffic not restricted by source). If this field is empty, this rule matches no sources (no traffic matches). If this field is present and contains at least on item, this rule allows traffic only if the traffic matches at least one item in the from list. | [optional] -**ports** | [**list[V1beta1NetworkPolicyPort]**](V1beta1NetworkPolicyPort.md) | List of ports which should be made accessible on the pods selected for this rule. Each item in this list is combined using a logical OR. If this field is not provided, this rule matches all ports (traffic not restricted by port). If this field is empty, this rule matches no ports (no traffic matches). If this field is present and contains at least one item, then this rule allows traffic only if the traffic matches at least one port in the list. | [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/openshift/docs/V1beta1NetworkPolicyList.md b/openshift/docs/V1beta1NetworkPolicyList.md deleted file mode 100644 index 132cbc0d..00000000 --- a/openshift/docs/V1beta1NetworkPolicyList.md +++ /dev/null @@ -1,13 +0,0 @@ -# V1beta1NetworkPolicyList - -## 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 openshift.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/openshift/docs/V1beta1NetworkPolicyPeer.md b/openshift/docs/V1beta1NetworkPolicyPeer.md deleted file mode 100644 index 7bd9e471..00000000 --- a/openshift/docs/V1beta1NetworkPolicyPeer.md +++ /dev/null @@ -1,11 +0,0 @@ -# V1beta1NetworkPolicyPeer - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**namespace_selector** | [**UnversionedLabelSelector**](UnversionedLabelSelector.md) | Selects Namespaces using cluster scoped-labels. This matches all pods in all namespaces selected by this label selector. This field follows standard label selector semantics. If omitted, this selector selects no namespaces. If present but empty, this selector selects all namespaces. | [optional] -**pod_selector** | [**UnversionedLabelSelector**](UnversionedLabelSelector.md) | This is a label selector which selects Pods in this namespace. This field follows standard label selector semantics. If not provided, this selector selects no pods. If present but empty, this selector selects all pods in this namespace. | [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/openshift/docs/V1beta1NetworkPolicyPort.md b/openshift/docs/V1beta1NetworkPolicyPort.md deleted file mode 100644 index 6613f47f..00000000 --- a/openshift/docs/V1beta1NetworkPolicyPort.md +++ /dev/null @@ -1,11 +0,0 @@ -# V1beta1NetworkPolicyPort - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**port** | [**IntstrIntOrString**](IntstrIntOrString.md) | If specified, the port on the given protocol. This can either be a numerical or named port on a pod. If this field is not provided, this matches all port names and numbers. If present, only traffic on the specified protocol AND port will be matched. | [optional] -**protocol** | **str** | Optional. The protocol (TCP or UDP) which traffic must match. If not specified, this field defaults to TCP. | [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/openshift/docs/V1beta1NetworkPolicySpec.md b/openshift/docs/V1beta1NetworkPolicySpec.md deleted file mode 100644 index 7b92764a..00000000 --- a/openshift/docs/V1beta1NetworkPolicySpec.md +++ /dev/null @@ -1,11 +0,0 @@ -# V1beta1NetworkPolicySpec - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**ingress** | [**list[V1beta1NetworkPolicyIngressRule]**](V1beta1NetworkPolicyIngressRule.md) | List of ingress rules to be applied to the selected pods. Traffic is allowed to a pod if namespace.networkPolicy.ingress.isolation is undefined and cluster policy allows it, OR if the traffic source is the pod's local node, OR if the traffic matches at least one ingress rule across all of the NetworkPolicy objects whose podSelector matches the pod. If this field is empty then this NetworkPolicy does not affect ingress isolation. If this field is present and contains at least one rule, this policy allows any traffic which matches at least one of the ingress rules in this list. | [optional] -**pod_selector** | [**UnversionedLabelSelector**](UnversionedLabelSelector.md) | Selects the pods to which this NetworkPolicy object applies. The array of ingress rules is applied to any pods selected by this field. Multiple network policies can select the same set of pods. In this case, the ingress rules for each are combined additively. This field is NOT optional and follows standard label selector semantics. An empty podSelector matches all pods in this namespace. | - -[[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/openshift/docs/V1beta1NonResourceAttributes.md b/openshift/docs/V1beta1NonResourceAttributes.md deleted file mode 100644 index 3131ba53..00000000 --- a/openshift/docs/V1beta1NonResourceAttributes.md +++ /dev/null @@ -1,11 +0,0 @@ -# V1beta1NonResourceAttributes - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**path** | **str** | Path is the URL path of the request | [optional] -**verb** | **str** | Verb is the standard HTTP verb | [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/openshift/docs/V1beta1PodDisruptionBudget.md b/openshift/docs/V1beta1PodDisruptionBudget.md deleted file mode 100644 index 25f904b0..00000000 --- a/openshift/docs/V1beta1PodDisruptionBudget.md +++ /dev/null @@ -1,14 +0,0 @@ -# V1beta1PodDisruptionBudget - -## 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 openshift.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] - -[[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/openshift/docs/V1beta1PodDisruptionBudgetList.md b/openshift/docs/V1beta1PodDisruptionBudgetList.md deleted file mode 100644 index 4a3e7de7..00000000 --- a/openshift/docs/V1beta1PodDisruptionBudgetList.md +++ /dev/null @@ -1,13 +0,0 @@ -# V1beta1PodDisruptionBudgetList - -## 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 openshift.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/openshift/docs/V1beta1PodDisruptionBudgetSpec.md b/openshift/docs/V1beta1PodDisruptionBudgetSpec.md deleted file mode 100644 index 70c26f48..00000000 --- a/openshift/docs/V1beta1PodDisruptionBudgetSpec.md +++ /dev/null @@ -1,11 +0,0 @@ -# V1beta1PodDisruptionBudgetSpec - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**min_available** | [**IntstrIntOrString**](IntstrIntOrString.md) | An eviction is allowed if at least \"minAvailable\" pods selected by \"selector\" will still be available after the eviction, i.e. even in the absence of the evicted pod. So for example you can prevent all voluntary evictions by specifying \"100%\". | [optional] -**selector** | [**UnversionedLabelSelector**](UnversionedLabelSelector.md) | Label query over pods whose evictions are managed by the disruption budget. | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/openshift/docs/V1beta1PodDisruptionBudgetStatus.md b/openshift/docs/V1beta1PodDisruptionBudgetStatus.md deleted file mode 100644 index 1945e755..00000000 --- a/openshift/docs/V1beta1PodDisruptionBudgetStatus.md +++ /dev/null @@ -1,15 +0,0 @@ -# V1beta1PodDisruptionBudgetStatus - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**current_healthy** | **int** | current number of healthy pods | -**desired_healthy** | **int** | minimum desired number of healthy pods | -**disrupted_pods** | [**dict(str, UnversionedTime)**](UnversionedTime.md) | DisruptedPods contains information about pods whose eviction was processed by the API server eviction subresource handler but has not yet been observed by the PodDisruptionBudget controller. A pod will be in this map from the time when the API server processed the eviction request to the time when the pod is seen by PDB controller as having been marked for deletion (or after a timeout). The key in the map is the name of the pod and the value is the time when the API server processed the eviction request. If the deletion didn't occur and a pod is still there it will be removed from the list automatically by PodDisruptionBudget controller after some time. If everything goes smooth this map should be empty for the most of the time. Large number of entries in the map may indicate problems with pod deletions. | -**disruptions_allowed** | **int** | Number of pod disruptions that are currently allowed. | -**expected_pods** | **int** | total number of pods counted by this disruption budget | -**observed_generation** | **int** | Most recent generation observed when updating this PDB status. PodDisruptionsAllowed and other status informatio is valid only if observedGeneration equals to PDB's object generation. | [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/openshift/docs/V1beta1PodSecurityPolicy.md b/openshift/docs/V1beta1PodSecurityPolicy.md deleted file mode 100644 index 9e2aed27..00000000 --- a/openshift/docs/V1beta1PodSecurityPolicy.md +++ /dev/null @@ -1,13 +0,0 @@ -# V1beta1PodSecurityPolicy - -## 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 openshift.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** | [**V1beta1PodSecurityPolicySpec**](V1beta1PodSecurityPolicySpec.md) | spec defines the policy enforced. | [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/openshift/docs/V1beta1PodSecurityPolicyList.md b/openshift/docs/V1beta1PodSecurityPolicyList.md deleted file mode 100644 index f1197063..00000000 --- a/openshift/docs/V1beta1PodSecurityPolicyList.md +++ /dev/null @@ -1,13 +0,0 @@ -# V1beta1PodSecurityPolicyList - -## 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[V1beta1PodSecurityPolicy]**](V1beta1PodSecurityPolicy.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 openshift.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/openshift/docs/V1beta1PodSecurityPolicySpec.md b/openshift/docs/V1beta1PodSecurityPolicySpec.md deleted file mode 100644 index 625d29d0..00000000 --- a/openshift/docs/V1beta1PodSecurityPolicySpec.md +++ /dev/null @@ -1,23 +0,0 @@ -# V1beta1PodSecurityPolicySpec - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**allowed_capabilities** | **list[str]** | AllowedCapabilities is a list of capabilities that can be requested to add to the container. Capabilities in this field may be added at the pod author's discretion. You must not list a capability in both AllowedCapabilities and RequiredDropCapabilities. | [optional] -**default_add_capabilities** | **list[str]** | DefaultAddCapabilities is the default set of capabilities that will be added to the container unless the pod spec specifically drops the capability. You may not list a capabiility in both DefaultAddCapabilities and RequiredDropCapabilities. | [optional] -**fs_group** | [**V1beta1FSGroupStrategyOptions**](V1beta1FSGroupStrategyOptions.md) | FSGroup is the strategy that will dictate what fs group is used by the SecurityContext. | -**host_ipc** | **bool** | hostIPC determines if the policy allows the use of HostIPC in the pod spec. | [optional] -**host_network** | **bool** | hostNetwork determines if the policy allows the use of HostNetwork in the pod spec. | [optional] -**host_pid** | **bool** | hostPID determines if the policy allows the use of HostPID in the pod spec. | [optional] -**host_ports** | [**list[V1beta1HostPortRange]**](V1beta1HostPortRange.md) | hostPorts determines which host port ranges are allowed to be exposed. | [optional] -**privileged** | **bool** | privileged determines if a pod can request to be run as privileged. | [optional] -**read_only_root_filesystem** | **bool** | ReadOnlyRootFilesystem when set to true will force containers to run with a read only root file system. If the container specifically requests to run with a non-read only root file system the PSP should deny the pod. If set to false the container may run with a read only root file system if it wishes but it will not be forced to. | [optional] -**required_drop_capabilities** | **list[str]** | RequiredDropCapabilities are the capabilities that will be dropped from the container. These are required to be dropped and cannot be added. | [optional] -**run_as_user** | [**V1beta1RunAsUserStrategyOptions**](V1beta1RunAsUserStrategyOptions.md) | runAsUser is the strategy that will dictate the allowable RunAsUser values that may be set. | -**se_linux** | [**V1beta1SELinuxStrategyOptions**](V1beta1SELinuxStrategyOptions.md) | seLinux is the strategy that will dictate the allowable labels that may be set. | -**supplemental_groups** | [**V1beta1SupplementalGroupsStrategyOptions**](V1beta1SupplementalGroupsStrategyOptions.md) | SupplementalGroups is the strategy that will dictate what supplemental groups are used by the SecurityContext. | -**volumes** | **list[str]** | volumes is a white list of allowed volume plugins. Empty indicates that all plugins may be used. | [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/openshift/docs/V1beta1ReplicaSet.md b/openshift/docs/V1beta1ReplicaSet.md deleted file mode 100644 index d9126488..00000000 --- a/openshift/docs/V1beta1ReplicaSet.md +++ /dev/null @@ -1,14 +0,0 @@ -# V1beta1ReplicaSet - -## 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 openshift.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] - -[[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/openshift/docs/V1beta1ReplicaSetCondition.md b/openshift/docs/V1beta1ReplicaSetCondition.md deleted file mode 100644 index 98865904..00000000 --- a/openshift/docs/V1beta1ReplicaSetCondition.md +++ /dev/null @@ -1,14 +0,0 @@ -# V1beta1ReplicaSetCondition - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**last_transition_time** | [**UnversionedTime**](UnversionedTime.md) | The last time the condition transitioned from one status to another. | [optional] -**message** | **str** | A human readable message indicating details about the transition. | [optional] -**reason** | **str** | The reason for the condition's last transition. | [optional] -**status** | **str** | Status of the condition, one of True, False, Unknown. | -**type** | **str** | Type of replica set condition. | - -[[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/openshift/docs/V1beta1ReplicaSetList.md b/openshift/docs/V1beta1ReplicaSetList.md deleted file mode 100644 index 2e9fa3a9..00000000 --- a/openshift/docs/V1beta1ReplicaSetList.md +++ /dev/null @@ -1,13 +0,0 @@ -# V1beta1ReplicaSetList - -## 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 openshift.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/openshift/docs/V1beta1ReplicaSetSpec.md b/openshift/docs/V1beta1ReplicaSetSpec.md deleted file mode 100644 index 111f85b1..00000000 --- a/openshift/docs/V1beta1ReplicaSetSpec.md +++ /dev/null @@ -1,13 +0,0 @@ -# V1beta1ReplicaSetSpec - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**min_ready_seconds** | **int** | Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready) | [optional] -**replicas** | **int** | Replicas is the number of desired replicas. This is a pointer to distinguish between explicit zero and unspecified. Defaults to 1. More info: http://kubernetes.io/docs/user-guide/replication-controller#what-is-a-replication-controller | [optional] -**selector** | [**UnversionedLabelSelector**](UnversionedLabelSelector.md) | Selector is a label query over pods that should match the replica count. If the selector is empty, it is defaulted to the labels present on the pod template. Label keys and values that must match in order to be controlled by this replica set. More info: http://kubernetes.io/docs/user-guide/labels#label-selectors | [optional] -**template** | [**V1PodTemplateSpec**](V1PodTemplateSpec.md) | Template is the object that describes the pod that will be created if insufficient replicas are detected. More info: http://kubernetes.io/docs/user-guide/replication-controller#pod-template | [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/openshift/docs/V1beta1ReplicaSetStatus.md b/openshift/docs/V1beta1ReplicaSetStatus.md deleted file mode 100644 index ce36584f..00000000 --- a/openshift/docs/V1beta1ReplicaSetStatus.md +++ /dev/null @@ -1,15 +0,0 @@ -# V1beta1ReplicaSetStatus - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**available_replicas** | **int** | The number of available replicas (ready for at least minReadySeconds) for this replica set. | [optional] -**conditions** | [**list[V1beta1ReplicaSetCondition]**](V1beta1ReplicaSetCondition.md) | Represents the latest available observations of a replica set's current state. | [optional] -**fully_labeled_replicas** | **int** | The number of pods that have labels matching the labels of the pod template of the replicaset. | [optional] -**observed_generation** | **int** | ObservedGeneration reflects the generation of the most recently observed ReplicaSet. | [optional] -**ready_replicas** | **int** | The number of ready replicas for this replica set. | [optional] -**replicas** | **int** | Replicas is the most recently oberved number of replicas. More info: http://kubernetes.io/docs/user-guide/replication-controller#what-is-a-replication-controller | - -[[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/openshift/docs/V1beta1ResourceAttributes.md b/openshift/docs/V1beta1ResourceAttributes.md deleted file mode 100644 index 196bd990..00000000 --- a/openshift/docs/V1beta1ResourceAttributes.md +++ /dev/null @@ -1,16 +0,0 @@ -# V1beta1ResourceAttributes - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**group** | **str** | Group is the API Group of the Resource. \"*\" means all. | [optional] -**name** | **str** | Name is the name of the resource being requested for a \"get\" or deleted for a \"delete\". \"\" (empty) means all. | [optional] -**namespace** | **str** | Namespace is the namespace of the action being requested. Currently, there is no distinction between no namespace and all namespaces \"\" (empty) is defaulted for LocalSubjectAccessReviews \"\" (empty) is empty for cluster-scoped resources \"\" (empty) means \"all\" for namespace scoped resources from a SubjectAccessReview or SelfSubjectAccessReview | [optional] -**resource** | **str** | Resource is one of the existing resource types. \"*\" means all. | [optional] -**subresource** | **str** | Subresource is one of the existing resource types. \"\" means none. | [optional] -**verb** | **str** | Verb is a kubernetes resource API verb, like: get, list, watch, create, update, delete, proxy. \"*\" means all. | [optional] -**version** | **str** | Version is the API Version of the Resource. \"*\" means all. | [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/openshift/docs/V1beta1RollbackConfig.md b/openshift/docs/V1beta1RollbackConfig.md deleted file mode 100644 index 28e5a8ff..00000000 --- a/openshift/docs/V1beta1RollbackConfig.md +++ /dev/null @@ -1,10 +0,0 @@ -# V1beta1RollbackConfig - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**revision** | **int** | The revision to rollback to. If set to 0, rollbck to the last 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/openshift/docs/V1beta1RollingUpdateDeployment.md b/openshift/docs/V1beta1RollingUpdateDeployment.md deleted file mode 100644 index e6ce0578..00000000 --- a/openshift/docs/V1beta1RollingUpdateDeployment.md +++ /dev/null @@ -1,11 +0,0 @@ -# V1beta1RollingUpdateDeployment - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**max_surge** | [**IntstrIntOrString**](IntstrIntOrString.md) | The maximum number of pods that can be scheduled above the desired number of pods. Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%). This can not be 0 if MaxUnavailable is 0. Absolute number is calculated from percentage by rounding up. By default, a value of 1 is used. Example: when this is set to 30%, the new RC can be scaled up immediately when the rolling update starts, such that the total number of old and new pods do not exceed 130% of desired pods. Once old pods have been killed, new RC can be scaled up further, ensuring that total number of pods running at any time during the update is atmost 130% of desired pods. | [optional] -**max_unavailable** | [**IntstrIntOrString**](IntstrIntOrString.md) | The maximum number of pods that can be unavailable during the update. Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%). Absolute number is calculated from percentage by rounding up. This can not be 0 if MaxSurge is 0. By default, a fixed value of 1 is used. Example: when this is set to 30%, the old RC can be scaled down to 70% of desired pods immediately when the rolling update starts. Once new pods are ready, old RC can be scaled down further, followed by scaling up the new RC, ensuring that the total number of pods available at all times during the update is at least 70% of desired pods. | [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/openshift/docs/V1beta1RunAsUserStrategyOptions.md b/openshift/docs/V1beta1RunAsUserStrategyOptions.md deleted file mode 100644 index 354e726a..00000000 --- a/openshift/docs/V1beta1RunAsUserStrategyOptions.md +++ /dev/null @@ -1,11 +0,0 @@ -# V1beta1RunAsUserStrategyOptions - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**ranges** | [**list[V1beta1IDRange]**](V1beta1IDRange.md) | Ranges are the allowed ranges of uids that may be used. | [optional] -**rule** | **str** | Rule is the strategy that will dictate the allowable RunAsUser values that may be set. | - -[[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/openshift/docs/V1beta1SELinuxStrategyOptions.md b/openshift/docs/V1beta1SELinuxStrategyOptions.md index 974d40b3..2dd611b1 100644 --- a/openshift/docs/V1beta1SELinuxStrategyOptions.md +++ b/openshift/docs/V1beta1SELinuxStrategyOptions.md @@ -4,7 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **rule** | **str** | type is the strategy that will dictate the allowable labels that may be set. | -**se_linux_options** | [**V1SELinuxOptions**](V1SELinuxOptions.md) | seLinuxOptions required to run as; required for MustRunAs More info: http://releases.k8s.io/HEAD/docs/design/security_context.md#security-context | [optional] +**se_linux_options** | [**V1SELinuxOptions**](V1SELinuxOptions.md) | seLinuxOptions required to run as; required for MustRunAs More info: https://git.k8s.io/community/contributors/design-proposals/security_context.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/openshift/docs/V1beta1Scale.md b/openshift/docs/V1beta1Scale.md deleted file mode 100644 index 7024760b..00000000 --- a/openshift/docs/V1beta1Scale.md +++ /dev/null @@ -1,14 +0,0 @@ -# V1beta1Scale - -## 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 openshift.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] - -[[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/openshift/docs/V1beta1ScaleSpec.md b/openshift/docs/V1beta1ScaleSpec.md deleted file mode 100644 index 7d78e71f..00000000 --- a/openshift/docs/V1beta1ScaleSpec.md +++ /dev/null @@ -1,10 +0,0 @@ -# V1beta1ScaleSpec - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**replicas** | **int** | desired number of instances for the scaled object. | [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/openshift/docs/V1beta1ScaleStatus.md b/openshift/docs/V1beta1ScaleStatus.md deleted file mode 100644 index edb5078e..00000000 --- a/openshift/docs/V1beta1ScaleStatus.md +++ /dev/null @@ -1,12 +0,0 @@ -# V1beta1ScaleStatus - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**replicas** | **int** | actual number of observed instances of the scaled object. | -**selector** | **dict(str, str)** | label query over pods that should match the replicas count. More info: http://kubernetes.io/docs/user-guide/labels#label-selectors | [optional] -**target_selector** | **str** | label selector for pods that should match the replicas count. This is a serializated version of both map-based and more expressive set-based selectors. This is done to avoid introspection in the openshift.clients. The string will be in the same format as the query-param syntax. If the target type only supports map-based selectors, both this field and map-based selector field are populated. More info: http://kubernetes.io/docs/user-guide/labels#label-selectors | [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/openshift/docs/V1beta1SelfSubjectAccessReview.md b/openshift/docs/V1beta1SelfSubjectAccessReview.md deleted file mode 100644 index c76328da..00000000 --- a/openshift/docs/V1beta1SelfSubjectAccessReview.md +++ /dev/null @@ -1,14 +0,0 @@ -# V1beta1SelfSubjectAccessReview - -## 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 openshift.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] - -[[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/openshift/docs/V1beta1SelfSubjectAccessReviewSpec.md b/openshift/docs/V1beta1SelfSubjectAccessReviewSpec.md deleted file mode 100644 index 5d440252..00000000 --- a/openshift/docs/V1beta1SelfSubjectAccessReviewSpec.md +++ /dev/null @@ -1,11 +0,0 @@ -# V1beta1SelfSubjectAccessReviewSpec - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**non_resource_attributes** | [**V1beta1NonResourceAttributes**](V1beta1NonResourceAttributes.md) | NonResourceAttributes describes information for a non-resource access request | [optional] -**resource_attributes** | [**V1beta1ResourceAttributes**](V1beta1ResourceAttributes.md) | ResourceAuthorizationAttributes describes information for a resource access request | [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/openshift/docs/V1beta1StatefulSet.md b/openshift/docs/V1beta1StatefulSet.md deleted file mode 100644 index a1085bef..00000000 --- a/openshift/docs/V1beta1StatefulSet.md +++ /dev/null @@ -1,14 +0,0 @@ -# V1beta1StatefulSet - -## 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 openshift.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] - -[[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/openshift/docs/V1beta1StatefulSetList.md b/openshift/docs/V1beta1StatefulSetList.md deleted file mode 100644 index cd4fc140..00000000 --- a/openshift/docs/V1beta1StatefulSetList.md +++ /dev/null @@ -1,13 +0,0 @@ -# V1beta1StatefulSetList - -## 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 openshift.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/openshift/docs/V1beta1StatefulSetSpec.md b/openshift/docs/V1beta1StatefulSetSpec.md deleted file mode 100644 index c6cab394..00000000 --- a/openshift/docs/V1beta1StatefulSetSpec.md +++ /dev/null @@ -1,14 +0,0 @@ -# V1beta1StatefulSetSpec - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**replicas** | **int** | Replicas is the desired number of replicas of the given Template. These are replicas in the sense that they are instantiations of the same Template, but individual replicas also have a consistent identity. If unspecified, defaults to 1. | [optional] -**selector** | [**UnversionedLabelSelector**](UnversionedLabelSelector.md) | Selector is a label query over pods that should match the replica count. If empty, defaulted to labels on the pod template. More info: http://kubernetes.io/docs/user-guide/labels#label-selectors | [optional] -**service_name** | **str** | ServiceName is the name of the service that governs this StatefulSet. This service must exist before the StatefulSet, and is responsible for the network identity of the set. Pods get DNS/hostnames that follow the pattern: pod-specific-string.serviceName.default.svc.cluster.local where \"pod-specific-string\" is managed by the StatefulSet controller. | -**template** | [**V1PodTemplateSpec**](V1PodTemplateSpec.md) | Template is the object that describes the pod that will be created if insufficient replicas are detected. Each pod stamped out by the StatefulSet will fulfill this Template, but have a unique identity from the rest of the StatefulSet. | -**volume_claim_templates** | [**list[V1PersistentVolumeClaim]**](V1PersistentVolumeClaim.md) | VolumeClaimTemplates is a list of claims that pods are allowed to reference. The StatefulSet controller is responsible for mapping network identities to claims in a way that maintains the identity of a pod. Every claim in this list must have at least one matching (by name) volumeMount in one container in the template. A claim in this list takes precedence over any volumes in the template, with the same name. | [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/openshift/docs/V1beta1StatefulSetStatus.md b/openshift/docs/V1beta1StatefulSetStatus.md deleted file mode 100644 index a7d5ebfb..00000000 --- a/openshift/docs/V1beta1StatefulSetStatus.md +++ /dev/null @@ -1,11 +0,0 @@ -# V1beta1StatefulSetStatus - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**observed_generation** | **int** | most recent generation observed by this autoscaler. | [optional] -**replicas** | **int** | Replicas is the number of actual replicas. | - -[[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/openshift/docs/V1beta1StorageClass.md b/openshift/docs/V1beta1StorageClass.md deleted file mode 100644 index a0dc489e..00000000 --- a/openshift/docs/V1beta1StorageClass.md +++ /dev/null @@ -1,14 +0,0 @@ -# V1beta1StorageClass - -## 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 openshift.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. | - -[[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/openshift/docs/V1beta1StorageClassList.md b/openshift/docs/V1beta1StorageClassList.md deleted file mode 100644 index e3fe70b9..00000000 --- a/openshift/docs/V1beta1StorageClassList.md +++ /dev/null @@ -1,13 +0,0 @@ -# V1beta1StorageClassList - -## 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 openshift.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/openshift/docs/V1beta1SubjectAccessReview.md b/openshift/docs/V1beta1SubjectAccessReview.md deleted file mode 100644 index 889e874e..00000000 --- a/openshift/docs/V1beta1SubjectAccessReview.md +++ /dev/null @@ -1,14 +0,0 @@ -# V1beta1SubjectAccessReview - -## 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 openshift.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] - -[[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/openshift/docs/V1beta1SubjectAccessReviewSpec.md b/openshift/docs/V1beta1SubjectAccessReviewSpec.md deleted file mode 100644 index d695558e..00000000 --- a/openshift/docs/V1beta1SubjectAccessReviewSpec.md +++ /dev/null @@ -1,14 +0,0 @@ -# V1beta1SubjectAccessReviewSpec - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**extra** | **dict(str, list[str])** | Extra corresponds to the user.Info.GetExtra() method from the authenticator. Since that is input to the authorizer it needs a reflection here. | [optional] -**group** | **list[str]** | Groups is the groups you're testing for. | [optional] -**non_resource_attributes** | [**V1beta1NonResourceAttributes**](V1beta1NonResourceAttributes.md) | NonResourceAttributes describes information for a non-resource access request | [optional] -**resource_attributes** | [**V1beta1ResourceAttributes**](V1beta1ResourceAttributes.md) | ResourceAuthorizationAttributes describes information for a resource access request | [optional] -**user** | **str** | User is the user you're testing for. If you specify \"User\" but not \"Group\", then is it interpreted as \"What if User were not a member of any groups | [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/openshift/docs/V1beta1SubjectAccessReviewStatus.md b/openshift/docs/V1beta1SubjectAccessReviewStatus.md deleted file mode 100644 index 89967823..00000000 --- a/openshift/docs/V1beta1SubjectAccessReviewStatus.md +++ /dev/null @@ -1,12 +0,0 @@ -# V1beta1SubjectAccessReviewStatus - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**allowed** | **bool** | Allowed is required. True if the action would be allowed, false otherwise. | -**evaluation_error** | **str** | EvaluationError is an indication that some error occurred during the authorization check. It is entirely possible to get an error and be able to continue determine authorization status in spite of it. For instance, RBAC can be missing a role, but enough roles are still present and bound to reason about the request. | [optional] -**reason** | **str** | Reason is optional. It indicates why a request was allowed or denied. | [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/openshift/docs/V1beta1SubresourceReference.md b/openshift/docs/V1beta1SubresourceReference.md deleted file mode 100644 index 58f57ab1..00000000 --- a/openshift/docs/V1beta1SubresourceReference.md +++ /dev/null @@ -1,13 +0,0 @@ -# V1beta1SubresourceReference - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**api_version** | **str** | API version of the referent | [optional] -**kind** | **str** | Kind of the referent; More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional] -**name** | **str** | Name of the referent; More info: http://kubernetes.io/docs/user-guide/identifiers#names | [optional] -**subresource** | **str** | Subresource name of the referent | [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/openshift/docs/V1beta1SupplementalGroupsStrategyOptions.md b/openshift/docs/V1beta1SupplementalGroupsStrategyOptions.md deleted file mode 100644 index 0d9b1f42..00000000 --- a/openshift/docs/V1beta1SupplementalGroupsStrategyOptions.md +++ /dev/null @@ -1,11 +0,0 @@ -# V1beta1SupplementalGroupsStrategyOptions - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**ranges** | [**list[V1beta1IDRange]**](V1beta1IDRange.md) | Ranges are the allowed ranges of supplemental groups. If you would like to force a single supplemental group then supply a single range with the same start and end. | [optional] -**rule** | **str** | Rule is the strategy that will dictate what supplemental groups is used in the SecurityContext. | [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/openshift/docs/V1beta1ThirdPartyResource.md b/openshift/docs/V1beta1ThirdPartyResource.md deleted file mode 100644 index 1dd5f284..00000000 --- a/openshift/docs/V1beta1ThirdPartyResource.md +++ /dev/null @@ -1,14 +0,0 @@ -# V1beta1ThirdPartyResource - -## 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 openshift.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] - -[[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/openshift/docs/V1beta1ThirdPartyResourceList.md b/openshift/docs/V1beta1ThirdPartyResourceList.md deleted file mode 100644 index 0771e2e3..00000000 --- a/openshift/docs/V1beta1ThirdPartyResourceList.md +++ /dev/null @@ -1,13 +0,0 @@ -# V1beta1ThirdPartyResourceList - -## 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 openshift.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/openshift/docs/V1beta1TokenReview.md b/openshift/docs/V1beta1TokenReview.md deleted file mode 100644 index 2053496c..00000000 --- a/openshift/docs/V1beta1TokenReview.md +++ /dev/null @@ -1,14 +0,0 @@ -# V1beta1TokenReview - -## 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 openshift.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] - -[[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/openshift/docs/V1beta1TokenReviewStatus.md b/openshift/docs/V1beta1TokenReviewStatus.md deleted file mode 100644 index cd7af765..00000000 --- a/openshift/docs/V1beta1TokenReviewStatus.md +++ /dev/null @@ -1,12 +0,0 @@ -# V1beta1TokenReviewStatus - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**authenticated** | **bool** | Authenticated indicates that the token was associated with a known user. | [optional] -**error** | **str** | Error indicates that the token couldn't be checked | [optional] -**user** | [**V1beta1UserInfo**](V1beta1UserInfo.md) | User is the UserInfo associated with the provided token. | [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/openshift/docs/V1beta1UserInfo.md b/openshift/docs/V1beta1UserInfo.md deleted file mode 100644 index 7ba32fe5..00000000 --- a/openshift/docs/V1beta1UserInfo.md +++ /dev/null @@ -1,13 +0,0 @@ -# V1beta1UserInfo - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**extra** | **dict(str, list[str])** | Any additional information provided by the authenticator. | [optional] -**groups** | **list[str]** | The names of groups this user is a part of. | [optional] -**uid** | **str** | A unique value that identifies this user across time. If this user is deleted and another user by the same name is added, they will have different UIDs. | [optional] -**username** | **str** | The name that uniquely identifies this user among all active users. | [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/openshift/docs/V2alpha1CronJob.md b/openshift/docs/V2alpha1CronJob.md deleted file mode 100644 index de39c44a..00000000 --- a/openshift/docs/V2alpha1CronJob.md +++ /dev/null @@ -1,14 +0,0 @@ -# V2alpha1CronJob - -## 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 openshift.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] - -[[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/openshift/docs/V2alpha1CronJobList.md b/openshift/docs/V2alpha1CronJobList.md deleted file mode 100644 index 55e572c1..00000000 --- a/openshift/docs/V2alpha1CronJobList.md +++ /dev/null @@ -1,13 +0,0 @@ -# V2alpha1CronJobList - -## 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 openshift.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/openshift/docs/V2alpha1CronJobSpec.md b/openshift/docs/V2alpha1CronJobSpec.md deleted file mode 100644 index d9e879fb..00000000 --- a/openshift/docs/V2alpha1CronJobSpec.md +++ /dev/null @@ -1,14 +0,0 @@ -# V2alpha1CronJobSpec - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**concurrency_policy** | **str** | ConcurrencyPolicy specifies how to treat concurrent executions of a Job. | [optional] -**job_template** | [**V2alpha1JobTemplateSpec**](V2alpha1JobTemplateSpec.md) | JobTemplate is the object that describes the job that will be created when executing a CronJob. | -**schedule** | **str** | Schedule contains the schedule in Cron format, see https://en.wikipedia.org/wiki/Cron. | -**starting_deadline_seconds** | **int** | Optional deadline in seconds for starting the job if it misses scheduled time for any reason. Missed jobs executions will be counted as failed ones. | [optional] -**suspend** | **bool** | Suspend flag tells the controller to suspend subsequent executions, it does not apply to already started executions. Defaults to 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/openshift/docs/V2alpha1CronJobStatus.md b/openshift/docs/V2alpha1CronJobStatus.md deleted file mode 100644 index ac15f191..00000000 --- a/openshift/docs/V2alpha1CronJobStatus.md +++ /dev/null @@ -1,11 +0,0 @@ -# V2alpha1CronJobStatus - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**active** | [**list[V1ObjectReference]**](V1ObjectReference.md) | Active holds pointers to currently running jobs. | [optional] -**last_schedule_time** | [**UnversionedTime**](UnversionedTime.md) | LastScheduleTime keeps information of when was the last time the job was successfully scheduled. | [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/openshift/docs/V2alpha1Job.md b/openshift/docs/V2alpha1Job.md deleted file mode 100644 index 6bdf33b2..00000000 --- a/openshift/docs/V2alpha1Job.md +++ /dev/null @@ -1,14 +0,0 @@ -# V2alpha1Job - -## 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 openshift.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] - -[[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/openshift/docs/V2alpha1JobCondition.md b/openshift/docs/V2alpha1JobCondition.md deleted file mode 100644 index 1ded8af5..00000000 --- a/openshift/docs/V2alpha1JobCondition.md +++ /dev/null @@ -1,15 +0,0 @@ -# V2alpha1JobCondition - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**last_probe_time** | [**UnversionedTime**](UnversionedTime.md) | Last time the condition was checked. | [optional] -**last_transition_time** | [**UnversionedTime**](UnversionedTime.md) | Last time the condition transit from one status to another. | [optional] -**message** | **str** | Human readable message indicating details about last transition. | [optional] -**reason** | **str** | (brief) reason for the condition's last transition. | [optional] -**status** | **str** | Status of the condition, one of True, False, Unknown. | -**type** | **str** | Type of job condition, Complete or Failed. | - -[[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/openshift/docs/V2alpha1JobList.md b/openshift/docs/V2alpha1JobList.md deleted file mode 100644 index 9cb34001..00000000 --- a/openshift/docs/V2alpha1JobList.md +++ /dev/null @@ -1,13 +0,0 @@ -# V2alpha1JobList - -## 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 openshift.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/openshift/docs/V2alpha1JobSpec.md b/openshift/docs/V2alpha1JobSpec.md deleted file mode 100644 index 382e13b0..00000000 --- a/openshift/docs/V2alpha1JobSpec.md +++ /dev/null @@ -1,15 +0,0 @@ -# V2alpha1JobSpec - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**active_deadline_seconds** | **int** | Optional duration in seconds relative to the startTime that the job may be active before the system tries to terminate it; value must be positive integer | [optional] -**completions** | **int** | Completions specifies the desired number of successfully finished pods the job should be run with. Setting to nil means that the success of any pod signals the success of all pods, and allows parallelism to have any positive value. Setting to 1 means that parallelism is limited to 1 and the success of that pod signals the success of the job. More info: http://kubernetes.io/docs/user-guide/jobs | [optional] -**manual_selector** | **bool** | ManualSelector controls generation of pod labels and pod selectors. Leave `manualSelector` unset unless you are certain what you are doing. When false or unset, the system pick labels unique to this job and appends those labels to the pod template. When true, the user is responsible for picking unique labels and specifying the selector. Failure to pick a unique label may cause this and other jobs to not function correctly. However, You may see `manualSelector=true` in jobs that were created with the old `extensions/v1beta1` API. More info: http://releases.k8s.io/HEAD/docs/design/selector-generation.md | [optional] -**parallelism** | **int** | Parallelism specifies the maximum desired number of pods the job should run at any given time. The actual number of pods running in steady state will be less than this number when ((.spec.completions - .status.successful) < .spec.parallelism), i.e. when the work left to do is less than max parallelism. More info: http://kubernetes.io/docs/user-guide/jobs | [optional] -**selector** | [**UnversionedLabelSelector**](UnversionedLabelSelector.md) | Selector is a label query over pods that should match the pod count. Normally, the system sets this field for you. More info: http://kubernetes.io/docs/user-guide/labels#label-selectors | [optional] -**template** | [**V1PodTemplateSpec**](V1PodTemplateSpec.md) | Template is the object that describes the pod that will be created when executing a job. More info: http://kubernetes.io/docs/user-guide/jobs | - -[[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/openshift/docs/V2alpha1JobStatus.md b/openshift/docs/V2alpha1JobStatus.md deleted file mode 100644 index 0e62a406..00000000 --- a/openshift/docs/V2alpha1JobStatus.md +++ /dev/null @@ -1,15 +0,0 @@ -# V2alpha1JobStatus - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**active** | **int** | Active is the number of actively running pods. | [optional] -**completion_time** | [**UnversionedTime**](UnversionedTime.md) | CompletionTime represents time when the job was completed. It is not guaranteed to be set in happens-before order across separate operations. It is represented in RFC3339 form and is in UTC. | [optional] -**conditions** | [**list[V2alpha1JobCondition]**](V2alpha1JobCondition.md) | Conditions represent the latest available observations of an object's current state. More info: http://kubernetes.io/docs/user-guide/jobs | [optional] -**failed** | **int** | Failed is the number of pods which reached Phase Failed. | [optional] -**start_time** | [**UnversionedTime**](UnversionedTime.md) | StartTime represents time when the job was acknowledged by the Job Manager. It is not guaranteed to be set in happens-before order across separate operations. It is represented in RFC3339 form and is in UTC. | [optional] -**succeeded** | **int** | Succeeded is the number of pods which reached Phase Succeeded. | [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/openshift/docs/V2alpha1JobTemplateSpec.md b/openshift/docs/V2alpha1JobTemplateSpec.md deleted file mode 100644 index ba7ad8e4..00000000 --- a/openshift/docs/V2alpha1JobTemplateSpec.md +++ /dev/null @@ -1,11 +0,0 @@ -# V2alpha1JobTemplateSpec - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | Standard object's metadata of the jobs created from this template. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata | [optional] -**spec** | [**V2alpha1JobSpec**](V2alpha1JobSpec.md) | Specification of the desired behavior of the job. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status | [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/openshift/docs/VersionApi.md b/openshift/docs/VersionApi.md deleted file mode 100644 index c6bb82bd..00000000 --- a/openshift/docs/VersionApi.md +++ /dev/null @@ -1,52 +0,0 @@ -# openshift.client.VersionApi - -All URIs are relative to *https://localhost* - -Method | HTTP request | Description -------------- | ------------- | ------------- -[**get_code_version**](VersionApi.md#get_code_version) | **GET** /version/ | - - -# **get_code_version** -> VersionInfo get_code_version() - - - -get the code version - -### Example -```python -from __future__ import print_statement -import time -import openshift.client -from kubernetes.client.rest import ApiException -from pprint import pprint - -# create an instance of the API class -api_instance = openshift.client.VersionApi() - -try: - api_response = api_instance.get_code_version() - pprint(api_response) -except ApiException as e: - print("Exception when calling VersionApi->get_code_version: %s\n" % e) -``` - -### Parameters -This endpoint does not need any parameter. - -### Return type - -[**VersionInfo**](VersionInfo.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - diff --git a/openshift/docs/VersionInfo.md b/openshift/docs/VersionInfo.md deleted file mode 100644 index d9acfd10..00000000 --- a/openshift/docs/VersionInfo.md +++ /dev/null @@ -1,18 +0,0 @@ -# VersionInfo - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**build_date** | **str** | | -**compiler** | **str** | | -**git_commit** | **str** | | -**git_tree_state** | **str** | | -**git_version** | **str** | | -**go_version** | **str** | | -**major** | **str** | | -**minor** | **str** | | -**platform** | **str** | | - -[[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/openshift/docs/VersionedEvent.md b/openshift/docs/VersionedEvent.md deleted file mode 100644 index 022cfd40..00000000 --- a/openshift/docs/VersionedEvent.md +++ /dev/null @@ -1,11 +0,0 @@ -# VersionedEvent - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**object** | [**RuntimeRawExtension**](RuntimeRawExtension.md) | Object is: * If Type is Added or Modified: the new state of the object. * If Type is Deleted: the state of the object immediately before deletion. * If Type is Error: *api.Status is recommended; other types may make sense depending on context. | -**type** | **str** | | - -[[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/openshift/test/test_apps_openshift_io_api.py b/openshift/test/test_apps_openshift_io_api.py index cedf7dd5..747c69d0 100644 --- a/openshift/test/test_apps_openshift_io_api.py +++ b/openshift/test/test_apps_openshift_io_api.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -31,9 +31,9 @@ def setUp(self): def tearDown(self): pass - def test_get_apps_openshift_io_api_group(self): + def test_get_api_group(self): """ - Test case for get_apps_openshift_io_api_group + Test case for get_api_group """ diff --git a/openshift/test/test_apps_openshift_io_v1_api.py b/openshift/test/test_apps_openshift_io_v1_api.py index 8e154cc4..fd3fa8f8 100644 --- a/openshift/test/test_apps_openshift_io_v1_api.py +++ b/openshift/test/test_apps_openshift_io_v1_api.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -31,153 +31,153 @@ def setUp(self): def tearDown(self): pass - def test_create_apps_openshift_io_v1_deployment_config_for_all_namespaces(self): + def test_create_deployment_config_for_all_namespaces(self): """ - Test case for create_apps_openshift_io_v1_deployment_config_for_all_namespaces + Test case for create_deployment_config_for_all_namespaces """ pass - def test_create_apps_openshift_io_v1_namespaced_deployment_config(self): + def test_create_namespaced_deployment_config(self): """ - Test case for create_apps_openshift_io_v1_namespaced_deployment_config + Test case for create_namespaced_deployment_config """ pass - def test_create_apps_openshift_io_v1_namespaced_deployment_config_rollback_rollback(self): + def test_create_namespaced_deployment_config_rollback_rollback(self): """ - Test case for create_apps_openshift_io_v1_namespaced_deployment_config_rollback_rollback + Test case for create_namespaced_deployment_config_rollback_rollback """ pass - def test_create_apps_openshift_io_v1_namespaced_deployment_request_instantiate(self): + def test_create_namespaced_deployment_request_instantiate(self): """ - Test case for create_apps_openshift_io_v1_namespaced_deployment_request_instantiate + Test case for create_namespaced_deployment_request_instantiate """ pass - def test_delete_apps_openshift_io_v1_collection_namespaced_deployment_config(self): + def test_delete_collection_namespaced_deployment_config(self): """ - Test case for delete_apps_openshift_io_v1_collection_namespaced_deployment_config + Test case for delete_collection_namespaced_deployment_config """ pass - def test_delete_apps_openshift_io_v1_namespaced_deployment_config(self): + def test_delete_namespaced_deployment_config(self): """ - Test case for delete_apps_openshift_io_v1_namespaced_deployment_config + Test case for delete_namespaced_deployment_config """ pass - def test_get_apps_openshift_io_v1_api_resources(self): + def test_get_api_resources(self): """ - Test case for get_apps_openshift_io_v1_api_resources + Test case for get_api_resources """ pass - def test_list_apps_openshift_io_v1_deployment_config_for_all_namespaces(self): + def test_list_deployment_config_for_all_namespaces(self): """ - Test case for list_apps_openshift_io_v1_deployment_config_for_all_namespaces + Test case for list_deployment_config_for_all_namespaces """ pass - def test_list_apps_openshift_io_v1_namespaced_deployment_config(self): + def test_list_namespaced_deployment_config(self): """ - Test case for list_apps_openshift_io_v1_namespaced_deployment_config + Test case for list_namespaced_deployment_config """ pass - def test_patch_apps_openshift_io_v1_namespaced_deployment_config(self): + def test_patch_namespaced_deployment_config(self): """ - Test case for patch_apps_openshift_io_v1_namespaced_deployment_config + Test case for patch_namespaced_deployment_config """ pass - def test_patch_apps_openshift_io_v1_namespaced_deployment_config_status(self): + def test_patch_namespaced_deployment_config_status(self): """ - Test case for patch_apps_openshift_io_v1_namespaced_deployment_config_status + Test case for patch_namespaced_deployment_config_status """ pass - def test_patch_apps_openshift_io_v1_namespaced_scale_scale(self): + def test_patch_namespaced_scale_scale(self): """ - Test case for patch_apps_openshift_io_v1_namespaced_scale_scale + Test case for patch_namespaced_scale_scale """ pass - def test_read_apps_openshift_io_v1_namespaced_deployment_config(self): + def test_read_namespaced_deployment_config(self): """ - Test case for read_apps_openshift_io_v1_namespaced_deployment_config + Test case for read_namespaced_deployment_config """ pass - def test_read_apps_openshift_io_v1_namespaced_deployment_config_status(self): + def test_read_namespaced_deployment_config_status(self): """ - Test case for read_apps_openshift_io_v1_namespaced_deployment_config_status + Test case for read_namespaced_deployment_config_status """ pass - def test_read_apps_openshift_io_v1_namespaced_deployment_log_log(self): + def test_read_namespaced_deployment_log_log(self): """ - Test case for read_apps_openshift_io_v1_namespaced_deployment_log_log + Test case for read_namespaced_deployment_log_log """ pass - def test_read_apps_openshift_io_v1_namespaced_scale_scale(self): + def test_read_namespaced_scale_scale(self): """ - Test case for read_apps_openshift_io_v1_namespaced_scale_scale + Test case for read_namespaced_scale_scale """ pass - def test_replace_apps_openshift_io_v1_namespaced_deployment_config(self): + def test_replace_namespaced_deployment_config(self): """ - Test case for replace_apps_openshift_io_v1_namespaced_deployment_config + Test case for replace_namespaced_deployment_config """ pass - def test_replace_apps_openshift_io_v1_namespaced_deployment_config_status(self): + def test_replace_namespaced_deployment_config_status(self): """ - Test case for replace_apps_openshift_io_v1_namespaced_deployment_config_status + Test case for replace_namespaced_deployment_config_status """ pass - def test_replace_apps_openshift_io_v1_namespaced_scale_scale(self): + def test_replace_namespaced_scale_scale(self): """ - Test case for replace_apps_openshift_io_v1_namespaced_scale_scale + Test case for replace_namespaced_scale_scale """ diff --git a/openshift/test/test_apps_v1beta1_api.py b/openshift/test/test_apps_v1beta1_api.py deleted file mode 100644 index 4dabcd5d..00000000 --- a/openshift/test/test_apps_v1beta1_api.py +++ /dev/null @@ -1,140 +0,0 @@ -# coding: utf-8 - -""" - OpenShift API (with Kubernetes) - - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - - OpenAPI spec version: v3.6.0-alpha.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import os -import sys -import unittest - -import openshift.client -from kubernetes.client.rest import ApiException -from openshift.client.apis.apps_v1beta1_api import AppsV1beta1Api - - -class TestAppsV1beta1Api(unittest.TestCase): - """ AppsV1beta1Api unit test stubs """ - - def setUp(self): - self.api = openshift.client.apis.apps_v1beta1_api.AppsV1beta1Api() - - def tearDown(self): - pass - - def test_create_namespaced_stateful_set(self): - """ - Test case for create_namespaced_stateful_set - - - """ - pass - - def test_create_stateful_set_for_all_namespaces(self): - """ - Test case for create_stateful_set_for_all_namespaces - - - """ - pass - - def test_delete_collection_namespaced_stateful_set(self): - """ - Test case for delete_collection_namespaced_stateful_set - - - """ - pass - - def test_delete_namespaced_stateful_set(self): - """ - Test case for delete_namespaced_stateful_set - - - """ - pass - - def test_get_api_resources(self): - """ - Test case for get_api_resources - - - """ - pass - - def test_list_namespaced_stateful_set(self): - """ - Test case for list_namespaced_stateful_set - - - """ - pass - - def test_list_stateful_set_for_all_namespaces(self): - """ - Test case for list_stateful_set_for_all_namespaces - - - """ - pass - - def test_patch_namespaced_stateful_set(self): - """ - Test case for patch_namespaced_stateful_set - - - """ - pass - - def test_patch_namespaced_stateful_set_status(self): - """ - Test case for patch_namespaced_stateful_set_status - - - """ - pass - - def test_read_namespaced_stateful_set(self): - """ - Test case for read_namespaced_stateful_set - - - """ - pass - - def test_read_namespaced_stateful_set_status(self): - """ - Test case for read_namespaced_stateful_set_status - - - """ - pass - - def test_replace_namespaced_stateful_set(self): - """ - Test case for replace_namespaced_stateful_set - - - """ - pass - - def test_replace_namespaced_stateful_set_status(self): - """ - Test case for replace_namespaced_stateful_set_status - - - """ - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/openshift/test/test_authentication_v1beta1_api.py b/openshift/test/test_authentication_v1beta1_api.py deleted file mode 100644 index 5cae2036..00000000 --- a/openshift/test/test_authentication_v1beta1_api.py +++ /dev/null @@ -1,52 +0,0 @@ -# coding: utf-8 - -""" - OpenShift API (with Kubernetes) - - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - - OpenAPI spec version: v3.6.0-alpha.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import os -import sys -import unittest - -import openshift.client -from kubernetes.client.rest import ApiException -from openshift.client.apis.authentication_v1beta1_api import AuthenticationV1beta1Api - - -class TestAuthenticationV1beta1Api(unittest.TestCase): - """ AuthenticationV1beta1Api unit test stubs """ - - def setUp(self): - self.api = openshift.client.apis.authentication_v1beta1_api.AuthenticationV1beta1Api() - - def tearDown(self): - pass - - def test_create_token_review(self): - """ - Test case for create_token_review - - - """ - pass - - def test_get_api_resources(self): - """ - Test case for get_api_resources - - - """ - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/openshift/test/test_authorization_openshift_io_api.py b/openshift/test/test_authorization_openshift_io_api.py index 75d8dd0b..ac95d0dd 100644 --- a/openshift/test/test_authorization_openshift_io_api.py +++ b/openshift/test/test_authorization_openshift_io_api.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -31,9 +31,9 @@ def setUp(self): def tearDown(self): pass - def test_get_authorization_openshift_io_api_group(self): + def test_get_api_group(self): """ - Test case for get_authorization_openshift_io_api_group + Test case for get_api_group """ diff --git a/openshift/test/test_authorization_openshift_io_v1_api.py b/openshift/test/test_authorization_openshift_io_v1_api.py index 72e1ef6b..08243dbd 100644 --- a/openshift/test/test_authorization_openshift_io_v1_api.py +++ b/openshift/test/test_authorization_openshift_io_v1_api.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -31,657 +31,385 @@ def setUp(self): def tearDown(self): pass - def test_create_authorization_openshift_io_v1_cluster_policy(self): + def test_create_cluster_role(self): """ - Test case for create_authorization_openshift_io_v1_cluster_policy + Test case for create_cluster_role """ pass - def test_create_authorization_openshift_io_v1_cluster_policy_binding(self): + def test_create_cluster_role_binding(self): """ - Test case for create_authorization_openshift_io_v1_cluster_policy_binding + Test case for create_cluster_role_binding """ pass - def test_create_authorization_openshift_io_v1_cluster_role(self): + def test_create_local_resource_access_review_for_all_namespaces(self): """ - Test case for create_authorization_openshift_io_v1_cluster_role + Test case for create_local_resource_access_review_for_all_namespaces """ pass - def test_create_authorization_openshift_io_v1_cluster_role_binding(self): + def test_create_local_subject_access_review_for_all_namespaces(self): """ - Test case for create_authorization_openshift_io_v1_cluster_role_binding + Test case for create_local_subject_access_review_for_all_namespaces """ pass - def test_create_authorization_openshift_io_v1_local_resource_access_review_for_all_namespaces(self): + def test_create_namespaced_local_resource_access_review(self): """ - Test case for create_authorization_openshift_io_v1_local_resource_access_review_for_all_namespaces + Test case for create_namespaced_local_resource_access_review """ pass - def test_create_authorization_openshift_io_v1_local_subject_access_review_for_all_namespaces(self): + def test_create_namespaced_local_subject_access_review(self): """ - Test case for create_authorization_openshift_io_v1_local_subject_access_review_for_all_namespaces + Test case for create_namespaced_local_subject_access_review """ pass - def test_create_authorization_openshift_io_v1_namespaced_local_resource_access_review(self): + def test_create_namespaced_role(self): """ - Test case for create_authorization_openshift_io_v1_namespaced_local_resource_access_review + Test case for create_namespaced_role """ pass - def test_create_authorization_openshift_io_v1_namespaced_local_subject_access_review(self): + def test_create_namespaced_role_binding(self): """ - Test case for create_authorization_openshift_io_v1_namespaced_local_subject_access_review + Test case for create_namespaced_role_binding """ pass - def test_create_authorization_openshift_io_v1_namespaced_policy(self): + def test_create_namespaced_role_binding_restriction(self): """ - Test case for create_authorization_openshift_io_v1_namespaced_policy + Test case for create_namespaced_role_binding_restriction """ pass - def test_create_authorization_openshift_io_v1_namespaced_policy_binding(self): + def test_create_namespaced_self_subject_rules_review(self): """ - Test case for create_authorization_openshift_io_v1_namespaced_policy_binding + Test case for create_namespaced_self_subject_rules_review """ pass - def test_create_authorization_openshift_io_v1_namespaced_resource_access_review(self): + def test_create_namespaced_subject_rules_review(self): """ - Test case for create_authorization_openshift_io_v1_namespaced_resource_access_review + Test case for create_namespaced_subject_rules_review """ pass - def test_create_authorization_openshift_io_v1_namespaced_role(self): + def test_create_resource_access_review(self): """ - Test case for create_authorization_openshift_io_v1_namespaced_role + Test case for create_resource_access_review """ pass - def test_create_authorization_openshift_io_v1_namespaced_role_binding(self): + def test_create_role_binding_for_all_namespaces(self): """ - Test case for create_authorization_openshift_io_v1_namespaced_role_binding + Test case for create_role_binding_for_all_namespaces """ pass - def test_create_authorization_openshift_io_v1_namespaced_role_binding_restriction(self): + def test_create_role_binding_restriction_for_all_namespaces(self): """ - Test case for create_authorization_openshift_io_v1_namespaced_role_binding_restriction + Test case for create_role_binding_restriction_for_all_namespaces """ pass - def test_create_authorization_openshift_io_v1_namespaced_self_subject_rules_review(self): + def test_create_role_for_all_namespaces(self): """ - Test case for create_authorization_openshift_io_v1_namespaced_self_subject_rules_review + Test case for create_role_for_all_namespaces """ pass - def test_create_authorization_openshift_io_v1_namespaced_subject_access_review(self): + def test_create_self_subject_rules_review_for_all_namespaces(self): """ - Test case for create_authorization_openshift_io_v1_namespaced_subject_access_review + Test case for create_self_subject_rules_review_for_all_namespaces """ pass - def test_create_authorization_openshift_io_v1_namespaced_subject_rules_review(self): + def test_create_subject_access_review(self): """ - Test case for create_authorization_openshift_io_v1_namespaced_subject_rules_review + Test case for create_subject_access_review """ pass - def test_create_authorization_openshift_io_v1_policy_binding_for_all_namespaces(self): + def test_create_subject_rules_review_for_all_namespaces(self): """ - Test case for create_authorization_openshift_io_v1_policy_binding_for_all_namespaces + Test case for create_subject_rules_review_for_all_namespaces """ pass - def test_create_authorization_openshift_io_v1_policy_for_all_namespaces(self): + def test_delete_cluster_role(self): """ - Test case for create_authorization_openshift_io_v1_policy_for_all_namespaces + Test case for delete_cluster_role """ pass - def test_create_authorization_openshift_io_v1_resource_access_review_for_all_namespaces(self): + def test_delete_cluster_role_binding(self): """ - Test case for create_authorization_openshift_io_v1_resource_access_review_for_all_namespaces + Test case for delete_cluster_role_binding """ pass - def test_create_authorization_openshift_io_v1_role_binding_for_all_namespaces(self): + def test_delete_collection_namespaced_role_binding_restriction(self): """ - Test case for create_authorization_openshift_io_v1_role_binding_for_all_namespaces + Test case for delete_collection_namespaced_role_binding_restriction """ pass - def test_create_authorization_openshift_io_v1_role_binding_restriction_for_all_namespaces(self): + def test_delete_namespaced_role(self): """ - Test case for create_authorization_openshift_io_v1_role_binding_restriction_for_all_namespaces + Test case for delete_namespaced_role """ pass - def test_create_authorization_openshift_io_v1_role_for_all_namespaces(self): + def test_delete_namespaced_role_binding(self): """ - Test case for create_authorization_openshift_io_v1_role_for_all_namespaces + Test case for delete_namespaced_role_binding """ pass - def test_create_authorization_openshift_io_v1_self_subject_rules_review_for_all_namespaces(self): + def test_delete_namespaced_role_binding_restriction(self): """ - Test case for create_authorization_openshift_io_v1_self_subject_rules_review_for_all_namespaces + Test case for delete_namespaced_role_binding_restriction """ pass - def test_create_authorization_openshift_io_v1_subject_access_review_for_all_namespaces(self): + def test_get_api_resources(self): """ - Test case for create_authorization_openshift_io_v1_subject_access_review_for_all_namespaces + Test case for get_api_resources """ pass - def test_create_authorization_openshift_io_v1_subject_rules_review_for_all_namespaces(self): + def test_list_cluster_role(self): """ - Test case for create_authorization_openshift_io_v1_subject_rules_review_for_all_namespaces + Test case for list_cluster_role """ pass - def test_delete_authorization_openshift_io_v1_cluster_policy(self): + def test_list_cluster_role_binding(self): """ - Test case for delete_authorization_openshift_io_v1_cluster_policy + Test case for list_cluster_role_binding """ pass - def test_delete_authorization_openshift_io_v1_cluster_policy_binding(self): + def test_list_namespaced_role(self): """ - Test case for delete_authorization_openshift_io_v1_cluster_policy_binding + Test case for list_namespaced_role """ pass - def test_delete_authorization_openshift_io_v1_cluster_role(self): + def test_list_namespaced_role_binding(self): """ - Test case for delete_authorization_openshift_io_v1_cluster_role + Test case for list_namespaced_role_binding """ pass - def test_delete_authorization_openshift_io_v1_cluster_role_binding(self): + def test_list_namespaced_role_binding_restriction(self): """ - Test case for delete_authorization_openshift_io_v1_cluster_role_binding + Test case for list_namespaced_role_binding_restriction """ pass - def test_delete_authorization_openshift_io_v1_collection_cluster_policy(self): + def test_list_role_binding_for_all_namespaces(self): """ - Test case for delete_authorization_openshift_io_v1_collection_cluster_policy + Test case for list_role_binding_for_all_namespaces """ pass - def test_delete_authorization_openshift_io_v1_collection_cluster_policy_binding(self): + def test_list_role_binding_restriction_for_all_namespaces(self): """ - Test case for delete_authorization_openshift_io_v1_collection_cluster_policy_binding + Test case for list_role_binding_restriction_for_all_namespaces """ pass - def test_delete_authorization_openshift_io_v1_collection_namespaced_policy(self): + def test_list_role_for_all_namespaces(self): """ - Test case for delete_authorization_openshift_io_v1_collection_namespaced_policy + Test case for list_role_for_all_namespaces """ pass - def test_delete_authorization_openshift_io_v1_collection_namespaced_policy_binding(self): + def test_patch_cluster_role(self): """ - Test case for delete_authorization_openshift_io_v1_collection_namespaced_policy_binding + Test case for patch_cluster_role """ pass - def test_delete_authorization_openshift_io_v1_collection_namespaced_role_binding_restriction(self): + def test_patch_cluster_role_binding(self): """ - Test case for delete_authorization_openshift_io_v1_collection_namespaced_role_binding_restriction + Test case for patch_cluster_role_binding """ pass - def test_delete_authorization_openshift_io_v1_namespaced_policy(self): + def test_patch_namespaced_role(self): """ - Test case for delete_authorization_openshift_io_v1_namespaced_policy + Test case for patch_namespaced_role """ pass - def test_delete_authorization_openshift_io_v1_namespaced_policy_binding(self): + def test_patch_namespaced_role_binding(self): """ - Test case for delete_authorization_openshift_io_v1_namespaced_policy_binding + Test case for patch_namespaced_role_binding """ pass - def test_delete_authorization_openshift_io_v1_namespaced_role(self): + def test_patch_namespaced_role_binding_restriction(self): """ - Test case for delete_authorization_openshift_io_v1_namespaced_role + Test case for patch_namespaced_role_binding_restriction """ pass - def test_delete_authorization_openshift_io_v1_namespaced_role_binding(self): + def test_read_cluster_role(self): """ - Test case for delete_authorization_openshift_io_v1_namespaced_role_binding + Test case for read_cluster_role """ pass - def test_delete_authorization_openshift_io_v1_namespaced_role_binding_restriction(self): + def test_read_cluster_role_binding(self): """ - Test case for delete_authorization_openshift_io_v1_namespaced_role_binding_restriction + Test case for read_cluster_role_binding """ pass - def test_get_authorization_openshift_io_v1_api_resources(self): + def test_read_namespaced_role(self): """ - Test case for get_authorization_openshift_io_v1_api_resources + Test case for read_namespaced_role """ pass - def test_list_authorization_openshift_io_v1_cluster_policy(self): + def test_read_namespaced_role_binding(self): """ - Test case for list_authorization_openshift_io_v1_cluster_policy + Test case for read_namespaced_role_binding """ pass - def test_list_authorization_openshift_io_v1_cluster_policy_binding(self): + def test_read_namespaced_role_binding_restriction(self): """ - Test case for list_authorization_openshift_io_v1_cluster_policy_binding + Test case for read_namespaced_role_binding_restriction """ pass - def test_list_authorization_openshift_io_v1_cluster_role(self): + def test_replace_cluster_role(self): """ - Test case for list_authorization_openshift_io_v1_cluster_role + Test case for replace_cluster_role """ pass - def test_list_authorization_openshift_io_v1_cluster_role_binding(self): + def test_replace_cluster_role_binding(self): """ - Test case for list_authorization_openshift_io_v1_cluster_role_binding + Test case for replace_cluster_role_binding """ pass - def test_list_authorization_openshift_io_v1_namespaced_policy(self): + def test_replace_namespaced_role(self): """ - Test case for list_authorization_openshift_io_v1_namespaced_policy + Test case for replace_namespaced_role """ pass - def test_list_authorization_openshift_io_v1_namespaced_policy_binding(self): + def test_replace_namespaced_role_binding(self): """ - Test case for list_authorization_openshift_io_v1_namespaced_policy_binding + Test case for replace_namespaced_role_binding """ pass - def test_list_authorization_openshift_io_v1_namespaced_role(self): + def test_replace_namespaced_role_binding_restriction(self): """ - Test case for list_authorization_openshift_io_v1_namespaced_role - - - """ - pass - - def test_list_authorization_openshift_io_v1_namespaced_role_binding(self): - """ - Test case for list_authorization_openshift_io_v1_namespaced_role_binding - - - """ - pass - - def test_list_authorization_openshift_io_v1_namespaced_role_binding_restriction(self): - """ - Test case for list_authorization_openshift_io_v1_namespaced_role_binding_restriction - - - """ - pass - - def test_list_authorization_openshift_io_v1_policy_binding_for_all_namespaces(self): - """ - Test case for list_authorization_openshift_io_v1_policy_binding_for_all_namespaces - - - """ - pass - - def test_list_authorization_openshift_io_v1_policy_for_all_namespaces(self): - """ - Test case for list_authorization_openshift_io_v1_policy_for_all_namespaces - - - """ - pass - - def test_list_authorization_openshift_io_v1_role_binding_for_all_namespaces(self): - """ - Test case for list_authorization_openshift_io_v1_role_binding_for_all_namespaces - - - """ - pass - - def test_list_authorization_openshift_io_v1_role_binding_restriction_for_all_namespaces(self): - """ - Test case for list_authorization_openshift_io_v1_role_binding_restriction_for_all_namespaces - - - """ - pass - - def test_list_authorization_openshift_io_v1_role_for_all_namespaces(self): - """ - Test case for list_authorization_openshift_io_v1_role_for_all_namespaces - - - """ - pass - - def test_patch_authorization_openshift_io_v1_cluster_policy(self): - """ - Test case for patch_authorization_openshift_io_v1_cluster_policy - - - """ - pass - - def test_patch_authorization_openshift_io_v1_cluster_policy_binding(self): - """ - Test case for patch_authorization_openshift_io_v1_cluster_policy_binding - - - """ - pass - - def test_patch_authorization_openshift_io_v1_cluster_role(self): - """ - Test case for patch_authorization_openshift_io_v1_cluster_role - - - """ - pass - - def test_patch_authorization_openshift_io_v1_cluster_role_binding(self): - """ - Test case for patch_authorization_openshift_io_v1_cluster_role_binding - - - """ - pass - - def test_patch_authorization_openshift_io_v1_namespaced_policy(self): - """ - Test case for patch_authorization_openshift_io_v1_namespaced_policy - - - """ - pass - - def test_patch_authorization_openshift_io_v1_namespaced_policy_binding(self): - """ - Test case for patch_authorization_openshift_io_v1_namespaced_policy_binding - - - """ - pass - - def test_patch_authorization_openshift_io_v1_namespaced_role(self): - """ - Test case for patch_authorization_openshift_io_v1_namespaced_role - - - """ - pass - - def test_patch_authorization_openshift_io_v1_namespaced_role_binding(self): - """ - Test case for patch_authorization_openshift_io_v1_namespaced_role_binding - - - """ - pass - - def test_patch_authorization_openshift_io_v1_namespaced_role_binding_restriction(self): - """ - Test case for patch_authorization_openshift_io_v1_namespaced_role_binding_restriction - - - """ - pass - - def test_read_authorization_openshift_io_v1_cluster_policy(self): - """ - Test case for read_authorization_openshift_io_v1_cluster_policy - - - """ - pass - - def test_read_authorization_openshift_io_v1_cluster_policy_binding(self): - """ - Test case for read_authorization_openshift_io_v1_cluster_policy_binding - - - """ - pass - - def test_read_authorization_openshift_io_v1_cluster_role(self): - """ - Test case for read_authorization_openshift_io_v1_cluster_role - - - """ - pass - - def test_read_authorization_openshift_io_v1_cluster_role_binding(self): - """ - Test case for read_authorization_openshift_io_v1_cluster_role_binding - - - """ - pass - - def test_read_authorization_openshift_io_v1_namespaced_policy(self): - """ - Test case for read_authorization_openshift_io_v1_namespaced_policy - - - """ - pass - - def test_read_authorization_openshift_io_v1_namespaced_policy_binding(self): - """ - Test case for read_authorization_openshift_io_v1_namespaced_policy_binding - - - """ - pass - - def test_read_authorization_openshift_io_v1_namespaced_role(self): - """ - Test case for read_authorization_openshift_io_v1_namespaced_role - - - """ - pass - - def test_read_authorization_openshift_io_v1_namespaced_role_binding(self): - """ - Test case for read_authorization_openshift_io_v1_namespaced_role_binding - - - """ - pass - - def test_read_authorization_openshift_io_v1_namespaced_role_binding_restriction(self): - """ - Test case for read_authorization_openshift_io_v1_namespaced_role_binding_restriction - - - """ - pass - - def test_replace_authorization_openshift_io_v1_cluster_policy(self): - """ - Test case for replace_authorization_openshift_io_v1_cluster_policy - - - """ - pass - - def test_replace_authorization_openshift_io_v1_cluster_policy_binding(self): - """ - Test case for replace_authorization_openshift_io_v1_cluster_policy_binding - - - """ - pass - - def test_replace_authorization_openshift_io_v1_cluster_role(self): - """ - Test case for replace_authorization_openshift_io_v1_cluster_role - - - """ - pass - - def test_replace_authorization_openshift_io_v1_cluster_role_binding(self): - """ - Test case for replace_authorization_openshift_io_v1_cluster_role_binding - - - """ - pass - - def test_replace_authorization_openshift_io_v1_namespaced_policy(self): - """ - Test case for replace_authorization_openshift_io_v1_namespaced_policy - - - """ - pass - - def test_replace_authorization_openshift_io_v1_namespaced_policy_binding(self): - """ - Test case for replace_authorization_openshift_io_v1_namespaced_policy_binding - - - """ - pass - - def test_replace_authorization_openshift_io_v1_namespaced_role(self): - """ - Test case for replace_authorization_openshift_io_v1_namespaced_role - - - """ - pass - - def test_replace_authorization_openshift_io_v1_namespaced_role_binding(self): - """ - Test case for replace_authorization_openshift_io_v1_namespaced_role_binding - - - """ - pass - - def test_replace_authorization_openshift_io_v1_namespaced_role_binding_restriction(self): - """ - Test case for replace_authorization_openshift_io_v1_namespaced_role_binding_restriction + Test case for replace_namespaced_role_binding_restriction """ diff --git a/openshift/test/test_authorization_v1beta1_api.py b/openshift/test/test_authorization_v1beta1_api.py deleted file mode 100644 index e494452f..00000000 --- a/openshift/test/test_authorization_v1beta1_api.py +++ /dev/null @@ -1,76 +0,0 @@ -# coding: utf-8 - -""" - OpenShift API (with Kubernetes) - - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - - OpenAPI spec version: v3.6.0-alpha.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import os -import sys -import unittest - -import openshift.client -from kubernetes.client.rest import ApiException -from openshift.client.apis.authorization_v1beta1_api import AuthorizationV1beta1Api - - -class TestAuthorizationV1beta1Api(unittest.TestCase): - """ AuthorizationV1beta1Api unit test stubs """ - - def setUp(self): - self.api = openshift.client.apis.authorization_v1beta1_api.AuthorizationV1beta1Api() - - def tearDown(self): - pass - - def test_create_local_subject_access_review_for_all_namespaces(self): - """ - Test case for create_local_subject_access_review_for_all_namespaces - - - """ - pass - - def test_create_namespaced_local_subject_access_review(self): - """ - Test case for create_namespaced_local_subject_access_review - - - """ - pass - - def test_create_self_subject_access_review(self): - """ - Test case for create_self_subject_access_review - - - """ - pass - - def test_create_subject_access_review(self): - """ - Test case for create_subject_access_review - - - """ - pass - - def test_get_api_resources(self): - """ - Test case for get_api_resources - - - """ - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/openshift/test/test_autoscaling_v1_api.py b/openshift/test/test_autoscaling_v1_api.py deleted file mode 100644 index f68db6b8..00000000 --- a/openshift/test/test_autoscaling_v1_api.py +++ /dev/null @@ -1,140 +0,0 @@ -# coding: utf-8 - -""" - OpenShift API (with Kubernetes) - - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - - OpenAPI spec version: v3.6.0-alpha.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import os -import sys -import unittest - -import openshift.client -from kubernetes.client.rest import ApiException -from openshift.client.apis.autoscaling_v1_api import AutoscalingV1Api - - -class TestAutoscalingV1Api(unittest.TestCase): - """ AutoscalingV1Api unit test stubs """ - - def setUp(self): - self.api = openshift.client.apis.autoscaling_v1_api.AutoscalingV1Api() - - def tearDown(self): - pass - - def test_create_horizontal_pod_autoscaler_for_all_namespaces(self): - """ - Test case for create_horizontal_pod_autoscaler_for_all_namespaces - - - """ - pass - - def test_create_namespaced_horizontal_pod_autoscaler(self): - """ - Test case for create_namespaced_horizontal_pod_autoscaler - - - """ - pass - - def test_delete_collection_namespaced_horizontal_pod_autoscaler(self): - """ - Test case for delete_collection_namespaced_horizontal_pod_autoscaler - - - """ - pass - - def test_delete_namespaced_horizontal_pod_autoscaler(self): - """ - Test case for delete_namespaced_horizontal_pod_autoscaler - - - """ - pass - - def test_get_api_resources(self): - """ - Test case for get_api_resources - - - """ - pass - - def test_list_horizontal_pod_autoscaler_for_all_namespaces(self): - """ - Test case for list_horizontal_pod_autoscaler_for_all_namespaces - - - """ - pass - - def test_list_namespaced_horizontal_pod_autoscaler(self): - """ - Test case for list_namespaced_horizontal_pod_autoscaler - - - """ - pass - - def test_patch_namespaced_horizontal_pod_autoscaler(self): - """ - Test case for patch_namespaced_horizontal_pod_autoscaler - - - """ - pass - - def test_patch_namespaced_horizontal_pod_autoscaler_status(self): - """ - Test case for patch_namespaced_horizontal_pod_autoscaler_status - - - """ - pass - - def test_read_namespaced_horizontal_pod_autoscaler(self): - """ - Test case for read_namespaced_horizontal_pod_autoscaler - - - """ - pass - - def test_read_namespaced_horizontal_pod_autoscaler_status(self): - """ - Test case for read_namespaced_horizontal_pod_autoscaler_status - - - """ - pass - - def test_replace_namespaced_horizontal_pod_autoscaler(self): - """ - Test case for replace_namespaced_horizontal_pod_autoscaler - - - """ - pass - - def test_replace_namespaced_horizontal_pod_autoscaler_status(self): - """ - Test case for replace_namespaced_horizontal_pod_autoscaler_status - - - """ - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/openshift/test/test_batch_v1_api.py b/openshift/test/test_batch_v1_api.py deleted file mode 100644 index 4f90d2f4..00000000 --- a/openshift/test/test_batch_v1_api.py +++ /dev/null @@ -1,140 +0,0 @@ -# coding: utf-8 - -""" - OpenShift API (with Kubernetes) - - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - - OpenAPI spec version: v3.6.0-alpha.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import os -import sys -import unittest - -import openshift.client -from kubernetes.client.rest import ApiException -from openshift.client.apis.batch_v1_api import BatchV1Api - - -class TestBatchV1Api(unittest.TestCase): - """ BatchV1Api unit test stubs """ - - def setUp(self): - self.api = openshift.client.apis.batch_v1_api.BatchV1Api() - - def tearDown(self): - pass - - def test_create_job_for_all_namespaces(self): - """ - Test case for create_job_for_all_namespaces - - - """ - pass - - def test_create_namespaced_job(self): - """ - Test case for create_namespaced_job - - - """ - pass - - def test_delete_collection_namespaced_job(self): - """ - Test case for delete_collection_namespaced_job - - - """ - pass - - def test_delete_namespaced_job(self): - """ - Test case for delete_namespaced_job - - - """ - pass - - def test_get_api_resources(self): - """ - Test case for get_api_resources - - - """ - pass - - def test_list_job_for_all_namespaces(self): - """ - Test case for list_job_for_all_namespaces - - - """ - pass - - def test_list_namespaced_job(self): - """ - Test case for list_namespaced_job - - - """ - pass - - def test_patch_namespaced_job(self): - """ - Test case for patch_namespaced_job - - - """ - pass - - def test_patch_namespaced_job_status(self): - """ - Test case for patch_namespaced_job_status - - - """ - pass - - def test_read_namespaced_job(self): - """ - Test case for read_namespaced_job - - - """ - pass - - def test_read_namespaced_job_status(self): - """ - Test case for read_namespaced_job_status - - - """ - pass - - def test_replace_namespaced_job(self): - """ - Test case for replace_namespaced_job - - - """ - pass - - def test_replace_namespaced_job_status(self): - """ - Test case for replace_namespaced_job_status - - - """ - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/openshift/test/test_batch_v2alpha1_api.py b/openshift/test/test_batch_v2alpha1_api.py deleted file mode 100644 index 666f36f0..00000000 --- a/openshift/test/test_batch_v2alpha1_api.py +++ /dev/null @@ -1,332 +0,0 @@ -# coding: utf-8 - -""" - OpenShift API (with Kubernetes) - - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - - OpenAPI spec version: v3.6.0-alpha.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import os -import sys -import unittest - -import openshift.client -from kubernetes.client.rest import ApiException -from openshift.client.apis.batch_v2alpha1_api import BatchV2alpha1Api - - -class TestBatchV2alpha1Api(unittest.TestCase): - """ BatchV2alpha1Api unit test stubs """ - - def setUp(self): - self.api = openshift.client.apis.batch_v2alpha1_api.BatchV2alpha1Api() - - def tearDown(self): - pass - - def test_create_cron_job_for_all_namespaces(self): - """ - Test case for create_cron_job_for_all_namespaces - - - """ - pass - - def test_create_job_for_all_namespaces(self): - """ - Test case for create_job_for_all_namespaces - - - """ - pass - - def test_create_namespaced_cron_job(self): - """ - Test case for create_namespaced_cron_job - - - """ - pass - - def test_create_namespaced_job(self): - """ - Test case for create_namespaced_job - - - """ - pass - - def test_create_namespaced_scheduled_job(self): - """ - Test case for create_namespaced_scheduled_job - - - """ - pass - - def test_create_scheduled_job_for_all_namespaces(self): - """ - Test case for create_scheduled_job_for_all_namespaces - - - """ - pass - - def test_delete_collection_namespaced_cron_job(self): - """ - Test case for delete_collection_namespaced_cron_job - - - """ - pass - - def test_delete_collection_namespaced_job(self): - """ - Test case for delete_collection_namespaced_job - - - """ - pass - - def test_delete_collection_namespaced_scheduled_job(self): - """ - Test case for delete_collection_namespaced_scheduled_job - - - """ - pass - - def test_delete_namespaced_cron_job(self): - """ - Test case for delete_namespaced_cron_job - - - """ - pass - - def test_delete_namespaced_job(self): - """ - Test case for delete_namespaced_job - - - """ - pass - - def test_delete_namespaced_scheduled_job(self): - """ - Test case for delete_namespaced_scheduled_job - - - """ - pass - - def test_get_api_resources(self): - """ - Test case for get_api_resources - - - """ - pass - - def test_list_cron_job_for_all_namespaces(self): - """ - Test case for list_cron_job_for_all_namespaces - - - """ - pass - - def test_list_job_for_all_namespaces(self): - """ - Test case for list_job_for_all_namespaces - - - """ - pass - - def test_list_namespaced_cron_job(self): - """ - Test case for list_namespaced_cron_job - - - """ - pass - - def test_list_namespaced_job(self): - """ - Test case for list_namespaced_job - - - """ - pass - - def test_list_namespaced_scheduled_job(self): - """ - Test case for list_namespaced_scheduled_job - - - """ - pass - - def test_list_scheduled_job_for_all_namespaces(self): - """ - Test case for list_scheduled_job_for_all_namespaces - - - """ - pass - - def test_patch_namespaced_cron_job(self): - """ - Test case for patch_namespaced_cron_job - - - """ - pass - - def test_patch_namespaced_cron_job_status(self): - """ - Test case for patch_namespaced_cron_job_status - - - """ - pass - - def test_patch_namespaced_job(self): - """ - Test case for patch_namespaced_job - - - """ - pass - - def test_patch_namespaced_job_status(self): - """ - Test case for patch_namespaced_job_status - - - """ - pass - - def test_patch_namespaced_scheduled_job(self): - """ - Test case for patch_namespaced_scheduled_job - - - """ - pass - - def test_patch_namespaced_scheduled_job_status(self): - """ - Test case for patch_namespaced_scheduled_job_status - - - """ - pass - - def test_read_namespaced_cron_job(self): - """ - Test case for read_namespaced_cron_job - - - """ - pass - - def test_read_namespaced_cron_job_status(self): - """ - Test case for read_namespaced_cron_job_status - - - """ - pass - - def test_read_namespaced_job(self): - """ - Test case for read_namespaced_job - - - """ - pass - - def test_read_namespaced_job_status(self): - """ - Test case for read_namespaced_job_status - - - """ - pass - - def test_read_namespaced_scheduled_job(self): - """ - Test case for read_namespaced_scheduled_job - - - """ - pass - - def test_read_namespaced_scheduled_job_status(self): - """ - Test case for read_namespaced_scheduled_job_status - - - """ - pass - - def test_replace_namespaced_cron_job(self): - """ - Test case for replace_namespaced_cron_job - - - """ - pass - - def test_replace_namespaced_cron_job_status(self): - """ - Test case for replace_namespaced_cron_job_status - - - """ - pass - - def test_replace_namespaced_job(self): - """ - Test case for replace_namespaced_job - - - """ - pass - - def test_replace_namespaced_job_status(self): - """ - Test case for replace_namespaced_job_status - - - """ - pass - - def test_replace_namespaced_scheduled_job(self): - """ - Test case for replace_namespaced_scheduled_job - - - """ - pass - - def test_replace_namespaced_scheduled_job_status(self): - """ - Test case for replace_namespaced_scheduled_job_status - - - """ - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/openshift/test/test_build_openshift_io_api.py b/openshift/test/test_build_openshift_io_api.py index 5a534948..ac68db3f 100644 --- a/openshift/test/test_build_openshift_io_api.py +++ b/openshift/test/test_build_openshift_io_api.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -31,9 +31,9 @@ def setUp(self): def tearDown(self): pass - def test_get_build_openshift_io_api_group(self): + def test_get_api_group(self): """ - Test case for get_build_openshift_io_api_group + Test case for get_api_group """ diff --git a/openshift/test/test_build_openshift_io_v1_api.py b/openshift/test/test_build_openshift_io_v1_api.py index f8c3d09e..2eeb452c 100644 --- a/openshift/test/test_build_openshift_io_v1_api.py +++ b/openshift/test/test_build_openshift_io_v1_api.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -31,209 +31,209 @@ def setUp(self): def tearDown(self): pass - def test_connect_build_openshift_io_v1_post_namespaced_binary_build_request_options_instantiatebinary(self): + def test_connect_post_namespaced_binary_build_request_options_instantiatebinary(self): """ - Test case for connect_build_openshift_io_v1_post_namespaced_binary_build_request_options_instantiatebinary + Test case for connect_post_namespaced_binary_build_request_options_instantiatebinary """ pass - def test_connect_build_openshift_io_v1_post_namespaced_status_webhooks(self): + def test_connect_post_namespaced_build_webhooks(self): """ - Test case for connect_build_openshift_io_v1_post_namespaced_status_webhooks + Test case for connect_post_namespaced_build_webhooks """ pass - def test_connect_build_openshift_io_v1_post_namespaced_status_webhooks_with_path(self): + def test_connect_post_namespaced_build_webhooks_with_path(self): """ - Test case for connect_build_openshift_io_v1_post_namespaced_status_webhooks_with_path + Test case for connect_post_namespaced_build_webhooks_with_path """ pass - def test_create_build_openshift_io_v1_build_config_for_all_namespaces(self): + def test_create_build_config_for_all_namespaces(self): """ - Test case for create_build_openshift_io_v1_build_config_for_all_namespaces + Test case for create_build_config_for_all_namespaces """ pass - def test_create_build_openshift_io_v1_build_for_all_namespaces(self): + def test_create_build_for_all_namespaces(self): """ - Test case for create_build_openshift_io_v1_build_for_all_namespaces + Test case for create_build_for_all_namespaces """ pass - def test_create_build_openshift_io_v1_namespaced_build(self): + def test_create_namespaced_build(self): """ - Test case for create_build_openshift_io_v1_namespaced_build + Test case for create_namespaced_build """ pass - def test_create_build_openshift_io_v1_namespaced_build_config(self): + def test_create_namespaced_build_config(self): """ - Test case for create_build_openshift_io_v1_namespaced_build_config + Test case for create_namespaced_build_config """ pass - def test_create_build_openshift_io_v1_namespaced_build_request_clone(self): + def test_create_namespaced_build_request_clone(self): """ - Test case for create_build_openshift_io_v1_namespaced_build_request_clone + Test case for create_namespaced_build_request_clone """ pass - def test_create_build_openshift_io_v1_namespaced_build_request_instantiate(self): + def test_create_namespaced_build_request_instantiate(self): """ - Test case for create_build_openshift_io_v1_namespaced_build_request_instantiate + Test case for create_namespaced_build_request_instantiate """ pass - def test_delete_build_openshift_io_v1_collection_namespaced_build(self): + def test_delete_collection_namespaced_build(self): """ - Test case for delete_build_openshift_io_v1_collection_namespaced_build + Test case for delete_collection_namespaced_build """ pass - def test_delete_build_openshift_io_v1_collection_namespaced_build_config(self): + def test_delete_collection_namespaced_build_config(self): """ - Test case for delete_build_openshift_io_v1_collection_namespaced_build_config + Test case for delete_collection_namespaced_build_config """ pass - def test_delete_build_openshift_io_v1_namespaced_build(self): + def test_delete_namespaced_build(self): """ - Test case for delete_build_openshift_io_v1_namespaced_build + Test case for delete_namespaced_build """ pass - def test_delete_build_openshift_io_v1_namespaced_build_config(self): + def test_delete_namespaced_build_config(self): """ - Test case for delete_build_openshift_io_v1_namespaced_build_config + Test case for delete_namespaced_build_config """ pass - def test_get_build_openshift_io_v1_api_resources(self): + def test_get_api_resources(self): """ - Test case for get_build_openshift_io_v1_api_resources + Test case for get_api_resources """ pass - def test_list_build_openshift_io_v1_build_config_for_all_namespaces(self): + def test_list_build_config_for_all_namespaces(self): """ - Test case for list_build_openshift_io_v1_build_config_for_all_namespaces + Test case for list_build_config_for_all_namespaces """ pass - def test_list_build_openshift_io_v1_build_for_all_namespaces(self): + def test_list_build_for_all_namespaces(self): """ - Test case for list_build_openshift_io_v1_build_for_all_namespaces + Test case for list_build_for_all_namespaces """ pass - def test_list_build_openshift_io_v1_namespaced_build(self): + def test_list_namespaced_build(self): """ - Test case for list_build_openshift_io_v1_namespaced_build + Test case for list_namespaced_build """ pass - def test_list_build_openshift_io_v1_namespaced_build_config(self): + def test_list_namespaced_build_config(self): """ - Test case for list_build_openshift_io_v1_namespaced_build_config + Test case for list_namespaced_build_config """ pass - def test_patch_build_openshift_io_v1_namespaced_build(self): + def test_patch_namespaced_build(self): """ - Test case for patch_build_openshift_io_v1_namespaced_build + Test case for patch_namespaced_build """ pass - def test_patch_build_openshift_io_v1_namespaced_build_config(self): + def test_patch_namespaced_build_config(self): """ - Test case for patch_build_openshift_io_v1_namespaced_build_config + Test case for patch_namespaced_build_config """ pass - def test_read_build_openshift_io_v1_namespaced_build(self): + def test_read_namespaced_build(self): """ - Test case for read_build_openshift_io_v1_namespaced_build + Test case for read_namespaced_build """ pass - def test_read_build_openshift_io_v1_namespaced_build_config(self): + def test_read_namespaced_build_config(self): """ - Test case for read_build_openshift_io_v1_namespaced_build_config + Test case for read_namespaced_build_config """ pass - def test_read_build_openshift_io_v1_namespaced_build_log_log(self): + def test_read_namespaced_build_log_log(self): """ - Test case for read_build_openshift_io_v1_namespaced_build_log_log + Test case for read_namespaced_build_log_log """ pass - def test_replace_build_openshift_io_v1_namespaced_build(self): + def test_replace_namespaced_build(self): """ - Test case for replace_build_openshift_io_v1_namespaced_build + Test case for replace_namespaced_build """ pass - def test_replace_build_openshift_io_v1_namespaced_build_config(self): + def test_replace_namespaced_build_config(self): """ - Test case for replace_build_openshift_io_v1_namespaced_build_config + Test case for replace_namespaced_build_config """ pass - def test_replace_build_openshift_io_v1_namespaced_build_details(self): + def test_replace_namespaced_build_details(self): """ - Test case for replace_build_openshift_io_v1_namespaced_build_details + Test case for replace_namespaced_build_details """ diff --git a/openshift/test/test_certificates_api.py b/openshift/test/test_certificates_api.py deleted file mode 100644 index c4434505..00000000 --- a/openshift/test/test_certificates_api.py +++ /dev/null @@ -1,44 +0,0 @@ -# coding: utf-8 - -""" - OpenShift API (with Kubernetes) - - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - - OpenAPI spec version: v3.6.0-alpha.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import os -import sys -import unittest - -import openshift.client -from kubernetes.client.rest import ApiException -from openshift.client.apis.certificates_api import CertificatesApi - - -class TestCertificatesApi(unittest.TestCase): - """ CertificatesApi unit test stubs """ - - def setUp(self): - self.api = openshift.client.apis.certificates_api.CertificatesApi() - - def tearDown(self): - pass - - def test_get_certificates_api_group(self): - """ - Test case for get_certificates_api_group - - - """ - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/openshift/test/test_certificates_v1alpha1_api.py b/openshift/test/test_certificates_v1alpha1_api.py deleted file mode 100644 index 01c17cd0..00000000 --- a/openshift/test/test_certificates_v1alpha1_api.py +++ /dev/null @@ -1,116 +0,0 @@ -# coding: utf-8 - -""" - OpenShift API (with Kubernetes) - - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - - OpenAPI spec version: v3.6.0-alpha.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import os -import sys -import unittest - -import openshift.client -from kubernetes.client.rest import ApiException -from openshift.client.apis.certificates_v1alpha1_api import CertificatesV1alpha1Api - - -class TestCertificatesV1alpha1Api(unittest.TestCase): - """ CertificatesV1alpha1Api unit test stubs """ - - def setUp(self): - self.api = openshift.client.apis.certificates_v1alpha1_api.CertificatesV1alpha1Api() - - def tearDown(self): - pass - - def test_create_certificate_signing_request(self): - """ - Test case for create_certificate_signing_request - - - """ - pass - - def test_delete_certificate_signing_request(self): - """ - Test case for delete_certificate_signing_request - - - """ - pass - - def test_delete_collection_certificate_signing_request(self): - """ - Test case for delete_collection_certificate_signing_request - - - """ - pass - - def test_get_api_resources(self): - """ - Test case for get_api_resources - - - """ - pass - - def test_list_certificate_signing_request(self): - """ - Test case for list_certificate_signing_request - - - """ - pass - - def test_patch_certificate_signing_request(self): - """ - Test case for patch_certificate_signing_request - - - """ - pass - - def test_read_certificate_signing_request(self): - """ - Test case for read_certificate_signing_request - - - """ - pass - - def test_replace_certificate_signing_request(self): - """ - Test case for replace_certificate_signing_request - - - """ - pass - - def test_replace_certificate_signing_request_approval(self): - """ - Test case for replace_certificate_signing_request_approval - - - """ - pass - - def test_replace_certificate_signing_request_status(self): - """ - Test case for replace_certificate_signing_request_status - - - """ - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/openshift/test/test_core_v1_api.py b/openshift/test/test_core_v1_api.py deleted file mode 100644 index c97ab1ec..00000000 --- a/openshift/test/test_core_v1_api.py +++ /dev/null @@ -1,2028 +0,0 @@ -# coding: utf-8 - -""" - OpenShift API (with Kubernetes) - - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - - OpenAPI spec version: v3.6.0-alpha.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import os -import sys -import unittest - -import openshift.client -from kubernetes.client.rest import ApiException -from openshift.client.apis.core_v1_api import CoreV1Api - - -class TestCoreV1Api(unittest.TestCase): - """ CoreV1Api unit test stubs """ - - def setUp(self): - self.api = openshift.client.apis.core_v1_api.CoreV1Api() - - def tearDown(self): - pass - - def test_connect_delete_namespaced_pod_proxy(self): - """ - Test case for connect_delete_namespaced_pod_proxy - - - """ - pass - - def test_connect_delete_namespaced_pod_proxy_with_path(self): - """ - Test case for connect_delete_namespaced_pod_proxy_with_path - - - """ - pass - - def test_connect_delete_namespaced_service_proxy(self): - """ - Test case for connect_delete_namespaced_service_proxy - - - """ - pass - - def test_connect_delete_namespaced_service_proxy_with_path(self): - """ - Test case for connect_delete_namespaced_service_proxy_with_path - - - """ - pass - - def test_connect_delete_node_proxy(self): - """ - Test case for connect_delete_node_proxy - - - """ - pass - - def test_connect_delete_node_proxy_with_path(self): - """ - Test case for connect_delete_node_proxy_with_path - - - """ - pass - - def test_connect_get_namespaced_pod_attach(self): - """ - Test case for connect_get_namespaced_pod_attach - - - """ - pass - - def test_connect_get_namespaced_pod_exec(self): - """ - Test case for connect_get_namespaced_pod_exec - - - """ - pass - - def test_connect_get_namespaced_pod_portforward(self): - """ - Test case for connect_get_namespaced_pod_portforward - - - """ - pass - - def test_connect_get_namespaced_pod_proxy(self): - """ - Test case for connect_get_namespaced_pod_proxy - - - """ - pass - - def test_connect_get_namespaced_pod_proxy_with_path(self): - """ - Test case for connect_get_namespaced_pod_proxy_with_path - - - """ - pass - - def test_connect_get_namespaced_service_proxy(self): - """ - Test case for connect_get_namespaced_service_proxy - - - """ - pass - - def test_connect_get_namespaced_service_proxy_with_path(self): - """ - Test case for connect_get_namespaced_service_proxy_with_path - - - """ - pass - - def test_connect_get_node_proxy(self): - """ - Test case for connect_get_node_proxy - - - """ - pass - - def test_connect_get_node_proxy_with_path(self): - """ - Test case for connect_get_node_proxy_with_path - - - """ - pass - - def test_connect_head_namespaced_pod_proxy(self): - """ - Test case for connect_head_namespaced_pod_proxy - - - """ - pass - - def test_connect_head_namespaced_pod_proxy_with_path(self): - """ - Test case for connect_head_namespaced_pod_proxy_with_path - - - """ - pass - - def test_connect_head_namespaced_service_proxy(self): - """ - Test case for connect_head_namespaced_service_proxy - - - """ - pass - - def test_connect_head_namespaced_service_proxy_with_path(self): - """ - Test case for connect_head_namespaced_service_proxy_with_path - - - """ - pass - - def test_connect_head_node_proxy(self): - """ - Test case for connect_head_node_proxy - - - """ - pass - - def test_connect_head_node_proxy_with_path(self): - """ - Test case for connect_head_node_proxy_with_path - - - """ - pass - - def test_connect_options_namespaced_pod_proxy(self): - """ - Test case for connect_options_namespaced_pod_proxy - - - """ - pass - - def test_connect_options_namespaced_pod_proxy_with_path(self): - """ - Test case for connect_options_namespaced_pod_proxy_with_path - - - """ - pass - - def test_connect_options_namespaced_service_proxy(self): - """ - Test case for connect_options_namespaced_service_proxy - - - """ - pass - - def test_connect_options_namespaced_service_proxy_with_path(self): - """ - Test case for connect_options_namespaced_service_proxy_with_path - - - """ - pass - - def test_connect_options_node_proxy(self): - """ - Test case for connect_options_node_proxy - - - """ - pass - - def test_connect_options_node_proxy_with_path(self): - """ - Test case for connect_options_node_proxy_with_path - - - """ - pass - - def test_connect_post_namespaced_pod_attach(self): - """ - Test case for connect_post_namespaced_pod_attach - - - """ - pass - - def test_connect_post_namespaced_pod_exec(self): - """ - Test case for connect_post_namespaced_pod_exec - - - """ - pass - - def test_connect_post_namespaced_pod_portforward(self): - """ - Test case for connect_post_namespaced_pod_portforward - - - """ - pass - - def test_connect_post_namespaced_pod_proxy(self): - """ - Test case for connect_post_namespaced_pod_proxy - - - """ - pass - - def test_connect_post_namespaced_pod_proxy_with_path(self): - """ - Test case for connect_post_namespaced_pod_proxy_with_path - - - """ - pass - - def test_connect_post_namespaced_service_proxy(self): - """ - Test case for connect_post_namespaced_service_proxy - - - """ - pass - - def test_connect_post_namespaced_service_proxy_with_path(self): - """ - Test case for connect_post_namespaced_service_proxy_with_path - - - """ - pass - - def test_connect_post_node_proxy(self): - """ - Test case for connect_post_node_proxy - - - """ - pass - - def test_connect_post_node_proxy_with_path(self): - """ - Test case for connect_post_node_proxy_with_path - - - """ - pass - - def test_connect_put_namespaced_pod_proxy(self): - """ - Test case for connect_put_namespaced_pod_proxy - - - """ - pass - - def test_connect_put_namespaced_pod_proxy_with_path(self): - """ - Test case for connect_put_namespaced_pod_proxy_with_path - - - """ - pass - - def test_connect_put_namespaced_service_proxy(self): - """ - Test case for connect_put_namespaced_service_proxy - - - """ - pass - - def test_connect_put_namespaced_service_proxy_with_path(self): - """ - Test case for connect_put_namespaced_service_proxy_with_path - - - """ - pass - - def test_connect_put_node_proxy(self): - """ - Test case for connect_put_node_proxy - - - """ - pass - - def test_connect_put_node_proxy_with_path(self): - """ - Test case for connect_put_node_proxy_with_path - - - """ - pass - - def test_create_binding_for_all_namespaces(self): - """ - Test case for create_binding_for_all_namespaces - - - """ - pass - - def test_create_config_map_for_all_namespaces(self): - """ - Test case for create_config_map_for_all_namespaces - - - """ - pass - - def test_create_endpoints_for_all_namespaces(self): - """ - Test case for create_endpoints_for_all_namespaces - - - """ - pass - - def test_create_event_for_all_namespaces(self): - """ - Test case for create_event_for_all_namespaces - - - """ - pass - - def test_create_limit_range_for_all_namespaces(self): - """ - Test case for create_limit_range_for_all_namespaces - - - """ - pass - - def test_create_namespace(self): - """ - Test case for create_namespace - - - """ - pass - - def test_create_namespaced_binding(self): - """ - Test case for create_namespaced_binding - - - """ - pass - - def test_create_namespaced_binding_binding(self): - """ - Test case for create_namespaced_binding_binding - - - """ - pass - - def test_create_namespaced_config_map(self): - """ - Test case for create_namespaced_config_map - - - """ - pass - - def test_create_namespaced_endpoints(self): - """ - Test case for create_namespaced_endpoints - - - """ - pass - - def test_create_namespaced_event(self): - """ - Test case for create_namespaced_event - - - """ - pass - - def test_create_namespaced_eviction_eviction(self): - """ - Test case for create_namespaced_eviction_eviction - - - """ - pass - - def test_create_namespaced_limit_range(self): - """ - Test case for create_namespaced_limit_range - - - """ - pass - - def test_create_namespaced_persistent_volume_claim(self): - """ - Test case for create_namespaced_persistent_volume_claim - - - """ - pass - - def test_create_namespaced_pod(self): - """ - Test case for create_namespaced_pod - - - """ - pass - - def test_create_namespaced_pod_template(self): - """ - Test case for create_namespaced_pod_template - - - """ - pass - - def test_create_namespaced_replication_controller(self): - """ - Test case for create_namespaced_replication_controller - - - """ - pass - - def test_create_namespaced_resource_quota(self): - """ - Test case for create_namespaced_resource_quota - - - """ - pass - - def test_create_namespaced_secret(self): - """ - Test case for create_namespaced_secret - - - """ - pass - - def test_create_namespaced_service(self): - """ - Test case for create_namespaced_service - - - """ - pass - - def test_create_namespaced_service_account(self): - """ - Test case for create_namespaced_service_account - - - """ - pass - - def test_create_node(self): - """ - Test case for create_node - - - """ - pass - - def test_create_persistent_volume(self): - """ - Test case for create_persistent_volume - - - """ - pass - - def test_create_persistent_volume_claim_for_all_namespaces(self): - """ - Test case for create_persistent_volume_claim_for_all_namespaces - - - """ - pass - - def test_create_pod_for_all_namespaces(self): - """ - Test case for create_pod_for_all_namespaces - - - """ - pass - - def test_create_pod_template_for_all_namespaces(self): - """ - Test case for create_pod_template_for_all_namespaces - - - """ - pass - - def test_create_replication_controller_for_all_namespaces(self): - """ - Test case for create_replication_controller_for_all_namespaces - - - """ - pass - - def test_create_resource_quota_for_all_namespaces(self): - """ - Test case for create_resource_quota_for_all_namespaces - - - """ - pass - - def test_create_secret_for_all_namespaces(self): - """ - Test case for create_secret_for_all_namespaces - - - """ - pass - - def test_create_security_context_constraints(self): - """ - Test case for create_security_context_constraints - - - """ - pass - - def test_create_service_account_for_all_namespaces(self): - """ - Test case for create_service_account_for_all_namespaces - - - """ - pass - - def test_create_service_for_all_namespaces(self): - """ - Test case for create_service_for_all_namespaces - - - """ - pass - - def test_delete_collection_namespace(self): - """ - Test case for delete_collection_namespace - - - """ - pass - - def test_delete_collection_namespaced_config_map(self): - """ - Test case for delete_collection_namespaced_config_map - - - """ - pass - - def test_delete_collection_namespaced_endpoints(self): - """ - Test case for delete_collection_namespaced_endpoints - - - """ - pass - - def test_delete_collection_namespaced_event(self): - """ - Test case for delete_collection_namespaced_event - - - """ - pass - - def test_delete_collection_namespaced_limit_range(self): - """ - Test case for delete_collection_namespaced_limit_range - - - """ - pass - - def test_delete_collection_namespaced_persistent_volume_claim(self): - """ - Test case for delete_collection_namespaced_persistent_volume_claim - - - """ - pass - - def test_delete_collection_namespaced_pod(self): - """ - Test case for delete_collection_namespaced_pod - - - """ - pass - - def test_delete_collection_namespaced_pod_template(self): - """ - Test case for delete_collection_namespaced_pod_template - - - """ - pass - - def test_delete_collection_namespaced_replication_controller(self): - """ - Test case for delete_collection_namespaced_replication_controller - - - """ - pass - - def test_delete_collection_namespaced_resource_quota(self): - """ - Test case for delete_collection_namespaced_resource_quota - - - """ - pass - - def test_delete_collection_namespaced_secret(self): - """ - Test case for delete_collection_namespaced_secret - - - """ - pass - - def test_delete_collection_namespaced_service_account(self): - """ - Test case for delete_collection_namespaced_service_account - - - """ - pass - - def test_delete_collection_node(self): - """ - Test case for delete_collection_node - - - """ - pass - - def test_delete_collection_persistent_volume(self): - """ - Test case for delete_collection_persistent_volume - - - """ - pass - - def test_delete_collection_security_context_constraints(self): - """ - Test case for delete_collection_security_context_constraints - - - """ - pass - - def test_delete_namespace(self): - """ - Test case for delete_namespace - - - """ - pass - - def test_delete_namespaced_config_map(self): - """ - Test case for delete_namespaced_config_map - - - """ - pass - - def test_delete_namespaced_endpoints(self): - """ - Test case for delete_namespaced_endpoints - - - """ - pass - - def test_delete_namespaced_event(self): - """ - Test case for delete_namespaced_event - - - """ - pass - - def test_delete_namespaced_limit_range(self): - """ - Test case for delete_namespaced_limit_range - - - """ - pass - - def test_delete_namespaced_persistent_volume_claim(self): - """ - Test case for delete_namespaced_persistent_volume_claim - - - """ - pass - - def test_delete_namespaced_pod(self): - """ - Test case for delete_namespaced_pod - - - """ - pass - - def test_delete_namespaced_pod_template(self): - """ - Test case for delete_namespaced_pod_template - - - """ - pass - - def test_delete_namespaced_replication_controller(self): - """ - Test case for delete_namespaced_replication_controller - - - """ - pass - - def test_delete_namespaced_resource_quota(self): - """ - Test case for delete_namespaced_resource_quota - - - """ - pass - - def test_delete_namespaced_secret(self): - """ - Test case for delete_namespaced_secret - - - """ - pass - - def test_delete_namespaced_service(self): - """ - Test case for delete_namespaced_service - - - """ - pass - - def test_delete_namespaced_service_account(self): - """ - Test case for delete_namespaced_service_account - - - """ - pass - - def test_delete_node(self): - """ - Test case for delete_node - - - """ - pass - - def test_delete_persistent_volume(self): - """ - Test case for delete_persistent_volume - - - """ - pass - - def test_delete_security_context_constraints(self): - """ - Test case for delete_security_context_constraints - - - """ - pass - - def test_get_api_resources(self): - """ - Test case for get_api_resources - - - """ - pass - - def test_list_component_status(self): - """ - Test case for list_component_status - - - """ - pass - - def test_list_config_map_for_all_namespaces(self): - """ - Test case for list_config_map_for_all_namespaces - - - """ - pass - - def test_list_endpoints_for_all_namespaces(self): - """ - Test case for list_endpoints_for_all_namespaces - - - """ - pass - - def test_list_event_for_all_namespaces(self): - """ - Test case for list_event_for_all_namespaces - - - """ - pass - - def test_list_limit_range_for_all_namespaces(self): - """ - Test case for list_limit_range_for_all_namespaces - - - """ - pass - - def test_list_namespace(self): - """ - Test case for list_namespace - - - """ - pass - - def test_list_namespaced_config_map(self): - """ - Test case for list_namespaced_config_map - - - """ - pass - - def test_list_namespaced_endpoints(self): - """ - Test case for list_namespaced_endpoints - - - """ - pass - - def test_list_namespaced_event(self): - """ - Test case for list_namespaced_event - - - """ - pass - - def test_list_namespaced_limit_range(self): - """ - Test case for list_namespaced_limit_range - - - """ - pass - - def test_list_namespaced_persistent_volume_claim(self): - """ - Test case for list_namespaced_persistent_volume_claim - - - """ - pass - - def test_list_namespaced_pod(self): - """ - Test case for list_namespaced_pod - - - """ - pass - - def test_list_namespaced_pod_template(self): - """ - Test case for list_namespaced_pod_template - - - """ - pass - - def test_list_namespaced_replication_controller(self): - """ - Test case for list_namespaced_replication_controller - - - """ - pass - - def test_list_namespaced_resource_quota(self): - """ - Test case for list_namespaced_resource_quota - - - """ - pass - - def test_list_namespaced_secret(self): - """ - Test case for list_namespaced_secret - - - """ - pass - - def test_list_namespaced_service(self): - """ - Test case for list_namespaced_service - - - """ - pass - - def test_list_namespaced_service_account(self): - """ - Test case for list_namespaced_service_account - - - """ - pass - - def test_list_node(self): - """ - Test case for list_node - - - """ - pass - - def test_list_persistent_volume(self): - """ - Test case for list_persistent_volume - - - """ - pass - - def test_list_persistent_volume_claim_for_all_namespaces(self): - """ - Test case for list_persistent_volume_claim_for_all_namespaces - - - """ - pass - - def test_list_pod_for_all_namespaces(self): - """ - Test case for list_pod_for_all_namespaces - - - """ - pass - - def test_list_pod_template_for_all_namespaces(self): - """ - Test case for list_pod_template_for_all_namespaces - - - """ - pass - - def test_list_replication_controller_for_all_namespaces(self): - """ - Test case for list_replication_controller_for_all_namespaces - - - """ - pass - - def test_list_resource_quota_for_all_namespaces(self): - """ - Test case for list_resource_quota_for_all_namespaces - - - """ - pass - - def test_list_secret_for_all_namespaces(self): - """ - Test case for list_secret_for_all_namespaces - - - """ - pass - - def test_list_security_context_constraints(self): - """ - Test case for list_security_context_constraints - - - """ - pass - - def test_list_service_account_for_all_namespaces(self): - """ - Test case for list_service_account_for_all_namespaces - - - """ - pass - - def test_list_service_for_all_namespaces(self): - """ - Test case for list_service_for_all_namespaces - - - """ - pass - - def test_patch_namespace(self): - """ - Test case for patch_namespace - - - """ - pass - - def test_patch_namespace_status(self): - """ - Test case for patch_namespace_status - - - """ - pass - - def test_patch_namespaced_config_map(self): - """ - Test case for patch_namespaced_config_map - - - """ - pass - - def test_patch_namespaced_endpoints(self): - """ - Test case for patch_namespaced_endpoints - - - """ - pass - - def test_patch_namespaced_event(self): - """ - Test case for patch_namespaced_event - - - """ - pass - - def test_patch_namespaced_limit_range(self): - """ - Test case for patch_namespaced_limit_range - - - """ - pass - - def test_patch_namespaced_persistent_volume_claim(self): - """ - Test case for patch_namespaced_persistent_volume_claim - - - """ - pass - - def test_patch_namespaced_persistent_volume_claim_status(self): - """ - Test case for patch_namespaced_persistent_volume_claim_status - - - """ - pass - - def test_patch_namespaced_pod(self): - """ - Test case for patch_namespaced_pod - - - """ - pass - - def test_patch_namespaced_pod_status(self): - """ - Test case for patch_namespaced_pod_status - - - """ - pass - - def test_patch_namespaced_pod_template(self): - """ - Test case for patch_namespaced_pod_template - - - """ - pass - - def test_patch_namespaced_replication_controller(self): - """ - Test case for patch_namespaced_replication_controller - - - """ - pass - - def test_patch_namespaced_replication_controller_status(self): - """ - Test case for patch_namespaced_replication_controller_status - - - """ - pass - - def test_patch_namespaced_resource_quota(self): - """ - Test case for patch_namespaced_resource_quota - - - """ - pass - - def test_patch_namespaced_resource_quota_status(self): - """ - Test case for patch_namespaced_resource_quota_status - - - """ - pass - - def test_patch_namespaced_scale_scale(self): - """ - Test case for patch_namespaced_scale_scale - - - """ - pass - - def test_patch_namespaced_secret(self): - """ - Test case for patch_namespaced_secret - - - """ - pass - - def test_patch_namespaced_service(self): - """ - Test case for patch_namespaced_service - - - """ - pass - - def test_patch_namespaced_service_account(self): - """ - Test case for patch_namespaced_service_account - - - """ - pass - - def test_patch_namespaced_service_status(self): - """ - Test case for patch_namespaced_service_status - - - """ - pass - - def test_patch_node(self): - """ - Test case for patch_node - - - """ - pass - - def test_patch_node_status(self): - """ - Test case for patch_node_status - - - """ - pass - - def test_patch_persistent_volume(self): - """ - Test case for patch_persistent_volume - - - """ - pass - - def test_patch_persistent_volume_status(self): - """ - Test case for patch_persistent_volume_status - - - """ - pass - - def test_patch_security_context_constraints(self): - """ - Test case for patch_security_context_constraints - - - """ - pass - - def test_proxy_delete_namespaced_pod(self): - """ - Test case for proxy_delete_namespaced_pod - - - """ - pass - - def test_proxy_delete_namespaced_pod_with_path(self): - """ - Test case for proxy_delete_namespaced_pod_with_path - - - """ - pass - - def test_proxy_delete_namespaced_service(self): - """ - Test case for proxy_delete_namespaced_service - - - """ - pass - - def test_proxy_delete_namespaced_service_with_path(self): - """ - Test case for proxy_delete_namespaced_service_with_path - - - """ - pass - - def test_proxy_delete_node(self): - """ - Test case for proxy_delete_node - - - """ - pass - - def test_proxy_delete_node_with_path(self): - """ - Test case for proxy_delete_node_with_path - - - """ - pass - - def test_proxy_get_namespaced_pod(self): - """ - Test case for proxy_get_namespaced_pod - - - """ - pass - - def test_proxy_get_namespaced_pod_with_path(self): - """ - Test case for proxy_get_namespaced_pod_with_path - - - """ - pass - - def test_proxy_get_namespaced_service(self): - """ - Test case for proxy_get_namespaced_service - - - """ - pass - - def test_proxy_get_namespaced_service_with_path(self): - """ - Test case for proxy_get_namespaced_service_with_path - - - """ - pass - - def test_proxy_get_node(self): - """ - Test case for proxy_get_node - - - """ - pass - - def test_proxy_get_node_with_path(self): - """ - Test case for proxy_get_node_with_path - - - """ - pass - - def test_proxy_head_namespaced_pod(self): - """ - Test case for proxy_head_namespaced_pod - - - """ - pass - - def test_proxy_head_namespaced_pod_with_path(self): - """ - Test case for proxy_head_namespaced_pod_with_path - - - """ - pass - - def test_proxy_head_namespaced_service(self): - """ - Test case for proxy_head_namespaced_service - - - """ - pass - - def test_proxy_head_namespaced_service_with_path(self): - """ - Test case for proxy_head_namespaced_service_with_path - - - """ - pass - - def test_proxy_head_node(self): - """ - Test case for proxy_head_node - - - """ - pass - - def test_proxy_head_node_with_path(self): - """ - Test case for proxy_head_node_with_path - - - """ - pass - - def test_proxy_options_namespaced_pod(self): - """ - Test case for proxy_options_namespaced_pod - - - """ - pass - - def test_proxy_options_namespaced_pod_with_path(self): - """ - Test case for proxy_options_namespaced_pod_with_path - - - """ - pass - - def test_proxy_options_namespaced_service(self): - """ - Test case for proxy_options_namespaced_service - - - """ - pass - - def test_proxy_options_namespaced_service_with_path(self): - """ - Test case for proxy_options_namespaced_service_with_path - - - """ - pass - - def test_proxy_options_node(self): - """ - Test case for proxy_options_node - - - """ - pass - - def test_proxy_options_node_with_path(self): - """ - Test case for proxy_options_node_with_path - - - """ - pass - - def test_proxy_post_namespaced_pod(self): - """ - Test case for proxy_post_namespaced_pod - - - """ - pass - - def test_proxy_post_namespaced_pod_with_path(self): - """ - Test case for proxy_post_namespaced_pod_with_path - - - """ - pass - - def test_proxy_post_namespaced_service(self): - """ - Test case for proxy_post_namespaced_service - - - """ - pass - - def test_proxy_post_namespaced_service_with_path(self): - """ - Test case for proxy_post_namespaced_service_with_path - - - """ - pass - - def test_proxy_post_node(self): - """ - Test case for proxy_post_node - - - """ - pass - - def test_proxy_post_node_with_path(self): - """ - Test case for proxy_post_node_with_path - - - """ - pass - - def test_proxy_put_namespaced_pod(self): - """ - Test case for proxy_put_namespaced_pod - - - """ - pass - - def test_proxy_put_namespaced_pod_with_path(self): - """ - Test case for proxy_put_namespaced_pod_with_path - - - """ - pass - - def test_proxy_put_namespaced_service(self): - """ - Test case for proxy_put_namespaced_service - - - """ - pass - - def test_proxy_put_namespaced_service_with_path(self): - """ - Test case for proxy_put_namespaced_service_with_path - - - """ - pass - - def test_proxy_put_node(self): - """ - Test case for proxy_put_node - - - """ - pass - - def test_proxy_put_node_with_path(self): - """ - Test case for proxy_put_node_with_path - - - """ - pass - - def test_read_component_status(self): - """ - Test case for read_component_status - - - """ - pass - - def test_read_namespace(self): - """ - Test case for read_namespace - - - """ - pass - - def test_read_namespace_status(self): - """ - Test case for read_namespace_status - - - """ - pass - - def test_read_namespaced_config_map(self): - """ - Test case for read_namespaced_config_map - - - """ - pass - - def test_read_namespaced_endpoints(self): - """ - Test case for read_namespaced_endpoints - - - """ - pass - - def test_read_namespaced_event(self): - """ - Test case for read_namespaced_event - - - """ - pass - - def test_read_namespaced_limit_range(self): - """ - Test case for read_namespaced_limit_range - - - """ - pass - - def test_read_namespaced_persistent_volume_claim(self): - """ - Test case for read_namespaced_persistent_volume_claim - - - """ - pass - - def test_read_namespaced_persistent_volume_claim_status(self): - """ - Test case for read_namespaced_persistent_volume_claim_status - - - """ - pass - - def test_read_namespaced_pod(self): - """ - Test case for read_namespaced_pod - - - """ - pass - - def test_read_namespaced_pod_log(self): - """ - Test case for read_namespaced_pod_log - - - """ - pass - - def test_read_namespaced_pod_status(self): - """ - Test case for read_namespaced_pod_status - - - """ - pass - - def test_read_namespaced_pod_template(self): - """ - Test case for read_namespaced_pod_template - - - """ - pass - - def test_read_namespaced_replication_controller(self): - """ - Test case for read_namespaced_replication_controller - - - """ - pass - - def test_read_namespaced_replication_controller_status(self): - """ - Test case for read_namespaced_replication_controller_status - - - """ - pass - - def test_read_namespaced_resource_quota(self): - """ - Test case for read_namespaced_resource_quota - - - """ - pass - - def test_read_namespaced_resource_quota_status(self): - """ - Test case for read_namespaced_resource_quota_status - - - """ - pass - - def test_read_namespaced_scale_scale(self): - """ - Test case for read_namespaced_scale_scale - - - """ - pass - - def test_read_namespaced_secret(self): - """ - Test case for read_namespaced_secret - - - """ - pass - - def test_read_namespaced_service(self): - """ - Test case for read_namespaced_service - - - """ - pass - - def test_read_namespaced_service_account(self): - """ - Test case for read_namespaced_service_account - - - """ - pass - - def test_read_namespaced_service_status(self): - """ - Test case for read_namespaced_service_status - - - """ - pass - - def test_read_node(self): - """ - Test case for read_node - - - """ - pass - - def test_read_node_status(self): - """ - Test case for read_node_status - - - """ - pass - - def test_read_persistent_volume(self): - """ - Test case for read_persistent_volume - - - """ - pass - - def test_read_persistent_volume_status(self): - """ - Test case for read_persistent_volume_status - - - """ - pass - - def test_read_security_context_constraints(self): - """ - Test case for read_security_context_constraints - - - """ - pass - - def test_replace_namespace(self): - """ - Test case for replace_namespace - - - """ - pass - - def test_replace_namespace_finalize(self): - """ - Test case for replace_namespace_finalize - - - """ - pass - - def test_replace_namespace_status(self): - """ - Test case for replace_namespace_status - - - """ - pass - - def test_replace_namespaced_config_map(self): - """ - Test case for replace_namespaced_config_map - - - """ - pass - - def test_replace_namespaced_endpoints(self): - """ - Test case for replace_namespaced_endpoints - - - """ - pass - - def test_replace_namespaced_event(self): - """ - Test case for replace_namespaced_event - - - """ - pass - - def test_replace_namespaced_limit_range(self): - """ - Test case for replace_namespaced_limit_range - - - """ - pass - - def test_replace_namespaced_persistent_volume_claim(self): - """ - Test case for replace_namespaced_persistent_volume_claim - - - """ - pass - - def test_replace_namespaced_persistent_volume_claim_status(self): - """ - Test case for replace_namespaced_persistent_volume_claim_status - - - """ - pass - - def test_replace_namespaced_pod(self): - """ - Test case for replace_namespaced_pod - - - """ - pass - - def test_replace_namespaced_pod_status(self): - """ - Test case for replace_namespaced_pod_status - - - """ - pass - - def test_replace_namespaced_pod_template(self): - """ - Test case for replace_namespaced_pod_template - - - """ - pass - - def test_replace_namespaced_replication_controller(self): - """ - Test case for replace_namespaced_replication_controller - - - """ - pass - - def test_replace_namespaced_replication_controller_status(self): - """ - Test case for replace_namespaced_replication_controller_status - - - """ - pass - - def test_replace_namespaced_resource_quota(self): - """ - Test case for replace_namespaced_resource_quota - - - """ - pass - - def test_replace_namespaced_resource_quota_status(self): - """ - Test case for replace_namespaced_resource_quota_status - - - """ - pass - - def test_replace_namespaced_scale_scale(self): - """ - Test case for replace_namespaced_scale_scale - - - """ - pass - - def test_replace_namespaced_secret(self): - """ - Test case for replace_namespaced_secret - - - """ - pass - - def test_replace_namespaced_service(self): - """ - Test case for replace_namespaced_service - - - """ - pass - - def test_replace_namespaced_service_account(self): - """ - Test case for replace_namespaced_service_account - - - """ - pass - - def test_replace_namespaced_service_status(self): - """ - Test case for replace_namespaced_service_status - - - """ - pass - - def test_replace_node(self): - """ - Test case for replace_node - - - """ - pass - - def test_replace_node_status(self): - """ - Test case for replace_node_status - - - """ - pass - - def test_replace_persistent_volume(self): - """ - Test case for replace_persistent_volume - - - """ - pass - - def test_replace_persistent_volume_status(self): - """ - Test case for replace_persistent_volume_status - - - """ - pass - - def test_replace_security_context_constraints(self): - """ - Test case for replace_security_context_constraints - - - """ - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/openshift/test/test_extensions_api.py b/openshift/test/test_extensions_api.py deleted file mode 100644 index d1ad7c56..00000000 --- a/openshift/test/test_extensions_api.py +++ /dev/null @@ -1,44 +0,0 @@ -# coding: utf-8 - -""" - OpenShift API (with Kubernetes) - - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - - OpenAPI spec version: v3.6.0-alpha.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import os -import sys -import unittest - -import openshift.client -from kubernetes.client.rest import ApiException -from openshift.client.apis.extensions_api import ExtensionsApi - - -class TestExtensionsApi(unittest.TestCase): - """ ExtensionsApi unit test stubs """ - - def setUp(self): - self.api = openshift.client.apis.extensions_api.ExtensionsApi() - - def tearDown(self): - pass - - def test_get_extensions_api_group(self): - """ - Test case for get_extensions_api_group - - - """ - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/openshift/test/test_extensions_v1beta1_api.py b/openshift/test/test_extensions_v1beta1_api.py deleted file mode 100644 index 1e09db5a..00000000 --- a/openshift/test/test_extensions_v1beta1_api.py +++ /dev/null @@ -1,884 +0,0 @@ -# coding: utf-8 - -""" - OpenShift API (with Kubernetes) - - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - - OpenAPI spec version: v3.6.0-alpha.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import os -import sys -import unittest - -import openshift.client -from kubernetes.client.rest import ApiException -from openshift.client.apis.extensions_v1beta1_api import ExtensionsV1beta1Api - - -class TestExtensionsV1beta1Api(unittest.TestCase): - """ ExtensionsV1beta1Api unit test stubs """ - - def setUp(self): - self.api = openshift.client.apis.extensions_v1beta1_api.ExtensionsV1beta1Api() - - def tearDown(self): - pass - - def test_create_daemon_set_for_all_namespaces(self): - """ - Test case for create_daemon_set_for_all_namespaces - - - """ - pass - - def test_create_deployment_for_all_namespaces(self): - """ - Test case for create_deployment_for_all_namespaces - - - """ - pass - - def test_create_horizontal_pod_autoscaler_for_all_namespaces(self): - """ - Test case for create_horizontal_pod_autoscaler_for_all_namespaces - - - """ - pass - - def test_create_ingress_for_all_namespaces(self): - """ - Test case for create_ingress_for_all_namespaces - - - """ - pass - - def test_create_job_for_all_namespaces(self): - """ - Test case for create_job_for_all_namespaces - - - """ - pass - - def test_create_namespaced_daemon_set(self): - """ - Test case for create_namespaced_daemon_set - - - """ - pass - - def test_create_namespaced_deployment(self): - """ - Test case for create_namespaced_deployment - - - """ - pass - - def test_create_namespaced_deployment_rollback_rollback(self): - """ - Test case for create_namespaced_deployment_rollback_rollback - - - """ - pass - - def test_create_namespaced_horizontal_pod_autoscaler(self): - """ - Test case for create_namespaced_horizontal_pod_autoscaler - - - """ - pass - - def test_create_namespaced_ingress(self): - """ - Test case for create_namespaced_ingress - - - """ - pass - - def test_create_namespaced_job(self): - """ - Test case for create_namespaced_job - - - """ - pass - - def test_create_namespaced_network_policy(self): - """ - Test case for create_namespaced_network_policy - - - """ - pass - - def test_create_namespaced_replica_set(self): - """ - Test case for create_namespaced_replica_set - - - """ - pass - - def test_create_network_policy_for_all_namespaces(self): - """ - Test case for create_network_policy_for_all_namespaces - - - """ - pass - - def test_create_pod_security_policy(self): - """ - Test case for create_pod_security_policy - - - """ - pass - - def test_create_replica_set_for_all_namespaces(self): - """ - Test case for create_replica_set_for_all_namespaces - - - """ - pass - - def test_create_third_party_resource(self): - """ - Test case for create_third_party_resource - - - """ - pass - - def test_delete_collection_namespaced_daemon_set(self): - """ - Test case for delete_collection_namespaced_daemon_set - - - """ - pass - - def test_delete_collection_namespaced_deployment(self): - """ - Test case for delete_collection_namespaced_deployment - - - """ - pass - - def test_delete_collection_namespaced_horizontal_pod_autoscaler(self): - """ - Test case for delete_collection_namespaced_horizontal_pod_autoscaler - - - """ - pass - - def test_delete_collection_namespaced_ingress(self): - """ - Test case for delete_collection_namespaced_ingress - - - """ - pass - - def test_delete_collection_namespaced_job(self): - """ - Test case for delete_collection_namespaced_job - - - """ - pass - - def test_delete_collection_namespaced_network_policy(self): - """ - Test case for delete_collection_namespaced_network_policy - - - """ - pass - - def test_delete_collection_namespaced_replica_set(self): - """ - Test case for delete_collection_namespaced_replica_set - - - """ - pass - - def test_delete_collection_pod_security_policy(self): - """ - Test case for delete_collection_pod_security_policy - - - """ - pass - - def test_delete_collection_third_party_resource(self): - """ - Test case for delete_collection_third_party_resource - - - """ - pass - - def test_delete_namespaced_daemon_set(self): - """ - Test case for delete_namespaced_daemon_set - - - """ - pass - - def test_delete_namespaced_deployment(self): - """ - Test case for delete_namespaced_deployment - - - """ - pass - - def test_delete_namespaced_horizontal_pod_autoscaler(self): - """ - Test case for delete_namespaced_horizontal_pod_autoscaler - - - """ - pass - - def test_delete_namespaced_ingress(self): - """ - Test case for delete_namespaced_ingress - - - """ - pass - - def test_delete_namespaced_job(self): - """ - Test case for delete_namespaced_job - - - """ - pass - - def test_delete_namespaced_network_policy(self): - """ - Test case for delete_namespaced_network_policy - - - """ - pass - - def test_delete_namespaced_replica_set(self): - """ - Test case for delete_namespaced_replica_set - - - """ - pass - - def test_delete_pod_security_policy(self): - """ - Test case for delete_pod_security_policy - - - """ - pass - - def test_delete_third_party_resource(self): - """ - Test case for delete_third_party_resource - - - """ - pass - - def test_get_api_resources(self): - """ - Test case for get_api_resources - - - """ - pass - - def test_list_daemon_set_for_all_namespaces(self): - """ - Test case for list_daemon_set_for_all_namespaces - - - """ - pass - - def test_list_deployment_for_all_namespaces(self): - """ - Test case for list_deployment_for_all_namespaces - - - """ - pass - - def test_list_horizontal_pod_autoscaler_for_all_namespaces(self): - """ - Test case for list_horizontal_pod_autoscaler_for_all_namespaces - - - """ - pass - - def test_list_ingress_for_all_namespaces(self): - """ - Test case for list_ingress_for_all_namespaces - - - """ - pass - - def test_list_job_for_all_namespaces(self): - """ - Test case for list_job_for_all_namespaces - - - """ - pass - - def test_list_namespaced_daemon_set(self): - """ - Test case for list_namespaced_daemon_set - - - """ - pass - - def test_list_namespaced_deployment(self): - """ - Test case for list_namespaced_deployment - - - """ - pass - - def test_list_namespaced_horizontal_pod_autoscaler(self): - """ - Test case for list_namespaced_horizontal_pod_autoscaler - - - """ - pass - - def test_list_namespaced_ingress(self): - """ - Test case for list_namespaced_ingress - - - """ - pass - - def test_list_namespaced_job(self): - """ - Test case for list_namespaced_job - - - """ - pass - - def test_list_namespaced_network_policy(self): - """ - Test case for list_namespaced_network_policy - - - """ - pass - - def test_list_namespaced_replica_set(self): - """ - Test case for list_namespaced_replica_set - - - """ - pass - - def test_list_network_policy_for_all_namespaces(self): - """ - Test case for list_network_policy_for_all_namespaces - - - """ - pass - - def test_list_pod_security_policy(self): - """ - Test case for list_pod_security_policy - - - """ - pass - - def test_list_replica_set_for_all_namespaces(self): - """ - Test case for list_replica_set_for_all_namespaces - - - """ - pass - - def test_list_third_party_resource(self): - """ - Test case for list_third_party_resource - - - """ - pass - - def test_patch_namespaced_daemon_set(self): - """ - Test case for patch_namespaced_daemon_set - - - """ - pass - - def test_patch_namespaced_daemon_set_status(self): - """ - Test case for patch_namespaced_daemon_set_status - - - """ - pass - - def test_patch_namespaced_deployment(self): - """ - Test case for patch_namespaced_deployment - - - """ - pass - - def test_patch_namespaced_deployment_status(self): - """ - Test case for patch_namespaced_deployment_status - - - """ - pass - - def test_patch_namespaced_deployments_scale(self): - """ - Test case for patch_namespaced_deployments_scale - - - """ - pass - - def test_patch_namespaced_horizontal_pod_autoscaler(self): - """ - Test case for patch_namespaced_horizontal_pod_autoscaler - - - """ - pass - - def test_patch_namespaced_horizontal_pod_autoscaler_status(self): - """ - Test case for patch_namespaced_horizontal_pod_autoscaler_status - - - """ - pass - - def test_patch_namespaced_ingress(self): - """ - Test case for patch_namespaced_ingress - - - """ - pass - - def test_patch_namespaced_ingress_status(self): - """ - Test case for patch_namespaced_ingress_status - - - """ - pass - - def test_patch_namespaced_job(self): - """ - Test case for patch_namespaced_job - - - """ - pass - - def test_patch_namespaced_job_status(self): - """ - Test case for patch_namespaced_job_status - - - """ - pass - - def test_patch_namespaced_network_policy(self): - """ - Test case for patch_namespaced_network_policy - - - """ - pass - - def test_patch_namespaced_replica_set(self): - """ - Test case for patch_namespaced_replica_set - - - """ - pass - - def test_patch_namespaced_replica_set_status(self): - """ - Test case for patch_namespaced_replica_set_status - - - """ - pass - - def test_patch_namespaced_replicasets_scale(self): - """ - Test case for patch_namespaced_replicasets_scale - - - """ - pass - - def test_patch_namespaced_replicationcontrollers_scale(self): - """ - Test case for patch_namespaced_replicationcontrollers_scale - - - """ - pass - - def test_patch_pod_security_policy(self): - """ - Test case for patch_pod_security_policy - - - """ - pass - - def test_patch_third_party_resource(self): - """ - Test case for patch_third_party_resource - - - """ - pass - - def test_read_namespaced_daemon_set(self): - """ - Test case for read_namespaced_daemon_set - - - """ - pass - - def test_read_namespaced_daemon_set_status(self): - """ - Test case for read_namespaced_daemon_set_status - - - """ - pass - - def test_read_namespaced_deployment(self): - """ - Test case for read_namespaced_deployment - - - """ - pass - - def test_read_namespaced_deployment_status(self): - """ - Test case for read_namespaced_deployment_status - - - """ - pass - - def test_read_namespaced_deployments_scale(self): - """ - Test case for read_namespaced_deployments_scale - - - """ - pass - - def test_read_namespaced_horizontal_pod_autoscaler(self): - """ - Test case for read_namespaced_horizontal_pod_autoscaler - - - """ - pass - - def test_read_namespaced_horizontal_pod_autoscaler_status(self): - """ - Test case for read_namespaced_horizontal_pod_autoscaler_status - - - """ - pass - - def test_read_namespaced_ingress(self): - """ - Test case for read_namespaced_ingress - - - """ - pass - - def test_read_namespaced_ingress_status(self): - """ - Test case for read_namespaced_ingress_status - - - """ - pass - - def test_read_namespaced_job(self): - """ - Test case for read_namespaced_job - - - """ - pass - - def test_read_namespaced_job_status(self): - """ - Test case for read_namespaced_job_status - - - """ - pass - - def test_read_namespaced_network_policy(self): - """ - Test case for read_namespaced_network_policy - - - """ - pass - - def test_read_namespaced_replica_set(self): - """ - Test case for read_namespaced_replica_set - - - """ - pass - - def test_read_namespaced_replica_set_status(self): - """ - Test case for read_namespaced_replica_set_status - - - """ - pass - - def test_read_namespaced_replicasets_scale(self): - """ - Test case for read_namespaced_replicasets_scale - - - """ - pass - - def test_read_namespaced_replicationcontrollers_scale(self): - """ - Test case for read_namespaced_replicationcontrollers_scale - - - """ - pass - - def test_read_pod_security_policy(self): - """ - Test case for read_pod_security_policy - - - """ - pass - - def test_read_third_party_resource(self): - """ - Test case for read_third_party_resource - - - """ - pass - - def test_replace_namespaced_daemon_set(self): - """ - Test case for replace_namespaced_daemon_set - - - """ - pass - - def test_replace_namespaced_daemon_set_status(self): - """ - Test case for replace_namespaced_daemon_set_status - - - """ - pass - - def test_replace_namespaced_deployment(self): - """ - Test case for replace_namespaced_deployment - - - """ - pass - - def test_replace_namespaced_deployment_status(self): - """ - Test case for replace_namespaced_deployment_status - - - """ - pass - - def test_replace_namespaced_deployments_scale(self): - """ - Test case for replace_namespaced_deployments_scale - - - """ - pass - - def test_replace_namespaced_horizontal_pod_autoscaler(self): - """ - Test case for replace_namespaced_horizontal_pod_autoscaler - - - """ - pass - - def test_replace_namespaced_horizontal_pod_autoscaler_status(self): - """ - Test case for replace_namespaced_horizontal_pod_autoscaler_status - - - """ - pass - - def test_replace_namespaced_ingress(self): - """ - Test case for replace_namespaced_ingress - - - """ - pass - - def test_replace_namespaced_ingress_status(self): - """ - Test case for replace_namespaced_ingress_status - - - """ - pass - - def test_replace_namespaced_job(self): - """ - Test case for replace_namespaced_job - - - """ - pass - - def test_replace_namespaced_job_status(self): - """ - Test case for replace_namespaced_job_status - - - """ - pass - - def test_replace_namespaced_network_policy(self): - """ - Test case for replace_namespaced_network_policy - - - """ - pass - - def test_replace_namespaced_replica_set(self): - """ - Test case for replace_namespaced_replica_set - - - """ - pass - - def test_replace_namespaced_replica_set_status(self): - """ - Test case for replace_namespaced_replica_set_status - - - """ - pass - - def test_replace_namespaced_replicasets_scale(self): - """ - Test case for replace_namespaced_replicasets_scale - - - """ - pass - - def test_replace_namespaced_replicationcontrollers_scale(self): - """ - Test case for replace_namespaced_replicationcontrollers_scale - - - """ - pass - - def test_replace_pod_security_policy(self): - """ - Test case for replace_pod_security_policy - - - """ - pass - - def test_replace_third_party_resource(self): - """ - Test case for replace_third_party_resource - - - """ - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/openshift/test/test_image_openshift_io_0_api.py b/openshift/test/test_image_openshift_io_0_api.py deleted file mode 100644 index dd29f744..00000000 --- a/openshift/test/test_image_openshift_io_0_api.py +++ /dev/null @@ -1,44 +0,0 @@ -# coding: utf-8 - -""" - OpenShift API (with Kubernetes) - - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - - OpenAPI spec version: v3.6.0-alpha.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import os -import sys -import unittest - -import openshift.client -from kubernetes.client.rest import ApiException -from openshift.client.apis.image_openshift_io_0_api import ImageOpenshiftIo0Api - - -class TestImageOpenshiftIo0Api(unittest.TestCase): - """ ImageOpenshiftIo0Api unit test stubs """ - - def setUp(self): - self.api = openshift.client.apis.image_openshift_io_0_api.ImageOpenshiftIo0Api() - - def tearDown(self): - pass - - def test_get_image_openshift_io0_api_resources(self): - """ - Test case for get_image_openshift_io0_api_resources - - - """ - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/openshift/test/test_image_openshift_io_api.py b/openshift/test/test_image_openshift_io_api.py index 5189295a..a248f116 100644 --- a/openshift/test/test_image_openshift_io_api.py +++ b/openshift/test/test_image_openshift_io_api.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -31,9 +31,9 @@ def setUp(self): def tearDown(self): pass - def test_get_image_openshift_io_api_group(self): + def test_get_api_group(self): """ - Test case for get_image_openshift_io_api_group + Test case for get_api_group """ diff --git a/openshift/test/test_image_openshift_io_pre012_api.py b/openshift/test/test_image_openshift_io_pre012_api.py deleted file mode 100644 index 8d7622de..00000000 --- a/openshift/test/test_image_openshift_io_pre012_api.py +++ /dev/null @@ -1,44 +0,0 @@ -# coding: utf-8 - -""" - OpenShift API (with Kubernetes) - - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - - OpenAPI spec version: v3.6.0-alpha.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import os -import sys -import unittest - -import openshift.client -from kubernetes.client.rest import ApiException -from openshift.client.apis.image_openshift_io_pre012_api import ImageOpenshiftIoPre012Api - - -class TestImageOpenshiftIoPre012Api(unittest.TestCase): - """ ImageOpenshiftIoPre012Api unit test stubs """ - - def setUp(self): - self.api = openshift.client.apis.image_openshift_io_pre012_api.ImageOpenshiftIoPre012Api() - - def tearDown(self): - pass - - def test_get_image_openshift_io_pre012_api_resources(self): - """ - Test case for get_image_openshift_io_pre012_api_resources - - - """ - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/openshift/test/test_image_openshift_io_v1_api.py b/openshift/test/test_image_openshift_io_v1_api.py index 51d10772..4dfd4f6a 100644 --- a/openshift/test/test_image_openshift_io_v1_api.py +++ b/openshift/test/test_image_openshift_io_v1_api.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -31,289 +31,289 @@ def setUp(self): def tearDown(self): pass - def test_create_image_openshift_io_v1_image(self): + def test_create_image(self): """ - Test case for create_image_openshift_io_v1_image + Test case for create_image """ pass - def test_create_image_openshift_io_v1_image_signature(self): + def test_create_image_signature(self): """ - Test case for create_image_openshift_io_v1_image_signature + Test case for create_image_signature """ pass - def test_create_image_openshift_io_v1_image_stream_for_all_namespaces(self): + def test_create_image_stream_for_all_namespaces(self): """ - Test case for create_image_openshift_io_v1_image_stream_for_all_namespaces + Test case for create_image_stream_for_all_namespaces """ pass - def test_create_image_openshift_io_v1_image_stream_import_for_all_namespaces(self): + def test_create_image_stream_import_for_all_namespaces(self): """ - Test case for create_image_openshift_io_v1_image_stream_import_for_all_namespaces + Test case for create_image_stream_import_for_all_namespaces """ pass - def test_create_image_openshift_io_v1_image_stream_mapping_for_all_namespaces(self): + def test_create_image_stream_mapping_for_all_namespaces(self): """ - Test case for create_image_openshift_io_v1_image_stream_mapping_for_all_namespaces + Test case for create_image_stream_mapping_for_all_namespaces """ pass - def test_create_image_openshift_io_v1_image_stream_tag_for_all_namespaces(self): + def test_create_image_stream_tag_for_all_namespaces(self): """ - Test case for create_image_openshift_io_v1_image_stream_tag_for_all_namespaces + Test case for create_image_stream_tag_for_all_namespaces """ pass - def test_create_image_openshift_io_v1_namespaced_image_stream(self): + def test_create_namespaced_image_stream(self): """ - Test case for create_image_openshift_io_v1_namespaced_image_stream + Test case for create_namespaced_image_stream """ pass - def test_create_image_openshift_io_v1_namespaced_image_stream_import(self): + def test_create_namespaced_image_stream_import(self): """ - Test case for create_image_openshift_io_v1_namespaced_image_stream_import + Test case for create_namespaced_image_stream_import """ pass - def test_create_image_openshift_io_v1_namespaced_image_stream_mapping(self): + def test_create_namespaced_image_stream_mapping(self): """ - Test case for create_image_openshift_io_v1_namespaced_image_stream_mapping + Test case for create_namespaced_image_stream_mapping """ pass - def test_create_image_openshift_io_v1_namespaced_image_stream_tag(self): + def test_create_namespaced_image_stream_tag(self): """ - Test case for create_image_openshift_io_v1_namespaced_image_stream_tag + Test case for create_namespaced_image_stream_tag """ pass - def test_delete_image_openshift_io_v1_collection_image(self): + def test_delete_collection_image(self): """ - Test case for delete_image_openshift_io_v1_collection_image + Test case for delete_collection_image """ pass - def test_delete_image_openshift_io_v1_collection_namespaced_image_stream(self): + def test_delete_collection_namespaced_image_stream(self): """ - Test case for delete_image_openshift_io_v1_collection_namespaced_image_stream + Test case for delete_collection_namespaced_image_stream """ pass - def test_delete_image_openshift_io_v1_image(self): + def test_delete_image(self): """ - Test case for delete_image_openshift_io_v1_image + Test case for delete_image """ pass - def test_delete_image_openshift_io_v1_image_signature(self): + def test_delete_image_signature(self): """ - Test case for delete_image_openshift_io_v1_image_signature + Test case for delete_image_signature """ pass - def test_delete_image_openshift_io_v1_namespaced_image_stream(self): + def test_delete_namespaced_image_stream(self): """ - Test case for delete_image_openshift_io_v1_namespaced_image_stream + Test case for delete_namespaced_image_stream """ pass - def test_delete_image_openshift_io_v1_namespaced_image_stream_tag(self): + def test_delete_namespaced_image_stream_tag(self): """ - Test case for delete_image_openshift_io_v1_namespaced_image_stream_tag + Test case for delete_namespaced_image_stream_tag """ pass - def test_get_image_openshift_io_v1_api_resources(self): + def test_get_api_resources(self): """ - Test case for get_image_openshift_io_v1_api_resources + Test case for get_api_resources """ pass - def test_list_image_openshift_io_v1_image(self): + def test_list_image(self): """ - Test case for list_image_openshift_io_v1_image + Test case for list_image """ pass - def test_list_image_openshift_io_v1_image_stream_for_all_namespaces(self): + def test_list_image_stream_for_all_namespaces(self): """ - Test case for list_image_openshift_io_v1_image_stream_for_all_namespaces + Test case for list_image_stream_for_all_namespaces """ pass - def test_list_image_openshift_io_v1_image_stream_tag_for_all_namespaces(self): + def test_list_image_stream_tag_for_all_namespaces(self): """ - Test case for list_image_openshift_io_v1_image_stream_tag_for_all_namespaces + Test case for list_image_stream_tag_for_all_namespaces """ pass - def test_list_image_openshift_io_v1_namespaced_image_stream(self): + def test_list_namespaced_image_stream(self): """ - Test case for list_image_openshift_io_v1_namespaced_image_stream + Test case for list_namespaced_image_stream """ pass - def test_list_image_openshift_io_v1_namespaced_image_stream_tag(self): + def test_list_namespaced_image_stream_tag(self): """ - Test case for list_image_openshift_io_v1_namespaced_image_stream_tag + Test case for list_namespaced_image_stream_tag """ pass - def test_patch_image_openshift_io_v1_image(self): + def test_patch_image(self): """ - Test case for patch_image_openshift_io_v1_image + Test case for patch_image """ pass - def test_patch_image_openshift_io_v1_namespaced_image_stream(self): + def test_patch_namespaced_image_stream(self): """ - Test case for patch_image_openshift_io_v1_namespaced_image_stream + Test case for patch_namespaced_image_stream """ pass - def test_patch_image_openshift_io_v1_namespaced_image_stream_status(self): + def test_patch_namespaced_image_stream_status(self): """ - Test case for patch_image_openshift_io_v1_namespaced_image_stream_status + Test case for patch_namespaced_image_stream_status """ pass - def test_patch_image_openshift_io_v1_namespaced_image_stream_tag(self): + def test_patch_namespaced_image_stream_tag(self): """ - Test case for patch_image_openshift_io_v1_namespaced_image_stream_tag + Test case for patch_namespaced_image_stream_tag """ pass - def test_read_image_openshift_io_v1_image(self): + def test_read_image(self): """ - Test case for read_image_openshift_io_v1_image + Test case for read_image """ pass - def test_read_image_openshift_io_v1_namespaced_image_stream(self): + def test_read_namespaced_image_stream(self): """ - Test case for read_image_openshift_io_v1_namespaced_image_stream + Test case for read_namespaced_image_stream """ pass - def test_read_image_openshift_io_v1_namespaced_image_stream_image(self): + def test_read_namespaced_image_stream_image(self): """ - Test case for read_image_openshift_io_v1_namespaced_image_stream_image + Test case for read_namespaced_image_stream_image """ pass - def test_read_image_openshift_io_v1_namespaced_image_stream_status(self): + def test_read_namespaced_image_stream_status(self): """ - Test case for read_image_openshift_io_v1_namespaced_image_stream_status + Test case for read_namespaced_image_stream_status """ pass - def test_read_image_openshift_io_v1_namespaced_image_stream_tag(self): + def test_read_namespaced_image_stream_tag(self): """ - Test case for read_image_openshift_io_v1_namespaced_image_stream_tag + Test case for read_namespaced_image_stream_tag """ pass - def test_read_image_openshift_io_v1_namespaced_secret_list_secrets(self): + def test_read_namespaced_secret_list_secrets(self): """ - Test case for read_image_openshift_io_v1_namespaced_secret_list_secrets + Test case for read_namespaced_secret_list_secrets """ pass - def test_replace_image_openshift_io_v1_image(self): + def test_replace_image(self): """ - Test case for replace_image_openshift_io_v1_image + Test case for replace_image """ pass - def test_replace_image_openshift_io_v1_namespaced_image_stream(self): + def test_replace_namespaced_image_stream(self): """ - Test case for replace_image_openshift_io_v1_namespaced_image_stream + Test case for replace_namespaced_image_stream """ pass - def test_replace_image_openshift_io_v1_namespaced_image_stream_status(self): + def test_replace_namespaced_image_stream_status(self): """ - Test case for replace_image_openshift_io_v1_namespaced_image_stream_status + Test case for replace_namespaced_image_stream_status """ pass - def test_replace_image_openshift_io_v1_namespaced_image_stream_tag(self): + def test_replace_namespaced_image_stream_tag(self): """ - Test case for replace_image_openshift_io_v1_namespaced_image_stream_tag + Test case for replace_namespaced_image_stream_tag """ diff --git a/openshift/test/test_intstr_int_or_string.py b/openshift/test/test_intstr_int_or_string.py deleted file mode 100644 index 2b5e4f48..00000000 --- a/openshift/test/test_intstr_int_or_string.py +++ /dev/null @@ -1,42 +0,0 @@ -# coding: utf-8 - -""" - OpenShift API (with Kubernetes) - - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - - OpenAPI spec version: v3.6.0-alpha.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import os -import sys -import unittest - -import openshift.client -from kubernetes.client.rest import ApiException -from openshift.client.models.intstr_int_or_string import IntstrIntOrString - - -class TestIntstrIntOrString(unittest.TestCase): - """ IntstrIntOrString unit test stubs """ - - def setUp(self): - pass - - def tearDown(self): - pass - - def testIntstrIntOrString(self): - """ - Test IntstrIntOrString - """ - model = openshift.client.models.intstr_int_or_string.IntstrIntOrString() - - -if __name__ == '__main__': - unittest.main() diff --git a/openshift/test/test_network_openshift_io_api.py b/openshift/test/test_network_openshift_io_api.py index 37a4278b..2c0ae95d 100644 --- a/openshift/test/test_network_openshift_io_api.py +++ b/openshift/test/test_network_openshift_io_api.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -31,9 +31,9 @@ def setUp(self): def tearDown(self): pass - def test_get_network_openshift_io_api_group(self): + def test_get_api_group(self): """ - Test case for get_network_openshift_io_api_group + Test case for get_api_group """ diff --git a/openshift/test/test_network_openshift_io_v1_api.py b/openshift/test/test_network_openshift_io_v1_api.py index 69ac133c..9f01b4c4 100644 --- a/openshift/test/test_network_openshift_io_v1_api.py +++ b/openshift/test/test_network_openshift_io_v1_api.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -31,249 +31,249 @@ def setUp(self): def tearDown(self): pass - def test_create_network_openshift_io_v1_cluster_network(self): + def test_create_cluster_network(self): """ - Test case for create_network_openshift_io_v1_cluster_network + Test case for create_cluster_network """ pass - def test_create_network_openshift_io_v1_egress_network_policy_for_all_namespaces(self): + def test_create_egress_network_policy_for_all_namespaces(self): """ - Test case for create_network_openshift_io_v1_egress_network_policy_for_all_namespaces + Test case for create_egress_network_policy_for_all_namespaces """ pass - def test_create_network_openshift_io_v1_host_subnet(self): + def test_create_host_subnet(self): """ - Test case for create_network_openshift_io_v1_host_subnet + Test case for create_host_subnet """ pass - def test_create_network_openshift_io_v1_namespaced_egress_network_policy(self): + def test_create_namespaced_egress_network_policy(self): """ - Test case for create_network_openshift_io_v1_namespaced_egress_network_policy + Test case for create_namespaced_egress_network_policy """ pass - def test_create_network_openshift_io_v1_net_namespace(self): + def test_create_net_namespace(self): """ - Test case for create_network_openshift_io_v1_net_namespace + Test case for create_net_namespace """ pass - def test_delete_network_openshift_io_v1_cluster_network(self): + def test_delete_cluster_network(self): """ - Test case for delete_network_openshift_io_v1_cluster_network + Test case for delete_cluster_network """ pass - def test_delete_network_openshift_io_v1_collection_cluster_network(self): + def test_delete_collection_cluster_network(self): """ - Test case for delete_network_openshift_io_v1_collection_cluster_network + Test case for delete_collection_cluster_network """ pass - def test_delete_network_openshift_io_v1_collection_host_subnet(self): + def test_delete_collection_host_subnet(self): """ - Test case for delete_network_openshift_io_v1_collection_host_subnet + Test case for delete_collection_host_subnet """ pass - def test_delete_network_openshift_io_v1_collection_namespaced_egress_network_policy(self): + def test_delete_collection_namespaced_egress_network_policy(self): """ - Test case for delete_network_openshift_io_v1_collection_namespaced_egress_network_policy + Test case for delete_collection_namespaced_egress_network_policy """ pass - def test_delete_network_openshift_io_v1_collection_net_namespace(self): + def test_delete_collection_net_namespace(self): """ - Test case for delete_network_openshift_io_v1_collection_net_namespace + Test case for delete_collection_net_namespace """ pass - def test_delete_network_openshift_io_v1_host_subnet(self): + def test_delete_host_subnet(self): """ - Test case for delete_network_openshift_io_v1_host_subnet + Test case for delete_host_subnet """ pass - def test_delete_network_openshift_io_v1_namespaced_egress_network_policy(self): + def test_delete_namespaced_egress_network_policy(self): """ - Test case for delete_network_openshift_io_v1_namespaced_egress_network_policy + Test case for delete_namespaced_egress_network_policy """ pass - def test_delete_network_openshift_io_v1_net_namespace(self): + def test_delete_net_namespace(self): """ - Test case for delete_network_openshift_io_v1_net_namespace + Test case for delete_net_namespace """ pass - def test_get_network_openshift_io_v1_api_resources(self): + def test_get_api_resources(self): """ - Test case for get_network_openshift_io_v1_api_resources + Test case for get_api_resources """ pass - def test_list_network_openshift_io_v1_cluster_network(self): + def test_list_cluster_network(self): """ - Test case for list_network_openshift_io_v1_cluster_network + Test case for list_cluster_network """ pass - def test_list_network_openshift_io_v1_egress_network_policy_for_all_namespaces(self): + def test_list_egress_network_policy_for_all_namespaces(self): """ - Test case for list_network_openshift_io_v1_egress_network_policy_for_all_namespaces + Test case for list_egress_network_policy_for_all_namespaces """ pass - def test_list_network_openshift_io_v1_host_subnet(self): + def test_list_host_subnet(self): """ - Test case for list_network_openshift_io_v1_host_subnet + Test case for list_host_subnet """ pass - def test_list_network_openshift_io_v1_namespaced_egress_network_policy(self): + def test_list_namespaced_egress_network_policy(self): """ - Test case for list_network_openshift_io_v1_namespaced_egress_network_policy + Test case for list_namespaced_egress_network_policy """ pass - def test_list_network_openshift_io_v1_net_namespace(self): + def test_list_net_namespace(self): """ - Test case for list_network_openshift_io_v1_net_namespace + Test case for list_net_namespace """ pass - def test_patch_network_openshift_io_v1_cluster_network(self): + def test_patch_cluster_network(self): """ - Test case for patch_network_openshift_io_v1_cluster_network + Test case for patch_cluster_network """ pass - def test_patch_network_openshift_io_v1_host_subnet(self): + def test_patch_host_subnet(self): """ - Test case for patch_network_openshift_io_v1_host_subnet + Test case for patch_host_subnet """ pass - def test_patch_network_openshift_io_v1_namespaced_egress_network_policy(self): + def test_patch_namespaced_egress_network_policy(self): """ - Test case for patch_network_openshift_io_v1_namespaced_egress_network_policy + Test case for patch_namespaced_egress_network_policy """ pass - def test_patch_network_openshift_io_v1_net_namespace(self): + def test_patch_net_namespace(self): """ - Test case for patch_network_openshift_io_v1_net_namespace + Test case for patch_net_namespace """ pass - def test_read_network_openshift_io_v1_cluster_network(self): + def test_read_cluster_network(self): """ - Test case for read_network_openshift_io_v1_cluster_network + Test case for read_cluster_network """ pass - def test_read_network_openshift_io_v1_host_subnet(self): + def test_read_host_subnet(self): """ - Test case for read_network_openshift_io_v1_host_subnet + Test case for read_host_subnet """ pass - def test_read_network_openshift_io_v1_namespaced_egress_network_policy(self): + def test_read_namespaced_egress_network_policy(self): """ - Test case for read_network_openshift_io_v1_namespaced_egress_network_policy + Test case for read_namespaced_egress_network_policy """ pass - def test_read_network_openshift_io_v1_net_namespace(self): + def test_read_net_namespace(self): """ - Test case for read_network_openshift_io_v1_net_namespace + Test case for read_net_namespace """ pass - def test_replace_network_openshift_io_v1_cluster_network(self): + def test_replace_cluster_network(self): """ - Test case for replace_network_openshift_io_v1_cluster_network + Test case for replace_cluster_network """ pass - def test_replace_network_openshift_io_v1_host_subnet(self): + def test_replace_host_subnet(self): """ - Test case for replace_network_openshift_io_v1_host_subnet + Test case for replace_host_subnet """ pass - def test_replace_network_openshift_io_v1_namespaced_egress_network_policy(self): + def test_replace_namespaced_egress_network_policy(self): """ - Test case for replace_network_openshift_io_v1_namespaced_egress_network_policy + Test case for replace_namespaced_egress_network_policy """ pass - def test_replace_network_openshift_io_v1_net_namespace(self): + def test_replace_net_namespace(self): """ - Test case for replace_network_openshift_io_v1_net_namespace + Test case for replace_net_namespace """ diff --git a/openshift/test/test_oapi_api.py b/openshift/test/test_oapi_api.py index 595c6986..5158b970 100644 --- a/openshift/test/test_oapi_api.py +++ b/openshift/test/test_oapi_api.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -39,17 +39,17 @@ def test_connect_post_namespaced_binary_build_request_options_instantiatebinary( """ pass - def test_connect_post_namespaced_status_webhooks(self): + def test_connect_post_namespaced_build_webhooks(self): """ - Test case for connect_post_namespaced_status_webhooks + Test case for connect_post_namespaced_build_webhooks """ pass - def test_connect_post_namespaced_status_webhooks_with_path(self): + def test_connect_post_namespaced_build_webhooks_with_path(self): """ - Test case for connect_post_namespaced_status_webhooks_with_path + Test case for connect_post_namespaced_build_webhooks_with_path """ @@ -76,22 +76,6 @@ def test_create_cluster_network(self): Test case for create_cluster_network - """ - pass - - def test_create_cluster_policy(self): - """ - Test case for create_cluster_policy - - - """ - pass - - def test_create_cluster_policy_binding(self): - """ - Test case for create_cluster_policy_binding - - """ pass @@ -372,22 +356,6 @@ def test_create_namespaced_pod_security_policy_subject_review(self): Test case for create_namespaced_pod_security_policy_subject_review - """ - pass - - def test_create_namespaced_policy(self): - """ - Test case for create_namespaced_policy - - - """ - pass - - def test_create_namespaced_policy_binding(self): - """ - Test case for create_namespaced_policy_binding - - """ pass @@ -532,22 +500,6 @@ def test_create_pod_security_policy_subject_review_for_all_namespaces(self): Test case for create_pod_security_policy_subject_review_for_all_namespaces - """ - pass - - def test_create_policy_binding_for_all_namespaces(self): - """ - Test case for create_policy_binding_for_all_namespaces - - - """ - pass - - def test_create_policy_for_all_namespaces(self): - """ - Test case for create_policy_for_all_namespaces - - """ pass @@ -668,22 +620,6 @@ def test_delete_cluster_network(self): Test case for delete_cluster_network - """ - pass - - def test_delete_cluster_policy(self): - """ - Test case for delete_cluster_policy - - - """ - pass - - def test_delete_cluster_policy_binding(self): - """ - Test case for delete_cluster_policy_binding - - """ pass @@ -716,22 +652,6 @@ def test_delete_collection_cluster_network(self): Test case for delete_collection_cluster_network - """ - pass - - def test_delete_collection_cluster_policy(self): - """ - Test case for delete_collection_cluster_policy - - - """ - pass - - def test_delete_collection_cluster_policy_binding(self): - """ - Test case for delete_collection_cluster_policy_binding - - """ pass @@ -812,22 +732,6 @@ def test_delete_collection_namespaced_image_stream(self): Test case for delete_collection_namespaced_image_stream - """ - pass - - def test_delete_collection_namespaced_policy(self): - """ - Test case for delete_collection_namespaced_policy - - - """ - pass - - def test_delete_collection_namespaced_policy_binding(self): - """ - Test case for delete_collection_namespaced_policy_binding - - """ pass @@ -988,22 +892,6 @@ def test_delete_namespaced_image_stream_tag(self): Test case for delete_namespaced_image_stream_tag - """ - pass - - def test_delete_namespaced_policy(self): - """ - Test case for delete_namespaced_policy - - - """ - pass - - def test_delete_namespaced_policy_binding(self): - """ - Test case for delete_namespaced_policy_binding - - """ pass @@ -1108,14 +996,6 @@ def test_delete_user_identity_mapping(self): Test case for delete_user_identity_mapping - """ - pass - - def test_generate_namespaced_deployment_config(self): - """ - Test case for generate_namespaced_deployment_config - - """ pass @@ -1127,9 +1007,9 @@ def test_get_api_resources(self): """ pass - def test_get_oapi_version(self): + def test_get_legacy_api_versions(self): """ - Test case for get_oapi_version + Test case for get_legacy_api_versions """ @@ -1164,22 +1044,6 @@ def test_list_cluster_network(self): Test case for list_cluster_network - """ - pass - - def test_list_cluster_policy(self): - """ - Test case for list_cluster_policy - - - """ - pass - - def test_list_cluster_policy_binding(self): - """ - Test case for list_cluster_policy_binding - - """ pass @@ -1324,22 +1188,6 @@ def test_list_namespaced_image_stream_tag(self): Test case for list_namespaced_image_stream_tag - """ - pass - - def test_list_namespaced_policy(self): - """ - Test case for list_namespaced_policy - - - """ - pass - - def test_list_namespaced_policy_binding(self): - """ - Test case for list_namespaced_policy_binding - - """ pass @@ -1420,22 +1268,6 @@ def test_list_o_auth_client_authorization(self): Test case for list_o_auth_client_authorization - """ - pass - - def test_list_policy_binding_for_all_namespaces(self): - """ - Test case for list_policy_binding_for_all_namespaces - - - """ - pass - - def test_list_policy_for_all_namespaces(self): - """ - Test case for list_policy_for_all_namespaces - - """ pass @@ -1508,22 +1340,6 @@ def test_patch_cluster_network(self): Test case for patch_cluster_network - """ - pass - - def test_patch_cluster_policy(self): - """ - Test case for patch_cluster_policy - - - """ - pass - - def test_patch_cluster_policy_binding(self): - """ - Test case for patch_cluster_policy_binding - - """ pass @@ -1652,22 +1468,6 @@ def test_patch_namespaced_image_stream_tag(self): Test case for patch_namespaced_image_stream_tag - """ - pass - - def test_patch_namespaced_policy(self): - """ - Test case for patch_namespaced_policy - - - """ - pass - - def test_patch_namespaced_policy_binding(self): - """ - Test case for patch_namespaced_policy_binding - - """ pass @@ -1796,22 +1596,6 @@ def test_read_cluster_network(self): Test case for read_cluster_network - """ - pass - - def test_read_cluster_policy(self): - """ - Test case for read_cluster_policy - - - """ - pass - - def test_read_cluster_policy_binding(self): - """ - Test case for read_cluster_policy_binding - - """ pass @@ -1972,22 +1756,6 @@ def test_read_namespaced_image_stream_tag(self): Test case for read_namespaced_image_stream_tag - """ - pass - - def test_read_namespaced_policy(self): - """ - Test case for read_namespaced_policy - - - """ - pass - - def test_read_namespaced_policy_binding(self): - """ - Test case for read_namespaced_policy_binding - - """ pass @@ -2124,22 +1892,6 @@ def test_replace_cluster_network(self): Test case for replace_cluster_network - """ - pass - - def test_replace_cluster_policy(self): - """ - Test case for replace_cluster_policy - - - """ - pass - - def test_replace_cluster_policy_binding(self): - """ - Test case for replace_cluster_policy_binding - - """ pass @@ -2276,22 +2028,6 @@ def test_replace_namespaced_image_stream_tag(self): Test case for replace_namespaced_image_stream_tag - """ - pass - - def test_replace_namespaced_policy(self): - """ - Test case for replace_namespaced_policy - - - """ - pass - - def test_replace_namespaced_policy_binding(self): - """ - Test case for replace_namespaced_policy_binding - - """ pass diff --git a/openshift/test/test_oauth_openshift_io_api.py b/openshift/test/test_oauth_openshift_io_api.py index 438433c2..cf27ecac 100644 --- a/openshift/test/test_oauth_openshift_io_api.py +++ b/openshift/test/test_oauth_openshift_io_api.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -31,9 +31,9 @@ def setUp(self): def tearDown(self): pass - def test_get_oauth_openshift_io_api_group(self): + def test_get_api_group(self): """ - Test case for get_oauth_openshift_io_api_group + Test case for get_api_group """ diff --git a/openshift/test/test_oauth_openshift_io_v1_api.py b/openshift/test/test_oauth_openshift_io_v1_api.py index 099e59c7..bfce514d 100644 --- a/openshift/test/test_oauth_openshift_io_v1_api.py +++ b/openshift/test/test_oauth_openshift_io_v1_api.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -31,233 +31,233 @@ def setUp(self): def tearDown(self): pass - def test_create_oauth_openshift_io_v1_o_auth_access_token(self): + def test_create_o_auth_access_token(self): """ - Test case for create_oauth_openshift_io_v1_o_auth_access_token + Test case for create_o_auth_access_token """ pass - def test_create_oauth_openshift_io_v1_o_auth_authorize_token(self): + def test_create_o_auth_authorize_token(self): """ - Test case for create_oauth_openshift_io_v1_o_auth_authorize_token + Test case for create_o_auth_authorize_token """ pass - def test_create_oauth_openshift_io_v1_o_auth_client(self): + def test_create_o_auth_client(self): """ - Test case for create_oauth_openshift_io_v1_o_auth_client + Test case for create_o_auth_client """ pass - def test_create_oauth_openshift_io_v1_o_auth_client_authorization(self): + def test_create_o_auth_client_authorization(self): """ - Test case for create_oauth_openshift_io_v1_o_auth_client_authorization + Test case for create_o_auth_client_authorization """ pass - def test_delete_oauth_openshift_io_v1_collection_o_auth_access_token(self): + def test_delete_collection_o_auth_access_token(self): """ - Test case for delete_oauth_openshift_io_v1_collection_o_auth_access_token + Test case for delete_collection_o_auth_access_token """ pass - def test_delete_oauth_openshift_io_v1_collection_o_auth_authorize_token(self): + def test_delete_collection_o_auth_authorize_token(self): """ - Test case for delete_oauth_openshift_io_v1_collection_o_auth_authorize_token + Test case for delete_collection_o_auth_authorize_token """ pass - def test_delete_oauth_openshift_io_v1_collection_o_auth_client(self): + def test_delete_collection_o_auth_client(self): """ - Test case for delete_oauth_openshift_io_v1_collection_o_auth_client + Test case for delete_collection_o_auth_client """ pass - def test_delete_oauth_openshift_io_v1_collection_o_auth_client_authorization(self): + def test_delete_collection_o_auth_client_authorization(self): """ - Test case for delete_oauth_openshift_io_v1_collection_o_auth_client_authorization + Test case for delete_collection_o_auth_client_authorization """ pass - def test_delete_oauth_openshift_io_v1_o_auth_access_token(self): + def test_delete_o_auth_access_token(self): """ - Test case for delete_oauth_openshift_io_v1_o_auth_access_token + Test case for delete_o_auth_access_token """ pass - def test_delete_oauth_openshift_io_v1_o_auth_authorize_token(self): + def test_delete_o_auth_authorize_token(self): """ - Test case for delete_oauth_openshift_io_v1_o_auth_authorize_token + Test case for delete_o_auth_authorize_token """ pass - def test_delete_oauth_openshift_io_v1_o_auth_client(self): + def test_delete_o_auth_client(self): """ - Test case for delete_oauth_openshift_io_v1_o_auth_client + Test case for delete_o_auth_client """ pass - def test_delete_oauth_openshift_io_v1_o_auth_client_authorization(self): + def test_delete_o_auth_client_authorization(self): """ - Test case for delete_oauth_openshift_io_v1_o_auth_client_authorization + Test case for delete_o_auth_client_authorization """ pass - def test_get_oauth_openshift_io_v1_api_resources(self): + def test_get_api_resources(self): """ - Test case for get_oauth_openshift_io_v1_api_resources + Test case for get_api_resources """ pass - def test_list_oauth_openshift_io_v1_o_auth_access_token(self): + def test_list_o_auth_access_token(self): """ - Test case for list_oauth_openshift_io_v1_o_auth_access_token + Test case for list_o_auth_access_token """ pass - def test_list_oauth_openshift_io_v1_o_auth_authorize_token(self): + def test_list_o_auth_authorize_token(self): """ - Test case for list_oauth_openshift_io_v1_o_auth_authorize_token + Test case for list_o_auth_authorize_token """ pass - def test_list_oauth_openshift_io_v1_o_auth_client(self): + def test_list_o_auth_client(self): """ - Test case for list_oauth_openshift_io_v1_o_auth_client + Test case for list_o_auth_client """ pass - def test_list_oauth_openshift_io_v1_o_auth_client_authorization(self): + def test_list_o_auth_client_authorization(self): """ - Test case for list_oauth_openshift_io_v1_o_auth_client_authorization + Test case for list_o_auth_client_authorization """ pass - def test_patch_oauth_openshift_io_v1_o_auth_access_token(self): + def test_patch_o_auth_access_token(self): """ - Test case for patch_oauth_openshift_io_v1_o_auth_access_token + Test case for patch_o_auth_access_token """ pass - def test_patch_oauth_openshift_io_v1_o_auth_authorize_token(self): + def test_patch_o_auth_authorize_token(self): """ - Test case for patch_oauth_openshift_io_v1_o_auth_authorize_token + Test case for patch_o_auth_authorize_token """ pass - def test_patch_oauth_openshift_io_v1_o_auth_client(self): + def test_patch_o_auth_client(self): """ - Test case for patch_oauth_openshift_io_v1_o_auth_client + Test case for patch_o_auth_client """ pass - def test_patch_oauth_openshift_io_v1_o_auth_client_authorization(self): + def test_patch_o_auth_client_authorization(self): """ - Test case for patch_oauth_openshift_io_v1_o_auth_client_authorization + Test case for patch_o_auth_client_authorization """ pass - def test_read_oauth_openshift_io_v1_o_auth_access_token(self): + def test_read_o_auth_access_token(self): """ - Test case for read_oauth_openshift_io_v1_o_auth_access_token + Test case for read_o_auth_access_token """ pass - def test_read_oauth_openshift_io_v1_o_auth_authorize_token(self): + def test_read_o_auth_authorize_token(self): """ - Test case for read_oauth_openshift_io_v1_o_auth_authorize_token + Test case for read_o_auth_authorize_token """ pass - def test_read_oauth_openshift_io_v1_o_auth_client(self): + def test_read_o_auth_client(self): """ - Test case for read_oauth_openshift_io_v1_o_auth_client + Test case for read_o_auth_client """ pass - def test_read_oauth_openshift_io_v1_o_auth_client_authorization(self): + def test_read_o_auth_client_authorization(self): """ - Test case for read_oauth_openshift_io_v1_o_auth_client_authorization + Test case for read_o_auth_client_authorization """ pass - def test_replace_oauth_openshift_io_v1_o_auth_access_token(self): + def test_replace_o_auth_access_token(self): """ - Test case for replace_oauth_openshift_io_v1_o_auth_access_token + Test case for replace_o_auth_access_token """ pass - def test_replace_oauth_openshift_io_v1_o_auth_authorize_token(self): + def test_replace_o_auth_authorize_token(self): """ - Test case for replace_oauth_openshift_io_v1_o_auth_authorize_token + Test case for replace_o_auth_authorize_token """ pass - def test_replace_oauth_openshift_io_v1_o_auth_client(self): + def test_replace_o_auth_client(self): """ - Test case for replace_oauth_openshift_io_v1_o_auth_client + Test case for replace_o_auth_client """ pass - def test_replace_oauth_openshift_io_v1_o_auth_client_authorization(self): + def test_replace_o_auth_client_authorization(self): """ - Test case for replace_oauth_openshift_io_v1_o_auth_client_authorization + Test case for replace_o_auth_client_authorization """ diff --git a/openshift/test/test_osapi_api.py b/openshift/test/test_osapi_api.py deleted file mode 100644 index 5d7d05cc..00000000 --- a/openshift/test/test_osapi_api.py +++ /dev/null @@ -1,44 +0,0 @@ -# coding: utf-8 - -""" - OpenShift API (with Kubernetes) - - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - - OpenAPI spec version: v3.6.0-alpha.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import os -import sys -import unittest - -import openshift.client -from kubernetes.client.rest import ApiException -from openshift.client.apis.osapi_api import OsapiApi - - -class TestOsapiApi(unittest.TestCase): - """ OsapiApi unit test stubs """ - - def setUp(self): - self.api = openshift.client.apis.osapi_api.OsapiApi() - - def tearDown(self): - pass - - def test_get_osapi_version(self): - """ - Test case for get_osapi_version - - - """ - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/openshift/test/test_policy_api.py b/openshift/test/test_policy_api.py deleted file mode 100644 index cec458af..00000000 --- a/openshift/test/test_policy_api.py +++ /dev/null @@ -1,44 +0,0 @@ -# coding: utf-8 - -""" - OpenShift API (with Kubernetes) - - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - - OpenAPI spec version: v3.6.0-alpha.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import os -import sys -import unittest - -import openshift.client -from kubernetes.client.rest import ApiException -from openshift.client.apis.policy_api import PolicyApi - - -class TestPolicyApi(unittest.TestCase): - """ PolicyApi unit test stubs """ - - def setUp(self): - self.api = openshift.client.apis.policy_api.PolicyApi() - - def tearDown(self): - pass - - def test_get_policy_api_group(self): - """ - Test case for get_policy_api_group - - - """ - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/openshift/test/test_policy_v1beta1_api.py b/openshift/test/test_policy_v1beta1_api.py deleted file mode 100644 index ce71a000..00000000 --- a/openshift/test/test_policy_v1beta1_api.py +++ /dev/null @@ -1,140 +0,0 @@ -# coding: utf-8 - -""" - OpenShift API (with Kubernetes) - - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - - OpenAPI spec version: v3.6.0-alpha.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import os -import sys -import unittest - -import openshift.client -from kubernetes.client.rest import ApiException -from openshift.client.apis.policy_v1beta1_api import PolicyV1beta1Api - - -class TestPolicyV1beta1Api(unittest.TestCase): - """ PolicyV1beta1Api unit test stubs """ - - def setUp(self): - self.api = openshift.client.apis.policy_v1beta1_api.PolicyV1beta1Api() - - def tearDown(self): - pass - - def test_create_namespaced_pod_disruption_budget(self): - """ - Test case for create_namespaced_pod_disruption_budget - - - """ - pass - - def test_create_pod_disruption_budget_for_all_namespaces(self): - """ - Test case for create_pod_disruption_budget_for_all_namespaces - - - """ - pass - - def test_delete_collection_namespaced_pod_disruption_budget(self): - """ - Test case for delete_collection_namespaced_pod_disruption_budget - - - """ - pass - - def test_delete_namespaced_pod_disruption_budget(self): - """ - Test case for delete_namespaced_pod_disruption_budget - - - """ - pass - - def test_get_api_resources(self): - """ - Test case for get_api_resources - - - """ - pass - - def test_list_namespaced_pod_disruption_budget(self): - """ - Test case for list_namespaced_pod_disruption_budget - - - """ - pass - - def test_list_pod_disruption_budget_for_all_namespaces(self): - """ - Test case for list_pod_disruption_budget_for_all_namespaces - - - """ - pass - - def test_patch_namespaced_pod_disruption_budget(self): - """ - Test case for patch_namespaced_pod_disruption_budget - - - """ - pass - - def test_patch_namespaced_pod_disruption_budget_status(self): - """ - Test case for patch_namespaced_pod_disruption_budget_status - - - """ - pass - - def test_read_namespaced_pod_disruption_budget(self): - """ - Test case for read_namespaced_pod_disruption_budget - - - """ - pass - - def test_read_namespaced_pod_disruption_budget_status(self): - """ - Test case for read_namespaced_pod_disruption_budget_status - - - """ - pass - - def test_replace_namespaced_pod_disruption_budget(self): - """ - Test case for replace_namespaced_pod_disruption_budget - - - """ - pass - - def test_replace_namespaced_pod_disruption_budget_status(self): - """ - Test case for replace_namespaced_pod_disruption_budget_status - - - """ - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/openshift/test/test_project_openshift_io_api.py b/openshift/test/test_project_openshift_io_api.py index d60e7c44..474b7451 100644 --- a/openshift/test/test_project_openshift_io_api.py +++ b/openshift/test/test_project_openshift_io_api.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -31,9 +31,9 @@ def setUp(self): def tearDown(self): pass - def test_get_project_openshift_io_api_group(self): + def test_get_api_group(self): """ - Test case for get_project_openshift_io_api_group + Test case for get_api_group """ diff --git a/openshift/test/test_project_openshift_io_v1_api.py b/openshift/test/test_project_openshift_io_v1_api.py index 6cf6049d..3e65d873 100644 --- a/openshift/test/test_project_openshift_io_v1_api.py +++ b/openshift/test/test_project_openshift_io_v1_api.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -31,73 +31,73 @@ def setUp(self): def tearDown(self): pass - def test_create_project_openshift_io_v1_project(self): + def test_create_project(self): """ - Test case for create_project_openshift_io_v1_project + Test case for create_project """ pass - def test_create_project_openshift_io_v1_project_request(self): + def test_create_project_request(self): """ - Test case for create_project_openshift_io_v1_project_request + Test case for create_project_request """ pass - def test_delete_project_openshift_io_v1_project(self): + def test_delete_project(self): """ - Test case for delete_project_openshift_io_v1_project + Test case for delete_project """ pass - def test_get_project_openshift_io_v1_api_resources(self): + def test_get_api_resources(self): """ - Test case for get_project_openshift_io_v1_api_resources + Test case for get_api_resources """ pass - def test_list_project_openshift_io_v1_project(self): + def test_list_project(self): """ - Test case for list_project_openshift_io_v1_project + Test case for list_project """ pass - def test_list_project_openshift_io_v1_project_request(self): + def test_list_project_request(self): """ - Test case for list_project_openshift_io_v1_project_request + Test case for list_project_request """ pass - def test_patch_project_openshift_io_v1_project(self): + def test_patch_project(self): """ - Test case for patch_project_openshift_io_v1_project + Test case for patch_project """ pass - def test_read_project_openshift_io_v1_project(self): + def test_read_project(self): """ - Test case for read_project_openshift_io_v1_project + Test case for read_project """ pass - def test_replace_project_openshift_io_v1_project(self): + def test_replace_project(self): """ - Test case for replace_project_openshift_io_v1_project + Test case for replace_project """ diff --git a/openshift/test/test_quota_openshift_io_api.py b/openshift/test/test_quota_openshift_io_api.py index 490f5479..356cb0ff 100644 --- a/openshift/test/test_quota_openshift_io_api.py +++ b/openshift/test/test_quota_openshift_io_api.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -31,9 +31,9 @@ def setUp(self): def tearDown(self): pass - def test_get_quota_openshift_io_api_group(self): + def test_get_api_group(self): """ - Test case for get_quota_openshift_io_api_group + Test case for get_api_group """ diff --git a/openshift/test/test_quota_openshift_io_v1_api.py b/openshift/test/test_quota_openshift_io_v1_api.py index 268ebe5e..ccdda371 100644 --- a/openshift/test/test_quota_openshift_io_v1_api.py +++ b/openshift/test/test_quota_openshift_io_v1_api.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -31,113 +31,113 @@ def setUp(self): def tearDown(self): pass - def test_create_quota_openshift_io_v1_cluster_resource_quota(self): + def test_create_cluster_resource_quota(self): """ - Test case for create_quota_openshift_io_v1_cluster_resource_quota + Test case for create_cluster_resource_quota """ pass - def test_delete_quota_openshift_io_v1_cluster_resource_quota(self): + def test_delete_cluster_resource_quota(self): """ - Test case for delete_quota_openshift_io_v1_cluster_resource_quota + Test case for delete_cluster_resource_quota """ pass - def test_delete_quota_openshift_io_v1_collection_cluster_resource_quota(self): + def test_delete_collection_cluster_resource_quota(self): """ - Test case for delete_quota_openshift_io_v1_collection_cluster_resource_quota + Test case for delete_collection_cluster_resource_quota """ pass - def test_get_quota_openshift_io_v1_api_resources(self): + def test_get_api_resources(self): """ - Test case for get_quota_openshift_io_v1_api_resources + Test case for get_api_resources """ pass - def test_list_quota_openshift_io_v1_applied_cluster_resource_quota_for_all_namespaces(self): + def test_list_applied_cluster_resource_quota_for_all_namespaces(self): """ - Test case for list_quota_openshift_io_v1_applied_cluster_resource_quota_for_all_namespaces + Test case for list_applied_cluster_resource_quota_for_all_namespaces """ pass - def test_list_quota_openshift_io_v1_cluster_resource_quota(self): + def test_list_cluster_resource_quota(self): """ - Test case for list_quota_openshift_io_v1_cluster_resource_quota + Test case for list_cluster_resource_quota """ pass - def test_list_quota_openshift_io_v1_namespaced_applied_cluster_resource_quota(self): + def test_list_namespaced_applied_cluster_resource_quota(self): """ - Test case for list_quota_openshift_io_v1_namespaced_applied_cluster_resource_quota + Test case for list_namespaced_applied_cluster_resource_quota """ pass - def test_patch_quota_openshift_io_v1_cluster_resource_quota(self): + def test_patch_cluster_resource_quota(self): """ - Test case for patch_quota_openshift_io_v1_cluster_resource_quota + Test case for patch_cluster_resource_quota """ pass - def test_patch_quota_openshift_io_v1_cluster_resource_quota_status(self): + def test_patch_cluster_resource_quota_status(self): """ - Test case for patch_quota_openshift_io_v1_cluster_resource_quota_status + Test case for patch_cluster_resource_quota_status """ pass - def test_read_quota_openshift_io_v1_cluster_resource_quota(self): + def test_read_cluster_resource_quota(self): """ - Test case for read_quota_openshift_io_v1_cluster_resource_quota + Test case for read_cluster_resource_quota """ pass - def test_read_quota_openshift_io_v1_cluster_resource_quota_status(self): + def test_read_cluster_resource_quota_status(self): """ - Test case for read_quota_openshift_io_v1_cluster_resource_quota_status + Test case for read_cluster_resource_quota_status """ pass - def test_read_quota_openshift_io_v1_namespaced_applied_cluster_resource_quota(self): + def test_read_namespaced_applied_cluster_resource_quota(self): """ - Test case for read_quota_openshift_io_v1_namespaced_applied_cluster_resource_quota + Test case for read_namespaced_applied_cluster_resource_quota """ pass - def test_replace_quota_openshift_io_v1_cluster_resource_quota(self): + def test_replace_cluster_resource_quota(self): """ - Test case for replace_quota_openshift_io_v1_cluster_resource_quota + Test case for replace_cluster_resource_quota """ pass - def test_replace_quota_openshift_io_v1_cluster_resource_quota_status(self): + def test_replace_cluster_resource_quota_status(self): """ - Test case for replace_quota_openshift_io_v1_cluster_resource_quota_status + Test case for replace_cluster_resource_quota_status """ diff --git a/openshift/test/test_resource_quantity.py b/openshift/test/test_resource_quantity.py deleted file mode 100644 index a812a836..00000000 --- a/openshift/test/test_resource_quantity.py +++ /dev/null @@ -1,42 +0,0 @@ -# coding: utf-8 - -""" - OpenShift API (with Kubernetes) - - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - - OpenAPI spec version: v3.6.0-alpha.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import os -import sys -import unittest - -import openshift.client -from kubernetes.client.rest import ApiException -from openshift.client.models.resource_quantity import ResourceQuantity - - -class TestResourceQuantity(unittest.TestCase): - """ ResourceQuantity unit test stubs """ - - def setUp(self): - pass - - def tearDown(self): - pass - - def testResourceQuantity(self): - """ - Test ResourceQuantity - """ - model = openshift.client.models.resource_quantity.ResourceQuantity() - - -if __name__ == '__main__': - unittest.main() diff --git a/openshift/test/test_route_openshift_io_api.py b/openshift/test/test_route_openshift_io_api.py index 2d33b5c2..f1f1b47c 100644 --- a/openshift/test/test_route_openshift_io_api.py +++ b/openshift/test/test_route_openshift_io_api.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -31,9 +31,9 @@ def setUp(self): def tearDown(self): pass - def test_get_route_openshift_io_api_group(self): + def test_get_api_group(self): """ - Test case for get_route_openshift_io_api_group + Test case for get_api_group """ diff --git a/openshift/test/test_route_openshift_io_v1_api.py b/openshift/test/test_route_openshift_io_v1_api.py index 5e92af5d..2e6e9ebc 100644 --- a/openshift/test/test_route_openshift_io_v1_api.py +++ b/openshift/test/test_route_openshift_io_v1_api.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -31,105 +31,105 @@ def setUp(self): def tearDown(self): pass - def test_create_route_openshift_io_v1_namespaced_route(self): + def test_create_namespaced_route(self): """ - Test case for create_route_openshift_io_v1_namespaced_route + Test case for create_namespaced_route """ pass - def test_create_route_openshift_io_v1_route_for_all_namespaces(self): + def test_create_route_for_all_namespaces(self): """ - Test case for create_route_openshift_io_v1_route_for_all_namespaces + Test case for create_route_for_all_namespaces """ pass - def test_delete_route_openshift_io_v1_collection_namespaced_route(self): + def test_delete_collection_namespaced_route(self): """ - Test case for delete_route_openshift_io_v1_collection_namespaced_route + Test case for delete_collection_namespaced_route """ pass - def test_delete_route_openshift_io_v1_namespaced_route(self): + def test_delete_namespaced_route(self): """ - Test case for delete_route_openshift_io_v1_namespaced_route + Test case for delete_namespaced_route """ pass - def test_get_route_openshift_io_v1_api_resources(self): + def test_get_api_resources(self): """ - Test case for get_route_openshift_io_v1_api_resources + Test case for get_api_resources """ pass - def test_list_route_openshift_io_v1_namespaced_route(self): + def test_list_namespaced_route(self): """ - Test case for list_route_openshift_io_v1_namespaced_route + Test case for list_namespaced_route """ pass - def test_list_route_openshift_io_v1_route_for_all_namespaces(self): + def test_list_route_for_all_namespaces(self): """ - Test case for list_route_openshift_io_v1_route_for_all_namespaces + Test case for list_route_for_all_namespaces """ pass - def test_patch_route_openshift_io_v1_namespaced_route(self): + def test_patch_namespaced_route(self): """ - Test case for patch_route_openshift_io_v1_namespaced_route + Test case for patch_namespaced_route """ pass - def test_patch_route_openshift_io_v1_namespaced_route_status(self): + def test_patch_namespaced_route_status(self): """ - Test case for patch_route_openshift_io_v1_namespaced_route_status + Test case for patch_namespaced_route_status """ pass - def test_read_route_openshift_io_v1_namespaced_route(self): + def test_read_namespaced_route(self): """ - Test case for read_route_openshift_io_v1_namespaced_route + Test case for read_namespaced_route """ pass - def test_read_route_openshift_io_v1_namespaced_route_status(self): + def test_read_namespaced_route_status(self): """ - Test case for read_route_openshift_io_v1_namespaced_route_status + Test case for read_namespaced_route_status """ pass - def test_replace_route_openshift_io_v1_namespaced_route(self): + def test_replace_namespaced_route(self): """ - Test case for replace_route_openshift_io_v1_namespaced_route + Test case for replace_namespaced_route """ pass - def test_replace_route_openshift_io_v1_namespaced_route_status(self): + def test_replace_namespaced_route_status(self): """ - Test case for replace_route_openshift_io_v1_namespaced_route_status + Test case for replace_namespaced_route_status """ diff --git a/openshift/test/test_runtime_raw_extension.py b/openshift/test/test_runtime_raw_extension.py deleted file mode 100644 index cf680e4b..00000000 --- a/openshift/test/test_runtime_raw_extension.py +++ /dev/null @@ -1,42 +0,0 @@ -# coding: utf-8 - -""" - OpenShift API (with Kubernetes) - - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - - OpenAPI spec version: v3.6.0-alpha.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import os -import sys -import unittest - -import openshift.client -from kubernetes.client.rest import ApiException -from openshift.client.models.runtime_raw_extension import RuntimeRawExtension - - -class TestRuntimeRawExtension(unittest.TestCase): - """ RuntimeRawExtension unit test stubs """ - - def setUp(self): - pass - - def tearDown(self): - pass - - def testRuntimeRawExtension(self): - """ - Test RuntimeRawExtension - """ - model = openshift.client.models.runtime_raw_extension.RuntimeRawExtension() - - -if __name__ == '__main__': - unittest.main() diff --git a/openshift/test/test_security_openshift_io_api.py b/openshift/test/test_security_openshift_io_api.py index a7c51e41..460df655 100644 --- a/openshift/test/test_security_openshift_io_api.py +++ b/openshift/test/test_security_openshift_io_api.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -31,9 +31,9 @@ def setUp(self): def tearDown(self): pass - def test_get_security_openshift_io_api_group(self): + def test_get_api_group(self): """ - Test case for get_security_openshift_io_api_group + Test case for get_api_group """ diff --git a/openshift/test/test_security_openshift_io_v1_api.py b/openshift/test/test_security_openshift_io_v1_api.py index 7fd8a8b4..fa0f386b 100644 --- a/openshift/test/test_security_openshift_io_v1_api.py +++ b/openshift/test/test_security_openshift_io_v1_api.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -31,57 +31,113 @@ def setUp(self): def tearDown(self): pass - def test_create_security_openshift_io_v1_namespaced_pod_security_policy_review(self): + def test_create_namespaced_pod_security_policy_review(self): """ - Test case for create_security_openshift_io_v1_namespaced_pod_security_policy_review + Test case for create_namespaced_pod_security_policy_review """ pass - def test_create_security_openshift_io_v1_namespaced_pod_security_policy_self_subject_review(self): + def test_create_namespaced_pod_security_policy_self_subject_review(self): """ - Test case for create_security_openshift_io_v1_namespaced_pod_security_policy_self_subject_review + Test case for create_namespaced_pod_security_policy_self_subject_review """ pass - def test_create_security_openshift_io_v1_namespaced_pod_security_policy_subject_review(self): + def test_create_namespaced_pod_security_policy_subject_review(self): """ - Test case for create_security_openshift_io_v1_namespaced_pod_security_policy_subject_review + Test case for create_namespaced_pod_security_policy_subject_review """ pass - def test_create_security_openshift_io_v1_pod_security_policy_review_for_all_namespaces(self): + def test_create_pod_security_policy_review_for_all_namespaces(self): """ - Test case for create_security_openshift_io_v1_pod_security_policy_review_for_all_namespaces + Test case for create_pod_security_policy_review_for_all_namespaces """ pass - def test_create_security_openshift_io_v1_pod_security_policy_self_subject_review_for_all_namespaces(self): + def test_create_pod_security_policy_self_subject_review_for_all_namespaces(self): """ - Test case for create_security_openshift_io_v1_pod_security_policy_self_subject_review_for_all_namespaces + Test case for create_pod_security_policy_self_subject_review_for_all_namespaces """ pass - def test_create_security_openshift_io_v1_pod_security_policy_subject_review_for_all_namespaces(self): + def test_create_pod_security_policy_subject_review_for_all_namespaces(self): """ - Test case for create_security_openshift_io_v1_pod_security_policy_subject_review_for_all_namespaces + Test case for create_pod_security_policy_subject_review_for_all_namespaces """ pass - def test_get_security_openshift_io_v1_api_resources(self): + def test_create_security_context_constraints(self): """ - Test case for get_security_openshift_io_v1_api_resources + Test case for create_security_context_constraints + + + """ + pass + + def test_delete_collection_security_context_constraints(self): + """ + Test case for delete_collection_security_context_constraints + + + """ + pass + + def test_delete_security_context_constraints(self): + """ + Test case for delete_security_context_constraints + + + """ + pass + + def test_get_api_resources(self): + """ + Test case for get_api_resources + + + """ + pass + + def test_list_security_context_constraints(self): + """ + Test case for list_security_context_constraints + + + """ + pass + + def test_patch_security_context_constraints(self): + """ + Test case for patch_security_context_constraints + + + """ + pass + + def test_read_security_context_constraints(self): + """ + Test case for read_security_context_constraints + + + """ + pass + + def test_replace_security_context_constraints(self): + """ + Test case for replace_security_context_constraints """ diff --git a/openshift/test/test_storage_api.py b/openshift/test/test_storage_api.py deleted file mode 100644 index 04cc985b..00000000 --- a/openshift/test/test_storage_api.py +++ /dev/null @@ -1,44 +0,0 @@ -# coding: utf-8 - -""" - OpenShift API (with Kubernetes) - - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - - OpenAPI spec version: v3.6.0-alpha.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import os -import sys -import unittest - -import openshift.client -from kubernetes.client.rest import ApiException -from openshift.client.apis.storage_api import StorageApi - - -class TestStorageApi(unittest.TestCase): - """ StorageApi unit test stubs """ - - def setUp(self): - self.api = openshift.client.apis.storage_api.StorageApi() - - def tearDown(self): - pass - - def test_get_storage_api_group(self): - """ - Test case for get_storage_api_group - - - """ - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/openshift/test/test_storage_v1beta1_api.py b/openshift/test/test_storage_v1beta1_api.py deleted file mode 100644 index 52012ef1..00000000 --- a/openshift/test/test_storage_v1beta1_api.py +++ /dev/null @@ -1,100 +0,0 @@ -# coding: utf-8 - -""" - OpenShift API (with Kubernetes) - - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - - OpenAPI spec version: v3.6.0-alpha.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import os -import sys -import unittest - -import openshift.client -from kubernetes.client.rest import ApiException -from openshift.client.apis.storage_v1beta1_api import StorageV1beta1Api - - -class TestStorageV1beta1Api(unittest.TestCase): - """ StorageV1beta1Api unit test stubs """ - - def setUp(self): - self.api = openshift.client.apis.storage_v1beta1_api.StorageV1beta1Api() - - def tearDown(self): - pass - - def test_create_storage_class(self): - """ - Test case for create_storage_class - - - """ - pass - - def test_delete_collection_storage_class(self): - """ - Test case for delete_collection_storage_class - - - """ - pass - - def test_delete_storage_class(self): - """ - Test case for delete_storage_class - - - """ - pass - - def test_get_api_resources(self): - """ - Test case for get_api_resources - - - """ - pass - - def test_list_storage_class(self): - """ - Test case for list_storage_class - - - """ - pass - - def test_patch_storage_class(self): - """ - Test case for patch_storage_class - - - """ - pass - - def test_read_storage_class(self): - """ - Test case for read_storage_class - - - """ - pass - - def test_replace_storage_class(self): - """ - Test case for replace_storage_class - - - """ - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/openshift/test/test_template_openshift_io_api.py b/openshift/test/test_template_openshift_io_api.py index 926d4495..23a5249d 100644 --- a/openshift/test/test_template_openshift_io_api.py +++ b/openshift/test/test_template_openshift_io_api.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -31,9 +31,9 @@ def setUp(self): def tearDown(self): pass - def test_get_template_openshift_io_api_group(self): + def test_get_api_group(self): """ - Test case for get_template_openshift_io_api_group + Test case for get_api_group """ diff --git a/openshift/test/test_template_openshift_io_v1_api.py b/openshift/test/test_template_openshift_io_v1_api.py index da618d79..b4e821f5 100644 --- a/openshift/test/test_template_openshift_io_v1_api.py +++ b/openshift/test/test_template_openshift_io_v1_api.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -31,81 +31,233 @@ def setUp(self): def tearDown(self): pass - def test_create_template_openshift_io_v1_namespaced_template(self): + def test_create_broker_template_instance(self): """ - Test case for create_template_openshift_io_v1_namespaced_template + Test case for create_broker_template_instance """ pass - def test_create_template_openshift_io_v1_template_for_all_namespaces(self): + def test_create_namespaced_template(self): """ - Test case for create_template_openshift_io_v1_template_for_all_namespaces + Test case for create_namespaced_template """ pass - def test_delete_template_openshift_io_v1_collection_namespaced_template(self): + def test_create_namespaced_template_instance(self): """ - Test case for delete_template_openshift_io_v1_collection_namespaced_template + Test case for create_namespaced_template_instance """ pass - def test_delete_template_openshift_io_v1_namespaced_template(self): + def test_create_template_for_all_namespaces(self): """ - Test case for delete_template_openshift_io_v1_namespaced_template + Test case for create_template_for_all_namespaces """ pass - def test_get_template_openshift_io_v1_api_resources(self): + def test_create_template_instance_for_all_namespaces(self): """ - Test case for get_template_openshift_io_v1_api_resources + Test case for create_template_instance_for_all_namespaces """ pass - def test_list_template_openshift_io_v1_namespaced_template(self): + def test_delete_broker_template_instance(self): """ - Test case for list_template_openshift_io_v1_namespaced_template + Test case for delete_broker_template_instance """ pass - def test_list_template_openshift_io_v1_template_for_all_namespaces(self): + def test_delete_collection_broker_template_instance(self): """ - Test case for list_template_openshift_io_v1_template_for_all_namespaces + Test case for delete_collection_broker_template_instance """ pass - def test_patch_template_openshift_io_v1_namespaced_template(self): + def test_delete_collection_namespaced_template(self): """ - Test case for patch_template_openshift_io_v1_namespaced_template + Test case for delete_collection_namespaced_template """ pass - def test_read_template_openshift_io_v1_namespaced_template(self): + def test_delete_collection_namespaced_template_instance(self): """ - Test case for read_template_openshift_io_v1_namespaced_template + Test case for delete_collection_namespaced_template_instance """ pass - def test_replace_template_openshift_io_v1_namespaced_template(self): + def test_delete_namespaced_template(self): """ - Test case for replace_template_openshift_io_v1_namespaced_template + Test case for delete_namespaced_template + + + """ + pass + + def test_delete_namespaced_template_instance(self): + """ + Test case for delete_namespaced_template_instance + + + """ + pass + + def test_get_api_resources(self): + """ + Test case for get_api_resources + + + """ + pass + + def test_list_broker_template_instance(self): + """ + Test case for list_broker_template_instance + + + """ + pass + + def test_list_namespaced_template(self): + """ + Test case for list_namespaced_template + + + """ + pass + + def test_list_namespaced_template_instance(self): + """ + Test case for list_namespaced_template_instance + + + """ + pass + + def test_list_template_for_all_namespaces(self): + """ + Test case for list_template_for_all_namespaces + + + """ + pass + + def test_list_template_instance_for_all_namespaces(self): + """ + Test case for list_template_instance_for_all_namespaces + + + """ + pass + + def test_patch_broker_template_instance(self): + """ + Test case for patch_broker_template_instance + + + """ + pass + + def test_patch_namespaced_template(self): + """ + Test case for patch_namespaced_template + + + """ + pass + + def test_patch_namespaced_template_instance(self): + """ + Test case for patch_namespaced_template_instance + + + """ + pass + + def test_patch_namespaced_template_instance_status(self): + """ + Test case for patch_namespaced_template_instance_status + + + """ + pass + + def test_read_broker_template_instance(self): + """ + Test case for read_broker_template_instance + + + """ + pass + + def test_read_namespaced_template(self): + """ + Test case for read_namespaced_template + + + """ + pass + + def test_read_namespaced_template_instance(self): + """ + Test case for read_namespaced_template_instance + + + """ + pass + + def test_read_namespaced_template_instance_status(self): + """ + Test case for read_namespaced_template_instance_status + + + """ + pass + + def test_replace_broker_template_instance(self): + """ + Test case for replace_broker_template_instance + + + """ + pass + + def test_replace_namespaced_template(self): + """ + Test case for replace_namespaced_template + + + """ + pass + + def test_replace_namespaced_template_instance(self): + """ + Test case for replace_namespaced_template_instance + + + """ + pass + + def test_replace_namespaced_template_instance_status(self): + """ + Test case for replace_namespaced_template_instance_status """ diff --git a/openshift/test/test_unversioned_api_group.py b/openshift/test/test_unversioned_api_group.py deleted file mode 100644 index 6e6a1b5e..00000000 --- a/openshift/test/test_unversioned_api_group.py +++ /dev/null @@ -1,42 +0,0 @@ -# coding: utf-8 - -""" - OpenShift API (with Kubernetes) - - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - - OpenAPI spec version: v3.6.0-alpha.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import os -import sys -import unittest - -import openshift.client -from kubernetes.client.rest import ApiException -from openshift.client.models.unversioned_api_group import UnversionedAPIGroup - - -class TestUnversionedAPIGroup(unittest.TestCase): - """ UnversionedAPIGroup unit test stubs """ - - def setUp(self): - pass - - def tearDown(self): - pass - - def testUnversionedAPIGroup(self): - """ - Test UnversionedAPIGroup - """ - model = openshift.client.models.unversioned_api_group.UnversionedAPIGroup() - - -if __name__ == '__main__': - unittest.main() diff --git a/openshift/test/test_unversioned_api_group_list.py b/openshift/test/test_unversioned_api_group_list.py deleted file mode 100644 index 4b300e67..00000000 --- a/openshift/test/test_unversioned_api_group_list.py +++ /dev/null @@ -1,42 +0,0 @@ -# coding: utf-8 - -""" - OpenShift API (with Kubernetes) - - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - - OpenAPI spec version: v3.6.0-alpha.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import os -import sys -import unittest - -import openshift.client -from kubernetes.client.rest import ApiException -from openshift.client.models.unversioned_api_group_list import UnversionedAPIGroupList - - -class TestUnversionedAPIGroupList(unittest.TestCase): - """ UnversionedAPIGroupList unit test stubs """ - - def setUp(self): - pass - - def tearDown(self): - pass - - def testUnversionedAPIGroupList(self): - """ - Test UnversionedAPIGroupList - """ - model = openshift.client.models.unversioned_api_group_list.UnversionedAPIGroupList() - - -if __name__ == '__main__': - unittest.main() diff --git a/openshift/test/test_unversioned_api_resource.py b/openshift/test/test_unversioned_api_resource.py deleted file mode 100644 index 2d4fbc3f..00000000 --- a/openshift/test/test_unversioned_api_resource.py +++ /dev/null @@ -1,42 +0,0 @@ -# coding: utf-8 - -""" - OpenShift API (with Kubernetes) - - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - - OpenAPI spec version: v3.6.0-alpha.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import os -import sys -import unittest - -import openshift.client -from kubernetes.client.rest import ApiException -from openshift.client.models.unversioned_api_resource import UnversionedAPIResource - - -class TestUnversionedAPIResource(unittest.TestCase): - """ UnversionedAPIResource unit test stubs """ - - def setUp(self): - pass - - def tearDown(self): - pass - - def testUnversionedAPIResource(self): - """ - Test UnversionedAPIResource - """ - model = openshift.client.models.unversioned_api_resource.UnversionedAPIResource() - - -if __name__ == '__main__': - unittest.main() diff --git a/openshift/test/test_unversioned_api_resource_list.py b/openshift/test/test_unversioned_api_resource_list.py deleted file mode 100644 index 71f8039b..00000000 --- a/openshift/test/test_unversioned_api_resource_list.py +++ /dev/null @@ -1,42 +0,0 @@ -# coding: utf-8 - -""" - OpenShift API (with Kubernetes) - - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - - OpenAPI spec version: v3.6.0-alpha.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import os -import sys -import unittest - -import openshift.client -from kubernetes.client.rest import ApiException -from openshift.client.models.unversioned_api_resource_list import UnversionedAPIResourceList - - -class TestUnversionedAPIResourceList(unittest.TestCase): - """ UnversionedAPIResourceList unit test stubs """ - - def setUp(self): - pass - - def tearDown(self): - pass - - def testUnversionedAPIResourceList(self): - """ - Test UnversionedAPIResourceList - """ - model = openshift.client.models.unversioned_api_resource_list.UnversionedAPIResourceList() - - -if __name__ == '__main__': - unittest.main() diff --git a/openshift/test/test_unversioned_api_versions.py b/openshift/test/test_unversioned_api_versions.py deleted file mode 100644 index b850f78f..00000000 --- a/openshift/test/test_unversioned_api_versions.py +++ /dev/null @@ -1,42 +0,0 @@ -# coding: utf-8 - -""" - OpenShift API (with Kubernetes) - - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - - OpenAPI spec version: v3.6.0-alpha.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import os -import sys -import unittest - -import openshift.client -from kubernetes.client.rest import ApiException -from openshift.client.models.unversioned_api_versions import UnversionedAPIVersions - - -class TestUnversionedAPIVersions(unittest.TestCase): - """ UnversionedAPIVersions unit test stubs """ - - def setUp(self): - pass - - def tearDown(self): - pass - - def testUnversionedAPIVersions(self): - """ - Test UnversionedAPIVersions - """ - model = openshift.client.models.unversioned_api_versions.UnversionedAPIVersions() - - -if __name__ == '__main__': - unittest.main() diff --git a/openshift/test/test_unversioned_group_version_for_discovery.py b/openshift/test/test_unversioned_group_version_for_discovery.py deleted file mode 100644 index 6d9e6345..00000000 --- a/openshift/test/test_unversioned_group_version_for_discovery.py +++ /dev/null @@ -1,42 +0,0 @@ -# coding: utf-8 - -""" - OpenShift API (with Kubernetes) - - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - - OpenAPI spec version: v3.6.0-alpha.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import os -import sys -import unittest - -import openshift.client -from kubernetes.client.rest import ApiException -from openshift.client.models.unversioned_group_version_for_discovery import UnversionedGroupVersionForDiscovery - - -class TestUnversionedGroupVersionForDiscovery(unittest.TestCase): - """ UnversionedGroupVersionForDiscovery unit test stubs """ - - def setUp(self): - pass - - def tearDown(self): - pass - - def testUnversionedGroupVersionForDiscovery(self): - """ - Test UnversionedGroupVersionForDiscovery - """ - model = openshift.client.models.unversioned_group_version_for_discovery.UnversionedGroupVersionForDiscovery() - - -if __name__ == '__main__': - unittest.main() diff --git a/openshift/test/test_unversioned_label_selector.py b/openshift/test/test_unversioned_label_selector.py deleted file mode 100644 index 27ebee9c..00000000 --- a/openshift/test/test_unversioned_label_selector.py +++ /dev/null @@ -1,42 +0,0 @@ -# coding: utf-8 - -""" - OpenShift API (with Kubernetes) - - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - - OpenAPI spec version: v3.6.0-alpha.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import os -import sys -import unittest - -import openshift.client -from kubernetes.client.rest import ApiException -from openshift.client.models.unversioned_label_selector import UnversionedLabelSelector - - -class TestUnversionedLabelSelector(unittest.TestCase): - """ UnversionedLabelSelector unit test stubs """ - - def setUp(self): - pass - - def tearDown(self): - pass - - def testUnversionedLabelSelector(self): - """ - Test UnversionedLabelSelector - """ - model = openshift.client.models.unversioned_label_selector.UnversionedLabelSelector() - - -if __name__ == '__main__': - unittest.main() diff --git a/openshift/test/test_unversioned_label_selector_requirement.py b/openshift/test/test_unversioned_label_selector_requirement.py deleted file mode 100644 index a1d9925e..00000000 --- a/openshift/test/test_unversioned_label_selector_requirement.py +++ /dev/null @@ -1,42 +0,0 @@ -# coding: utf-8 - -""" - OpenShift API (with Kubernetes) - - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - - OpenAPI spec version: v3.6.0-alpha.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import os -import sys -import unittest - -import openshift.client -from kubernetes.client.rest import ApiException -from openshift.client.models.unversioned_label_selector_requirement import UnversionedLabelSelectorRequirement - - -class TestUnversionedLabelSelectorRequirement(unittest.TestCase): - """ UnversionedLabelSelectorRequirement unit test stubs """ - - def setUp(self): - pass - - def tearDown(self): - pass - - def testUnversionedLabelSelectorRequirement(self): - """ - Test UnversionedLabelSelectorRequirement - """ - model = openshift.client.models.unversioned_label_selector_requirement.UnversionedLabelSelectorRequirement() - - -if __name__ == '__main__': - unittest.main() diff --git a/openshift/test/test_unversioned_list_meta.py b/openshift/test/test_unversioned_list_meta.py deleted file mode 100644 index dc6bed44..00000000 --- a/openshift/test/test_unversioned_list_meta.py +++ /dev/null @@ -1,42 +0,0 @@ -# coding: utf-8 - -""" - OpenShift API (with Kubernetes) - - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - - OpenAPI spec version: v3.6.0-alpha.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import os -import sys -import unittest - -import openshift.client -from kubernetes.client.rest import ApiException -from openshift.client.models.unversioned_list_meta import UnversionedListMeta - - -class TestUnversionedListMeta(unittest.TestCase): - """ UnversionedListMeta unit test stubs """ - - def setUp(self): - pass - - def tearDown(self): - pass - - def testUnversionedListMeta(self): - """ - Test UnversionedListMeta - """ - model = openshift.client.models.unversioned_list_meta.UnversionedListMeta() - - -if __name__ == '__main__': - unittest.main() diff --git a/openshift/test/test_unversioned_server_address_by_client_cidr.py b/openshift/test/test_unversioned_server_address_by_client_cidr.py deleted file mode 100644 index 494d10bb..00000000 --- a/openshift/test/test_unversioned_server_address_by_client_cidr.py +++ /dev/null @@ -1,42 +0,0 @@ -# coding: utf-8 - -""" - OpenShift API (with Kubernetes) - - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - - OpenAPI spec version: v3.6.0-alpha.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import os -import sys -import unittest - -import openshift.client -from kubernetes.client.rest import ApiException -from openshift.client.models.unversioned_server_address_by_client_cidr import UnversionedServerAddressByClientCIDR - - -class TestUnversionedServerAddressByClientCIDR(unittest.TestCase): - """ UnversionedServerAddressByClientCIDR unit test stubs """ - - def setUp(self): - pass - - def tearDown(self): - pass - - def testUnversionedServerAddressByClientCIDR(self): - """ - Test UnversionedServerAddressByClientCIDR - """ - model = openshift.client.models.unversioned_server_address_by_client_cidr.UnversionedServerAddressByClientCIDR() - - -if __name__ == '__main__': - unittest.main() diff --git a/openshift/test/test_unversioned_status.py b/openshift/test/test_unversioned_status.py deleted file mode 100644 index 23aba066..00000000 --- a/openshift/test/test_unversioned_status.py +++ /dev/null @@ -1,42 +0,0 @@ -# coding: utf-8 - -""" - OpenShift API (with Kubernetes) - - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - - OpenAPI spec version: v3.6.0-alpha.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import os -import sys -import unittest - -import openshift.client -from kubernetes.client.rest import ApiException -from openshift.client.models.unversioned_status import UnversionedStatus - - -class TestUnversionedStatus(unittest.TestCase): - """ UnversionedStatus unit test stubs """ - - def setUp(self): - pass - - def tearDown(self): - pass - - def testUnversionedStatus(self): - """ - Test UnversionedStatus - """ - model = openshift.client.models.unversioned_status.UnversionedStatus() - - -if __name__ == '__main__': - unittest.main() diff --git a/openshift/test/test_unversioned_status_cause.py b/openshift/test/test_unversioned_status_cause.py deleted file mode 100644 index f760a622..00000000 --- a/openshift/test/test_unversioned_status_cause.py +++ /dev/null @@ -1,42 +0,0 @@ -# coding: utf-8 - -""" - OpenShift API (with Kubernetes) - - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - - OpenAPI spec version: v3.6.0-alpha.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import os -import sys -import unittest - -import openshift.client -from kubernetes.client.rest import ApiException -from openshift.client.models.unversioned_status_cause import UnversionedStatusCause - - -class TestUnversionedStatusCause(unittest.TestCase): - """ UnversionedStatusCause unit test stubs """ - - def setUp(self): - pass - - def tearDown(self): - pass - - def testUnversionedStatusCause(self): - """ - Test UnversionedStatusCause - """ - model = openshift.client.models.unversioned_status_cause.UnversionedStatusCause() - - -if __name__ == '__main__': - unittest.main() diff --git a/openshift/test/test_unversioned_status_details.py b/openshift/test/test_unversioned_status_details.py deleted file mode 100644 index a6c40f0d..00000000 --- a/openshift/test/test_unversioned_status_details.py +++ /dev/null @@ -1,42 +0,0 @@ -# coding: utf-8 - -""" - OpenShift API (with Kubernetes) - - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - - OpenAPI spec version: v3.6.0-alpha.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import os -import sys -import unittest - -import openshift.client -from kubernetes.client.rest import ApiException -from openshift.client.models.unversioned_status_details import UnversionedStatusDetails - - -class TestUnversionedStatusDetails(unittest.TestCase): - """ UnversionedStatusDetails unit test stubs """ - - def setUp(self): - pass - - def tearDown(self): - pass - - def testUnversionedStatusDetails(self): - """ - Test UnversionedStatusDetails - """ - model = openshift.client.models.unversioned_status_details.UnversionedStatusDetails() - - -if __name__ == '__main__': - unittest.main() diff --git a/openshift/test/test_unversioned_time.py b/openshift/test/test_unversioned_time.py deleted file mode 100644 index 42f37e34..00000000 --- a/openshift/test/test_unversioned_time.py +++ /dev/null @@ -1,42 +0,0 @@ -# coding: utf-8 - -""" - OpenShift API (with Kubernetes) - - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - - OpenAPI spec version: v3.6.0-alpha.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import os -import sys -import unittest - -import openshift.client -from kubernetes.client.rest import ApiException -from openshift.client.models.unversioned_time import UnversionedTime - - -class TestUnversionedTime(unittest.TestCase): - """ UnversionedTime unit test stubs """ - - def setUp(self): - pass - - def tearDown(self): - pass - - def testUnversionedTime(self): - """ - Test UnversionedTime - """ - model = openshift.client.models.unversioned_time.UnversionedTime() - - -if __name__ == '__main__': - unittest.main() diff --git a/openshift/test/test_user_openshift_io_api.py b/openshift/test/test_user_openshift_io_api.py index 25dc7a4f..c89e0280 100644 --- a/openshift/test/test_user_openshift_io_api.py +++ b/openshift/test/test_user_openshift_io_api.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -31,9 +31,9 @@ def setUp(self): def tearDown(self): pass - def test_get_user_openshift_io_api_group(self): + def test_get_api_group(self): """ - Test case for get_user_openshift_io_api_group + Test case for get_api_group """ diff --git a/openshift/test/test_user_openshift_io_v1_api.py b/openshift/test/test_user_openshift_io_v1_api.py index 032e2fde..0bd10a77 100644 --- a/openshift/test/test_user_openshift_io_v1_api.py +++ b/openshift/test/test_user_openshift_io_v1_api.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -31,217 +31,217 @@ def setUp(self): def tearDown(self): pass - def test_create_user_openshift_io_v1_group(self): + def test_create_group(self): """ - Test case for create_user_openshift_io_v1_group + Test case for create_group """ pass - def test_create_user_openshift_io_v1_identity(self): + def test_create_identity(self): """ - Test case for create_user_openshift_io_v1_identity + Test case for create_identity """ pass - def test_create_user_openshift_io_v1_user(self): + def test_create_user(self): """ - Test case for create_user_openshift_io_v1_user + Test case for create_user """ pass - def test_create_user_openshift_io_v1_user_identity_mapping(self): + def test_create_user_identity_mapping(self): """ - Test case for create_user_openshift_io_v1_user_identity_mapping + Test case for create_user_identity_mapping """ pass - def test_delete_user_openshift_io_v1_collection_group(self): + def test_delete_collection_group(self): """ - Test case for delete_user_openshift_io_v1_collection_group + Test case for delete_collection_group """ pass - def test_delete_user_openshift_io_v1_collection_identity(self): + def test_delete_collection_identity(self): """ - Test case for delete_user_openshift_io_v1_collection_identity + Test case for delete_collection_identity """ pass - def test_delete_user_openshift_io_v1_collection_user(self): + def test_delete_collection_user(self): """ - Test case for delete_user_openshift_io_v1_collection_user + Test case for delete_collection_user """ pass - def test_delete_user_openshift_io_v1_group(self): + def test_delete_group(self): """ - Test case for delete_user_openshift_io_v1_group + Test case for delete_group """ pass - def test_delete_user_openshift_io_v1_identity(self): + def test_delete_identity(self): """ - Test case for delete_user_openshift_io_v1_identity + Test case for delete_identity """ pass - def test_delete_user_openshift_io_v1_user(self): + def test_delete_user(self): """ - Test case for delete_user_openshift_io_v1_user + Test case for delete_user """ pass - def test_delete_user_openshift_io_v1_user_identity_mapping(self): + def test_delete_user_identity_mapping(self): """ - Test case for delete_user_openshift_io_v1_user_identity_mapping + Test case for delete_user_identity_mapping """ pass - def test_get_user_openshift_io_v1_api_resources(self): + def test_get_api_resources(self): """ - Test case for get_user_openshift_io_v1_api_resources + Test case for get_api_resources """ pass - def test_list_user_openshift_io_v1_group(self): + def test_list_group(self): """ - Test case for list_user_openshift_io_v1_group + Test case for list_group """ pass - def test_list_user_openshift_io_v1_identity(self): + def test_list_identity(self): """ - Test case for list_user_openshift_io_v1_identity + Test case for list_identity """ pass - def test_list_user_openshift_io_v1_user(self): + def test_list_user(self): """ - Test case for list_user_openshift_io_v1_user + Test case for list_user """ pass - def test_patch_user_openshift_io_v1_group(self): + def test_patch_group(self): """ - Test case for patch_user_openshift_io_v1_group + Test case for patch_group """ pass - def test_patch_user_openshift_io_v1_identity(self): + def test_patch_identity(self): """ - Test case for patch_user_openshift_io_v1_identity + Test case for patch_identity """ pass - def test_patch_user_openshift_io_v1_user(self): + def test_patch_user(self): """ - Test case for patch_user_openshift_io_v1_user + Test case for patch_user """ pass - def test_patch_user_openshift_io_v1_user_identity_mapping(self): + def test_patch_user_identity_mapping(self): """ - Test case for patch_user_openshift_io_v1_user_identity_mapping + Test case for patch_user_identity_mapping """ pass - def test_read_user_openshift_io_v1_group(self): + def test_read_group(self): """ - Test case for read_user_openshift_io_v1_group + Test case for read_group """ pass - def test_read_user_openshift_io_v1_identity(self): + def test_read_identity(self): """ - Test case for read_user_openshift_io_v1_identity + Test case for read_identity """ pass - def test_read_user_openshift_io_v1_user(self): + def test_read_user(self): """ - Test case for read_user_openshift_io_v1_user + Test case for read_user """ pass - def test_read_user_openshift_io_v1_user_identity_mapping(self): + def test_read_user_identity_mapping(self): """ - Test case for read_user_openshift_io_v1_user_identity_mapping + Test case for read_user_identity_mapping """ pass - def test_replace_user_openshift_io_v1_group(self): + def test_replace_group(self): """ - Test case for replace_user_openshift_io_v1_group + Test case for replace_group """ pass - def test_replace_user_openshift_io_v1_identity(self): + def test_replace_identity(self): """ - Test case for replace_user_openshift_io_v1_identity + Test case for replace_identity """ pass - def test_replace_user_openshift_io_v1_user(self): + def test_replace_user(self): """ - Test case for replace_user_openshift_io_v1_user + Test case for replace_user """ pass - def test_replace_user_openshift_io_v1_user_identity_mapping(self): + def test_replace_user_identity_mapping(self): """ - Test case for replace_user_openshift_io_v1_user_identity_mapping + Test case for replace_user_identity_mapping """ diff --git a/openshift/test/test_batch_api.py b/openshift/test/test_v1_allowed_flex_volume.py similarity index 74% rename from openshift/test/test_batch_api.py rename to openshift/test/test_v1_allowed_flex_volume.py index 402a0f46..7c2805fc 100644 --- a/openshift/test/test_batch_api.py +++ b/openshift/test/test_v1_allowed_flex_volume.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -19,25 +19,23 @@ import openshift.client from kubernetes.client.rest import ApiException -from openshift.client.apis.batch_api import BatchApi +from openshift.client.models.v1_allowed_flex_volume import V1AllowedFlexVolume -class TestBatchApi(unittest.TestCase): - """ BatchApi unit test stubs """ +class TestV1AllowedFlexVolume(unittest.TestCase): + """ V1AllowedFlexVolume unit test stubs """ def setUp(self): - self.api = openshift.client.apis.batch_api.BatchApi() + pass def tearDown(self): pass - def test_get_batch_api_group(self): + def testV1AllowedFlexVolume(self): """ - Test case for get_batch_api_group - - + Test V1AllowedFlexVolume """ - pass + model = openshift.client.models.v1_allowed_flex_volume.V1AllowedFlexVolume() if __name__ == '__main__': diff --git a/openshift/test/test_v1_applied_cluster_resource_quota.py b/openshift/test/test_v1_applied_cluster_resource_quota.py index a914b407..f9798c64 100644 --- a/openshift/test/test_v1_applied_cluster_resource_quota.py +++ b/openshift/test/test_v1_applied_cluster_resource_quota.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openshift/test/test_v1_applied_cluster_resource_quota_list.py b/openshift/test/test_v1_applied_cluster_resource_quota_list.py index c4b5882b..41dcf583 100644 --- a/openshift/test/test_v1_applied_cluster_resource_quota_list.py +++ b/openshift/test/test_v1_applied_cluster_resource_quota_list.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openshift/test/test_v1_attached_volume.py b/openshift/test/test_v1_attached_volume.py deleted file mode 100644 index 5ddb06ba..00000000 --- a/openshift/test/test_v1_attached_volume.py +++ /dev/null @@ -1,42 +0,0 @@ -# coding: utf-8 - -""" - OpenShift API (with Kubernetes) - - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - - OpenAPI spec version: v3.6.0-alpha.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import os -import sys -import unittest - -import openshift.client -from kubernetes.client.rest import ApiException -from openshift.client.models.v1_attached_volume import V1AttachedVolume - - -class TestV1AttachedVolume(unittest.TestCase): - """ V1AttachedVolume unit test stubs """ - - def setUp(self): - pass - - def tearDown(self): - pass - - def testV1AttachedVolume(self): - """ - Test V1AttachedVolume - """ - model = openshift.client.models.v1_attached_volume.V1AttachedVolume() - - -if __name__ == '__main__': - unittest.main() diff --git a/openshift/test/test_v1_aws_elastic_block_store_volume_source.py b/openshift/test/test_v1_aws_elastic_block_store_volume_source.py deleted file mode 100644 index e1697f8c..00000000 --- a/openshift/test/test_v1_aws_elastic_block_store_volume_source.py +++ /dev/null @@ -1,42 +0,0 @@ -# coding: utf-8 - -""" - OpenShift API (with Kubernetes) - - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - - OpenAPI spec version: v3.6.0-alpha.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import os -import sys -import unittest - -import openshift.client -from kubernetes.client.rest import ApiException -from openshift.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 = openshift.client.models.v1_aws_elastic_block_store_volume_source.V1AWSElasticBlockStoreVolumeSource() - - -if __name__ == '__main__': - unittest.main() diff --git a/openshift/test/test_v1_azure_disk_volume_source.py b/openshift/test/test_v1_azure_disk_volume_source.py deleted file mode 100644 index e1520ada..00000000 --- a/openshift/test/test_v1_azure_disk_volume_source.py +++ /dev/null @@ -1,42 +0,0 @@ -# coding: utf-8 - -""" - OpenShift API (with Kubernetes) - - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - - OpenAPI spec version: v3.6.0-alpha.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import os -import sys -import unittest - -import openshift.client -from kubernetes.client.rest import ApiException -from openshift.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 = openshift.client.models.v1_azure_disk_volume_source.V1AzureDiskVolumeSource() - - -if __name__ == '__main__': - unittest.main() diff --git a/openshift/test/test_v1_azure_file_volume_source.py b/openshift/test/test_v1_azure_file_volume_source.py deleted file mode 100644 index df2d3693..00000000 --- a/openshift/test/test_v1_azure_file_volume_source.py +++ /dev/null @@ -1,42 +0,0 @@ -# coding: utf-8 - -""" - OpenShift API (with Kubernetes) - - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - - OpenAPI spec version: v3.6.0-alpha.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import os -import sys -import unittest - -import openshift.client -from kubernetes.client.rest import ApiException -from openshift.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 = openshift.client.models.v1_azure_file_volume_source.V1AzureFileVolumeSource() - - -if __name__ == '__main__': - unittest.main() diff --git a/openshift/test/test_v1_binary_build_source.py b/openshift/test/test_v1_binary_build_source.py index 1b6e08d6..437dbd97 100644 --- a/openshift/test/test_v1_binary_build_source.py +++ b/openshift/test/test_v1_binary_build_source.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openshift/test/test_v1_binding.py b/openshift/test/test_v1_binding.py deleted file mode 100644 index 884205c5..00000000 --- a/openshift/test/test_v1_binding.py +++ /dev/null @@ -1,42 +0,0 @@ -# coding: utf-8 - -""" - OpenShift API (with Kubernetes) - - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - - OpenAPI spec version: v3.6.0-alpha.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import os -import sys -import unittest - -import openshift.client -from kubernetes.client.rest import ApiException -from openshift.client.models.v1_binding import V1Binding - - -class TestV1Binding(unittest.TestCase): - """ V1Binding unit test stubs """ - - def setUp(self): - pass - - def tearDown(self): - pass - - def testV1Binding(self): - """ - Test V1Binding - """ - model = openshift.client.models.v1_binding.V1Binding() - - -if __name__ == '__main__': - unittest.main() diff --git a/openshift/test/test_authorization_api.py b/openshift/test/test_v1_bitbucket_web_hook_cause.py similarity index 74% rename from openshift/test/test_authorization_api.py rename to openshift/test/test_v1_bitbucket_web_hook_cause.py index a90e9840..bb1e0b91 100644 --- a/openshift/test/test_authorization_api.py +++ b/openshift/test/test_v1_bitbucket_web_hook_cause.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -19,25 +19,23 @@ import openshift.client from kubernetes.client.rest import ApiException -from openshift.client.apis.authorization_api import AuthorizationApi +from openshift.client.models.v1_bitbucket_web_hook_cause import V1BitbucketWebHookCause -class TestAuthorizationApi(unittest.TestCase): - """ AuthorizationApi unit test stubs """ +class TestV1BitbucketWebHookCause(unittest.TestCase): + """ V1BitbucketWebHookCause unit test stubs """ def setUp(self): - self.api = openshift.client.apis.authorization_api.AuthorizationApi() + pass def tearDown(self): pass - def test_get_authorization_api_group(self): + def testV1BitbucketWebHookCause(self): """ - Test case for get_authorization_api_group - - + Test V1BitbucketWebHookCause """ - pass + model = openshift.client.models.v1_bitbucket_web_hook_cause.V1BitbucketWebHookCause() if __name__ == '__main__': diff --git a/openshift/test/test_authentication_api.py b/openshift/test/test_v1_broker_template_instance.py similarity index 74% rename from openshift/test/test_authentication_api.py rename to openshift/test/test_v1_broker_template_instance.py index 872858f4..fffd5741 100644 --- a/openshift/test/test_authentication_api.py +++ b/openshift/test/test_v1_broker_template_instance.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -19,25 +19,23 @@ import openshift.client from kubernetes.client.rest import ApiException -from openshift.client.apis.authentication_api import AuthenticationApi +from openshift.client.models.v1_broker_template_instance import V1BrokerTemplateInstance -class TestAuthenticationApi(unittest.TestCase): - """ AuthenticationApi unit test stubs """ +class TestV1BrokerTemplateInstance(unittest.TestCase): + """ V1BrokerTemplateInstance unit test stubs """ def setUp(self): - self.api = openshift.client.apis.authentication_api.AuthenticationApi() + pass def tearDown(self): pass - def test_get_authentication_api_group(self): + def testV1BrokerTemplateInstance(self): """ - Test case for get_authentication_api_group - - + Test V1BrokerTemplateInstance """ - pass + model = openshift.client.models.v1_broker_template_instance.V1BrokerTemplateInstance() if __name__ == '__main__': diff --git a/openshift/test/test_v1_broker_template_instance_list.py b/openshift/test/test_v1_broker_template_instance_list.py new file mode 100644 index 00000000..9783820b --- /dev/null +++ b/openshift/test/test_v1_broker_template_instance_list.py @@ -0,0 +1,42 @@ +# coding: utf-8 + +""" + OpenShift API (with Kubernetes) + + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + + OpenAPI spec version: latest + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import os +import sys +import unittest + +import openshift.client +from kubernetes.client.rest import ApiException +from openshift.client.models.v1_broker_template_instance_list import V1BrokerTemplateInstanceList + + +class TestV1BrokerTemplateInstanceList(unittest.TestCase): + """ V1BrokerTemplateInstanceList unit test stubs """ + + def setUp(self): + pass + + def tearDown(self): + pass + + def testV1BrokerTemplateInstanceList(self): + """ + Test V1BrokerTemplateInstanceList + """ + model = openshift.client.models.v1_broker_template_instance_list.V1BrokerTemplateInstanceList() + + +if __name__ == '__main__': + unittest.main() diff --git a/openshift/test/test_v1_broker_template_instance_spec.py b/openshift/test/test_v1_broker_template_instance_spec.py new file mode 100644 index 00000000..4cf677cb --- /dev/null +++ b/openshift/test/test_v1_broker_template_instance_spec.py @@ -0,0 +1,42 @@ +# coding: utf-8 + +""" + OpenShift API (with Kubernetes) + + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + + OpenAPI spec version: latest + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import os +import sys +import unittest + +import openshift.client +from kubernetes.client.rest import ApiException +from openshift.client.models.v1_broker_template_instance_spec import V1BrokerTemplateInstanceSpec + + +class TestV1BrokerTemplateInstanceSpec(unittest.TestCase): + """ V1BrokerTemplateInstanceSpec unit test stubs """ + + def setUp(self): + pass + + def tearDown(self): + pass + + def testV1BrokerTemplateInstanceSpec(self): + """ + Test V1BrokerTemplateInstanceSpec + """ + model = openshift.client.models.v1_broker_template_instance_spec.V1BrokerTemplateInstanceSpec() + + +if __name__ == '__main__': + unittest.main() diff --git a/openshift/test/test_v1_build.py b/openshift/test/test_v1_build.py index 94f72ca8..1e1b77ac 100644 --- a/openshift/test/test_v1_build.py +++ b/openshift/test/test_v1_build.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openshift/test/test_v1_build_config.py b/openshift/test/test_v1_build_config.py index 12a798b0..c74e92f9 100644 --- a/openshift/test/test_v1_build_config.py +++ b/openshift/test/test_v1_build_config.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openshift/test/test_v1_build_config_list.py b/openshift/test/test_v1_build_config_list.py index fd5ed2ed..af53f091 100644 --- a/openshift/test/test_v1_build_config_list.py +++ b/openshift/test/test_v1_build_config_list.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openshift/test/test_v1_build_config_spec.py b/openshift/test/test_v1_build_config_spec.py index 28d04d26..f0be898d 100644 --- a/openshift/test/test_v1_build_config_spec.py +++ b/openshift/test/test_v1_build_config_spec.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openshift/test/test_v1_build_config_status.py b/openshift/test/test_v1_build_config_status.py index 2fd5317c..9787feba 100644 --- a/openshift/test/test_v1_build_config_status.py +++ b/openshift/test/test_v1_build_config_status.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openshift/test/test_v1_build_list.py b/openshift/test/test_v1_build_list.py index 322e1014..da7846c3 100644 --- a/openshift/test/test_v1_build_list.py +++ b/openshift/test/test_v1_build_list.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openshift/test/test_v1_build_log.py b/openshift/test/test_v1_build_log.py index 7547f37a..e4b13cf2 100644 --- a/openshift/test/test_v1_build_log.py +++ b/openshift/test/test_v1_build_log.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openshift/test/test_v1_build_output.py b/openshift/test/test_v1_build_output.py index 2057e7df..bac75823 100644 --- a/openshift/test/test_v1_build_output.py +++ b/openshift/test/test_v1_build_output.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openshift/test/test_v1_build_post_commit_spec.py b/openshift/test/test_v1_build_post_commit_spec.py index 7977c738..967bfff5 100644 --- a/openshift/test/test_v1_build_post_commit_spec.py +++ b/openshift/test/test_v1_build_post_commit_spec.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openshift/test/test_v1_build_request.py b/openshift/test/test_v1_build_request.py index f897aadf..5dc7e92b 100644 --- a/openshift/test/test_v1_build_request.py +++ b/openshift/test/test_v1_build_request.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openshift/test/test_v1_build_source.py b/openshift/test/test_v1_build_source.py index f182d624..a6827223 100644 --- a/openshift/test/test_v1_build_source.py +++ b/openshift/test/test_v1_build_source.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openshift/test/test_v1_build_spec.py b/openshift/test/test_v1_build_spec.py index e18711c4..ef9bb982 100644 --- a/openshift/test/test_v1_build_spec.py +++ b/openshift/test/test_v1_build_spec.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openshift/test/test_v1_build_status.py b/openshift/test/test_v1_build_status.py index 81895650..93716c59 100644 --- a/openshift/test/test_v1_build_status.py +++ b/openshift/test/test_v1_build_status.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openshift/test/test_v1_build_status_output.py b/openshift/test/test_v1_build_status_output.py index 4faccd31..f70d5fc9 100644 --- a/openshift/test/test_v1_build_status_output.py +++ b/openshift/test/test_v1_build_status_output.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openshift/test/test_v1_build_status_output_to.py b/openshift/test/test_v1_build_status_output_to.py index 64608a1b..2ce8c4c8 100644 --- a/openshift/test/test_v1_build_status_output_to.py +++ b/openshift/test/test_v1_build_status_output_to.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openshift/test/test_v1_build_strategy.py b/openshift/test/test_v1_build_strategy.py index b9e7f068..7eb8481a 100644 --- a/openshift/test/test_v1_build_strategy.py +++ b/openshift/test/test_v1_build_strategy.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openshift/test/test_v1_build_trigger_cause.py b/openshift/test/test_v1_build_trigger_cause.py index c0c8713e..138c84d4 100644 --- a/openshift/test/test_v1_build_trigger_cause.py +++ b/openshift/test/test_v1_build_trigger_cause.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openshift/test/test_v1_build_trigger_policy.py b/openshift/test/test_v1_build_trigger_policy.py index e18a6387..4cc75b8e 100644 --- a/openshift/test/test_v1_build_trigger_policy.py +++ b/openshift/test/test_v1_build_trigger_policy.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openshift/test/test_v1_capabilities.py b/openshift/test/test_v1_capabilities.py deleted file mode 100644 index b7f9a8c4..00000000 --- a/openshift/test/test_v1_capabilities.py +++ /dev/null @@ -1,42 +0,0 @@ -# coding: utf-8 - -""" - OpenShift API (with Kubernetes) - - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - - OpenAPI spec version: v3.6.0-alpha.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import os -import sys -import unittest - -import openshift.client -from kubernetes.client.rest import ApiException -from openshift.client.models.v1_capabilities import V1Capabilities - - -class TestV1Capabilities(unittest.TestCase): - """ V1Capabilities unit test stubs """ - - def setUp(self): - pass - - def tearDown(self): - pass - - def testV1Capabilities(self): - """ - Test V1Capabilities - """ - model = openshift.client.models.v1_capabilities.V1Capabilities() - - -if __name__ == '__main__': - unittest.main() diff --git a/openshift/test/test_v1_ceph_fs_volume_source.py b/openshift/test/test_v1_ceph_fs_volume_source.py deleted file mode 100644 index a2df0993..00000000 --- a/openshift/test/test_v1_ceph_fs_volume_source.py +++ /dev/null @@ -1,42 +0,0 @@ -# coding: utf-8 - -""" - OpenShift API (with Kubernetes) - - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - - OpenAPI spec version: v3.6.0-alpha.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import os -import sys -import unittest - -import openshift.client -from kubernetes.client.rest import ApiException -from openshift.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 = openshift.client.models.v1_ceph_fs_volume_source.V1CephFSVolumeSource() - - -if __name__ == '__main__': - unittest.main() diff --git a/openshift/test/test_v1_cinder_volume_source.py b/openshift/test/test_v1_cinder_volume_source.py deleted file mode 100644 index 80c0af9d..00000000 --- a/openshift/test/test_v1_cinder_volume_source.py +++ /dev/null @@ -1,42 +0,0 @@ -# coding: utf-8 - -""" - OpenShift API (with Kubernetes) - - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - - OpenAPI spec version: v3.6.0-alpha.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import os -import sys -import unittest - -import openshift.client -from kubernetes.client.rest import ApiException -from openshift.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 = openshift.client.models.v1_cinder_volume_source.V1CinderVolumeSource() - - -if __name__ == '__main__': - unittest.main() diff --git a/openshift/test/test_v1_cluster_network.py b/openshift/test/test_v1_cluster_network.py index aef40e3a..548f7640 100644 --- a/openshift/test/test_v1_cluster_network.py +++ b/openshift/test/test_v1_cluster_network.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openshift/test/test_v1_cluster_network_list.py b/openshift/test/test_v1_cluster_network_list.py index cf63bf2c..cfc8ccd2 100644 --- a/openshift/test/test_v1_cluster_network_list.py +++ b/openshift/test/test_v1_cluster_network_list.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openshift/test/test_v1_cluster_policy.py b/openshift/test/test_v1_cluster_policy.py deleted file mode 100644 index a34454db..00000000 --- a/openshift/test/test_v1_cluster_policy.py +++ /dev/null @@ -1,42 +0,0 @@ -# coding: utf-8 - -""" - OpenShift API (with Kubernetes) - - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - - OpenAPI spec version: v3.6.0-alpha.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import os -import sys -import unittest - -import openshift.client -from kubernetes.client.rest import ApiException -from openshift.client.models.v1_cluster_policy import V1ClusterPolicy - - -class TestV1ClusterPolicy(unittest.TestCase): - """ V1ClusterPolicy unit test stubs """ - - def setUp(self): - pass - - def tearDown(self): - pass - - def testV1ClusterPolicy(self): - """ - Test V1ClusterPolicy - """ - model = openshift.client.models.v1_cluster_policy.V1ClusterPolicy() - - -if __name__ == '__main__': - unittest.main() diff --git a/openshift/test/test_v1_cluster_policy_binding.py b/openshift/test/test_v1_cluster_policy_binding.py deleted file mode 100644 index 5395f59b..00000000 --- a/openshift/test/test_v1_cluster_policy_binding.py +++ /dev/null @@ -1,42 +0,0 @@ -# coding: utf-8 - -""" - OpenShift API (with Kubernetes) - - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - - OpenAPI spec version: v3.6.0-alpha.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import os -import sys -import unittest - -import openshift.client -from kubernetes.client.rest import ApiException -from openshift.client.models.v1_cluster_policy_binding import V1ClusterPolicyBinding - - -class TestV1ClusterPolicyBinding(unittest.TestCase): - """ V1ClusterPolicyBinding unit test stubs """ - - def setUp(self): - pass - - def tearDown(self): - pass - - def testV1ClusterPolicyBinding(self): - """ - Test V1ClusterPolicyBinding - """ - model = openshift.client.models.v1_cluster_policy_binding.V1ClusterPolicyBinding() - - -if __name__ == '__main__': - unittest.main() diff --git a/openshift/test/test_v1_cluster_policy_binding_list.py b/openshift/test/test_v1_cluster_policy_binding_list.py deleted file mode 100644 index f5d6c150..00000000 --- a/openshift/test/test_v1_cluster_policy_binding_list.py +++ /dev/null @@ -1,42 +0,0 @@ -# coding: utf-8 - -""" - OpenShift API (with Kubernetes) - - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - - OpenAPI spec version: v3.6.0-alpha.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import os -import sys -import unittest - -import openshift.client -from kubernetes.client.rest import ApiException -from openshift.client.models.v1_cluster_policy_binding_list import V1ClusterPolicyBindingList - - -class TestV1ClusterPolicyBindingList(unittest.TestCase): - """ V1ClusterPolicyBindingList unit test stubs """ - - def setUp(self): - pass - - def tearDown(self): - pass - - def testV1ClusterPolicyBindingList(self): - """ - Test V1ClusterPolicyBindingList - """ - model = openshift.client.models.v1_cluster_policy_binding_list.V1ClusterPolicyBindingList() - - -if __name__ == '__main__': - unittest.main() diff --git a/openshift/test/test_v1_cluster_policy_list.py b/openshift/test/test_v1_cluster_policy_list.py deleted file mode 100644 index fcb974d7..00000000 --- a/openshift/test/test_v1_cluster_policy_list.py +++ /dev/null @@ -1,42 +0,0 @@ -# coding: utf-8 - -""" - OpenShift API (with Kubernetes) - - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - - OpenAPI spec version: v3.6.0-alpha.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import os -import sys -import unittest - -import openshift.client -from kubernetes.client.rest import ApiException -from openshift.client.models.v1_cluster_policy_list import V1ClusterPolicyList - - -class TestV1ClusterPolicyList(unittest.TestCase): - """ V1ClusterPolicyList unit test stubs """ - - def setUp(self): - pass - - def tearDown(self): - pass - - def testV1ClusterPolicyList(self): - """ - Test V1ClusterPolicyList - """ - model = openshift.client.models.v1_cluster_policy_list.V1ClusterPolicyList() - - -if __name__ == '__main__': - unittest.main() diff --git a/openshift/test/test_v1_cluster_resource_quota.py b/openshift/test/test_v1_cluster_resource_quota.py index 4ef8bb12..23b3075c 100644 --- a/openshift/test/test_v1_cluster_resource_quota.py +++ b/openshift/test/test_v1_cluster_resource_quota.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openshift/test/test_v1_cluster_resource_quota_list.py b/openshift/test/test_v1_cluster_resource_quota_list.py index 320fc01b..ed9a2a38 100644 --- a/openshift/test/test_v1_cluster_resource_quota_list.py +++ b/openshift/test/test_v1_cluster_resource_quota_list.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openshift/test/test_v1_cluster_resource_quota_selector.py b/openshift/test/test_v1_cluster_resource_quota_selector.py index 00e5fe1a..b6017f43 100644 --- a/openshift/test/test_v1_cluster_resource_quota_selector.py +++ b/openshift/test/test_v1_cluster_resource_quota_selector.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openshift/test/test_v1_cluster_resource_quota_spec.py b/openshift/test/test_v1_cluster_resource_quota_spec.py index b93329ed..bce4351f 100644 --- a/openshift/test/test_v1_cluster_resource_quota_spec.py +++ b/openshift/test/test_v1_cluster_resource_quota_spec.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openshift/test/test_v1_cluster_resource_quota_status.py b/openshift/test/test_v1_cluster_resource_quota_status.py index 445455b7..c16d3ce3 100644 --- a/openshift/test/test_v1_cluster_resource_quota_status.py +++ b/openshift/test/test_v1_cluster_resource_quota_status.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openshift/test/test_v1_cluster_role.py b/openshift/test/test_v1_cluster_role.py index 4f1f0d53..9a32b227 100644 --- a/openshift/test/test_v1_cluster_role.py +++ b/openshift/test/test_v1_cluster_role.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openshift/test/test_v1_cluster_role_binding.py b/openshift/test/test_v1_cluster_role_binding.py index 7ca6b562..6a5949c0 100644 --- a/openshift/test/test_v1_cluster_role_binding.py +++ b/openshift/test/test_v1_cluster_role_binding.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openshift/test/test_v1_cluster_role_binding_list.py b/openshift/test/test_v1_cluster_role_binding_list.py index 8a6cd1ee..a04b8f5e 100644 --- a/openshift/test/test_v1_cluster_role_binding_list.py +++ b/openshift/test/test_v1_cluster_role_binding_list.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openshift/test/test_v1_cluster_role_list.py b/openshift/test/test_v1_cluster_role_list.py index e192a4c1..ba2c10b9 100644 --- a/openshift/test/test_v1_cluster_role_list.py +++ b/openshift/test/test_v1_cluster_role_list.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openshift/test/test_v1_cluster_role_scope_restriction.py b/openshift/test/test_v1_cluster_role_scope_restriction.py index d2fc790b..9e0808da 100644 --- a/openshift/test/test_v1_cluster_role_scope_restriction.py +++ b/openshift/test/test_v1_cluster_role_scope_restriction.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openshift/test/test_v1_component_condition.py b/openshift/test/test_v1_component_condition.py deleted file mode 100644 index 57b70afb..00000000 --- a/openshift/test/test_v1_component_condition.py +++ /dev/null @@ -1,42 +0,0 @@ -# coding: utf-8 - -""" - OpenShift API (with Kubernetes) - - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - - OpenAPI spec version: v3.6.0-alpha.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import os -import sys -import unittest - -import openshift.client -from kubernetes.client.rest import ApiException -from openshift.client.models.v1_component_condition import V1ComponentCondition - - -class TestV1ComponentCondition(unittest.TestCase): - """ V1ComponentCondition unit test stubs """ - - def setUp(self): - pass - - def tearDown(self): - pass - - def testV1ComponentCondition(self): - """ - Test V1ComponentCondition - """ - model = openshift.client.models.v1_component_condition.V1ComponentCondition() - - -if __name__ == '__main__': - unittest.main() diff --git a/openshift/test/test_v1_component_status.py b/openshift/test/test_v1_component_status.py deleted file mode 100644 index d26a5c33..00000000 --- a/openshift/test/test_v1_component_status.py +++ /dev/null @@ -1,42 +0,0 @@ -# coding: utf-8 - -""" - OpenShift API (with Kubernetes) - - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - - OpenAPI spec version: v3.6.0-alpha.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import os -import sys -import unittest - -import openshift.client -from kubernetes.client.rest import ApiException -from openshift.client.models.v1_component_status import V1ComponentStatus - - -class TestV1ComponentStatus(unittest.TestCase): - """ V1ComponentStatus unit test stubs """ - - def setUp(self): - pass - - def tearDown(self): - pass - - def testV1ComponentStatus(self): - """ - Test V1ComponentStatus - """ - model = openshift.client.models.v1_component_status.V1ComponentStatus() - - -if __name__ == '__main__': - unittest.main() diff --git a/openshift/test/test_v1_component_status_list.py b/openshift/test/test_v1_component_status_list.py deleted file mode 100644 index 50045ce0..00000000 --- a/openshift/test/test_v1_component_status_list.py +++ /dev/null @@ -1,42 +0,0 @@ -# coding: utf-8 - -""" - OpenShift API (with Kubernetes) - - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - - OpenAPI spec version: v3.6.0-alpha.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import os -import sys -import unittest - -import openshift.client -from kubernetes.client.rest import ApiException -from openshift.client.models.v1_component_status_list import V1ComponentStatusList - - -class TestV1ComponentStatusList(unittest.TestCase): - """ V1ComponentStatusList unit test stubs """ - - def setUp(self): - pass - - def tearDown(self): - pass - - def testV1ComponentStatusList(self): - """ - Test V1ComponentStatusList - """ - model = openshift.client.models.v1_component_status_list.V1ComponentStatusList() - - -if __name__ == '__main__': - unittest.main() diff --git a/openshift/test/test_v1_config_map.py b/openshift/test/test_v1_config_map.py deleted file mode 100644 index b840af50..00000000 --- a/openshift/test/test_v1_config_map.py +++ /dev/null @@ -1,42 +0,0 @@ -# coding: utf-8 - -""" - OpenShift API (with Kubernetes) - - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - - OpenAPI spec version: v3.6.0-alpha.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import os -import sys -import unittest - -import openshift.client -from kubernetes.client.rest import ApiException -from openshift.client.models.v1_config_map import V1ConfigMap - - -class TestV1ConfigMap(unittest.TestCase): - """ V1ConfigMap unit test stubs """ - - def setUp(self): - pass - - def tearDown(self): - pass - - def testV1ConfigMap(self): - """ - Test V1ConfigMap - """ - model = openshift.client.models.v1_config_map.V1ConfigMap() - - -if __name__ == '__main__': - unittest.main() diff --git a/openshift/test/test_v1_config_map_key_selector.py b/openshift/test/test_v1_config_map_key_selector.py deleted file mode 100644 index d146b534..00000000 --- a/openshift/test/test_v1_config_map_key_selector.py +++ /dev/null @@ -1,42 +0,0 @@ -# coding: utf-8 - -""" - OpenShift API (with Kubernetes) - - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - - OpenAPI spec version: v3.6.0-alpha.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import os -import sys -import unittest - -import openshift.client -from kubernetes.client.rest import ApiException -from openshift.client.models.v1_config_map_key_selector import V1ConfigMapKeySelector - - -class TestV1ConfigMapKeySelector(unittest.TestCase): - """ V1ConfigMapKeySelector unit test stubs """ - - def setUp(self): - pass - - def tearDown(self): - pass - - def testV1ConfigMapKeySelector(self): - """ - Test V1ConfigMapKeySelector - """ - model = openshift.client.models.v1_config_map_key_selector.V1ConfigMapKeySelector() - - -if __name__ == '__main__': - unittest.main() diff --git a/openshift/test/test_v1_config_map_list.py b/openshift/test/test_v1_config_map_list.py deleted file mode 100644 index b58de60c..00000000 --- a/openshift/test/test_v1_config_map_list.py +++ /dev/null @@ -1,42 +0,0 @@ -# coding: utf-8 - -""" - OpenShift API (with Kubernetes) - - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - - OpenAPI spec version: v3.6.0-alpha.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import os -import sys -import unittest - -import openshift.client -from kubernetes.client.rest import ApiException -from openshift.client.models.v1_config_map_list import V1ConfigMapList - - -class TestV1ConfigMapList(unittest.TestCase): - """ V1ConfigMapList unit test stubs """ - - def setUp(self): - pass - - def tearDown(self): - pass - - def testV1ConfigMapList(self): - """ - Test V1ConfigMapList - """ - model = openshift.client.models.v1_config_map_list.V1ConfigMapList() - - -if __name__ == '__main__': - unittest.main() diff --git a/openshift/test/test_v1_config_map_volume_source.py b/openshift/test/test_v1_config_map_volume_source.py deleted file mode 100644 index 8d929f21..00000000 --- a/openshift/test/test_v1_config_map_volume_source.py +++ /dev/null @@ -1,42 +0,0 @@ -# coding: utf-8 - -""" - OpenShift API (with Kubernetes) - - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - - OpenAPI spec version: v3.6.0-alpha.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import os -import sys -import unittest - -import openshift.client -from kubernetes.client.rest import ApiException -from openshift.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 = openshift.client.models.v1_config_map_volume_source.V1ConfigMapVolumeSource() - - -if __name__ == '__main__': - unittest.main() diff --git a/openshift/test/test_v1_container.py b/openshift/test/test_v1_container.py deleted file mode 100644 index 6bc86beb..00000000 --- a/openshift/test/test_v1_container.py +++ /dev/null @@ -1,42 +0,0 @@ -# coding: utf-8 - -""" - OpenShift API (with Kubernetes) - - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - - OpenAPI spec version: v3.6.0-alpha.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import os -import sys -import unittest - -import openshift.client -from kubernetes.client.rest import ApiException -from openshift.client.models.v1_container import V1Container - - -class TestV1Container(unittest.TestCase): - """ V1Container unit test stubs """ - - def setUp(self): - pass - - def tearDown(self): - pass - - def testV1Container(self): - """ - Test V1Container - """ - model = openshift.client.models.v1_container.V1Container() - - -if __name__ == '__main__': - unittest.main() diff --git a/openshift/test/test_v1_container_image.py b/openshift/test/test_v1_container_image.py deleted file mode 100644 index 3aeaade3..00000000 --- a/openshift/test/test_v1_container_image.py +++ /dev/null @@ -1,42 +0,0 @@ -# coding: utf-8 - -""" - OpenShift API (with Kubernetes) - - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - - OpenAPI spec version: v3.6.0-alpha.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import os -import sys -import unittest - -import openshift.client -from kubernetes.client.rest import ApiException -from openshift.client.models.v1_container_image import V1ContainerImage - - -class TestV1ContainerImage(unittest.TestCase): - """ V1ContainerImage unit test stubs """ - - def setUp(self): - pass - - def tearDown(self): - pass - - def testV1ContainerImage(self): - """ - Test V1ContainerImage - """ - model = openshift.client.models.v1_container_image.V1ContainerImage() - - -if __name__ == '__main__': - unittest.main() diff --git a/openshift/test/test_v1_container_port.py b/openshift/test/test_v1_container_port.py deleted file mode 100644 index 0d662eeb..00000000 --- a/openshift/test/test_v1_container_port.py +++ /dev/null @@ -1,42 +0,0 @@ -# coding: utf-8 - -""" - OpenShift API (with Kubernetes) - - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - - OpenAPI spec version: v3.6.0-alpha.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import os -import sys -import unittest - -import openshift.client -from kubernetes.client.rest import ApiException -from openshift.client.models.v1_container_port import V1ContainerPort - - -class TestV1ContainerPort(unittest.TestCase): - """ V1ContainerPort unit test stubs """ - - def setUp(self): - pass - - def tearDown(self): - pass - - def testV1ContainerPort(self): - """ - Test V1ContainerPort - """ - model = openshift.client.models.v1_container_port.V1ContainerPort() - - -if __name__ == '__main__': - unittest.main() diff --git a/openshift/test/test_v1_container_state.py b/openshift/test/test_v1_container_state.py deleted file mode 100644 index 354e2b14..00000000 --- a/openshift/test/test_v1_container_state.py +++ /dev/null @@ -1,42 +0,0 @@ -# coding: utf-8 - -""" - OpenShift API (with Kubernetes) - - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - - OpenAPI spec version: v3.6.0-alpha.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import os -import sys -import unittest - -import openshift.client -from kubernetes.client.rest import ApiException -from openshift.client.models.v1_container_state import V1ContainerState - - -class TestV1ContainerState(unittest.TestCase): - """ V1ContainerState unit test stubs """ - - def setUp(self): - pass - - def tearDown(self): - pass - - def testV1ContainerState(self): - """ - Test V1ContainerState - """ - model = openshift.client.models.v1_container_state.V1ContainerState() - - -if __name__ == '__main__': - unittest.main() diff --git a/openshift/test/test_v1_container_state_running.py b/openshift/test/test_v1_container_state_running.py deleted file mode 100644 index 2b5b6f3f..00000000 --- a/openshift/test/test_v1_container_state_running.py +++ /dev/null @@ -1,42 +0,0 @@ -# coding: utf-8 - -""" - OpenShift API (with Kubernetes) - - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - - OpenAPI spec version: v3.6.0-alpha.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import os -import sys -import unittest - -import openshift.client -from kubernetes.client.rest import ApiException -from openshift.client.models.v1_container_state_running import V1ContainerStateRunning - - -class TestV1ContainerStateRunning(unittest.TestCase): - """ V1ContainerStateRunning unit test stubs """ - - def setUp(self): - pass - - def tearDown(self): - pass - - def testV1ContainerStateRunning(self): - """ - Test V1ContainerStateRunning - """ - model = openshift.client.models.v1_container_state_running.V1ContainerStateRunning() - - -if __name__ == '__main__': - unittest.main() diff --git a/openshift/test/test_v1_container_state_terminated.py b/openshift/test/test_v1_container_state_terminated.py deleted file mode 100644 index 69e703e1..00000000 --- a/openshift/test/test_v1_container_state_terminated.py +++ /dev/null @@ -1,42 +0,0 @@ -# coding: utf-8 - -""" - OpenShift API (with Kubernetes) - - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - - OpenAPI spec version: v3.6.0-alpha.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import os -import sys -import unittest - -import openshift.client -from kubernetes.client.rest import ApiException -from openshift.client.models.v1_container_state_terminated import V1ContainerStateTerminated - - -class TestV1ContainerStateTerminated(unittest.TestCase): - """ V1ContainerStateTerminated unit test stubs """ - - def setUp(self): - pass - - def tearDown(self): - pass - - def testV1ContainerStateTerminated(self): - """ - Test V1ContainerStateTerminated - """ - model = openshift.client.models.v1_container_state_terminated.V1ContainerStateTerminated() - - -if __name__ == '__main__': - unittest.main() diff --git a/openshift/test/test_v1_container_state_waiting.py b/openshift/test/test_v1_container_state_waiting.py deleted file mode 100644 index 3b59f957..00000000 --- a/openshift/test/test_v1_container_state_waiting.py +++ /dev/null @@ -1,42 +0,0 @@ -# coding: utf-8 - -""" - OpenShift API (with Kubernetes) - - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - - OpenAPI spec version: v3.6.0-alpha.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import os -import sys -import unittest - -import openshift.client -from kubernetes.client.rest import ApiException -from openshift.client.models.v1_container_state_waiting import V1ContainerStateWaiting - - -class TestV1ContainerStateWaiting(unittest.TestCase): - """ V1ContainerStateWaiting unit test stubs """ - - def setUp(self): - pass - - def tearDown(self): - pass - - def testV1ContainerStateWaiting(self): - """ - Test V1ContainerStateWaiting - """ - model = openshift.client.models.v1_container_state_waiting.V1ContainerStateWaiting() - - -if __name__ == '__main__': - unittest.main() diff --git a/openshift/test/test_v1_container_status.py b/openshift/test/test_v1_container_status.py deleted file mode 100644 index c9c4f21b..00000000 --- a/openshift/test/test_v1_container_status.py +++ /dev/null @@ -1,42 +0,0 @@ -# coding: utf-8 - -""" - OpenShift API (with Kubernetes) - - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - - OpenAPI spec version: v3.6.0-alpha.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import os -import sys -import unittest - -import openshift.client -from kubernetes.client.rest import ApiException -from openshift.client.models.v1_container_status import V1ContainerStatus - - -class TestV1ContainerStatus(unittest.TestCase): - """ V1ContainerStatus unit test stubs """ - - def setUp(self): - pass - - def tearDown(self): - pass - - def testV1ContainerStatus(self): - """ - Test V1ContainerStatus - """ - model = openshift.client.models.v1_container_status.V1ContainerStatus() - - -if __name__ == '__main__': - unittest.main() diff --git a/openshift/test/test_v1_cross_version_object_reference.py b/openshift/test/test_v1_cross_version_object_reference.py deleted file mode 100644 index 2fc06c41..00000000 --- a/openshift/test/test_v1_cross_version_object_reference.py +++ /dev/null @@ -1,42 +0,0 @@ -# coding: utf-8 - -""" - OpenShift API (with Kubernetes) - - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - - OpenAPI spec version: v3.6.0-alpha.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import os -import sys -import unittest - -import openshift.client -from kubernetes.client.rest import ApiException -from openshift.client.models.v1_cross_version_object_reference import V1CrossVersionObjectReference - - -class TestV1CrossVersionObjectReference(unittest.TestCase): - """ V1CrossVersionObjectReference unit test stubs """ - - def setUp(self): - pass - - def tearDown(self): - pass - - def testV1CrossVersionObjectReference(self): - """ - Test V1CrossVersionObjectReference - """ - model = openshift.client.models.v1_cross_version_object_reference.V1CrossVersionObjectReference() - - -if __name__ == '__main__': - unittest.main() diff --git a/openshift/test/test_v1_custom_build_strategy.py b/openshift/test/test_v1_custom_build_strategy.py index 150e94fb..2b48aa4d 100644 --- a/openshift/test/test_v1_custom_build_strategy.py +++ b/openshift/test/test_v1_custom_build_strategy.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openshift/test/test_v1_custom_deployment_strategy_params.py b/openshift/test/test_v1_custom_deployment_strategy_params.py index bccf02cb..47712b1c 100644 --- a/openshift/test/test_v1_custom_deployment_strategy_params.py +++ b/openshift/test/test_v1_custom_deployment_strategy_params.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openshift/test/test_v1_daemon_endpoint.py b/openshift/test/test_v1_daemon_endpoint.py deleted file mode 100644 index e38170d2..00000000 --- a/openshift/test/test_v1_daemon_endpoint.py +++ /dev/null @@ -1,42 +0,0 @@ -# coding: utf-8 - -""" - OpenShift API (with Kubernetes) - - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - - OpenAPI spec version: v3.6.0-alpha.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import os -import sys -import unittest - -import openshift.client -from kubernetes.client.rest import ApiException -from openshift.client.models.v1_daemon_endpoint import V1DaemonEndpoint - - -class TestV1DaemonEndpoint(unittest.TestCase): - """ V1DaemonEndpoint unit test stubs """ - - def setUp(self): - pass - - def tearDown(self): - pass - - def testV1DaemonEndpoint(self): - """ - Test V1DaemonEndpoint - """ - model = openshift.client.models.v1_daemon_endpoint.V1DaemonEndpoint() - - -if __name__ == '__main__': - unittest.main() diff --git a/openshift/test/test_v1_delete_options.py b/openshift/test/test_v1_delete_options.py deleted file mode 100644 index 979126fb..00000000 --- a/openshift/test/test_v1_delete_options.py +++ /dev/null @@ -1,42 +0,0 @@ -# coding: utf-8 - -""" - OpenShift API (with Kubernetes) - - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - - OpenAPI spec version: v3.6.0-alpha.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import os -import sys -import unittest - -import openshift.client -from kubernetes.client.rest import ApiException -from openshift.client.models.v1_delete_options import V1DeleteOptions - - -class TestV1DeleteOptions(unittest.TestCase): - """ V1DeleteOptions unit test stubs """ - - def setUp(self): - pass - - def tearDown(self): - pass - - def testV1DeleteOptions(self): - """ - Test V1DeleteOptions - """ - model = openshift.client.models.v1_delete_options.V1DeleteOptions() - - -if __name__ == '__main__': - unittest.main() diff --git a/openshift/test/test_v1_deployment_cause.py b/openshift/test/test_v1_deployment_cause.py index e281f3c0..6b6bdd39 100644 --- a/openshift/test/test_v1_deployment_cause.py +++ b/openshift/test/test_v1_deployment_cause.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openshift/test/test_v1_deployment_cause_image_trigger.py b/openshift/test/test_v1_deployment_cause_image_trigger.py index 48bd2bbe..77c59118 100644 --- a/openshift/test/test_v1_deployment_cause_image_trigger.py +++ b/openshift/test/test_v1_deployment_cause_image_trigger.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openshift/test/test_v1_deployment_condition.py b/openshift/test/test_v1_deployment_condition.py index fc49b15a..78e4a02a 100644 --- a/openshift/test/test_v1_deployment_condition.py +++ b/openshift/test/test_v1_deployment_condition.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openshift/test/test_v1_deployment_config.py b/openshift/test/test_v1_deployment_config.py index d75a8ae3..cb0c3fdf 100644 --- a/openshift/test/test_v1_deployment_config.py +++ b/openshift/test/test_v1_deployment_config.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openshift/test/test_v1_deployment_config_list.py b/openshift/test/test_v1_deployment_config_list.py index 6ae626d7..9d12b2d7 100644 --- a/openshift/test/test_v1_deployment_config_list.py +++ b/openshift/test/test_v1_deployment_config_list.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openshift/test/test_v1_deployment_config_rollback.py b/openshift/test/test_v1_deployment_config_rollback.py index 51359883..7f2eae74 100644 --- a/openshift/test/test_v1_deployment_config_rollback.py +++ b/openshift/test/test_v1_deployment_config_rollback.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openshift/test/test_v1_deployment_config_rollback_spec.py b/openshift/test/test_v1_deployment_config_rollback_spec.py index 8ce77cb5..1116f41a 100644 --- a/openshift/test/test_v1_deployment_config_rollback_spec.py +++ b/openshift/test/test_v1_deployment_config_rollback_spec.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openshift/test/test_v1_deployment_config_spec.py b/openshift/test/test_v1_deployment_config_spec.py index a11a7293..0e097820 100644 --- a/openshift/test/test_v1_deployment_config_spec.py +++ b/openshift/test/test_v1_deployment_config_spec.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openshift/test/test_v1_deployment_config_status.py b/openshift/test/test_v1_deployment_config_status.py index fbd72c78..60d79526 100644 --- a/openshift/test/test_v1_deployment_config_status.py +++ b/openshift/test/test_v1_deployment_config_status.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openshift/test/test_v1_deployment_details.py b/openshift/test/test_v1_deployment_details.py index 32d3b755..2d027974 100644 --- a/openshift/test/test_v1_deployment_details.py +++ b/openshift/test/test_v1_deployment_details.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openshift/test/test_v1_deployment_log.py b/openshift/test/test_v1_deployment_log.py index 6b6efaa9..63cbf17b 100644 --- a/openshift/test/test_v1_deployment_log.py +++ b/openshift/test/test_v1_deployment_log.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openshift/test/test_v1_deployment_request.py b/openshift/test/test_v1_deployment_request.py index b91859c8..77a1bbe9 100644 --- a/openshift/test/test_v1_deployment_request.py +++ b/openshift/test/test_v1_deployment_request.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openshift/test/test_v1_deployment_strategy.py b/openshift/test/test_v1_deployment_strategy.py index cde9a640..51e784b5 100644 --- a/openshift/test/test_v1_deployment_strategy.py +++ b/openshift/test/test_v1_deployment_strategy.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openshift/test/test_v1_deployment_trigger_image_change_params.py b/openshift/test/test_v1_deployment_trigger_image_change_params.py index 256317ab..4c8cd950 100644 --- a/openshift/test/test_v1_deployment_trigger_image_change_params.py +++ b/openshift/test/test_v1_deployment_trigger_image_change_params.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openshift/test/test_v1_deployment_trigger_policy.py b/openshift/test/test_v1_deployment_trigger_policy.py index 9a906aec..72c2e682 100644 --- a/openshift/test/test_v1_deployment_trigger_policy.py +++ b/openshift/test/test_v1_deployment_trigger_policy.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openshift/test/test_v1_deprecated_downward_api_volume_file.py b/openshift/test/test_v1_deprecated_downward_api_volume_file.py deleted file mode 100644 index 7ed25bc6..00000000 --- a/openshift/test/test_v1_deprecated_downward_api_volume_file.py +++ /dev/null @@ -1,42 +0,0 @@ -# coding: utf-8 - -""" - OpenShift API (with Kubernetes) - - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - - OpenAPI spec version: v3.6.0-alpha.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import os -import sys -import unittest - -import openshift.client -from kubernetes.client.rest import ApiException -from openshift.client.models.v1_deprecated_downward_api_volume_file import V1DeprecatedDownwardAPIVolumeFile - - -class TestV1DeprecatedDownwardAPIVolumeFile(unittest.TestCase): - """ V1DeprecatedDownwardAPIVolumeFile unit test stubs """ - - def setUp(self): - pass - - def tearDown(self): - pass - - def testV1DeprecatedDownwardAPIVolumeFile(self): - """ - Test V1DeprecatedDownwardAPIVolumeFile - """ - model = openshift.client.models.v1_deprecated_downward_api_volume_file.V1DeprecatedDownwardAPIVolumeFile() - - -if __name__ == '__main__': - unittest.main() diff --git a/openshift/test/test_v1_deprecated_downward_api_volume_source.py b/openshift/test/test_v1_deprecated_downward_api_volume_source.py deleted file mode 100644 index 5b55c294..00000000 --- a/openshift/test/test_v1_deprecated_downward_api_volume_source.py +++ /dev/null @@ -1,42 +0,0 @@ -# coding: utf-8 - -""" - OpenShift API (with Kubernetes) - - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - - OpenAPI spec version: v3.6.0-alpha.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import os -import sys -import unittest - -import openshift.client -from kubernetes.client.rest import ApiException -from openshift.client.models.v1_deprecated_downward_api_volume_source import V1DeprecatedDownwardAPIVolumeSource - - -class TestV1DeprecatedDownwardAPIVolumeSource(unittest.TestCase): - """ V1DeprecatedDownwardAPIVolumeSource unit test stubs """ - - def setUp(self): - pass - - def tearDown(self): - pass - - def testV1DeprecatedDownwardAPIVolumeSource(self): - """ - Test V1DeprecatedDownwardAPIVolumeSource - """ - model = openshift.client.models.v1_deprecated_downward_api_volume_source.V1DeprecatedDownwardAPIVolumeSource() - - -if __name__ == '__main__': - unittest.main() diff --git a/openshift/test/test_v1_docker_build_strategy.py b/openshift/test/test_v1_docker_build_strategy.py index d1d35c8c..648dd5b5 100644 --- a/openshift/test/test_v1_docker_build_strategy.py +++ b/openshift/test/test_v1_docker_build_strategy.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openshift/test/test_v1_docker_strategy_options.py b/openshift/test/test_v1_docker_strategy_options.py index d82bb13b..2e454ce7 100644 --- a/openshift/test/test_v1_docker_strategy_options.py +++ b/openshift/test/test_v1_docker_strategy_options.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openshift/test/test_v1_downward_api_volume_file.py b/openshift/test/test_v1_downward_api_volume_file.py deleted file mode 100644 index 66f3bbb5..00000000 --- a/openshift/test/test_v1_downward_api_volume_file.py +++ /dev/null @@ -1,42 +0,0 @@ -# coding: utf-8 - -""" - OpenShift API (with Kubernetes) - - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - - OpenAPI spec version: v3.6.0-alpha.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import os -import sys -import unittest - -import openshift.client -from kubernetes.client.rest import ApiException -from openshift.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 = openshift.client.models.v1_downward_api_volume_file.V1DownwardAPIVolumeFile() - - -if __name__ == '__main__': - unittest.main() diff --git a/openshift/test/test_v1_downward_api_volume_source.py b/openshift/test/test_v1_downward_api_volume_source.py deleted file mode 100644 index aaae1c68..00000000 --- a/openshift/test/test_v1_downward_api_volume_source.py +++ /dev/null @@ -1,42 +0,0 @@ -# coding: utf-8 - -""" - OpenShift API (with Kubernetes) - - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - - OpenAPI spec version: v3.6.0-alpha.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import os -import sys -import unittest - -import openshift.client -from kubernetes.client.rest import ApiException -from openshift.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 = openshift.client.models.v1_downward_api_volume_source.V1DownwardAPIVolumeSource() - - -if __name__ == '__main__': - unittest.main() diff --git a/openshift/test/test_v1_egress_network_policy.py b/openshift/test/test_v1_egress_network_policy.py index 0e0d5c20..6704a457 100644 --- a/openshift/test/test_v1_egress_network_policy.py +++ b/openshift/test/test_v1_egress_network_policy.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openshift/test/test_v1_egress_network_policy_list.py b/openshift/test/test_v1_egress_network_policy_list.py index 7d207481..bb13665f 100644 --- a/openshift/test/test_v1_egress_network_policy_list.py +++ b/openshift/test/test_v1_egress_network_policy_list.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openshift/test/test_v1_egress_network_policy_peer.py b/openshift/test/test_v1_egress_network_policy_peer.py index 26604d8a..03723c54 100644 --- a/openshift/test/test_v1_egress_network_policy_peer.py +++ b/openshift/test/test_v1_egress_network_policy_peer.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openshift/test/test_v1_egress_network_policy_rule.py b/openshift/test/test_v1_egress_network_policy_rule.py index db0388ec..5ea71f2f 100644 --- a/openshift/test/test_v1_egress_network_policy_rule.py +++ b/openshift/test/test_v1_egress_network_policy_rule.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openshift/test/test_v1_egress_network_policy_spec.py b/openshift/test/test_v1_egress_network_policy_spec.py index 00e11265..ebc72f45 100644 --- a/openshift/test/test_v1_egress_network_policy_spec.py +++ b/openshift/test/test_v1_egress_network_policy_spec.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openshift/test/test_v1_empty_dir_volume_source.py b/openshift/test/test_v1_empty_dir_volume_source.py deleted file mode 100644 index 0562561e..00000000 --- a/openshift/test/test_v1_empty_dir_volume_source.py +++ /dev/null @@ -1,42 +0,0 @@ -# coding: utf-8 - -""" - OpenShift API (with Kubernetes) - - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - - OpenAPI spec version: v3.6.0-alpha.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import os -import sys -import unittest - -import openshift.client -from kubernetes.client.rest import ApiException -from openshift.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 = openshift.client.models.v1_empty_dir_volume_source.V1EmptyDirVolumeSource() - - -if __name__ == '__main__': - unittest.main() diff --git a/openshift/test/test_v1_endpoint_address.py b/openshift/test/test_v1_endpoint_address.py deleted file mode 100644 index f3943708..00000000 --- a/openshift/test/test_v1_endpoint_address.py +++ /dev/null @@ -1,42 +0,0 @@ -# coding: utf-8 - -""" - OpenShift API (with Kubernetes) - - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - - OpenAPI spec version: v3.6.0-alpha.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import os -import sys -import unittest - -import openshift.client -from kubernetes.client.rest import ApiException -from openshift.client.models.v1_endpoint_address import V1EndpointAddress - - -class TestV1EndpointAddress(unittest.TestCase): - """ V1EndpointAddress unit test stubs """ - - def setUp(self): - pass - - def tearDown(self): - pass - - def testV1EndpointAddress(self): - """ - Test V1EndpointAddress - """ - model = openshift.client.models.v1_endpoint_address.V1EndpointAddress() - - -if __name__ == '__main__': - unittest.main() diff --git a/openshift/test/test_v1_endpoint_port.py b/openshift/test/test_v1_endpoint_port.py deleted file mode 100644 index 22cfa29c..00000000 --- a/openshift/test/test_v1_endpoint_port.py +++ /dev/null @@ -1,42 +0,0 @@ -# coding: utf-8 - -""" - OpenShift API (with Kubernetes) - - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - - OpenAPI spec version: v3.6.0-alpha.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import os -import sys -import unittest - -import openshift.client -from kubernetes.client.rest import ApiException -from openshift.client.models.v1_endpoint_port import V1EndpointPort - - -class TestV1EndpointPort(unittest.TestCase): - """ V1EndpointPort unit test stubs """ - - def setUp(self): - pass - - def tearDown(self): - pass - - def testV1EndpointPort(self): - """ - Test V1EndpointPort - """ - model = openshift.client.models.v1_endpoint_port.V1EndpointPort() - - -if __name__ == '__main__': - unittest.main() diff --git a/openshift/test/test_v1_endpoint_subset.py b/openshift/test/test_v1_endpoint_subset.py deleted file mode 100644 index 56ac89a0..00000000 --- a/openshift/test/test_v1_endpoint_subset.py +++ /dev/null @@ -1,42 +0,0 @@ -# coding: utf-8 - -""" - OpenShift API (with Kubernetes) - - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - - OpenAPI spec version: v3.6.0-alpha.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import os -import sys -import unittest - -import openshift.client -from kubernetes.client.rest import ApiException -from openshift.client.models.v1_endpoint_subset import V1EndpointSubset - - -class TestV1EndpointSubset(unittest.TestCase): - """ V1EndpointSubset unit test stubs """ - - def setUp(self): - pass - - def tearDown(self): - pass - - def testV1EndpointSubset(self): - """ - Test V1EndpointSubset - """ - model = openshift.client.models.v1_endpoint_subset.V1EndpointSubset() - - -if __name__ == '__main__': - unittest.main() diff --git a/openshift/test/test_v1_endpoints.py b/openshift/test/test_v1_endpoints.py deleted file mode 100644 index 6576c74a..00000000 --- a/openshift/test/test_v1_endpoints.py +++ /dev/null @@ -1,42 +0,0 @@ -# coding: utf-8 - -""" - OpenShift API (with Kubernetes) - - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - - OpenAPI spec version: v3.6.0-alpha.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import os -import sys -import unittest - -import openshift.client -from kubernetes.client.rest import ApiException -from openshift.client.models.v1_endpoints import V1Endpoints - - -class TestV1Endpoints(unittest.TestCase): - """ V1Endpoints unit test stubs """ - - def setUp(self): - pass - - def tearDown(self): - pass - - def testV1Endpoints(self): - """ - Test V1Endpoints - """ - model = openshift.client.models.v1_endpoints.V1Endpoints() - - -if __name__ == '__main__': - unittest.main() diff --git a/openshift/test/test_v1_endpoints_list.py b/openshift/test/test_v1_endpoints_list.py deleted file mode 100644 index 662d3a42..00000000 --- a/openshift/test/test_v1_endpoints_list.py +++ /dev/null @@ -1,42 +0,0 @@ -# coding: utf-8 - -""" - OpenShift API (with Kubernetes) - - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - - OpenAPI spec version: v3.6.0-alpha.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import os -import sys -import unittest - -import openshift.client -from kubernetes.client.rest import ApiException -from openshift.client.models.v1_endpoints_list import V1EndpointsList - - -class TestV1EndpointsList(unittest.TestCase): - """ V1EndpointsList unit test stubs """ - - def setUp(self): - pass - - def tearDown(self): - pass - - def testV1EndpointsList(self): - """ - Test V1EndpointsList - """ - model = openshift.client.models.v1_endpoints_list.V1EndpointsList() - - -if __name__ == '__main__': - unittest.main() diff --git a/openshift/test/test_v1_env_var_source.py b/openshift/test/test_v1_env_var_source.py deleted file mode 100644 index 6041e4d0..00000000 --- a/openshift/test/test_v1_env_var_source.py +++ /dev/null @@ -1,42 +0,0 @@ -# coding: utf-8 - -""" - OpenShift API (with Kubernetes) - - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - - OpenAPI spec version: v3.6.0-alpha.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import os -import sys -import unittest - -import openshift.client -from kubernetes.client.rest import ApiException -from openshift.client.models.v1_env_var_source import V1EnvVarSource - - -class TestV1EnvVarSource(unittest.TestCase): - """ V1EnvVarSource unit test stubs """ - - def setUp(self): - pass - - def tearDown(self): - pass - - def testV1EnvVarSource(self): - """ - Test V1EnvVarSource - """ - model = openshift.client.models.v1_env_var_source.V1EnvVarSource() - - -if __name__ == '__main__': - unittest.main() diff --git a/openshift/test/test_v1_event_list.py b/openshift/test/test_v1_event_list.py deleted file mode 100644 index c1d60e08..00000000 --- a/openshift/test/test_v1_event_list.py +++ /dev/null @@ -1,42 +0,0 @@ -# coding: utf-8 - -""" - OpenShift API (with Kubernetes) - - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - - OpenAPI spec version: v3.6.0-alpha.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import os -import sys -import unittest - -import openshift.client -from kubernetes.client.rest import ApiException -from openshift.client.models.v1_event_list import V1EventList - - -class TestV1EventList(unittest.TestCase): - """ V1EventList unit test stubs """ - - def setUp(self): - pass - - def tearDown(self): - pass - - def testV1EventList(self): - """ - Test V1EventList - """ - model = openshift.client.models.v1_event_list.V1EventList() - - -if __name__ == '__main__': - unittest.main() diff --git a/openshift/test/test_v1_event_source.py b/openshift/test/test_v1_event_source.py deleted file mode 100644 index 14fb133c..00000000 --- a/openshift/test/test_v1_event_source.py +++ /dev/null @@ -1,42 +0,0 @@ -# coding: utf-8 - -""" - OpenShift API (with Kubernetes) - - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - - OpenAPI spec version: v3.6.0-alpha.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import os -import sys -import unittest - -import openshift.client -from kubernetes.client.rest import ApiException -from openshift.client.models.v1_event_source import V1EventSource - - -class TestV1EventSource(unittest.TestCase): - """ V1EventSource unit test stubs """ - - def setUp(self): - pass - - def tearDown(self): - pass - - def testV1EventSource(self): - """ - Test V1EventSource - """ - model = openshift.client.models.v1_event_source.V1EventSource() - - -if __name__ == '__main__': - unittest.main() diff --git a/openshift/test/test_v1_exec_action.py b/openshift/test/test_v1_exec_action.py deleted file mode 100644 index 86407b65..00000000 --- a/openshift/test/test_v1_exec_action.py +++ /dev/null @@ -1,42 +0,0 @@ -# coding: utf-8 - -""" - OpenShift API (with Kubernetes) - - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - - OpenAPI spec version: v3.6.0-alpha.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import os -import sys -import unittest - -import openshift.client -from kubernetes.client.rest import ApiException -from openshift.client.models.v1_exec_action import V1ExecAction - - -class TestV1ExecAction(unittest.TestCase): - """ V1ExecAction unit test stubs """ - - def setUp(self): - pass - - def tearDown(self): - pass - - def testV1ExecAction(self): - """ - Test V1ExecAction - """ - model = openshift.client.models.v1_exec_action.V1ExecAction() - - -if __name__ == '__main__': - unittest.main() diff --git a/openshift/test/test_v1_exec_new_pod_hook.py b/openshift/test/test_v1_exec_new_pod_hook.py index efed9779..51ff6fd0 100644 --- a/openshift/test/test_v1_exec_new_pod_hook.py +++ b/openshift/test/test_v1_exec_new_pod_hook.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openshift/test/test_v1_fc_volume_source.py b/openshift/test/test_v1_fc_volume_source.py deleted file mode 100644 index be2b322a..00000000 --- a/openshift/test/test_v1_fc_volume_source.py +++ /dev/null @@ -1,42 +0,0 @@ -# coding: utf-8 - -""" - OpenShift API (with Kubernetes) - - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - - OpenAPI spec version: v3.6.0-alpha.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import os -import sys -import unittest - -import openshift.client -from kubernetes.client.rest import ApiException -from openshift.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 = openshift.client.models.v1_fc_volume_source.V1FCVolumeSource() - - -if __name__ == '__main__': - unittest.main() diff --git a/openshift/test/test_v1_flex_volume_source.py b/openshift/test/test_v1_flex_volume_source.py deleted file mode 100644 index 70e20b29..00000000 --- a/openshift/test/test_v1_flex_volume_source.py +++ /dev/null @@ -1,42 +0,0 @@ -# coding: utf-8 - -""" - OpenShift API (with Kubernetes) - - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - - OpenAPI spec version: v3.6.0-alpha.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import os -import sys -import unittest - -import openshift.client -from kubernetes.client.rest import ApiException -from openshift.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 = openshift.client.models.v1_flex_volume_source.V1FlexVolumeSource() - - -if __name__ == '__main__': - unittest.main() diff --git a/openshift/test/test_v1_flocker_volume_source.py b/openshift/test/test_v1_flocker_volume_source.py deleted file mode 100644 index f9adddce..00000000 --- a/openshift/test/test_v1_flocker_volume_source.py +++ /dev/null @@ -1,42 +0,0 @@ -# coding: utf-8 - -""" - OpenShift API (with Kubernetes) - - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - - OpenAPI spec version: v3.6.0-alpha.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import os -import sys -import unittest - -import openshift.client -from kubernetes.client.rest import ApiException -from openshift.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 = openshift.client.models.v1_flocker_volume_source.V1FlockerVolumeSource() - - -if __name__ == '__main__': - unittest.main() diff --git a/openshift/test/test_v1_fs_group_strategy_options.py b/openshift/test/test_v1_fs_group_strategy_options.py index eb1514bf..884c0bdb 100644 --- a/openshift/test/test_v1_fs_group_strategy_options.py +++ b/openshift/test/test_v1_fs_group_strategy_options.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openshift/test/test_v1_gce_persistent_disk_volume_source.py b/openshift/test/test_v1_gce_persistent_disk_volume_source.py deleted file mode 100644 index 1d91b990..00000000 --- a/openshift/test/test_v1_gce_persistent_disk_volume_source.py +++ /dev/null @@ -1,42 +0,0 @@ -# coding: utf-8 - -""" - OpenShift API (with Kubernetes) - - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - - OpenAPI spec version: v3.6.0-alpha.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import os -import sys -import unittest - -import openshift.client -from kubernetes.client.rest import ApiException -from openshift.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 = openshift.client.models.v1_gce_persistent_disk_volume_source.V1GCEPersistentDiskVolumeSource() - - -if __name__ == '__main__': - unittest.main() diff --git a/openshift/test/test_v1_generic_web_hook_cause.py b/openshift/test/test_v1_generic_web_hook_cause.py index 56a558a7..1b44c4c7 100644 --- a/openshift/test/test_v1_generic_web_hook_cause.py +++ b/openshift/test/test_v1_generic_web_hook_cause.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openshift/test/test_v1_git_build_source.py b/openshift/test/test_v1_git_build_source.py index 385012b9..f3a59905 100644 --- a/openshift/test/test_v1_git_build_source.py +++ b/openshift/test/test_v1_git_build_source.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openshift/test/test_v1_git_hub_web_hook_cause.py b/openshift/test/test_v1_git_hub_web_hook_cause.py index c12dea02..e74578dc 100644 --- a/openshift/test/test_v1_git_hub_web_hook_cause.py +++ b/openshift/test/test_v1_git_hub_web_hook_cause.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openshift/test/test_autoscaling_api.py b/openshift/test/test_v1_git_lab_web_hook_cause.py similarity index 74% rename from openshift/test/test_autoscaling_api.py rename to openshift/test/test_v1_git_lab_web_hook_cause.py index 3778b14e..c7357dc4 100644 --- a/openshift/test/test_autoscaling_api.py +++ b/openshift/test/test_v1_git_lab_web_hook_cause.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -19,25 +19,23 @@ import openshift.client from kubernetes.client.rest import ApiException -from openshift.client.apis.autoscaling_api import AutoscalingApi +from openshift.client.models.v1_git_lab_web_hook_cause import V1GitLabWebHookCause -class TestAutoscalingApi(unittest.TestCase): - """ AutoscalingApi unit test stubs """ +class TestV1GitLabWebHookCause(unittest.TestCase): + """ V1GitLabWebHookCause unit test stubs """ def setUp(self): - self.api = openshift.client.apis.autoscaling_api.AutoscalingApi() + pass def tearDown(self): pass - def test_get_autoscaling_api_group(self): + def testV1GitLabWebHookCause(self): """ - Test case for get_autoscaling_api_group - - + Test V1GitLabWebHookCause """ - pass + model = openshift.client.models.v1_git_lab_web_hook_cause.V1GitLabWebHookCause() if __name__ == '__main__': diff --git a/openshift/test/test_v1_git_repo_volume_source.py b/openshift/test/test_v1_git_repo_volume_source.py deleted file mode 100644 index aeae007d..00000000 --- a/openshift/test/test_v1_git_repo_volume_source.py +++ /dev/null @@ -1,42 +0,0 @@ -# coding: utf-8 - -""" - OpenShift API (with Kubernetes) - - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - - OpenAPI spec version: v3.6.0-alpha.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import os -import sys -import unittest - -import openshift.client -from kubernetes.client.rest import ApiException -from openshift.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 = openshift.client.models.v1_git_repo_volume_source.V1GitRepoVolumeSource() - - -if __name__ == '__main__': - unittest.main() diff --git a/openshift/test/test_v1_git_source_revision.py b/openshift/test/test_v1_git_source_revision.py index 69b12452..e4cf1456 100644 --- a/openshift/test/test_v1_git_source_revision.py +++ b/openshift/test/test_v1_git_source_revision.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openshift/test/test_v1_glusterfs_volume_source.py b/openshift/test/test_v1_glusterfs_volume_source.py deleted file mode 100644 index d68655c0..00000000 --- a/openshift/test/test_v1_glusterfs_volume_source.py +++ /dev/null @@ -1,42 +0,0 @@ -# coding: utf-8 - -""" - OpenShift API (with Kubernetes) - - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - - OpenAPI spec version: v3.6.0-alpha.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import os -import sys -import unittest - -import openshift.client -from kubernetes.client.rest import ApiException -from openshift.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 = openshift.client.models.v1_glusterfs_volume_source.V1GlusterfsVolumeSource() - - -if __name__ == '__main__': - unittest.main() diff --git a/openshift/test/test_v1_group.py b/openshift/test/test_v1_group.py index 18844134..ca56b9e2 100644 --- a/openshift/test/test_v1_group.py +++ b/openshift/test/test_v1_group.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openshift/test/test_v1_group_list.py b/openshift/test/test_v1_group_list.py index 7e40bfb1..12d37d2f 100644 --- a/openshift/test/test_v1_group_list.py +++ b/openshift/test/test_v1_group_list.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openshift/test/test_v1_group_restriction.py b/openshift/test/test_v1_group_restriction.py index 3dfe4b58..a827abc9 100644 --- a/openshift/test/test_v1_group_restriction.py +++ b/openshift/test/test_v1_group_restriction.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openshift/test/test_v1_handler.py b/openshift/test/test_v1_handler.py deleted file mode 100644 index dd178f7d..00000000 --- a/openshift/test/test_v1_handler.py +++ /dev/null @@ -1,42 +0,0 @@ -# coding: utf-8 - -""" - OpenShift API (with Kubernetes) - - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - - OpenAPI spec version: v3.6.0-alpha.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import os -import sys -import unittest - -import openshift.client -from kubernetes.client.rest import ApiException -from openshift.client.models.v1_handler import V1Handler - - -class TestV1Handler(unittest.TestCase): - """ V1Handler unit test stubs """ - - def setUp(self): - pass - - def tearDown(self): - pass - - def testV1Handler(self): - """ - Test V1Handler - """ - model = openshift.client.models.v1_handler.V1Handler() - - -if __name__ == '__main__': - unittest.main() diff --git a/openshift/test/test_v1_horizontal_pod_autoscaler.py b/openshift/test/test_v1_horizontal_pod_autoscaler.py deleted file mode 100644 index 7c8e1f5e..00000000 --- a/openshift/test/test_v1_horizontal_pod_autoscaler.py +++ /dev/null @@ -1,42 +0,0 @@ -# coding: utf-8 - -""" - OpenShift API (with Kubernetes) - - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - - OpenAPI spec version: v3.6.0-alpha.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import os -import sys -import unittest - -import openshift.client -from kubernetes.client.rest import ApiException -from openshift.client.models.v1_horizontal_pod_autoscaler import V1HorizontalPodAutoscaler - - -class TestV1HorizontalPodAutoscaler(unittest.TestCase): - """ V1HorizontalPodAutoscaler unit test stubs """ - - def setUp(self): - pass - - def tearDown(self): - pass - - def testV1HorizontalPodAutoscaler(self): - """ - Test V1HorizontalPodAutoscaler - """ - model = openshift.client.models.v1_horizontal_pod_autoscaler.V1HorizontalPodAutoscaler() - - -if __name__ == '__main__': - unittest.main() diff --git a/openshift/test/test_v1_horizontal_pod_autoscaler_list.py b/openshift/test/test_v1_horizontal_pod_autoscaler_list.py deleted file mode 100644 index 2f1a7632..00000000 --- a/openshift/test/test_v1_horizontal_pod_autoscaler_list.py +++ /dev/null @@ -1,42 +0,0 @@ -# coding: utf-8 - -""" - OpenShift API (with Kubernetes) - - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - - OpenAPI spec version: v3.6.0-alpha.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import os -import sys -import unittest - -import openshift.client -from kubernetes.client.rest import ApiException -from openshift.client.models.v1_horizontal_pod_autoscaler_list import V1HorizontalPodAutoscalerList - - -class TestV1HorizontalPodAutoscalerList(unittest.TestCase): - """ V1HorizontalPodAutoscalerList unit test stubs """ - - def setUp(self): - pass - - def tearDown(self): - pass - - def testV1HorizontalPodAutoscalerList(self): - """ - Test V1HorizontalPodAutoscalerList - """ - model = openshift.client.models.v1_horizontal_pod_autoscaler_list.V1HorizontalPodAutoscalerList() - - -if __name__ == '__main__': - unittest.main() diff --git a/openshift/test/test_v1_horizontal_pod_autoscaler_spec.py b/openshift/test/test_v1_horizontal_pod_autoscaler_spec.py deleted file mode 100644 index e7eb381a..00000000 --- a/openshift/test/test_v1_horizontal_pod_autoscaler_spec.py +++ /dev/null @@ -1,42 +0,0 @@ -# coding: utf-8 - -""" - OpenShift API (with Kubernetes) - - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - - OpenAPI spec version: v3.6.0-alpha.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import os -import sys -import unittest - -import openshift.client -from kubernetes.client.rest import ApiException -from openshift.client.models.v1_horizontal_pod_autoscaler_spec import V1HorizontalPodAutoscalerSpec - - -class TestV1HorizontalPodAutoscalerSpec(unittest.TestCase): - """ V1HorizontalPodAutoscalerSpec unit test stubs """ - - def setUp(self): - pass - - def tearDown(self): - pass - - def testV1HorizontalPodAutoscalerSpec(self): - """ - Test V1HorizontalPodAutoscalerSpec - """ - model = openshift.client.models.v1_horizontal_pod_autoscaler_spec.V1HorizontalPodAutoscalerSpec() - - -if __name__ == '__main__': - unittest.main() diff --git a/openshift/test/test_v1_horizontal_pod_autoscaler_status.py b/openshift/test/test_v1_horizontal_pod_autoscaler_status.py deleted file mode 100644 index 4baff755..00000000 --- a/openshift/test/test_v1_horizontal_pod_autoscaler_status.py +++ /dev/null @@ -1,42 +0,0 @@ -# coding: utf-8 - -""" - OpenShift API (with Kubernetes) - - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - - OpenAPI spec version: v3.6.0-alpha.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import os -import sys -import unittest - -import openshift.client -from kubernetes.client.rest import ApiException -from openshift.client.models.v1_horizontal_pod_autoscaler_status import V1HorizontalPodAutoscalerStatus - - -class TestV1HorizontalPodAutoscalerStatus(unittest.TestCase): - """ V1HorizontalPodAutoscalerStatus unit test stubs """ - - def setUp(self): - pass - - def tearDown(self): - pass - - def testV1HorizontalPodAutoscalerStatus(self): - """ - Test V1HorizontalPodAutoscalerStatus - """ - model = openshift.client.models.v1_horizontal_pod_autoscaler_status.V1HorizontalPodAutoscalerStatus() - - -if __name__ == '__main__': - unittest.main() diff --git a/openshift/test/test_v1_host_subnet.py b/openshift/test/test_v1_host_subnet.py index fcbc5a40..a00ee3b5 100644 --- a/openshift/test/test_v1_host_subnet.py +++ b/openshift/test/test_v1_host_subnet.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openshift/test/test_v1_host_subnet_list.py b/openshift/test/test_v1_host_subnet_list.py index 5517b280..e921860e 100644 --- a/openshift/test/test_v1_host_subnet_list.py +++ b/openshift/test/test_v1_host_subnet_list.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openshift/test/test_v1_http_get_action.py b/openshift/test/test_v1_http_get_action.py deleted file mode 100644 index da2f2d59..00000000 --- a/openshift/test/test_v1_http_get_action.py +++ /dev/null @@ -1,42 +0,0 @@ -# coding: utf-8 - -""" - OpenShift API (with Kubernetes) - - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - - OpenAPI spec version: v3.6.0-alpha.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import os -import sys -import unittest - -import openshift.client -from kubernetes.client.rest import ApiException -from openshift.client.models.v1_http_get_action import V1HTTPGetAction - - -class TestV1HTTPGetAction(unittest.TestCase): - """ V1HTTPGetAction unit test stubs """ - - def setUp(self): - pass - - def tearDown(self): - pass - - def testV1HTTPGetAction(self): - """ - Test V1HTTPGetAction - """ - model = openshift.client.models.v1_http_get_action.V1HTTPGetAction() - - -if __name__ == '__main__': - unittest.main() diff --git a/openshift/test/test_v1_http_header.py b/openshift/test/test_v1_http_header.py deleted file mode 100644 index f1c0dab9..00000000 --- a/openshift/test/test_v1_http_header.py +++ /dev/null @@ -1,42 +0,0 @@ -# coding: utf-8 - -""" - OpenShift API (with Kubernetes) - - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - - OpenAPI spec version: v3.6.0-alpha.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import os -import sys -import unittest - -import openshift.client -from kubernetes.client.rest import ApiException -from openshift.client.models.v1_http_header import V1HTTPHeader - - -class TestV1HTTPHeader(unittest.TestCase): - """ V1HTTPHeader unit test stubs """ - - def setUp(self): - pass - - def tearDown(self): - pass - - def testV1HTTPHeader(self): - """ - Test V1HTTPHeader - """ - model = openshift.client.models.v1_http_header.V1HTTPHeader() - - -if __name__ == '__main__': - unittest.main() diff --git a/openshift/test/test_v1_id_range.py b/openshift/test/test_v1_id_range.py index 6a8d0e3f..b48c82b8 100644 --- a/openshift/test/test_v1_id_range.py +++ b/openshift/test/test_v1_id_range.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openshift/test/test_v1_identity.py b/openshift/test/test_v1_identity.py index 6e6e23f3..1c28eb13 100644 --- a/openshift/test/test_v1_identity.py +++ b/openshift/test/test_v1_identity.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openshift/test/test_v1_identity_list.py b/openshift/test/test_v1_identity_list.py index d1846806..076f341a 100644 --- a/openshift/test/test_v1_identity_list.py +++ b/openshift/test/test_v1_identity_list.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openshift/test/test_v1_image.py b/openshift/test/test_v1_image.py index 0fb763bf..ae7020ab 100644 --- a/openshift/test/test_v1_image.py +++ b/openshift/test/test_v1_image.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openshift/test/test_v1_image_change_cause.py b/openshift/test/test_v1_image_change_cause.py index c1b19675..84f34ce6 100644 --- a/openshift/test/test_v1_image_change_cause.py +++ b/openshift/test/test_v1_image_change_cause.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openshift/test/test_v1_image_change_trigger.py b/openshift/test/test_v1_image_change_trigger.py index 962c66c5..8031a5e0 100644 --- a/openshift/test/test_v1_image_change_trigger.py +++ b/openshift/test/test_v1_image_change_trigger.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openshift/test/test_v1_image_import_spec.py b/openshift/test/test_v1_image_import_spec.py index 0738d0d6..5275f846 100644 --- a/openshift/test/test_v1_image_import_spec.py +++ b/openshift/test/test_v1_image_import_spec.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openshift/test/test_v1_image_import_status.py b/openshift/test/test_v1_image_import_status.py index 60ef86b2..bffe14f0 100644 --- a/openshift/test/test_v1_image_import_status.py +++ b/openshift/test/test_v1_image_import_status.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openshift/test/test_v1_image_label.py b/openshift/test/test_v1_image_label.py index b3c57899..c30b1f37 100644 --- a/openshift/test/test_v1_image_label.py +++ b/openshift/test/test_v1_image_label.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openshift/test/test_v1_image_layer.py b/openshift/test/test_v1_image_layer.py index d42e995b..f0ef4db6 100644 --- a/openshift/test/test_v1_image_layer.py +++ b/openshift/test/test_v1_image_layer.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openshift/test/test_v1_image_list.py b/openshift/test/test_v1_image_list.py index 14ad2363..d7d1820f 100644 --- a/openshift/test/test_v1_image_list.py +++ b/openshift/test/test_v1_image_list.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openshift/test/test_core_api.py b/openshift/test/test_v1_image_lookup_policy.py similarity index 74% rename from openshift/test/test_core_api.py rename to openshift/test/test_v1_image_lookup_policy.py index a7fc56f4..36374ed5 100644 --- a/openshift/test/test_core_api.py +++ b/openshift/test/test_v1_image_lookup_policy.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -19,25 +19,23 @@ import openshift.client from kubernetes.client.rest import ApiException -from openshift.client.apis.core_api import CoreApi +from openshift.client.models.v1_image_lookup_policy import V1ImageLookupPolicy -class TestCoreApi(unittest.TestCase): - """ CoreApi unit test stubs """ +class TestV1ImageLookupPolicy(unittest.TestCase): + """ V1ImageLookupPolicy unit test stubs """ def setUp(self): - self.api = openshift.client.apis.core_api.CoreApi() + pass def tearDown(self): pass - def test_get_core_api_versions(self): + def testV1ImageLookupPolicy(self): """ - Test case for get_core_api_versions - - + Test V1ImageLookupPolicy """ - pass + model = openshift.client.models.v1_image_lookup_policy.V1ImageLookupPolicy() if __name__ == '__main__': diff --git a/openshift/test/test_v1_image_signature.py b/openshift/test/test_v1_image_signature.py index 0cedb916..99509b69 100644 --- a/openshift/test/test_v1_image_signature.py +++ b/openshift/test/test_v1_image_signature.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openshift/test/test_v1_image_source.py b/openshift/test/test_v1_image_source.py index 763a71c2..28fcf8b3 100644 --- a/openshift/test/test_v1_image_source.py +++ b/openshift/test/test_v1_image_source.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openshift/test/test_v1_image_source_path.py b/openshift/test/test_v1_image_source_path.py index 73b7cce6..6fcdcc6c 100644 --- a/openshift/test/test_v1_image_source_path.py +++ b/openshift/test/test_v1_image_source_path.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openshift/test/test_v1_image_stream.py b/openshift/test/test_v1_image_stream.py index 9691cd46..241307b7 100644 --- a/openshift/test/test_v1_image_stream.py +++ b/openshift/test/test_v1_image_stream.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openshift/test/test_v1_image_stream_image.py b/openshift/test/test_v1_image_stream_image.py index 695f8be8..fefb87bd 100644 --- a/openshift/test/test_v1_image_stream_image.py +++ b/openshift/test/test_v1_image_stream_image.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openshift/test/test_v1_image_stream_import.py b/openshift/test/test_v1_image_stream_import.py index ab88f8e2..ee4ca042 100644 --- a/openshift/test/test_v1_image_stream_import.py +++ b/openshift/test/test_v1_image_stream_import.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openshift/test/test_v1_image_stream_import_spec.py b/openshift/test/test_v1_image_stream_import_spec.py index cc95a034..3d9a5b84 100644 --- a/openshift/test/test_v1_image_stream_import_spec.py +++ b/openshift/test/test_v1_image_stream_import_spec.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openshift/test/test_v1_image_stream_import_status.py b/openshift/test/test_v1_image_stream_import_status.py index e83ad40e..0bdb5f47 100644 --- a/openshift/test/test_v1_image_stream_import_status.py +++ b/openshift/test/test_v1_image_stream_import_status.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openshift/test/test_v1_image_stream_list.py b/openshift/test/test_v1_image_stream_list.py index ab87bd3f..3e453d55 100644 --- a/openshift/test/test_v1_image_stream_list.py +++ b/openshift/test/test_v1_image_stream_list.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openshift/test/test_v1_image_stream_mapping.py b/openshift/test/test_v1_image_stream_mapping.py index 6c1dd1f4..6f34e1ed 100644 --- a/openshift/test/test_v1_image_stream_mapping.py +++ b/openshift/test/test_v1_image_stream_mapping.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openshift/test/test_v1_image_stream_spec.py b/openshift/test/test_v1_image_stream_spec.py index d0090d8c..86b81368 100644 --- a/openshift/test/test_v1_image_stream_spec.py +++ b/openshift/test/test_v1_image_stream_spec.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openshift/test/test_v1_image_stream_status.py b/openshift/test/test_v1_image_stream_status.py index a57574e5..1f3c3633 100644 --- a/openshift/test/test_v1_image_stream_status.py +++ b/openshift/test/test_v1_image_stream_status.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openshift/test/test_v1_image_stream_tag.py b/openshift/test/test_v1_image_stream_tag.py index 9b1ed9f9..10eaeff6 100644 --- a/openshift/test/test_v1_image_stream_tag.py +++ b/openshift/test/test_v1_image_stream_tag.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openshift/test/test_v1_image_stream_tag_list.py b/openshift/test/test_v1_image_stream_tag_list.py index 8035ed35..f4d8648c 100644 --- a/openshift/test/test_v1_image_stream_tag_list.py +++ b/openshift/test/test_v1_image_stream_tag_list.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openshift/test/test_v1_iscsi_volume_source.py b/openshift/test/test_v1_iscsi_volume_source.py deleted file mode 100644 index d5b3de18..00000000 --- a/openshift/test/test_v1_iscsi_volume_source.py +++ /dev/null @@ -1,42 +0,0 @@ -# coding: utf-8 - -""" - OpenShift API (with Kubernetes) - - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - - OpenAPI spec version: v3.6.0-alpha.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import os -import sys -import unittest - -import openshift.client -from kubernetes.client.rest import ApiException -from openshift.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 = openshift.client.models.v1_iscsi_volume_source.V1ISCSIVolumeSource() - - -if __name__ == '__main__': - unittest.main() diff --git a/openshift/test/test_v1_jenkins_pipeline_build_strategy.py b/openshift/test/test_v1_jenkins_pipeline_build_strategy.py index b440cd66..f590f3a2 100644 --- a/openshift/test/test_v1_jenkins_pipeline_build_strategy.py +++ b/openshift/test/test_v1_jenkins_pipeline_build_strategy.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openshift/test/test_v1_job.py b/openshift/test/test_v1_job.py deleted file mode 100644 index 8be381aa..00000000 --- a/openshift/test/test_v1_job.py +++ /dev/null @@ -1,42 +0,0 @@ -# coding: utf-8 - -""" - OpenShift API (with Kubernetes) - - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - - OpenAPI spec version: v3.6.0-alpha.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import os -import sys -import unittest - -import openshift.client -from kubernetes.client.rest import ApiException -from openshift.client.models.v1_job import V1Job - - -class TestV1Job(unittest.TestCase): - """ V1Job unit test stubs """ - - def setUp(self): - pass - - def tearDown(self): - pass - - def testV1Job(self): - """ - Test V1Job - """ - model = openshift.client.models.v1_job.V1Job() - - -if __name__ == '__main__': - unittest.main() diff --git a/openshift/test/test_v1_job_condition.py b/openshift/test/test_v1_job_condition.py deleted file mode 100644 index 7d34b6d2..00000000 --- a/openshift/test/test_v1_job_condition.py +++ /dev/null @@ -1,42 +0,0 @@ -# coding: utf-8 - -""" - OpenShift API (with Kubernetes) - - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - - OpenAPI spec version: v3.6.0-alpha.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import os -import sys -import unittest - -import openshift.client -from kubernetes.client.rest import ApiException -from openshift.client.models.v1_job_condition import V1JobCondition - - -class TestV1JobCondition(unittest.TestCase): - """ V1JobCondition unit test stubs """ - - def setUp(self): - pass - - def tearDown(self): - pass - - def testV1JobCondition(self): - """ - Test V1JobCondition - """ - model = openshift.client.models.v1_job_condition.V1JobCondition() - - -if __name__ == '__main__': - unittest.main() diff --git a/openshift/test/test_v1_job_list.py b/openshift/test/test_v1_job_list.py deleted file mode 100644 index e4af01cc..00000000 --- a/openshift/test/test_v1_job_list.py +++ /dev/null @@ -1,42 +0,0 @@ -# coding: utf-8 - -""" - OpenShift API (with Kubernetes) - - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - - OpenAPI spec version: v3.6.0-alpha.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import os -import sys -import unittest - -import openshift.client -from kubernetes.client.rest import ApiException -from openshift.client.models.v1_job_list import V1JobList - - -class TestV1JobList(unittest.TestCase): - """ V1JobList unit test stubs """ - - def setUp(self): - pass - - def tearDown(self): - pass - - def testV1JobList(self): - """ - Test V1JobList - """ - model = openshift.client.models.v1_job_list.V1JobList() - - -if __name__ == '__main__': - unittest.main() diff --git a/openshift/test/test_v1_job_spec.py b/openshift/test/test_v1_job_spec.py deleted file mode 100644 index fc153311..00000000 --- a/openshift/test/test_v1_job_spec.py +++ /dev/null @@ -1,42 +0,0 @@ -# coding: utf-8 - -""" - OpenShift API (with Kubernetes) - - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - - OpenAPI spec version: v3.6.0-alpha.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import os -import sys -import unittest - -import openshift.client -from kubernetes.client.rest import ApiException -from openshift.client.models.v1_job_spec import V1JobSpec - - -class TestV1JobSpec(unittest.TestCase): - """ V1JobSpec unit test stubs """ - - def setUp(self): - pass - - def tearDown(self): - pass - - def testV1JobSpec(self): - """ - Test V1JobSpec - """ - model = openshift.client.models.v1_job_spec.V1JobSpec() - - -if __name__ == '__main__': - unittest.main() diff --git a/openshift/test/test_v1_job_status.py b/openshift/test/test_v1_job_status.py deleted file mode 100644 index 5b713692..00000000 --- a/openshift/test/test_v1_job_status.py +++ /dev/null @@ -1,42 +0,0 @@ -# coding: utf-8 - -""" - OpenShift API (with Kubernetes) - - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - - OpenAPI spec version: v3.6.0-alpha.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import os -import sys -import unittest - -import openshift.client -from kubernetes.client.rest import ApiException -from openshift.client.models.v1_job_status import V1JobStatus - - -class TestV1JobStatus(unittest.TestCase): - """ V1JobStatus unit test stubs """ - - def setUp(self): - pass - - def tearDown(self): - pass - - def testV1JobStatus(self): - """ - Test V1JobStatus - """ - model = openshift.client.models.v1_job_status.V1JobStatus() - - -if __name__ == '__main__': - unittest.main() diff --git a/openshift/test/test_v1_key_to_path.py b/openshift/test/test_v1_key_to_path.py deleted file mode 100644 index 6f51d119..00000000 --- a/openshift/test/test_v1_key_to_path.py +++ /dev/null @@ -1,42 +0,0 @@ -# coding: utf-8 - -""" - OpenShift API (with Kubernetes) - - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - - OpenAPI spec version: v3.6.0-alpha.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import os -import sys -import unittest - -import openshift.client -from kubernetes.client.rest import ApiException -from openshift.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 = openshift.client.models.v1_key_to_path.V1KeyToPath() - - -if __name__ == '__main__': - unittest.main() diff --git a/openshift/test/test_v1_lifecycle.py b/openshift/test/test_v1_lifecycle.py deleted file mode 100644 index f253eb8b..00000000 --- a/openshift/test/test_v1_lifecycle.py +++ /dev/null @@ -1,42 +0,0 @@ -# coding: utf-8 - -""" - OpenShift API (with Kubernetes) - - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - - OpenAPI spec version: v3.6.0-alpha.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import os -import sys -import unittest - -import openshift.client -from kubernetes.client.rest import ApiException -from openshift.client.models.v1_lifecycle import V1Lifecycle - - -class TestV1Lifecycle(unittest.TestCase): - """ V1Lifecycle unit test stubs """ - - def setUp(self): - pass - - def tearDown(self): - pass - - def testV1Lifecycle(self): - """ - Test V1Lifecycle - """ - model = openshift.client.models.v1_lifecycle.V1Lifecycle() - - -if __name__ == '__main__': - unittest.main() diff --git a/openshift/test/test_v1_lifecycle_hook.py b/openshift/test/test_v1_lifecycle_hook.py index 96835a45..1ace3179 100644 --- a/openshift/test/test_v1_lifecycle_hook.py +++ b/openshift/test/test_v1_lifecycle_hook.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openshift/test/test_v1_limit_range.py b/openshift/test/test_v1_limit_range.py deleted file mode 100644 index 46df13cc..00000000 --- a/openshift/test/test_v1_limit_range.py +++ /dev/null @@ -1,42 +0,0 @@ -# coding: utf-8 - -""" - OpenShift API (with Kubernetes) - - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - - OpenAPI spec version: v3.6.0-alpha.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import os -import sys -import unittest - -import openshift.client -from kubernetes.client.rest import ApiException -from openshift.client.models.v1_limit_range import V1LimitRange - - -class TestV1LimitRange(unittest.TestCase): - """ V1LimitRange unit test stubs """ - - def setUp(self): - pass - - def tearDown(self): - pass - - def testV1LimitRange(self): - """ - Test V1LimitRange - """ - model = openshift.client.models.v1_limit_range.V1LimitRange() - - -if __name__ == '__main__': - unittest.main() diff --git a/openshift/test/test_v1_limit_range_item.py b/openshift/test/test_v1_limit_range_item.py deleted file mode 100644 index 634af788..00000000 --- a/openshift/test/test_v1_limit_range_item.py +++ /dev/null @@ -1,42 +0,0 @@ -# coding: utf-8 - -""" - OpenShift API (with Kubernetes) - - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - - OpenAPI spec version: v3.6.0-alpha.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import os -import sys -import unittest - -import openshift.client -from kubernetes.client.rest import ApiException -from openshift.client.models.v1_limit_range_item import V1LimitRangeItem - - -class TestV1LimitRangeItem(unittest.TestCase): - """ V1LimitRangeItem unit test stubs """ - - def setUp(self): - pass - - def tearDown(self): - pass - - def testV1LimitRangeItem(self): - """ - Test V1LimitRangeItem - """ - model = openshift.client.models.v1_limit_range_item.V1LimitRangeItem() - - -if __name__ == '__main__': - unittest.main() diff --git a/openshift/test/test_v1_limit_range_list.py b/openshift/test/test_v1_limit_range_list.py deleted file mode 100644 index 49c39508..00000000 --- a/openshift/test/test_v1_limit_range_list.py +++ /dev/null @@ -1,42 +0,0 @@ -# coding: utf-8 - -""" - OpenShift API (with Kubernetes) - - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - - OpenAPI spec version: v3.6.0-alpha.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import os -import sys -import unittest - -import openshift.client -from kubernetes.client.rest import ApiException -from openshift.client.models.v1_limit_range_list import V1LimitRangeList - - -class TestV1LimitRangeList(unittest.TestCase): - """ V1LimitRangeList unit test stubs """ - - def setUp(self): - pass - - def tearDown(self): - pass - - def testV1LimitRangeList(self): - """ - Test V1LimitRangeList - """ - model = openshift.client.models.v1_limit_range_list.V1LimitRangeList() - - -if __name__ == '__main__': - unittest.main() diff --git a/openshift/test/test_v1_limit_range_spec.py b/openshift/test/test_v1_limit_range_spec.py deleted file mode 100644 index 644231fa..00000000 --- a/openshift/test/test_v1_limit_range_spec.py +++ /dev/null @@ -1,42 +0,0 @@ -# coding: utf-8 - -""" - OpenShift API (with Kubernetes) - - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - - OpenAPI spec version: v3.6.0-alpha.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import os -import sys -import unittest - -import openshift.client -from kubernetes.client.rest import ApiException -from openshift.client.models.v1_limit_range_spec import V1LimitRangeSpec - - -class TestV1LimitRangeSpec(unittest.TestCase): - """ V1LimitRangeSpec unit test stubs """ - - def setUp(self): - pass - - def tearDown(self): - pass - - def testV1LimitRangeSpec(self): - """ - Test V1LimitRangeSpec - """ - model = openshift.client.models.v1_limit_range_spec.V1LimitRangeSpec() - - -if __name__ == '__main__': - unittest.main() diff --git a/openshift/test/test_v1_load_balancer_ingress.py b/openshift/test/test_v1_load_balancer_ingress.py deleted file mode 100644 index f71aa447..00000000 --- a/openshift/test/test_v1_load_balancer_ingress.py +++ /dev/null @@ -1,42 +0,0 @@ -# coding: utf-8 - -""" - OpenShift API (with Kubernetes) - - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - - OpenAPI spec version: v3.6.0-alpha.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import os -import sys -import unittest - -import openshift.client -from kubernetes.client.rest import ApiException -from openshift.client.models.v1_load_balancer_ingress import V1LoadBalancerIngress - - -class TestV1LoadBalancerIngress(unittest.TestCase): - """ V1LoadBalancerIngress unit test stubs """ - - def setUp(self): - pass - - def tearDown(self): - pass - - def testV1LoadBalancerIngress(self): - """ - Test V1LoadBalancerIngress - """ - model = openshift.client.models.v1_load_balancer_ingress.V1LoadBalancerIngress() - - -if __name__ == '__main__': - unittest.main() diff --git a/openshift/test/test_v1_load_balancer_status.py b/openshift/test/test_v1_load_balancer_status.py deleted file mode 100644 index 5b97d543..00000000 --- a/openshift/test/test_v1_load_balancer_status.py +++ /dev/null @@ -1,42 +0,0 @@ -# coding: utf-8 - -""" - OpenShift API (with Kubernetes) - - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - - OpenAPI spec version: v3.6.0-alpha.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import os -import sys -import unittest - -import openshift.client -from kubernetes.client.rest import ApiException -from openshift.client.models.v1_load_balancer_status import V1LoadBalancerStatus - - -class TestV1LoadBalancerStatus(unittest.TestCase): - """ V1LoadBalancerStatus unit test stubs """ - - def setUp(self): - pass - - def tearDown(self): - pass - - def testV1LoadBalancerStatus(self): - """ - Test V1LoadBalancerStatus - """ - model = openshift.client.models.v1_load_balancer_status.V1LoadBalancerStatus() - - -if __name__ == '__main__': - unittest.main() diff --git a/openshift/test/test_v1_local_object_reference.py b/openshift/test/test_v1_local_object_reference.py deleted file mode 100644 index ccac9fce..00000000 --- a/openshift/test/test_v1_local_object_reference.py +++ /dev/null @@ -1,42 +0,0 @@ -# coding: utf-8 - -""" - OpenShift API (with Kubernetes) - - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - - OpenAPI spec version: v3.6.0-alpha.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import os -import sys -import unittest - -import openshift.client -from kubernetes.client.rest import ApiException -from openshift.client.models.v1_local_object_reference import V1LocalObjectReference - - -class TestV1LocalObjectReference(unittest.TestCase): - """ V1LocalObjectReference unit test stubs """ - - def setUp(self): - pass - - def tearDown(self): - pass - - def testV1LocalObjectReference(self): - """ - Test V1LocalObjectReference - """ - model = openshift.client.models.v1_local_object_reference.V1LocalObjectReference() - - -if __name__ == '__main__': - unittest.main() diff --git a/openshift/test/test_v1_local_resource_access_review.py b/openshift/test/test_v1_local_resource_access_review.py index df800257..d1b4a01c 100644 --- a/openshift/test/test_v1_local_resource_access_review.py +++ b/openshift/test/test_v1_local_resource_access_review.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openshift/test/test_v1_local_subject_access_review.py b/openshift/test/test_v1_local_subject_access_review.py deleted file mode 100644 index 4a01076d..00000000 --- a/openshift/test/test_v1_local_subject_access_review.py +++ /dev/null @@ -1,42 +0,0 @@ -# coding: utf-8 - -""" - OpenShift API (with Kubernetes) - - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - - OpenAPI spec version: v3.6.0-alpha.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import os -import sys -import unittest - -import openshift.client -from kubernetes.client.rest import ApiException -from openshift.client.models.v1_local_subject_access_review import V1LocalSubjectAccessReview - - -class TestV1LocalSubjectAccessReview(unittest.TestCase): - """ V1LocalSubjectAccessReview unit test stubs """ - - def setUp(self): - pass - - def tearDown(self): - pass - - def testV1LocalSubjectAccessReview(self): - """ - Test V1LocalSubjectAccessReview - """ - model = openshift.client.models.v1_local_subject_access_review.V1LocalSubjectAccessReview() - - -if __name__ == '__main__': - unittest.main() diff --git a/openshift/test/test_v1_named_cluster_role.py b/openshift/test/test_v1_named_cluster_role.py deleted file mode 100644 index eef91dc2..00000000 --- a/openshift/test/test_v1_named_cluster_role.py +++ /dev/null @@ -1,42 +0,0 @@ -# coding: utf-8 - -""" - OpenShift API (with Kubernetes) - - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - - OpenAPI spec version: v3.6.0-alpha.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import os -import sys -import unittest - -import openshift.client -from kubernetes.client.rest import ApiException -from openshift.client.models.v1_named_cluster_role import V1NamedClusterRole - - -class TestV1NamedClusterRole(unittest.TestCase): - """ V1NamedClusterRole unit test stubs """ - - def setUp(self): - pass - - def tearDown(self): - pass - - def testV1NamedClusterRole(self): - """ - Test V1NamedClusterRole - """ - model = openshift.client.models.v1_named_cluster_role.V1NamedClusterRole() - - -if __name__ == '__main__': - unittest.main() diff --git a/openshift/test/test_v1_named_cluster_role_binding.py b/openshift/test/test_v1_named_cluster_role_binding.py deleted file mode 100644 index dcb7629b..00000000 --- a/openshift/test/test_v1_named_cluster_role_binding.py +++ /dev/null @@ -1,42 +0,0 @@ -# coding: utf-8 - -""" - OpenShift API (with Kubernetes) - - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - - OpenAPI spec version: v3.6.0-alpha.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import os -import sys -import unittest - -import openshift.client -from kubernetes.client.rest import ApiException -from openshift.client.models.v1_named_cluster_role_binding import V1NamedClusterRoleBinding - - -class TestV1NamedClusterRoleBinding(unittest.TestCase): - """ V1NamedClusterRoleBinding unit test stubs """ - - def setUp(self): - pass - - def tearDown(self): - pass - - def testV1NamedClusterRoleBinding(self): - """ - Test V1NamedClusterRoleBinding - """ - model = openshift.client.models.v1_named_cluster_role_binding.V1NamedClusterRoleBinding() - - -if __name__ == '__main__': - unittest.main() diff --git a/openshift/test/test_v1_named_role.py b/openshift/test/test_v1_named_role.py deleted file mode 100644 index 898cb211..00000000 --- a/openshift/test/test_v1_named_role.py +++ /dev/null @@ -1,42 +0,0 @@ -# coding: utf-8 - -""" - OpenShift API (with Kubernetes) - - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - - OpenAPI spec version: v3.6.0-alpha.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import os -import sys -import unittest - -import openshift.client -from kubernetes.client.rest import ApiException -from openshift.client.models.v1_named_role import V1NamedRole - - -class TestV1NamedRole(unittest.TestCase): - """ V1NamedRole unit test stubs """ - - def setUp(self): - pass - - def tearDown(self): - pass - - def testV1NamedRole(self): - """ - Test V1NamedRole - """ - model = openshift.client.models.v1_named_role.V1NamedRole() - - -if __name__ == '__main__': - unittest.main() diff --git a/openshift/test/test_v1_named_role_binding.py b/openshift/test/test_v1_named_role_binding.py deleted file mode 100644 index 84d13af4..00000000 --- a/openshift/test/test_v1_named_role_binding.py +++ /dev/null @@ -1,42 +0,0 @@ -# coding: utf-8 - -""" - OpenShift API (with Kubernetes) - - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - - OpenAPI spec version: v3.6.0-alpha.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import os -import sys -import unittest - -import openshift.client -from kubernetes.client.rest import ApiException -from openshift.client.models.v1_named_role_binding import V1NamedRoleBinding - - -class TestV1NamedRoleBinding(unittest.TestCase): - """ V1NamedRoleBinding unit test stubs """ - - def setUp(self): - pass - - def tearDown(self): - pass - - def testV1NamedRoleBinding(self): - """ - Test V1NamedRoleBinding - """ - model = openshift.client.models.v1_named_role_binding.V1NamedRoleBinding() - - -if __name__ == '__main__': - unittest.main() diff --git a/openshift/test/test_v1_named_tag_event_list.py b/openshift/test/test_v1_named_tag_event_list.py index 8899862b..9051f24b 100644 --- a/openshift/test/test_v1_named_tag_event_list.py +++ b/openshift/test/test_v1_named_tag_event_list.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openshift/test/test_v1_namespace.py b/openshift/test/test_v1_namespace.py deleted file mode 100644 index ec6ff0f9..00000000 --- a/openshift/test/test_v1_namespace.py +++ /dev/null @@ -1,42 +0,0 @@ -# coding: utf-8 - -""" - OpenShift API (with Kubernetes) - - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - - OpenAPI spec version: v3.6.0-alpha.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import os -import sys -import unittest - -import openshift.client -from kubernetes.client.rest import ApiException -from openshift.client.models.v1_namespace import V1Namespace - - -class TestV1Namespace(unittest.TestCase): - """ V1Namespace unit test stubs """ - - def setUp(self): - pass - - def tearDown(self): - pass - - def testV1Namespace(self): - """ - Test V1Namespace - """ - model = openshift.client.models.v1_namespace.V1Namespace() - - -if __name__ == '__main__': - unittest.main() diff --git a/openshift/test/test_v1_namespace_list.py b/openshift/test/test_v1_namespace_list.py deleted file mode 100644 index 1b2d7393..00000000 --- a/openshift/test/test_v1_namespace_list.py +++ /dev/null @@ -1,42 +0,0 @@ -# coding: utf-8 - -""" - OpenShift API (with Kubernetes) - - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - - OpenAPI spec version: v3.6.0-alpha.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import os -import sys -import unittest - -import openshift.client -from kubernetes.client.rest import ApiException -from openshift.client.models.v1_namespace_list import V1NamespaceList - - -class TestV1NamespaceList(unittest.TestCase): - """ V1NamespaceList unit test stubs """ - - def setUp(self): - pass - - def tearDown(self): - pass - - def testV1NamespaceList(self): - """ - Test V1NamespaceList - """ - model = openshift.client.models.v1_namespace_list.V1NamespaceList() - - -if __name__ == '__main__': - unittest.main() diff --git a/openshift/test/test_v1_namespace_spec.py b/openshift/test/test_v1_namespace_spec.py deleted file mode 100644 index 492ac823..00000000 --- a/openshift/test/test_v1_namespace_spec.py +++ /dev/null @@ -1,42 +0,0 @@ -# coding: utf-8 - -""" - OpenShift API (with Kubernetes) - - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - - OpenAPI spec version: v3.6.0-alpha.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import os -import sys -import unittest - -import openshift.client -from kubernetes.client.rest import ApiException -from openshift.client.models.v1_namespace_spec import V1NamespaceSpec - - -class TestV1NamespaceSpec(unittest.TestCase): - """ V1NamespaceSpec unit test stubs """ - - def setUp(self): - pass - - def tearDown(self): - pass - - def testV1NamespaceSpec(self): - """ - Test V1NamespaceSpec - """ - model = openshift.client.models.v1_namespace_spec.V1NamespaceSpec() - - -if __name__ == '__main__': - unittest.main() diff --git a/openshift/test/test_v1_namespace_status.py b/openshift/test/test_v1_namespace_status.py deleted file mode 100644 index b6e93a0d..00000000 --- a/openshift/test/test_v1_namespace_status.py +++ /dev/null @@ -1,42 +0,0 @@ -# coding: utf-8 - -""" - OpenShift API (with Kubernetes) - - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - - OpenAPI spec version: v3.6.0-alpha.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import os -import sys -import unittest - -import openshift.client -from kubernetes.client.rest import ApiException -from openshift.client.models.v1_namespace_status import V1NamespaceStatus - - -class TestV1NamespaceStatus(unittest.TestCase): - """ V1NamespaceStatus unit test stubs """ - - def setUp(self): - pass - - def tearDown(self): - pass - - def testV1NamespaceStatus(self): - """ - Test V1NamespaceStatus - """ - model = openshift.client.models.v1_namespace_status.V1NamespaceStatus() - - -if __name__ == '__main__': - unittest.main() diff --git a/openshift/test/test_v1_net_namespace.py b/openshift/test/test_v1_net_namespace.py index 696e95e3..f11a974d 100644 --- a/openshift/test/test_v1_net_namespace.py +++ b/openshift/test/test_v1_net_namespace.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openshift/test/test_v1_net_namespace_list.py b/openshift/test/test_v1_net_namespace_list.py index 75c41686..91c68f55 100644 --- a/openshift/test/test_v1_net_namespace_list.py +++ b/openshift/test/test_v1_net_namespace_list.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openshift/test/test_v1_nfs_volume_source.py b/openshift/test/test_v1_nfs_volume_source.py deleted file mode 100644 index 0d590da3..00000000 --- a/openshift/test/test_v1_nfs_volume_source.py +++ /dev/null @@ -1,42 +0,0 @@ -# coding: utf-8 - -""" - OpenShift API (with Kubernetes) - - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - - OpenAPI spec version: v3.6.0-alpha.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import os -import sys -import unittest - -import openshift.client -from kubernetes.client.rest import ApiException -from openshift.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 = openshift.client.models.v1_nfs_volume_source.V1NFSVolumeSource() - - -if __name__ == '__main__': - unittest.main() diff --git a/openshift/test/test_v1_node.py b/openshift/test/test_v1_node.py deleted file mode 100644 index 3984d35c..00000000 --- a/openshift/test/test_v1_node.py +++ /dev/null @@ -1,42 +0,0 @@ -# coding: utf-8 - -""" - OpenShift API (with Kubernetes) - - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - - OpenAPI spec version: v3.6.0-alpha.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import os -import sys -import unittest - -import openshift.client -from kubernetes.client.rest import ApiException -from openshift.client.models.v1_node import V1Node - - -class TestV1Node(unittest.TestCase): - """ V1Node unit test stubs """ - - def setUp(self): - pass - - def tearDown(self): - pass - - def testV1Node(self): - """ - Test V1Node - """ - model = openshift.client.models.v1_node.V1Node() - - -if __name__ == '__main__': - unittest.main() diff --git a/openshift/test/test_v1_node_address.py b/openshift/test/test_v1_node_address.py deleted file mode 100644 index cc6936b6..00000000 --- a/openshift/test/test_v1_node_address.py +++ /dev/null @@ -1,42 +0,0 @@ -# coding: utf-8 - -""" - OpenShift API (with Kubernetes) - - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - - OpenAPI spec version: v3.6.0-alpha.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import os -import sys -import unittest - -import openshift.client -from kubernetes.client.rest import ApiException -from openshift.client.models.v1_node_address import V1NodeAddress - - -class TestV1NodeAddress(unittest.TestCase): - """ V1NodeAddress unit test stubs """ - - def setUp(self): - pass - - def tearDown(self): - pass - - def testV1NodeAddress(self): - """ - Test V1NodeAddress - """ - model = openshift.client.models.v1_node_address.V1NodeAddress() - - -if __name__ == '__main__': - unittest.main() diff --git a/openshift/test/test_v1_node_condition.py b/openshift/test/test_v1_node_condition.py deleted file mode 100644 index 2e335d8e..00000000 --- a/openshift/test/test_v1_node_condition.py +++ /dev/null @@ -1,42 +0,0 @@ -# coding: utf-8 - -""" - OpenShift API (with Kubernetes) - - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - - OpenAPI spec version: v3.6.0-alpha.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import os -import sys -import unittest - -import openshift.client -from kubernetes.client.rest import ApiException -from openshift.client.models.v1_node_condition import V1NodeCondition - - -class TestV1NodeCondition(unittest.TestCase): - """ V1NodeCondition unit test stubs """ - - def setUp(self): - pass - - def tearDown(self): - pass - - def testV1NodeCondition(self): - """ - Test V1NodeCondition - """ - model = openshift.client.models.v1_node_condition.V1NodeCondition() - - -if __name__ == '__main__': - unittest.main() diff --git a/openshift/test/test_v1_node_daemon_endpoints.py b/openshift/test/test_v1_node_daemon_endpoints.py deleted file mode 100644 index cc2b7342..00000000 --- a/openshift/test/test_v1_node_daemon_endpoints.py +++ /dev/null @@ -1,42 +0,0 @@ -# coding: utf-8 - -""" - OpenShift API (with Kubernetes) - - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - - OpenAPI spec version: v3.6.0-alpha.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import os -import sys -import unittest - -import openshift.client -from kubernetes.client.rest import ApiException -from openshift.client.models.v1_node_daemon_endpoints import V1NodeDaemonEndpoints - - -class TestV1NodeDaemonEndpoints(unittest.TestCase): - """ V1NodeDaemonEndpoints unit test stubs """ - - def setUp(self): - pass - - def tearDown(self): - pass - - def testV1NodeDaemonEndpoints(self): - """ - Test V1NodeDaemonEndpoints - """ - model = openshift.client.models.v1_node_daemon_endpoints.V1NodeDaemonEndpoints() - - -if __name__ == '__main__': - unittest.main() diff --git a/openshift/test/test_v1_node_list.py b/openshift/test/test_v1_node_list.py deleted file mode 100644 index 71450c07..00000000 --- a/openshift/test/test_v1_node_list.py +++ /dev/null @@ -1,42 +0,0 @@ -# coding: utf-8 - -""" - OpenShift API (with Kubernetes) - - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - - OpenAPI spec version: v3.6.0-alpha.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import os -import sys -import unittest - -import openshift.client -from kubernetes.client.rest import ApiException -from openshift.client.models.v1_node_list import V1NodeList - - -class TestV1NodeList(unittest.TestCase): - """ V1NodeList unit test stubs """ - - def setUp(self): - pass - - def tearDown(self): - pass - - def testV1NodeList(self): - """ - Test V1NodeList - """ - model = openshift.client.models.v1_node_list.V1NodeList() - - -if __name__ == '__main__': - unittest.main() diff --git a/openshift/test/test_v1_node_spec.py b/openshift/test/test_v1_node_spec.py deleted file mode 100644 index af4257d9..00000000 --- a/openshift/test/test_v1_node_spec.py +++ /dev/null @@ -1,42 +0,0 @@ -# coding: utf-8 - -""" - OpenShift API (with Kubernetes) - - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - - OpenAPI spec version: v3.6.0-alpha.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import os -import sys -import unittest - -import openshift.client -from kubernetes.client.rest import ApiException -from openshift.client.models.v1_node_spec import V1NodeSpec - - -class TestV1NodeSpec(unittest.TestCase): - """ V1NodeSpec unit test stubs """ - - def setUp(self): - pass - - def tearDown(self): - pass - - def testV1NodeSpec(self): - """ - Test V1NodeSpec - """ - model = openshift.client.models.v1_node_spec.V1NodeSpec() - - -if __name__ == '__main__': - unittest.main() diff --git a/openshift/test/test_v1_node_status.py b/openshift/test/test_v1_node_status.py deleted file mode 100644 index a8dfaaf5..00000000 --- a/openshift/test/test_v1_node_status.py +++ /dev/null @@ -1,42 +0,0 @@ -# coding: utf-8 - -""" - OpenShift API (with Kubernetes) - - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - - OpenAPI spec version: v3.6.0-alpha.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import os -import sys -import unittest - -import openshift.client -from kubernetes.client.rest import ApiException -from openshift.client.models.v1_node_status import V1NodeStatus - - -class TestV1NodeStatus(unittest.TestCase): - """ V1NodeStatus unit test stubs """ - - def setUp(self): - pass - - def tearDown(self): - pass - - def testV1NodeStatus(self): - """ - Test V1NodeStatus - """ - model = openshift.client.models.v1_node_status.V1NodeStatus() - - -if __name__ == '__main__': - unittest.main() diff --git a/openshift/test/test_v1_node_system_info.py b/openshift/test/test_v1_node_system_info.py deleted file mode 100644 index 7880e105..00000000 --- a/openshift/test/test_v1_node_system_info.py +++ /dev/null @@ -1,42 +0,0 @@ -# coding: utf-8 - -""" - OpenShift API (with Kubernetes) - - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - - OpenAPI spec version: v3.6.0-alpha.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import os -import sys -import unittest - -import openshift.client -from kubernetes.client.rest import ApiException -from openshift.client.models.v1_node_system_info import V1NodeSystemInfo - - -class TestV1NodeSystemInfo(unittest.TestCase): - """ V1NodeSystemInfo unit test stubs """ - - def setUp(self): - pass - - def tearDown(self): - pass - - def testV1NodeSystemInfo(self): - """ - Test V1NodeSystemInfo - """ - model = openshift.client.models.v1_node_system_info.V1NodeSystemInfo() - - -if __name__ == '__main__': - unittest.main() diff --git a/openshift/test/test_v1_o_auth_access_token.py b/openshift/test/test_v1_o_auth_access_token.py index df36d99f..ade96d3a 100644 --- a/openshift/test/test_v1_o_auth_access_token.py +++ b/openshift/test/test_v1_o_auth_access_token.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openshift/test/test_v1_o_auth_access_token_list.py b/openshift/test/test_v1_o_auth_access_token_list.py index 953417b3..ede8d9c0 100644 --- a/openshift/test/test_v1_o_auth_access_token_list.py +++ b/openshift/test/test_v1_o_auth_access_token_list.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openshift/test/test_v1_o_auth_authorize_token.py b/openshift/test/test_v1_o_auth_authorize_token.py index 4b25c4f4..3ef2f50c 100644 --- a/openshift/test/test_v1_o_auth_authorize_token.py +++ b/openshift/test/test_v1_o_auth_authorize_token.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openshift/test/test_v1_o_auth_authorize_token_list.py b/openshift/test/test_v1_o_auth_authorize_token_list.py index 34dc2d0c..7a2b133b 100644 --- a/openshift/test/test_v1_o_auth_authorize_token_list.py +++ b/openshift/test/test_v1_o_auth_authorize_token_list.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openshift/test/test_v1_o_auth_client.py b/openshift/test/test_v1_o_auth_client.py index 47bc1669..f114bb31 100644 --- a/openshift/test/test_v1_o_auth_client.py +++ b/openshift/test/test_v1_o_auth_client.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openshift/test/test_v1_o_auth_client_authorization.py b/openshift/test/test_v1_o_auth_client_authorization.py index f1d3f5dd..3198650f 100644 --- a/openshift/test/test_v1_o_auth_client_authorization.py +++ b/openshift/test/test_v1_o_auth_client_authorization.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openshift/test/test_v1_o_auth_client_authorization_list.py b/openshift/test/test_v1_o_auth_client_authorization_list.py index c9510418..eb08843a 100644 --- a/openshift/test/test_v1_o_auth_client_authorization_list.py +++ b/openshift/test/test_v1_o_auth_client_authorization_list.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openshift/test/test_v1_o_auth_client_list.py b/openshift/test/test_v1_o_auth_client_list.py index 3c37af5f..a6470db8 100644 --- a/openshift/test/test_v1_o_auth_client_list.py +++ b/openshift/test/test_v1_o_auth_client_list.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openshift/test/test_v1_object_field_selector.py b/openshift/test/test_v1_object_field_selector.py deleted file mode 100644 index e7c9b9e6..00000000 --- a/openshift/test/test_v1_object_field_selector.py +++ /dev/null @@ -1,42 +0,0 @@ -# coding: utf-8 - -""" - OpenShift API (with Kubernetes) - - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - - OpenAPI spec version: v3.6.0-alpha.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import os -import sys -import unittest - -import openshift.client -from kubernetes.client.rest import ApiException -from openshift.client.models.v1_object_field_selector import V1ObjectFieldSelector - - -class TestV1ObjectFieldSelector(unittest.TestCase): - """ V1ObjectFieldSelector unit test stubs """ - - def setUp(self): - pass - - def tearDown(self): - pass - - def testV1ObjectFieldSelector(self): - """ - Test V1ObjectFieldSelector - """ - model = openshift.client.models.v1_object_field_selector.V1ObjectFieldSelector() - - -if __name__ == '__main__': - unittest.main() diff --git a/openshift/test/test_v1_object_meta.py b/openshift/test/test_v1_object_meta.py deleted file mode 100644 index 0b0beed8..00000000 --- a/openshift/test/test_v1_object_meta.py +++ /dev/null @@ -1,42 +0,0 @@ -# coding: utf-8 - -""" - OpenShift API (with Kubernetes) - - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - - OpenAPI spec version: v3.6.0-alpha.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import os -import sys -import unittest - -import openshift.client -from kubernetes.client.rest import ApiException -from openshift.client.models.v1_object_meta import V1ObjectMeta - - -class TestV1ObjectMeta(unittest.TestCase): - """ V1ObjectMeta unit test stubs """ - - def setUp(self): - pass - - def tearDown(self): - pass - - def testV1ObjectMeta(self): - """ - Test V1ObjectMeta - """ - model = openshift.client.models.v1_object_meta.V1ObjectMeta() - - -if __name__ == '__main__': - unittest.main() diff --git a/openshift/test/test_v1_object_reference.py b/openshift/test/test_v1_object_reference.py deleted file mode 100644 index a56cd09c..00000000 --- a/openshift/test/test_v1_object_reference.py +++ /dev/null @@ -1,42 +0,0 @@ -# coding: utf-8 - -""" - OpenShift API (with Kubernetes) - - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - - OpenAPI spec version: v3.6.0-alpha.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import os -import sys -import unittest - -import openshift.client -from kubernetes.client.rest import ApiException -from openshift.client.models.v1_object_reference import V1ObjectReference - - -class TestV1ObjectReference(unittest.TestCase): - """ V1ObjectReference unit test stubs """ - - def setUp(self): - pass - - def tearDown(self): - pass - - def testV1ObjectReference(self): - """ - Test V1ObjectReference - """ - model = openshift.client.models.v1_object_reference.V1ObjectReference() - - -if __name__ == '__main__': - unittest.main() diff --git a/openshift/test/test_v1_owner_reference.py b/openshift/test/test_v1_owner_reference.py deleted file mode 100644 index 2fc5ebea..00000000 --- a/openshift/test/test_v1_owner_reference.py +++ /dev/null @@ -1,42 +0,0 @@ -# coding: utf-8 - -""" - OpenShift API (with Kubernetes) - - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - - OpenAPI spec version: v3.6.0-alpha.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import os -import sys -import unittest - -import openshift.client -from kubernetes.client.rest import ApiException -from openshift.client.models.v1_owner_reference import V1OwnerReference - - -class TestV1OwnerReference(unittest.TestCase): - """ V1OwnerReference unit test stubs """ - - def setUp(self): - pass - - def tearDown(self): - pass - - def testV1OwnerReference(self): - """ - Test V1OwnerReference - """ - model = openshift.client.models.v1_owner_reference.V1OwnerReference() - - -if __name__ == '__main__': - unittest.main() diff --git a/openshift/test/test_v1_parameter.py b/openshift/test/test_v1_parameter.py index 00d55403..ab73aa17 100644 --- a/openshift/test/test_v1_parameter.py +++ b/openshift/test/test_v1_parameter.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openshift/test/test_v1_persistent_volume.py b/openshift/test/test_v1_persistent_volume.py deleted file mode 100644 index 7d89dec3..00000000 --- a/openshift/test/test_v1_persistent_volume.py +++ /dev/null @@ -1,42 +0,0 @@ -# coding: utf-8 - -""" - OpenShift API (with Kubernetes) - - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - - OpenAPI spec version: v3.6.0-alpha.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import os -import sys -import unittest - -import openshift.client -from kubernetes.client.rest import ApiException -from openshift.client.models.v1_persistent_volume import V1PersistentVolume - - -class TestV1PersistentVolume(unittest.TestCase): - """ V1PersistentVolume unit test stubs """ - - def setUp(self): - pass - - def tearDown(self): - pass - - def testV1PersistentVolume(self): - """ - Test V1PersistentVolume - """ - model = openshift.client.models.v1_persistent_volume.V1PersistentVolume() - - -if __name__ == '__main__': - unittest.main() diff --git a/openshift/test/test_v1_persistent_volume_claim.py b/openshift/test/test_v1_persistent_volume_claim.py deleted file mode 100644 index 3031cebc..00000000 --- a/openshift/test/test_v1_persistent_volume_claim.py +++ /dev/null @@ -1,42 +0,0 @@ -# coding: utf-8 - -""" - OpenShift API (with Kubernetes) - - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - - OpenAPI spec version: v3.6.0-alpha.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import os -import sys -import unittest - -import openshift.client -from kubernetes.client.rest import ApiException -from openshift.client.models.v1_persistent_volume_claim import V1PersistentVolumeClaim - - -class TestV1PersistentVolumeClaim(unittest.TestCase): - """ V1PersistentVolumeClaim unit test stubs """ - - def setUp(self): - pass - - def tearDown(self): - pass - - def testV1PersistentVolumeClaim(self): - """ - Test V1PersistentVolumeClaim - """ - model = openshift.client.models.v1_persistent_volume_claim.V1PersistentVolumeClaim() - - -if __name__ == '__main__': - unittest.main() diff --git a/openshift/test/test_v1_persistent_volume_claim_list.py b/openshift/test/test_v1_persistent_volume_claim_list.py deleted file mode 100644 index becd7768..00000000 --- a/openshift/test/test_v1_persistent_volume_claim_list.py +++ /dev/null @@ -1,42 +0,0 @@ -# coding: utf-8 - -""" - OpenShift API (with Kubernetes) - - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - - OpenAPI spec version: v3.6.0-alpha.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import os -import sys -import unittest - -import openshift.client -from kubernetes.client.rest import ApiException -from openshift.client.models.v1_persistent_volume_claim_list import V1PersistentVolumeClaimList - - -class TestV1PersistentVolumeClaimList(unittest.TestCase): - """ V1PersistentVolumeClaimList unit test stubs """ - - def setUp(self): - pass - - def tearDown(self): - pass - - def testV1PersistentVolumeClaimList(self): - """ - Test V1PersistentVolumeClaimList - """ - model = openshift.client.models.v1_persistent_volume_claim_list.V1PersistentVolumeClaimList() - - -if __name__ == '__main__': - unittest.main() diff --git a/openshift/test/test_v1_persistent_volume_claim_spec.py b/openshift/test/test_v1_persistent_volume_claim_spec.py deleted file mode 100644 index da67826e..00000000 --- a/openshift/test/test_v1_persistent_volume_claim_spec.py +++ /dev/null @@ -1,42 +0,0 @@ -# coding: utf-8 - -""" - OpenShift API (with Kubernetes) - - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - - OpenAPI spec version: v3.6.0-alpha.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import os -import sys -import unittest - -import openshift.client -from kubernetes.client.rest import ApiException -from openshift.client.models.v1_persistent_volume_claim_spec import V1PersistentVolumeClaimSpec - - -class TestV1PersistentVolumeClaimSpec(unittest.TestCase): - """ V1PersistentVolumeClaimSpec unit test stubs """ - - def setUp(self): - pass - - def tearDown(self): - pass - - def testV1PersistentVolumeClaimSpec(self): - """ - Test V1PersistentVolumeClaimSpec - """ - model = openshift.client.models.v1_persistent_volume_claim_spec.V1PersistentVolumeClaimSpec() - - -if __name__ == '__main__': - unittest.main() diff --git a/openshift/test/test_v1_persistent_volume_claim_status.py b/openshift/test/test_v1_persistent_volume_claim_status.py deleted file mode 100644 index cbebffa1..00000000 --- a/openshift/test/test_v1_persistent_volume_claim_status.py +++ /dev/null @@ -1,42 +0,0 @@ -# coding: utf-8 - -""" - OpenShift API (with Kubernetes) - - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - - OpenAPI spec version: v3.6.0-alpha.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import os -import sys -import unittest - -import openshift.client -from kubernetes.client.rest import ApiException -from openshift.client.models.v1_persistent_volume_claim_status import V1PersistentVolumeClaimStatus - - -class TestV1PersistentVolumeClaimStatus(unittest.TestCase): - """ V1PersistentVolumeClaimStatus unit test stubs """ - - def setUp(self): - pass - - def tearDown(self): - pass - - def testV1PersistentVolumeClaimStatus(self): - """ - Test V1PersistentVolumeClaimStatus - """ - model = openshift.client.models.v1_persistent_volume_claim_status.V1PersistentVolumeClaimStatus() - - -if __name__ == '__main__': - unittest.main() diff --git a/openshift/test/test_v1_persistent_volume_claim_volume_source.py b/openshift/test/test_v1_persistent_volume_claim_volume_source.py deleted file mode 100644 index 4c859e14..00000000 --- a/openshift/test/test_v1_persistent_volume_claim_volume_source.py +++ /dev/null @@ -1,42 +0,0 @@ -# coding: utf-8 - -""" - OpenShift API (with Kubernetes) - - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - - OpenAPI spec version: v3.6.0-alpha.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import os -import sys -import unittest - -import openshift.client -from kubernetes.client.rest import ApiException -from openshift.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 = openshift.client.models.v1_persistent_volume_claim_volume_source.V1PersistentVolumeClaimVolumeSource() - - -if __name__ == '__main__': - unittest.main() diff --git a/openshift/test/test_v1_persistent_volume_list.py b/openshift/test/test_v1_persistent_volume_list.py deleted file mode 100644 index b3d49701..00000000 --- a/openshift/test/test_v1_persistent_volume_list.py +++ /dev/null @@ -1,42 +0,0 @@ -# coding: utf-8 - -""" - OpenShift API (with Kubernetes) - - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - - OpenAPI spec version: v3.6.0-alpha.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import os -import sys -import unittest - -import openshift.client -from kubernetes.client.rest import ApiException -from openshift.client.models.v1_persistent_volume_list import V1PersistentVolumeList - - -class TestV1PersistentVolumeList(unittest.TestCase): - """ V1PersistentVolumeList unit test stubs """ - - def setUp(self): - pass - - def tearDown(self): - pass - - def testV1PersistentVolumeList(self): - """ - Test V1PersistentVolumeList - """ - model = openshift.client.models.v1_persistent_volume_list.V1PersistentVolumeList() - - -if __name__ == '__main__': - unittest.main() diff --git a/openshift/test/test_v1_persistent_volume_spec.py b/openshift/test/test_v1_persistent_volume_spec.py deleted file mode 100644 index 976a7ab7..00000000 --- a/openshift/test/test_v1_persistent_volume_spec.py +++ /dev/null @@ -1,42 +0,0 @@ -# coding: utf-8 - -""" - OpenShift API (with Kubernetes) - - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - - OpenAPI spec version: v3.6.0-alpha.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import os -import sys -import unittest - -import openshift.client -from kubernetes.client.rest import ApiException -from openshift.client.models.v1_persistent_volume_spec import V1PersistentVolumeSpec - - -class TestV1PersistentVolumeSpec(unittest.TestCase): - """ V1PersistentVolumeSpec unit test stubs """ - - def setUp(self): - pass - - def tearDown(self): - pass - - def testV1PersistentVolumeSpec(self): - """ - Test V1PersistentVolumeSpec - """ - model = openshift.client.models.v1_persistent_volume_spec.V1PersistentVolumeSpec() - - -if __name__ == '__main__': - unittest.main() diff --git a/openshift/test/test_v1_persistent_volume_status.py b/openshift/test/test_v1_persistent_volume_status.py deleted file mode 100644 index 4630dbb0..00000000 --- a/openshift/test/test_v1_persistent_volume_status.py +++ /dev/null @@ -1,42 +0,0 @@ -# coding: utf-8 - -""" - OpenShift API (with Kubernetes) - - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - - OpenAPI spec version: v3.6.0-alpha.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import os -import sys -import unittest - -import openshift.client -from kubernetes.client.rest import ApiException -from openshift.client.models.v1_persistent_volume_status import V1PersistentVolumeStatus - - -class TestV1PersistentVolumeStatus(unittest.TestCase): - """ V1PersistentVolumeStatus unit test stubs """ - - def setUp(self): - pass - - def tearDown(self): - pass - - def testV1PersistentVolumeStatus(self): - """ - Test V1PersistentVolumeStatus - """ - model = openshift.client.models.v1_persistent_volume_status.V1PersistentVolumeStatus() - - -if __name__ == '__main__': - unittest.main() diff --git a/openshift/test/test_v1_photon_persistent_disk_volume_source.py b/openshift/test/test_v1_photon_persistent_disk_volume_source.py deleted file mode 100644 index d4f28c30..00000000 --- a/openshift/test/test_v1_photon_persistent_disk_volume_source.py +++ /dev/null @@ -1,42 +0,0 @@ -# coding: utf-8 - -""" - OpenShift API (with Kubernetes) - - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - - OpenAPI spec version: v3.6.0-alpha.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import os -import sys -import unittest - -import openshift.client -from kubernetes.client.rest import ApiException -from openshift.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 = openshift.client.models.v1_photon_persistent_disk_volume_source.V1PhotonPersistentDiskVolumeSource() - - -if __name__ == '__main__': - unittest.main() diff --git a/openshift/test/test_v1_pod.py b/openshift/test/test_v1_pod.py deleted file mode 100644 index 5723e55e..00000000 --- a/openshift/test/test_v1_pod.py +++ /dev/null @@ -1,42 +0,0 @@ -# coding: utf-8 - -""" - OpenShift API (with Kubernetes) - - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - - OpenAPI spec version: v3.6.0-alpha.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import os -import sys -import unittest - -import openshift.client -from kubernetes.client.rest import ApiException -from openshift.client.models.v1_pod import V1Pod - - -class TestV1Pod(unittest.TestCase): - """ V1Pod unit test stubs """ - - def setUp(self): - pass - - def tearDown(self): - pass - - def testV1Pod(self): - """ - Test V1Pod - """ - model = openshift.client.models.v1_pod.V1Pod() - - -if __name__ == '__main__': - unittest.main() diff --git a/openshift/test/test_v1_pod_condition.py b/openshift/test/test_v1_pod_condition.py deleted file mode 100644 index ddc365e4..00000000 --- a/openshift/test/test_v1_pod_condition.py +++ /dev/null @@ -1,42 +0,0 @@ -# coding: utf-8 - -""" - OpenShift API (with Kubernetes) - - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - - OpenAPI spec version: v3.6.0-alpha.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import os -import sys -import unittest - -import openshift.client -from kubernetes.client.rest import ApiException -from openshift.client.models.v1_pod_condition import V1PodCondition - - -class TestV1PodCondition(unittest.TestCase): - """ V1PodCondition unit test stubs """ - - def setUp(self): - pass - - def tearDown(self): - pass - - def testV1PodCondition(self): - """ - Test V1PodCondition - """ - model = openshift.client.models.v1_pod_condition.V1PodCondition() - - -if __name__ == '__main__': - unittest.main() diff --git a/openshift/test/test_v1_pod_list.py b/openshift/test/test_v1_pod_list.py deleted file mode 100644 index b7b3ace5..00000000 --- a/openshift/test/test_v1_pod_list.py +++ /dev/null @@ -1,42 +0,0 @@ -# coding: utf-8 - -""" - OpenShift API (with Kubernetes) - - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - - OpenAPI spec version: v3.6.0-alpha.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import os -import sys -import unittest - -import openshift.client -from kubernetes.client.rest import ApiException -from openshift.client.models.v1_pod_list import V1PodList - - -class TestV1PodList(unittest.TestCase): - """ V1PodList unit test stubs """ - - def setUp(self): - pass - - def tearDown(self): - pass - - def testV1PodList(self): - """ - Test V1PodList - """ - model = openshift.client.models.v1_pod_list.V1PodList() - - -if __name__ == '__main__': - unittest.main() diff --git a/openshift/test/test_v1_pod_security_context.py b/openshift/test/test_v1_pod_security_context.py deleted file mode 100644 index c04245b9..00000000 --- a/openshift/test/test_v1_pod_security_context.py +++ /dev/null @@ -1,42 +0,0 @@ -# coding: utf-8 - -""" - OpenShift API (with Kubernetes) - - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - - OpenAPI spec version: v3.6.0-alpha.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import os -import sys -import unittest - -import openshift.client -from kubernetes.client.rest import ApiException -from openshift.client.models.v1_pod_security_context import V1PodSecurityContext - - -class TestV1PodSecurityContext(unittest.TestCase): - """ V1PodSecurityContext unit test stubs """ - - def setUp(self): - pass - - def tearDown(self): - pass - - def testV1PodSecurityContext(self): - """ - Test V1PodSecurityContext - """ - model = openshift.client.models.v1_pod_security_context.V1PodSecurityContext() - - -if __name__ == '__main__': - unittest.main() diff --git a/openshift/test/test_v1_pod_security_policy_review.py b/openshift/test/test_v1_pod_security_policy_review.py index 6b97cfad..633a7e2a 100644 --- a/openshift/test/test_v1_pod_security_policy_review.py +++ b/openshift/test/test_v1_pod_security_policy_review.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openshift/test/test_v1_pod_security_policy_review_spec.py b/openshift/test/test_v1_pod_security_policy_review_spec.py index b27cd44a..e791a750 100644 --- a/openshift/test/test_v1_pod_security_policy_review_spec.py +++ b/openshift/test/test_v1_pod_security_policy_review_spec.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openshift/test/test_v1_pod_security_policy_review_status.py b/openshift/test/test_v1_pod_security_policy_review_status.py index fd987a84..f32ca1ad 100644 --- a/openshift/test/test_v1_pod_security_policy_review_status.py +++ b/openshift/test/test_v1_pod_security_policy_review_status.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openshift/test/test_v1_pod_security_policy_self_subject_review.py b/openshift/test/test_v1_pod_security_policy_self_subject_review.py index 36ff40aa..cb83db46 100644 --- a/openshift/test/test_v1_pod_security_policy_self_subject_review.py +++ b/openshift/test/test_v1_pod_security_policy_self_subject_review.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openshift/test/test_v1_pod_security_policy_self_subject_review_spec.py b/openshift/test/test_v1_pod_security_policy_self_subject_review_spec.py index a0d0e89a..739d9dfb 100644 --- a/openshift/test/test_v1_pod_security_policy_self_subject_review_spec.py +++ b/openshift/test/test_v1_pod_security_policy_self_subject_review_spec.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openshift/test/test_v1_pod_security_policy_subject_review.py b/openshift/test/test_v1_pod_security_policy_subject_review.py index 4aebac51..f2cc0e91 100644 --- a/openshift/test/test_v1_pod_security_policy_subject_review.py +++ b/openshift/test/test_v1_pod_security_policy_subject_review.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openshift/test/test_v1_pod_security_policy_subject_review_spec.py b/openshift/test/test_v1_pod_security_policy_subject_review_spec.py index 23fd5b1d..b04b6d52 100644 --- a/openshift/test/test_v1_pod_security_policy_subject_review_spec.py +++ b/openshift/test/test_v1_pod_security_policy_subject_review_spec.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openshift/test/test_v1_pod_security_policy_subject_review_status.py b/openshift/test/test_v1_pod_security_policy_subject_review_status.py index c392fc0f..77ff2fc9 100644 --- a/openshift/test/test_v1_pod_security_policy_subject_review_status.py +++ b/openshift/test/test_v1_pod_security_policy_subject_review_status.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openshift/test/test_v1_pod_spec.py b/openshift/test/test_v1_pod_spec.py deleted file mode 100644 index 0948deb4..00000000 --- a/openshift/test/test_v1_pod_spec.py +++ /dev/null @@ -1,42 +0,0 @@ -# coding: utf-8 - -""" - OpenShift API (with Kubernetes) - - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - - OpenAPI spec version: v3.6.0-alpha.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import os -import sys -import unittest - -import openshift.client -from kubernetes.client.rest import ApiException -from openshift.client.models.v1_pod_spec import V1PodSpec - - -class TestV1PodSpec(unittest.TestCase): - """ V1PodSpec unit test stubs """ - - def setUp(self): - pass - - def tearDown(self): - pass - - def testV1PodSpec(self): - """ - Test V1PodSpec - """ - model = openshift.client.models.v1_pod_spec.V1PodSpec() - - -if __name__ == '__main__': - unittest.main() diff --git a/openshift/test/test_v1_pod_status.py b/openshift/test/test_v1_pod_status.py deleted file mode 100644 index fb2348e7..00000000 --- a/openshift/test/test_v1_pod_status.py +++ /dev/null @@ -1,42 +0,0 @@ -# coding: utf-8 - -""" - OpenShift API (with Kubernetes) - - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - - OpenAPI spec version: v3.6.0-alpha.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import os -import sys -import unittest - -import openshift.client -from kubernetes.client.rest import ApiException -from openshift.client.models.v1_pod_status import V1PodStatus - - -class TestV1PodStatus(unittest.TestCase): - """ V1PodStatus unit test stubs """ - - def setUp(self): - pass - - def tearDown(self): - pass - - def testV1PodStatus(self): - """ - Test V1PodStatus - """ - model = openshift.client.models.v1_pod_status.V1PodStatus() - - -if __name__ == '__main__': - unittest.main() diff --git a/openshift/test/test_v1_pod_template.py b/openshift/test/test_v1_pod_template.py deleted file mode 100644 index 6d774af3..00000000 --- a/openshift/test/test_v1_pod_template.py +++ /dev/null @@ -1,42 +0,0 @@ -# coding: utf-8 - -""" - OpenShift API (with Kubernetes) - - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - - OpenAPI spec version: v3.6.0-alpha.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import os -import sys -import unittest - -import openshift.client -from kubernetes.client.rest import ApiException -from openshift.client.models.v1_pod_template import V1PodTemplate - - -class TestV1PodTemplate(unittest.TestCase): - """ V1PodTemplate unit test stubs """ - - def setUp(self): - pass - - def tearDown(self): - pass - - def testV1PodTemplate(self): - """ - Test V1PodTemplate - """ - model = openshift.client.models.v1_pod_template.V1PodTemplate() - - -if __name__ == '__main__': - unittest.main() diff --git a/openshift/test/test_v1_pod_template_list.py b/openshift/test/test_v1_pod_template_list.py deleted file mode 100644 index b7f5daf2..00000000 --- a/openshift/test/test_v1_pod_template_list.py +++ /dev/null @@ -1,42 +0,0 @@ -# coding: utf-8 - -""" - OpenShift API (with Kubernetes) - - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - - OpenAPI spec version: v3.6.0-alpha.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import os -import sys -import unittest - -import openshift.client -from kubernetes.client.rest import ApiException -from openshift.client.models.v1_pod_template_list import V1PodTemplateList - - -class TestV1PodTemplateList(unittest.TestCase): - """ V1PodTemplateList unit test stubs """ - - def setUp(self): - pass - - def tearDown(self): - pass - - def testV1PodTemplateList(self): - """ - Test V1PodTemplateList - """ - model = openshift.client.models.v1_pod_template_list.V1PodTemplateList() - - -if __name__ == '__main__': - unittest.main() diff --git a/openshift/test/test_v1_pod_template_spec.py b/openshift/test/test_v1_pod_template_spec.py deleted file mode 100644 index 3927d5fc..00000000 --- a/openshift/test/test_v1_pod_template_spec.py +++ /dev/null @@ -1,42 +0,0 @@ -# coding: utf-8 - -""" - OpenShift API (with Kubernetes) - - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - - OpenAPI spec version: v3.6.0-alpha.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import os -import sys -import unittest - -import openshift.client -from kubernetes.client.rest import ApiException -from openshift.client.models.v1_pod_template_spec import V1PodTemplateSpec - - -class TestV1PodTemplateSpec(unittest.TestCase): - """ V1PodTemplateSpec unit test stubs """ - - def setUp(self): - pass - - def tearDown(self): - pass - - def testV1PodTemplateSpec(self): - """ - Test V1PodTemplateSpec - """ - model = openshift.client.models.v1_pod_template_spec.V1PodTemplateSpec() - - -if __name__ == '__main__': - unittest.main() diff --git a/openshift/test/test_v1_policy.py b/openshift/test/test_v1_policy.py deleted file mode 100644 index 40a38afd..00000000 --- a/openshift/test/test_v1_policy.py +++ /dev/null @@ -1,42 +0,0 @@ -# coding: utf-8 - -""" - OpenShift API (with Kubernetes) - - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - - OpenAPI spec version: v3.6.0-alpha.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import os -import sys -import unittest - -import openshift.client -from kubernetes.client.rest import ApiException -from openshift.client.models.v1_policy import V1Policy - - -class TestV1Policy(unittest.TestCase): - """ V1Policy unit test stubs """ - - def setUp(self): - pass - - def tearDown(self): - pass - - def testV1Policy(self): - """ - Test V1Policy - """ - model = openshift.client.models.v1_policy.V1Policy() - - -if __name__ == '__main__': - unittest.main() diff --git a/openshift/test/test_v1_policy_binding.py b/openshift/test/test_v1_policy_binding.py deleted file mode 100644 index 5ec05a47..00000000 --- a/openshift/test/test_v1_policy_binding.py +++ /dev/null @@ -1,42 +0,0 @@ -# coding: utf-8 - -""" - OpenShift API (with Kubernetes) - - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - - OpenAPI spec version: v3.6.0-alpha.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import os -import sys -import unittest - -import openshift.client -from kubernetes.client.rest import ApiException -from openshift.client.models.v1_policy_binding import V1PolicyBinding - - -class TestV1PolicyBinding(unittest.TestCase): - """ V1PolicyBinding unit test stubs """ - - def setUp(self): - pass - - def tearDown(self): - pass - - def testV1PolicyBinding(self): - """ - Test V1PolicyBinding - """ - model = openshift.client.models.v1_policy_binding.V1PolicyBinding() - - -if __name__ == '__main__': - unittest.main() diff --git a/openshift/test/test_v1_policy_binding_list.py b/openshift/test/test_v1_policy_binding_list.py deleted file mode 100644 index baf40ac2..00000000 --- a/openshift/test/test_v1_policy_binding_list.py +++ /dev/null @@ -1,42 +0,0 @@ -# coding: utf-8 - -""" - OpenShift API (with Kubernetes) - - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - - OpenAPI spec version: v3.6.0-alpha.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import os -import sys -import unittest - -import openshift.client -from kubernetes.client.rest import ApiException -from openshift.client.models.v1_policy_binding_list import V1PolicyBindingList - - -class TestV1PolicyBindingList(unittest.TestCase): - """ V1PolicyBindingList unit test stubs """ - - def setUp(self): - pass - - def tearDown(self): - pass - - def testV1PolicyBindingList(self): - """ - Test V1PolicyBindingList - """ - model = openshift.client.models.v1_policy_binding_list.V1PolicyBindingList() - - -if __name__ == '__main__': - unittest.main() diff --git a/openshift/test/test_v1_policy_list.py b/openshift/test/test_v1_policy_list.py deleted file mode 100644 index 26ee3169..00000000 --- a/openshift/test/test_v1_policy_list.py +++ /dev/null @@ -1,42 +0,0 @@ -# coding: utf-8 - -""" - OpenShift API (with Kubernetes) - - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - - OpenAPI spec version: v3.6.0-alpha.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import os -import sys -import unittest - -import openshift.client -from kubernetes.client.rest import ApiException -from openshift.client.models.v1_policy_list import V1PolicyList - - -class TestV1PolicyList(unittest.TestCase): - """ V1PolicyList unit test stubs """ - - def setUp(self): - pass - - def tearDown(self): - pass - - def testV1PolicyList(self): - """ - Test V1PolicyList - """ - model = openshift.client.models.v1_policy_list.V1PolicyList() - - -if __name__ == '__main__': - unittest.main() diff --git a/openshift/test/test_v1_policy_rule.py b/openshift/test/test_v1_policy_rule.py index 31b9436b..e0891ed5 100644 --- a/openshift/test/test_v1_policy_rule.py +++ b/openshift/test/test_v1_policy_rule.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openshift/test/test_v1_preconditions.py b/openshift/test/test_v1_preconditions.py deleted file mode 100644 index b0c90cc1..00000000 --- a/openshift/test/test_v1_preconditions.py +++ /dev/null @@ -1,42 +0,0 @@ -# coding: utf-8 - -""" - OpenShift API (with Kubernetes) - - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - - OpenAPI spec version: v3.6.0-alpha.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import os -import sys -import unittest - -import openshift.client -from kubernetes.client.rest import ApiException -from openshift.client.models.v1_preconditions import V1Preconditions - - -class TestV1Preconditions(unittest.TestCase): - """ V1Preconditions unit test stubs """ - - def setUp(self): - pass - - def tearDown(self): - pass - - def testV1Preconditions(self): - """ - Test V1Preconditions - """ - model = openshift.client.models.v1_preconditions.V1Preconditions() - - -if __name__ == '__main__': - unittest.main() diff --git a/openshift/test/test_v1_probe.py b/openshift/test/test_v1_probe.py deleted file mode 100644 index 3e5f6f2b..00000000 --- a/openshift/test/test_v1_probe.py +++ /dev/null @@ -1,42 +0,0 @@ -# coding: utf-8 - -""" - OpenShift API (with Kubernetes) - - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - - OpenAPI spec version: v3.6.0-alpha.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import os -import sys -import unittest - -import openshift.client -from kubernetes.client.rest import ApiException -from openshift.client.models.v1_probe import V1Probe - - -class TestV1Probe(unittest.TestCase): - """ V1Probe unit test stubs """ - - def setUp(self): - pass - - def tearDown(self): - pass - - def testV1Probe(self): - """ - Test V1Probe - """ - model = openshift.client.models.v1_probe.V1Probe() - - -if __name__ == '__main__': - unittest.main() diff --git a/openshift/test/test_v1_project.py b/openshift/test/test_v1_project.py index 837cf9b9..a0469f0c 100644 --- a/openshift/test/test_v1_project.py +++ b/openshift/test/test_v1_project.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openshift/test/test_v1_project_list.py b/openshift/test/test_v1_project_list.py index d50d8fbb..bb7461eb 100644 --- a/openshift/test/test_v1_project_list.py +++ b/openshift/test/test_v1_project_list.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openshift/test/test_v1_project_request.py b/openshift/test/test_v1_project_request.py index 5cc8489e..72ecbcdf 100644 --- a/openshift/test/test_v1_project_request.py +++ b/openshift/test/test_v1_project_request.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openshift/test/test_v1_project_spec.py b/openshift/test/test_v1_project_spec.py index eaae33bf..236b1068 100644 --- a/openshift/test/test_v1_project_spec.py +++ b/openshift/test/test_v1_project_spec.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openshift/test/test_v1_project_status.py b/openshift/test/test_v1_project_status.py index eb5f11cd..1861daca 100644 --- a/openshift/test/test_v1_project_status.py +++ b/openshift/test/test_v1_project_status.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openshift/test/test_v1_quobyte_volume_source.py b/openshift/test/test_v1_quobyte_volume_source.py deleted file mode 100644 index d092409a..00000000 --- a/openshift/test/test_v1_quobyte_volume_source.py +++ /dev/null @@ -1,42 +0,0 @@ -# coding: utf-8 - -""" - OpenShift API (with Kubernetes) - - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - - OpenAPI spec version: v3.6.0-alpha.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import os -import sys -import unittest - -import openshift.client -from kubernetes.client.rest import ApiException -from openshift.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 = openshift.client.models.v1_quobyte_volume_source.V1QuobyteVolumeSource() - - -if __name__ == '__main__': - unittest.main() diff --git a/openshift/test/test_v1_rbd_volume_source.py b/openshift/test/test_v1_rbd_volume_source.py deleted file mode 100644 index 89963228..00000000 --- a/openshift/test/test_v1_rbd_volume_source.py +++ /dev/null @@ -1,42 +0,0 @@ -# coding: utf-8 - -""" - OpenShift API (with Kubernetes) - - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - - OpenAPI spec version: v3.6.0-alpha.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import os -import sys -import unittest - -import openshift.client -from kubernetes.client.rest import ApiException -from openshift.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 = openshift.client.models.v1_rbd_volume_source.V1RBDVolumeSource() - - -if __name__ == '__main__': - unittest.main() diff --git a/openshift/test/test_v1_recreate_deployment_strategy_params.py b/openshift/test/test_v1_recreate_deployment_strategy_params.py index 7ed27c10..12474c19 100644 --- a/openshift/test/test_v1_recreate_deployment_strategy_params.py +++ b/openshift/test/test_v1_recreate_deployment_strategy_params.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openshift/test/test_v1_replication_controller.py b/openshift/test/test_v1_replication_controller.py deleted file mode 100644 index ec127988..00000000 --- a/openshift/test/test_v1_replication_controller.py +++ /dev/null @@ -1,42 +0,0 @@ -# coding: utf-8 - -""" - OpenShift API (with Kubernetes) - - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - - OpenAPI spec version: v3.6.0-alpha.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import os -import sys -import unittest - -import openshift.client -from kubernetes.client.rest import ApiException -from openshift.client.models.v1_replication_controller import V1ReplicationController - - -class TestV1ReplicationController(unittest.TestCase): - """ V1ReplicationController unit test stubs """ - - def setUp(self): - pass - - def tearDown(self): - pass - - def testV1ReplicationController(self): - """ - Test V1ReplicationController - """ - model = openshift.client.models.v1_replication_controller.V1ReplicationController() - - -if __name__ == '__main__': - unittest.main() diff --git a/openshift/test/test_v1_replication_controller_condition.py b/openshift/test/test_v1_replication_controller_condition.py deleted file mode 100644 index 7606039c..00000000 --- a/openshift/test/test_v1_replication_controller_condition.py +++ /dev/null @@ -1,42 +0,0 @@ -# coding: utf-8 - -""" - OpenShift API (with Kubernetes) - - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - - OpenAPI spec version: v3.6.0-alpha.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import os -import sys -import unittest - -import openshift.client -from kubernetes.client.rest import ApiException -from openshift.client.models.v1_replication_controller_condition import V1ReplicationControllerCondition - - -class TestV1ReplicationControllerCondition(unittest.TestCase): - """ V1ReplicationControllerCondition unit test stubs """ - - def setUp(self): - pass - - def tearDown(self): - pass - - def testV1ReplicationControllerCondition(self): - """ - Test V1ReplicationControllerCondition - """ - model = openshift.client.models.v1_replication_controller_condition.V1ReplicationControllerCondition() - - -if __name__ == '__main__': - unittest.main() diff --git a/openshift/test/test_v1_replication_controller_list.py b/openshift/test/test_v1_replication_controller_list.py deleted file mode 100644 index b2b23c5a..00000000 --- a/openshift/test/test_v1_replication_controller_list.py +++ /dev/null @@ -1,42 +0,0 @@ -# coding: utf-8 - -""" - OpenShift API (with Kubernetes) - - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - - OpenAPI spec version: v3.6.0-alpha.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import os -import sys -import unittest - -import openshift.client -from kubernetes.client.rest import ApiException -from openshift.client.models.v1_replication_controller_list import V1ReplicationControllerList - - -class TestV1ReplicationControllerList(unittest.TestCase): - """ V1ReplicationControllerList unit test stubs """ - - def setUp(self): - pass - - def tearDown(self): - pass - - def testV1ReplicationControllerList(self): - """ - Test V1ReplicationControllerList - """ - model = openshift.client.models.v1_replication_controller_list.V1ReplicationControllerList() - - -if __name__ == '__main__': - unittest.main() diff --git a/openshift/test/test_v1_replication_controller_spec.py b/openshift/test/test_v1_replication_controller_spec.py deleted file mode 100644 index b4c52464..00000000 --- a/openshift/test/test_v1_replication_controller_spec.py +++ /dev/null @@ -1,42 +0,0 @@ -# coding: utf-8 - -""" - OpenShift API (with Kubernetes) - - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - - OpenAPI spec version: v3.6.0-alpha.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import os -import sys -import unittest - -import openshift.client -from kubernetes.client.rest import ApiException -from openshift.client.models.v1_replication_controller_spec import V1ReplicationControllerSpec - - -class TestV1ReplicationControllerSpec(unittest.TestCase): - """ V1ReplicationControllerSpec unit test stubs """ - - def setUp(self): - pass - - def tearDown(self): - pass - - def testV1ReplicationControllerSpec(self): - """ - Test V1ReplicationControllerSpec - """ - model = openshift.client.models.v1_replication_controller_spec.V1ReplicationControllerSpec() - - -if __name__ == '__main__': - unittest.main() diff --git a/openshift/test/test_v1_replication_controller_status.py b/openshift/test/test_v1_replication_controller_status.py deleted file mode 100644 index 8cd2d755..00000000 --- a/openshift/test/test_v1_replication_controller_status.py +++ /dev/null @@ -1,42 +0,0 @@ -# coding: utf-8 - -""" - OpenShift API (with Kubernetes) - - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - - OpenAPI spec version: v3.6.0-alpha.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import os -import sys -import unittest - -import openshift.client -from kubernetes.client.rest import ApiException -from openshift.client.models.v1_replication_controller_status import V1ReplicationControllerStatus - - -class TestV1ReplicationControllerStatus(unittest.TestCase): - """ V1ReplicationControllerStatus unit test stubs """ - - def setUp(self): - pass - - def tearDown(self): - pass - - def testV1ReplicationControllerStatus(self): - """ - Test V1ReplicationControllerStatus - """ - model = openshift.client.models.v1_replication_controller_status.V1ReplicationControllerStatus() - - -if __name__ == '__main__': - unittest.main() diff --git a/openshift/test/test_v1_repository_import_spec.py b/openshift/test/test_v1_repository_import_spec.py index cbac6c79..4992f36c 100644 --- a/openshift/test/test_v1_repository_import_spec.py +++ b/openshift/test/test_v1_repository_import_spec.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openshift/test/test_v1_repository_import_status.py b/openshift/test/test_v1_repository_import_status.py index 5ef3d0e2..0f0dff97 100644 --- a/openshift/test/test_v1_repository_import_status.py +++ b/openshift/test/test_v1_repository_import_status.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openshift/test/test_v1_resource_access_review.py b/openshift/test/test_v1_resource_access_review.py index f4778b75..3ce1d54f 100644 --- a/openshift/test/test_v1_resource_access_review.py +++ b/openshift/test/test_v1_resource_access_review.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openshift/test/test_v1_resource_field_selector.py b/openshift/test/test_v1_resource_field_selector.py deleted file mode 100644 index 3a019eec..00000000 --- a/openshift/test/test_v1_resource_field_selector.py +++ /dev/null @@ -1,42 +0,0 @@ -# coding: utf-8 - -""" - OpenShift API (with Kubernetes) - - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - - OpenAPI spec version: v3.6.0-alpha.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import os -import sys -import unittest - -import openshift.client -from kubernetes.client.rest import ApiException -from openshift.client.models.v1_resource_field_selector import V1ResourceFieldSelector - - -class TestV1ResourceFieldSelector(unittest.TestCase): - """ V1ResourceFieldSelector unit test stubs """ - - def setUp(self): - pass - - def tearDown(self): - pass - - def testV1ResourceFieldSelector(self): - """ - Test V1ResourceFieldSelector - """ - model = openshift.client.models.v1_resource_field_selector.V1ResourceFieldSelector() - - -if __name__ == '__main__': - unittest.main() diff --git a/openshift/test/test_v1_resource_quota.py b/openshift/test/test_v1_resource_quota.py deleted file mode 100644 index 7ea01994..00000000 --- a/openshift/test/test_v1_resource_quota.py +++ /dev/null @@ -1,42 +0,0 @@ -# coding: utf-8 - -""" - OpenShift API (with Kubernetes) - - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - - OpenAPI spec version: v3.6.0-alpha.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import os -import sys -import unittest - -import openshift.client -from kubernetes.client.rest import ApiException -from openshift.client.models.v1_resource_quota import V1ResourceQuota - - -class TestV1ResourceQuota(unittest.TestCase): - """ V1ResourceQuota unit test stubs """ - - def setUp(self): - pass - - def tearDown(self): - pass - - def testV1ResourceQuota(self): - """ - Test V1ResourceQuota - """ - model = openshift.client.models.v1_resource_quota.V1ResourceQuota() - - -if __name__ == '__main__': - unittest.main() diff --git a/openshift/test/test_v1_resource_quota_list.py b/openshift/test/test_v1_resource_quota_list.py deleted file mode 100644 index 1cff5914..00000000 --- a/openshift/test/test_v1_resource_quota_list.py +++ /dev/null @@ -1,42 +0,0 @@ -# coding: utf-8 - -""" - OpenShift API (with Kubernetes) - - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - - OpenAPI spec version: v3.6.0-alpha.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import os -import sys -import unittest - -import openshift.client -from kubernetes.client.rest import ApiException -from openshift.client.models.v1_resource_quota_list import V1ResourceQuotaList - - -class TestV1ResourceQuotaList(unittest.TestCase): - """ V1ResourceQuotaList unit test stubs """ - - def setUp(self): - pass - - def tearDown(self): - pass - - def testV1ResourceQuotaList(self): - """ - Test V1ResourceQuotaList - """ - model = openshift.client.models.v1_resource_quota_list.V1ResourceQuotaList() - - -if __name__ == '__main__': - unittest.main() diff --git a/openshift/test/test_v1_resource_quota_spec.py b/openshift/test/test_v1_resource_quota_spec.py deleted file mode 100644 index a2ae4e0c..00000000 --- a/openshift/test/test_v1_resource_quota_spec.py +++ /dev/null @@ -1,42 +0,0 @@ -# coding: utf-8 - -""" - OpenShift API (with Kubernetes) - - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - - OpenAPI spec version: v3.6.0-alpha.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import os -import sys -import unittest - -import openshift.client -from kubernetes.client.rest import ApiException -from openshift.client.models.v1_resource_quota_spec import V1ResourceQuotaSpec - - -class TestV1ResourceQuotaSpec(unittest.TestCase): - """ V1ResourceQuotaSpec unit test stubs """ - - def setUp(self): - pass - - def tearDown(self): - pass - - def testV1ResourceQuotaSpec(self): - """ - Test V1ResourceQuotaSpec - """ - model = openshift.client.models.v1_resource_quota_spec.V1ResourceQuotaSpec() - - -if __name__ == '__main__': - unittest.main() diff --git a/openshift/test/test_v1_resource_quota_status.py b/openshift/test/test_v1_resource_quota_status.py deleted file mode 100644 index b3c397b5..00000000 --- a/openshift/test/test_v1_resource_quota_status.py +++ /dev/null @@ -1,42 +0,0 @@ -# coding: utf-8 - -""" - OpenShift API (with Kubernetes) - - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - - OpenAPI spec version: v3.6.0-alpha.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import os -import sys -import unittest - -import openshift.client -from kubernetes.client.rest import ApiException -from openshift.client.models.v1_resource_quota_status import V1ResourceQuotaStatus - - -class TestV1ResourceQuotaStatus(unittest.TestCase): - """ V1ResourceQuotaStatus unit test stubs """ - - def setUp(self): - pass - - def tearDown(self): - pass - - def testV1ResourceQuotaStatus(self): - """ - Test V1ResourceQuotaStatus - """ - model = openshift.client.models.v1_resource_quota_status.V1ResourceQuotaStatus() - - -if __name__ == '__main__': - unittest.main() diff --git a/openshift/test/test_v1_resource_quota_status_by_namespace.py b/openshift/test/test_v1_resource_quota_status_by_namespace.py index 68f4291d..c3c3d326 100644 --- a/openshift/test/test_v1_resource_quota_status_by_namespace.py +++ b/openshift/test/test_v1_resource_quota_status_by_namespace.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openshift/test/test_v1_resource_requirements.py b/openshift/test/test_v1_resource_requirements.py deleted file mode 100644 index 35eeea45..00000000 --- a/openshift/test/test_v1_resource_requirements.py +++ /dev/null @@ -1,42 +0,0 @@ -# coding: utf-8 - -""" - OpenShift API (with Kubernetes) - - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - - OpenAPI spec version: v3.6.0-alpha.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import os -import sys -import unittest - -import openshift.client -from kubernetes.client.rest import ApiException -from openshift.client.models.v1_resource_requirements import V1ResourceRequirements - - -class TestV1ResourceRequirements(unittest.TestCase): - """ V1ResourceRequirements unit test stubs """ - - def setUp(self): - pass - - def tearDown(self): - pass - - def testV1ResourceRequirements(self): - """ - Test V1ResourceRequirements - """ - model = openshift.client.models.v1_resource_requirements.V1ResourceRequirements() - - -if __name__ == '__main__': - unittest.main() diff --git a/openshift/test/test_v1_role.py b/openshift/test/test_v1_role.py index c759c350..3587a143 100644 --- a/openshift/test/test_v1_role.py +++ b/openshift/test/test_v1_role.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openshift/test/test_v1_role_binding.py b/openshift/test/test_v1_role_binding.py index 5dee4439..1acdc1f4 100644 --- a/openshift/test/test_v1_role_binding.py +++ b/openshift/test/test_v1_role_binding.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openshift/test/test_v1_role_binding_list.py b/openshift/test/test_v1_role_binding_list.py index 2df1454a..f574229f 100644 --- a/openshift/test/test_v1_role_binding_list.py +++ b/openshift/test/test_v1_role_binding_list.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openshift/test/test_v1_role_binding_restriction.py b/openshift/test/test_v1_role_binding_restriction.py index a7a61ac8..f9d56cd7 100644 --- a/openshift/test/test_v1_role_binding_restriction.py +++ b/openshift/test/test_v1_role_binding_restriction.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openshift/test/test_v1_role_binding_restriction_list.py b/openshift/test/test_v1_role_binding_restriction_list.py index 82c00e10..88e28dd2 100644 --- a/openshift/test/test_v1_role_binding_restriction_list.py +++ b/openshift/test/test_v1_role_binding_restriction_list.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openshift/test/test_v1_role_binding_restriction_spec.py b/openshift/test/test_v1_role_binding_restriction_spec.py index 5b6edf18..a82e6cf8 100644 --- a/openshift/test/test_v1_role_binding_restriction_spec.py +++ b/openshift/test/test_v1_role_binding_restriction_spec.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openshift/test/test_v1_role_list.py b/openshift/test/test_v1_role_list.py index 58f8662e..de31699e 100644 --- a/openshift/test/test_v1_role_list.py +++ b/openshift/test/test_v1_role_list.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openshift/test/test_v1_rolling_deployment_strategy_params.py b/openshift/test/test_v1_rolling_deployment_strategy_params.py index 146f2d2a..84c5d180 100644 --- a/openshift/test/test_v1_rolling_deployment_strategy_params.py +++ b/openshift/test/test_v1_rolling_deployment_strategy_params.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openshift/test/test_v1_route.py b/openshift/test/test_v1_route.py index 7af23294..3ca54650 100644 --- a/openshift/test/test_v1_route.py +++ b/openshift/test/test_v1_route.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openshift/test/test_v1_route_ingress.py b/openshift/test/test_v1_route_ingress.py index 6faed013..aafc8bf4 100644 --- a/openshift/test/test_v1_route_ingress.py +++ b/openshift/test/test_v1_route_ingress.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openshift/test/test_v1_route_ingress_condition.py b/openshift/test/test_v1_route_ingress_condition.py index 8b2ffa4a..9b087eaa 100644 --- a/openshift/test/test_v1_route_ingress_condition.py +++ b/openshift/test/test_v1_route_ingress_condition.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openshift/test/test_v1_route_list.py b/openshift/test/test_v1_route_list.py index 43a05054..25cf5b52 100644 --- a/openshift/test/test_v1_route_list.py +++ b/openshift/test/test_v1_route_list.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openshift/test/test_v1_route_port.py b/openshift/test/test_v1_route_port.py index 93c8ad5e..627298d9 100644 --- a/openshift/test/test_v1_route_port.py +++ b/openshift/test/test_v1_route_port.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openshift/test/test_v1_route_spec.py b/openshift/test/test_v1_route_spec.py index 7845270c..54431734 100644 --- a/openshift/test/test_v1_route_spec.py +++ b/openshift/test/test_v1_route_spec.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openshift/test/test_v1_route_status.py b/openshift/test/test_v1_route_status.py index 10564c21..faf9dcbf 100644 --- a/openshift/test/test_v1_route_status.py +++ b/openshift/test/test_v1_route_status.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openshift/test/test_v1_route_target_reference.py b/openshift/test/test_v1_route_target_reference.py index 5e24b4d0..90ce6bfe 100644 --- a/openshift/test/test_v1_route_target_reference.py +++ b/openshift/test/test_v1_route_target_reference.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openshift/test/test_v1_run_as_user_strategy_options.py b/openshift/test/test_v1_run_as_user_strategy_options.py index a1415e88..43372313 100644 --- a/openshift/test/test_v1_run_as_user_strategy_options.py +++ b/openshift/test/test_v1_run_as_user_strategy_options.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openshift/test/test_v1_scale.py b/openshift/test/test_v1_scale.py deleted file mode 100644 index 7de63df4..00000000 --- a/openshift/test/test_v1_scale.py +++ /dev/null @@ -1,42 +0,0 @@ -# coding: utf-8 - -""" - OpenShift API (with Kubernetes) - - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - - OpenAPI spec version: v3.6.0-alpha.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import os -import sys -import unittest - -import openshift.client -from kubernetes.client.rest import ApiException -from openshift.client.models.v1_scale import V1Scale - - -class TestV1Scale(unittest.TestCase): - """ V1Scale unit test stubs """ - - def setUp(self): - pass - - def tearDown(self): - pass - - def testV1Scale(self): - """ - Test V1Scale - """ - model = openshift.client.models.v1_scale.V1Scale() - - -if __name__ == '__main__': - unittest.main() diff --git a/openshift/test/test_v1_scale_spec.py b/openshift/test/test_v1_scale_spec.py deleted file mode 100644 index c54b36c1..00000000 --- a/openshift/test/test_v1_scale_spec.py +++ /dev/null @@ -1,42 +0,0 @@ -# coding: utf-8 - -""" - OpenShift API (with Kubernetes) - - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - - OpenAPI spec version: v3.6.0-alpha.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import os -import sys -import unittest - -import openshift.client -from kubernetes.client.rest import ApiException -from openshift.client.models.v1_scale_spec import V1ScaleSpec - - -class TestV1ScaleSpec(unittest.TestCase): - """ V1ScaleSpec unit test stubs """ - - def setUp(self): - pass - - def tearDown(self): - pass - - def testV1ScaleSpec(self): - """ - Test V1ScaleSpec - """ - model = openshift.client.models.v1_scale_spec.V1ScaleSpec() - - -if __name__ == '__main__': - unittest.main() diff --git a/openshift/test/test_v1_scale_status.py b/openshift/test/test_v1_scale_status.py deleted file mode 100644 index dfe48bfb..00000000 --- a/openshift/test/test_v1_scale_status.py +++ /dev/null @@ -1,42 +0,0 @@ -# coding: utf-8 - -""" - OpenShift API (with Kubernetes) - - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - - OpenAPI spec version: v3.6.0-alpha.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import os -import sys -import unittest - -import openshift.client -from kubernetes.client.rest import ApiException -from openshift.client.models.v1_scale_status import V1ScaleStatus - - -class TestV1ScaleStatus(unittest.TestCase): - """ V1ScaleStatus unit test stubs """ - - def setUp(self): - pass - - def tearDown(self): - pass - - def testV1ScaleStatus(self): - """ - Test V1ScaleStatus - """ - model = openshift.client.models.v1_scale_status.V1ScaleStatus() - - -if __name__ == '__main__': - unittest.main() diff --git a/openshift/test/test_v1_scope_restriction.py b/openshift/test/test_v1_scope_restriction.py index b98feb7c..4de4d345 100644 --- a/openshift/test/test_v1_scope_restriction.py +++ b/openshift/test/test_v1_scope_restriction.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openshift/test/test_v1_se_linux_context_strategy_options.py b/openshift/test/test_v1_se_linux_context_strategy_options.py index 17da0e49..40d8a512 100644 --- a/openshift/test/test_v1_se_linux_context_strategy_options.py +++ b/openshift/test/test_v1_se_linux_context_strategy_options.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openshift/test/test_v1_se_linux_options.py b/openshift/test/test_v1_se_linux_options.py deleted file mode 100644 index e8fd706d..00000000 --- a/openshift/test/test_v1_se_linux_options.py +++ /dev/null @@ -1,42 +0,0 @@ -# coding: utf-8 - -""" - OpenShift API (with Kubernetes) - - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - - OpenAPI spec version: v3.6.0-alpha.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import os -import sys -import unittest - -import openshift.client -from kubernetes.client.rest import ApiException -from openshift.client.models.v1_se_linux_options import V1SELinuxOptions - - -class TestV1SELinuxOptions(unittest.TestCase): - """ V1SELinuxOptions unit test stubs """ - - def setUp(self): - pass - - def tearDown(self): - pass - - def testV1SELinuxOptions(self): - """ - Test V1SELinuxOptions - """ - model = openshift.client.models.v1_se_linux_options.V1SELinuxOptions() - - -if __name__ == '__main__': - unittest.main() diff --git a/openshift/test/test_v1_secret.py b/openshift/test/test_v1_secret.py deleted file mode 100644 index 809c6b9a..00000000 --- a/openshift/test/test_v1_secret.py +++ /dev/null @@ -1,42 +0,0 @@ -# coding: utf-8 - -""" - OpenShift API (with Kubernetes) - - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - - OpenAPI spec version: v3.6.0-alpha.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import os -import sys -import unittest - -import openshift.client -from kubernetes.client.rest import ApiException -from openshift.client.models.v1_secret import V1Secret - - -class TestV1Secret(unittest.TestCase): - """ V1Secret unit test stubs """ - - def setUp(self): - pass - - def tearDown(self): - pass - - def testV1Secret(self): - """ - Test V1Secret - """ - model = openshift.client.models.v1_secret.V1Secret() - - -if __name__ == '__main__': - unittest.main() diff --git a/openshift/test/test_v1_secret_build_source.py b/openshift/test/test_v1_secret_build_source.py index d6b1fa3e..fd87f0f5 100644 --- a/openshift/test/test_v1_secret_build_source.py +++ b/openshift/test/test_v1_secret_build_source.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openshift/test/test_v1_secret_key_selector.py b/openshift/test/test_v1_secret_key_selector.py deleted file mode 100644 index 6a29d9a4..00000000 --- a/openshift/test/test_v1_secret_key_selector.py +++ /dev/null @@ -1,42 +0,0 @@ -# coding: utf-8 - -""" - OpenShift API (with Kubernetes) - - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - - OpenAPI spec version: v3.6.0-alpha.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import os -import sys -import unittest - -import openshift.client -from kubernetes.client.rest import ApiException -from openshift.client.models.v1_secret_key_selector import V1SecretKeySelector - - -class TestV1SecretKeySelector(unittest.TestCase): - """ V1SecretKeySelector unit test stubs """ - - def setUp(self): - pass - - def tearDown(self): - pass - - def testV1SecretKeySelector(self): - """ - Test V1SecretKeySelector - """ - model = openshift.client.models.v1_secret_key_selector.V1SecretKeySelector() - - -if __name__ == '__main__': - unittest.main() diff --git a/openshift/test/test_v1_secret_list.py b/openshift/test/test_v1_secret_list.py deleted file mode 100644 index 09e638d3..00000000 --- a/openshift/test/test_v1_secret_list.py +++ /dev/null @@ -1,42 +0,0 @@ -# coding: utf-8 - -""" - OpenShift API (with Kubernetes) - - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - - OpenAPI spec version: v3.6.0-alpha.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import os -import sys -import unittest - -import openshift.client -from kubernetes.client.rest import ApiException -from openshift.client.models.v1_secret_list import V1SecretList - - -class TestV1SecretList(unittest.TestCase): - """ V1SecretList unit test stubs """ - - def setUp(self): - pass - - def tearDown(self): - pass - - def testV1SecretList(self): - """ - Test V1SecretList - """ - model = openshift.client.models.v1_secret_list.V1SecretList() - - -if __name__ == '__main__': - unittest.main() diff --git a/openshift/test/test_v1_secret_spec.py b/openshift/test/test_v1_secret_spec.py index d632a4bd..e241295e 100644 --- a/openshift/test/test_v1_secret_spec.py +++ b/openshift/test/test_v1_secret_spec.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openshift/test/test_v1_secret_volume_source.py b/openshift/test/test_v1_secret_volume_source.py deleted file mode 100644 index 539106c5..00000000 --- a/openshift/test/test_v1_secret_volume_source.py +++ /dev/null @@ -1,42 +0,0 @@ -# coding: utf-8 - -""" - OpenShift API (with Kubernetes) - - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - - OpenAPI spec version: v3.6.0-alpha.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import os -import sys -import unittest - -import openshift.client -from kubernetes.client.rest import ApiException -from openshift.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 = openshift.client.models.v1_secret_volume_source.V1SecretVolumeSource() - - -if __name__ == '__main__': - unittest.main() diff --git a/openshift/test/test_v1_security_context.py b/openshift/test/test_v1_security_context.py deleted file mode 100644 index e43c03fa..00000000 --- a/openshift/test/test_v1_security_context.py +++ /dev/null @@ -1,42 +0,0 @@ -# coding: utf-8 - -""" - OpenShift API (with Kubernetes) - - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - - OpenAPI spec version: v3.6.0-alpha.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import os -import sys -import unittest - -import openshift.client -from kubernetes.client.rest import ApiException -from openshift.client.models.v1_security_context import V1SecurityContext - - -class TestV1SecurityContext(unittest.TestCase): - """ V1SecurityContext unit test stubs """ - - def setUp(self): - pass - - def tearDown(self): - pass - - def testV1SecurityContext(self): - """ - Test V1SecurityContext - """ - model = openshift.client.models.v1_security_context.V1SecurityContext() - - -if __name__ == '__main__': - unittest.main() diff --git a/openshift/test/test_v1_security_context_constraints.py b/openshift/test/test_v1_security_context_constraints.py index 0129ea9b..a3f5f056 100644 --- a/openshift/test/test_v1_security_context_constraints.py +++ b/openshift/test/test_v1_security_context_constraints.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openshift/test/test_v1_security_context_constraints_list.py b/openshift/test/test_v1_security_context_constraints_list.py index 44687b3d..5de36a51 100644 --- a/openshift/test/test_v1_security_context_constraints_list.py +++ b/openshift/test/test_v1_security_context_constraints_list.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openshift/test/test_v1_self_subject_rules_review.py b/openshift/test/test_v1_self_subject_rules_review.py index 62d77312..93e9428c 100644 --- a/openshift/test/test_v1_self_subject_rules_review.py +++ b/openshift/test/test_v1_self_subject_rules_review.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openshift/test/test_v1_self_subject_rules_review_spec.py b/openshift/test/test_v1_self_subject_rules_review_spec.py index 86936b52..38c9b71f 100644 --- a/openshift/test/test_v1_self_subject_rules_review_spec.py +++ b/openshift/test/test_v1_self_subject_rules_review_spec.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openshift/test/test_v1_server_address_by_client_cidr.py b/openshift/test/test_v1_server_address_by_client_cidr.py new file mode 100644 index 00000000..558104e5 --- /dev/null +++ b/openshift/test/test_v1_server_address_by_client_cidr.py @@ -0,0 +1,42 @@ +# coding: utf-8 + +""" + OpenShift API (with Kubernetes) + + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + + OpenAPI spec version: latest + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import os +import sys +import unittest + +import openshift.client +from kubernetes.client.rest import ApiException +from openshift.client.models.v1_server_address_by_client_cidr import V1ServerAddressByClientCIDR + + +class TestV1ServerAddressByClientCIDR(unittest.TestCase): + """ V1ServerAddressByClientCIDR unit test stubs """ + + def setUp(self): + pass + + def tearDown(self): + pass + + def testV1ServerAddressByClientCIDR(self): + """ + Test V1ServerAddressByClientCIDR + """ + model = openshift.client.models.v1_server_address_by_client_cidr.V1ServerAddressByClientCIDR() + + +if __name__ == '__main__': + unittest.main() diff --git a/openshift/test/test_v1_service.py b/openshift/test/test_v1_service.py deleted file mode 100644 index 5a58b5f8..00000000 --- a/openshift/test/test_v1_service.py +++ /dev/null @@ -1,42 +0,0 @@ -# coding: utf-8 - -""" - OpenShift API (with Kubernetes) - - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - - OpenAPI spec version: v3.6.0-alpha.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import os -import sys -import unittest - -import openshift.client -from kubernetes.client.rest import ApiException -from openshift.client.models.v1_service import V1Service - - -class TestV1Service(unittest.TestCase): - """ V1Service unit test stubs """ - - def setUp(self): - pass - - def tearDown(self): - pass - - def testV1Service(self): - """ - Test V1Service - """ - model = openshift.client.models.v1_service.V1Service() - - -if __name__ == '__main__': - unittest.main() diff --git a/openshift/test/test_v1_service_account.py b/openshift/test/test_v1_service_account.py deleted file mode 100644 index f275c3d3..00000000 --- a/openshift/test/test_v1_service_account.py +++ /dev/null @@ -1,42 +0,0 @@ -# coding: utf-8 - -""" - OpenShift API (with Kubernetes) - - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - - OpenAPI spec version: v3.6.0-alpha.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import os -import sys -import unittest - -import openshift.client -from kubernetes.client.rest import ApiException -from openshift.client.models.v1_service_account import V1ServiceAccount - - -class TestV1ServiceAccount(unittest.TestCase): - """ V1ServiceAccount unit test stubs """ - - def setUp(self): - pass - - def tearDown(self): - pass - - def testV1ServiceAccount(self): - """ - Test V1ServiceAccount - """ - model = openshift.client.models.v1_service_account.V1ServiceAccount() - - -if __name__ == '__main__': - unittest.main() diff --git a/openshift/test/test_v1_service_account_list.py b/openshift/test/test_v1_service_account_list.py deleted file mode 100644 index 40b6686d..00000000 --- a/openshift/test/test_v1_service_account_list.py +++ /dev/null @@ -1,42 +0,0 @@ -# coding: utf-8 - -""" - OpenShift API (with Kubernetes) - - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - - OpenAPI spec version: v3.6.0-alpha.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import os -import sys -import unittest - -import openshift.client -from kubernetes.client.rest import ApiException -from openshift.client.models.v1_service_account_list import V1ServiceAccountList - - -class TestV1ServiceAccountList(unittest.TestCase): - """ V1ServiceAccountList unit test stubs """ - - def setUp(self): - pass - - def tearDown(self): - pass - - def testV1ServiceAccountList(self): - """ - Test V1ServiceAccountList - """ - model = openshift.client.models.v1_service_account_list.V1ServiceAccountList() - - -if __name__ == '__main__': - unittest.main() diff --git a/openshift/test/test_v1_service_account_pod_security_policy_review_status.py b/openshift/test/test_v1_service_account_pod_security_policy_review_status.py index 6270768c..b52637cb 100644 --- a/openshift/test/test_v1_service_account_pod_security_policy_review_status.py +++ b/openshift/test/test_v1_service_account_pod_security_policy_review_status.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openshift/test/test_v1_service_account_reference.py b/openshift/test/test_v1_service_account_reference.py index 7ad39c6c..ee45af90 100644 --- a/openshift/test/test_v1_service_account_reference.py +++ b/openshift/test/test_v1_service_account_reference.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openshift/test/test_v1_service_account_restriction.py b/openshift/test/test_v1_service_account_restriction.py index 582d370b..cd0c9ecb 100644 --- a/openshift/test/test_v1_service_account_restriction.py +++ b/openshift/test/test_v1_service_account_restriction.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openshift/test/test_v1_service_list.py b/openshift/test/test_v1_service_list.py deleted file mode 100644 index 7df574d0..00000000 --- a/openshift/test/test_v1_service_list.py +++ /dev/null @@ -1,42 +0,0 @@ -# coding: utf-8 - -""" - OpenShift API (with Kubernetes) - - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - - OpenAPI spec version: v3.6.0-alpha.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import os -import sys -import unittest - -import openshift.client -from kubernetes.client.rest import ApiException -from openshift.client.models.v1_service_list import V1ServiceList - - -class TestV1ServiceList(unittest.TestCase): - """ V1ServiceList unit test stubs """ - - def setUp(self): - pass - - def tearDown(self): - pass - - def testV1ServiceList(self): - """ - Test V1ServiceList - """ - model = openshift.client.models.v1_service_list.V1ServiceList() - - -if __name__ == '__main__': - unittest.main() diff --git a/openshift/test/test_v1_service_port.py b/openshift/test/test_v1_service_port.py deleted file mode 100644 index 5cd0037e..00000000 --- a/openshift/test/test_v1_service_port.py +++ /dev/null @@ -1,42 +0,0 @@ -# coding: utf-8 - -""" - OpenShift API (with Kubernetes) - - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - - OpenAPI spec version: v3.6.0-alpha.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import os -import sys -import unittest - -import openshift.client -from kubernetes.client.rest import ApiException -from openshift.client.models.v1_service_port import V1ServicePort - - -class TestV1ServicePort(unittest.TestCase): - """ V1ServicePort unit test stubs """ - - def setUp(self): - pass - - def tearDown(self): - pass - - def testV1ServicePort(self): - """ - Test V1ServicePort - """ - model = openshift.client.models.v1_service_port.V1ServicePort() - - -if __name__ == '__main__': - unittest.main() diff --git a/openshift/test/test_v1_service_spec.py b/openshift/test/test_v1_service_spec.py deleted file mode 100644 index ec668742..00000000 --- a/openshift/test/test_v1_service_spec.py +++ /dev/null @@ -1,42 +0,0 @@ -# coding: utf-8 - -""" - OpenShift API (with Kubernetes) - - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - - OpenAPI spec version: v3.6.0-alpha.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import os -import sys -import unittest - -import openshift.client -from kubernetes.client.rest import ApiException -from openshift.client.models.v1_service_spec import V1ServiceSpec - - -class TestV1ServiceSpec(unittest.TestCase): - """ V1ServiceSpec unit test stubs """ - - def setUp(self): - pass - - def tearDown(self): - pass - - def testV1ServiceSpec(self): - """ - Test V1ServiceSpec - """ - model = openshift.client.models.v1_service_spec.V1ServiceSpec() - - -if __name__ == '__main__': - unittest.main() diff --git a/openshift/test/test_v1_service_status.py b/openshift/test/test_v1_service_status.py deleted file mode 100644 index 59077350..00000000 --- a/openshift/test/test_v1_service_status.py +++ /dev/null @@ -1,42 +0,0 @@ -# coding: utf-8 - -""" - OpenShift API (with Kubernetes) - - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - - OpenAPI spec version: v3.6.0-alpha.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import os -import sys -import unittest - -import openshift.client -from kubernetes.client.rest import ApiException -from openshift.client.models.v1_service_status import V1ServiceStatus - - -class TestV1ServiceStatus(unittest.TestCase): - """ V1ServiceStatus unit test stubs """ - - def setUp(self): - pass - - def tearDown(self): - pass - - def testV1ServiceStatus(self): - """ - Test V1ServiceStatus - """ - model = openshift.client.models.v1_service_status.V1ServiceStatus() - - -if __name__ == '__main__': - unittest.main() diff --git a/openshift/test/test_v1_signature_condition.py b/openshift/test/test_v1_signature_condition.py index b1310306..2992bd7d 100644 --- a/openshift/test/test_v1_signature_condition.py +++ b/openshift/test/test_v1_signature_condition.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openshift/test/test_v1_signature_issuer.py b/openshift/test/test_v1_signature_issuer.py index aefc5033..69aafa8c 100644 --- a/openshift/test/test_v1_signature_issuer.py +++ b/openshift/test/test_v1_signature_issuer.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openshift/test/test_v1_signature_subject.py b/openshift/test/test_v1_signature_subject.py index 5b271d56..1df5398f 100644 --- a/openshift/test/test_v1_signature_subject.py +++ b/openshift/test/test_v1_signature_subject.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openshift/test/test_v1_source_build_strategy.py b/openshift/test/test_v1_source_build_strategy.py index 4e2bfe87..e5721fff 100644 --- a/openshift/test/test_v1_source_build_strategy.py +++ b/openshift/test/test_v1_source_build_strategy.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openshift/test/test_v1_source_control_user.py b/openshift/test/test_v1_source_control_user.py index 366520e2..8ec112e0 100644 --- a/openshift/test/test_v1_source_control_user.py +++ b/openshift/test/test_v1_source_control_user.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openshift/test/test_v1_source_revision.py b/openshift/test/test_v1_source_revision.py index b5d0b0ad..850139a2 100644 --- a/openshift/test/test_v1_source_revision.py +++ b/openshift/test/test_v1_source_revision.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openshift/test/test_v1_host_path_volume_source.py b/openshift/test/test_v1_source_strategy_options.py similarity index 74% rename from openshift/test/test_v1_host_path_volume_source.py rename to openshift/test/test_v1_source_strategy_options.py index 17c23201..b83b2ce1 100644 --- a/openshift/test/test_v1_host_path_volume_source.py +++ b/openshift/test/test_v1_source_strategy_options.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -19,11 +19,11 @@ import openshift.client from kubernetes.client.rest import ApiException -from openshift.client.models.v1_host_path_volume_source import V1HostPathVolumeSource +from openshift.client.models.v1_source_strategy_options import V1SourceStrategyOptions -class TestV1HostPathVolumeSource(unittest.TestCase): - """ V1HostPathVolumeSource unit test stubs """ +class TestV1SourceStrategyOptions(unittest.TestCase): + """ V1SourceStrategyOptions unit test stubs """ def setUp(self): pass @@ -31,11 +31,11 @@ def setUp(self): def tearDown(self): pass - def testV1HostPathVolumeSource(self): + def testV1SourceStrategyOptions(self): """ - Test V1HostPathVolumeSource + Test V1SourceStrategyOptions """ - model = openshift.client.models.v1_host_path_volume_source.V1HostPathVolumeSource() + model = openshift.client.models.v1_source_strategy_options.V1SourceStrategyOptions() if __name__ == '__main__': diff --git a/openshift/test/test_v1_env_var.py b/openshift/test/test_v1_stage_info.py similarity index 75% rename from openshift/test/test_v1_env_var.py rename to openshift/test/test_v1_stage_info.py index b30779cf..e6583418 100644 --- a/openshift/test/test_v1_env_var.py +++ b/openshift/test/test_v1_stage_info.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -19,11 +19,11 @@ import openshift.client from kubernetes.client.rest import ApiException -from openshift.client.models.v1_env_var import V1EnvVar +from openshift.client.models.v1_stage_info import V1StageInfo -class TestV1EnvVar(unittest.TestCase): - """ V1EnvVar unit test stubs """ +class TestV1StageInfo(unittest.TestCase): + """ V1StageInfo unit test stubs """ def setUp(self): pass @@ -31,11 +31,11 @@ def setUp(self): def tearDown(self): pass - def testV1EnvVar(self): + def testV1StageInfo(self): """ - Test V1EnvVar + Test V1StageInfo """ - model = openshift.client.models.v1_env_var.V1EnvVar() + model = openshift.client.models.v1_stage_info.V1StageInfo() if __name__ == '__main__': diff --git a/openshift/test/test_v1_event.py b/openshift/test/test_v1_step_info.py similarity index 76% rename from openshift/test/test_v1_event.py rename to openshift/test/test_v1_step_info.py index de0bfd27..f3b014bf 100644 --- a/openshift/test/test_v1_event.py +++ b/openshift/test/test_v1_step_info.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -19,11 +19,11 @@ import openshift.client from kubernetes.client.rest import ApiException -from openshift.client.models.v1_event import V1Event +from openshift.client.models.v1_step_info import V1StepInfo -class TestV1Event(unittest.TestCase): - """ V1Event unit test stubs """ +class TestV1StepInfo(unittest.TestCase): + """ V1StepInfo unit test stubs """ def setUp(self): pass @@ -31,11 +31,11 @@ def setUp(self): def tearDown(self): pass - def testV1Event(self): + def testV1StepInfo(self): """ - Test V1Event + Test V1StepInfo """ - model = openshift.client.models.v1_event.V1Event() + model = openshift.client.models.v1_step_info.V1StepInfo() if __name__ == '__main__': diff --git a/openshift/test/test_v1_subject_access_review.py b/openshift/test/test_v1_subject_access_review.py deleted file mode 100644 index 12cd6e2e..00000000 --- a/openshift/test/test_v1_subject_access_review.py +++ /dev/null @@ -1,42 +0,0 @@ -# coding: utf-8 - -""" - OpenShift API (with Kubernetes) - - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - - OpenAPI spec version: v3.6.0-alpha.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import os -import sys -import unittest - -import openshift.client -from kubernetes.client.rest import ApiException -from openshift.client.models.v1_subject_access_review import V1SubjectAccessReview - - -class TestV1SubjectAccessReview(unittest.TestCase): - """ V1SubjectAccessReview unit test stubs """ - - def setUp(self): - pass - - def tearDown(self): - pass - - def testV1SubjectAccessReview(self): - """ - Test V1SubjectAccessReview - """ - model = openshift.client.models.v1_subject_access_review.V1SubjectAccessReview() - - -if __name__ == '__main__': - unittest.main() diff --git a/openshift/test/test_v1_subject_rules_review.py b/openshift/test/test_v1_subject_rules_review.py index b0b1f366..3b372e56 100644 --- a/openshift/test/test_v1_subject_rules_review.py +++ b/openshift/test/test_v1_subject_rules_review.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openshift/test/test_v1_subject_rules_review_spec.py b/openshift/test/test_v1_subject_rules_review_spec.py index b287958c..17f9082e 100644 --- a/openshift/test/test_v1_subject_rules_review_spec.py +++ b/openshift/test/test_v1_subject_rules_review_spec.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openshift/test/test_v1_subject_rules_review_status.py b/openshift/test/test_v1_subject_rules_review_status.py index 50d36992..68654585 100644 --- a/openshift/test/test_v1_subject_rules_review_status.py +++ b/openshift/test/test_v1_subject_rules_review_status.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openshift/test/test_v1_supplemental_groups_strategy_options.py b/openshift/test/test_v1_supplemental_groups_strategy_options.py index 50c618de..d5230483 100644 --- a/openshift/test/test_v1_supplemental_groups_strategy_options.py +++ b/openshift/test/test_v1_supplemental_groups_strategy_options.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openshift/test/test_v1_tag_event.py b/openshift/test/test_v1_tag_event.py index 33c34cd2..2e714e21 100644 --- a/openshift/test/test_v1_tag_event.py +++ b/openshift/test/test_v1_tag_event.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openshift/test/test_v1_tag_event_condition.py b/openshift/test/test_v1_tag_event_condition.py index 73eae2ce..edda91d5 100644 --- a/openshift/test/test_v1_tag_event_condition.py +++ b/openshift/test/test_v1_tag_event_condition.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openshift/test/test_v1_tag_image_hook.py b/openshift/test/test_v1_tag_image_hook.py index 8c5a247b..0ad34a43 100644 --- a/openshift/test/test_v1_tag_image_hook.py +++ b/openshift/test/test_v1_tag_image_hook.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openshift/test/test_v1_tag_import_policy.py b/openshift/test/test_v1_tag_import_policy.py index 4ccc4919..26aabc65 100644 --- a/openshift/test/test_v1_tag_import_policy.py +++ b/openshift/test/test_v1_tag_import_policy.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openshift/test/test_v1_tag_reference.py b/openshift/test/test_v1_tag_reference.py index 4b976ee3..8f9b6264 100644 --- a/openshift/test/test_v1_tag_reference.py +++ b/openshift/test/test_v1_tag_reference.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openshift/test/test_v1_tag_reference_policy.py b/openshift/test/test_v1_tag_reference_policy.py index b87fe356..ffbc7cb7 100644 --- a/openshift/test/test_v1_tag_reference_policy.py +++ b/openshift/test/test_v1_tag_reference_policy.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openshift/test/test_v1_tcp_socket_action.py b/openshift/test/test_v1_tcp_socket_action.py deleted file mode 100644 index 53dca8e9..00000000 --- a/openshift/test/test_v1_tcp_socket_action.py +++ /dev/null @@ -1,42 +0,0 @@ -# coding: utf-8 - -""" - OpenShift API (with Kubernetes) - - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - - OpenAPI spec version: v3.6.0-alpha.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import os -import sys -import unittest - -import openshift.client -from kubernetes.client.rest import ApiException -from openshift.client.models.v1_tcp_socket_action import V1TCPSocketAction - - -class TestV1TCPSocketAction(unittest.TestCase): - """ V1TCPSocketAction unit test stubs """ - - def setUp(self): - pass - - def tearDown(self): - pass - - def testV1TCPSocketAction(self): - """ - Test V1TCPSocketAction - """ - model = openshift.client.models.v1_tcp_socket_action.V1TCPSocketAction() - - -if __name__ == '__main__': - unittest.main() diff --git a/openshift/test/test_v1_template.py b/openshift/test/test_v1_template.py index 1ad17c5c..986a55d0 100644 --- a/openshift/test/test_v1_template.py +++ b/openshift/test/test_v1_template.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openshift/test/test_apps_api.py b/openshift/test/test_v1_template_instance.py similarity index 74% rename from openshift/test/test_apps_api.py rename to openshift/test/test_v1_template_instance.py index 2a110acd..0bfdf212 100644 --- a/openshift/test/test_apps_api.py +++ b/openshift/test/test_v1_template_instance.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -19,25 +19,23 @@ import openshift.client from kubernetes.client.rest import ApiException -from openshift.client.apis.apps_api import AppsApi +from openshift.client.models.v1_template_instance import V1TemplateInstance -class TestAppsApi(unittest.TestCase): - """ AppsApi unit test stubs """ +class TestV1TemplateInstance(unittest.TestCase): + """ V1TemplateInstance unit test stubs """ def setUp(self): - self.api = openshift.client.apis.apps_api.AppsApi() + pass def tearDown(self): pass - def test_get_apps_api_group(self): + def testV1TemplateInstance(self): """ - Test case for get_apps_api_group - - + Test V1TemplateInstance """ - pass + model = openshift.client.models.v1_template_instance.V1TemplateInstance() if __name__ == '__main__': diff --git a/openshift/test/test_v1_template_instance_condition.py b/openshift/test/test_v1_template_instance_condition.py new file mode 100644 index 00000000..a5e7ce37 --- /dev/null +++ b/openshift/test/test_v1_template_instance_condition.py @@ -0,0 +1,42 @@ +# coding: utf-8 + +""" + OpenShift API (with Kubernetes) + + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + + OpenAPI spec version: latest + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import os +import sys +import unittest + +import openshift.client +from kubernetes.client.rest import ApiException +from openshift.client.models.v1_template_instance_condition import V1TemplateInstanceCondition + + +class TestV1TemplateInstanceCondition(unittest.TestCase): + """ V1TemplateInstanceCondition unit test stubs """ + + def setUp(self): + pass + + def tearDown(self): + pass + + def testV1TemplateInstanceCondition(self): + """ + Test V1TemplateInstanceCondition + """ + model = openshift.client.models.v1_template_instance_condition.V1TemplateInstanceCondition() + + +if __name__ == '__main__': + unittest.main() diff --git a/openshift/test/test_apis_api.py b/openshift/test/test_v1_template_instance_list.py similarity index 74% rename from openshift/test/test_apis_api.py rename to openshift/test/test_v1_template_instance_list.py index 147c7999..398b5d57 100644 --- a/openshift/test/test_apis_api.py +++ b/openshift/test/test_v1_template_instance_list.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -19,25 +19,23 @@ import openshift.client from kubernetes.client.rest import ApiException -from openshift.client.apis.apis_api import ApisApi +from openshift.client.models.v1_template_instance_list import V1TemplateInstanceList -class TestApisApi(unittest.TestCase): - """ ApisApi unit test stubs """ +class TestV1TemplateInstanceList(unittest.TestCase): + """ V1TemplateInstanceList unit test stubs """ def setUp(self): - self.api = openshift.client.apis.apis_api.ApisApi() + pass def tearDown(self): pass - def test_get_api_versions(self): + def testV1TemplateInstanceList(self): """ - Test case for get_api_versions - - + Test V1TemplateInstanceList """ - pass + model = openshift.client.models.v1_template_instance_list.V1TemplateInstanceList() if __name__ == '__main__': diff --git a/openshift/test/test_v1_template_instance_object.py b/openshift/test/test_v1_template_instance_object.py new file mode 100644 index 00000000..edbe0afd --- /dev/null +++ b/openshift/test/test_v1_template_instance_object.py @@ -0,0 +1,42 @@ +# coding: utf-8 + +""" + OpenShift API (with Kubernetes) + + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + + OpenAPI spec version: latest + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import os +import sys +import unittest + +import openshift.client +from kubernetes.client.rest import ApiException +from openshift.client.models.v1_template_instance_object import V1TemplateInstanceObject + + +class TestV1TemplateInstanceObject(unittest.TestCase): + """ V1TemplateInstanceObject unit test stubs """ + + def setUp(self): + pass + + def tearDown(self): + pass + + def testV1TemplateInstanceObject(self): + """ + Test V1TemplateInstanceObject + """ + model = openshift.client.models.v1_template_instance_object.V1TemplateInstanceObject() + + +if __name__ == '__main__': + unittest.main() diff --git a/openshift/test/test_v1_template_instance_requester.py b/openshift/test/test_v1_template_instance_requester.py new file mode 100644 index 00000000..098e290e --- /dev/null +++ b/openshift/test/test_v1_template_instance_requester.py @@ -0,0 +1,42 @@ +# coding: utf-8 + +""" + OpenShift API (with Kubernetes) + + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + + OpenAPI spec version: latest + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import os +import sys +import unittest + +import openshift.client +from kubernetes.client.rest import ApiException +from openshift.client.models.v1_template_instance_requester import V1TemplateInstanceRequester + + +class TestV1TemplateInstanceRequester(unittest.TestCase): + """ V1TemplateInstanceRequester unit test stubs """ + + def setUp(self): + pass + + def tearDown(self): + pass + + def testV1TemplateInstanceRequester(self): + """ + Test V1TemplateInstanceRequester + """ + model = openshift.client.models.v1_template_instance_requester.V1TemplateInstanceRequester() + + +if __name__ == '__main__': + unittest.main() diff --git a/openshift/test/test_v1_template_instance_spec.py b/openshift/test/test_v1_template_instance_spec.py new file mode 100644 index 00000000..f7d64e5b --- /dev/null +++ b/openshift/test/test_v1_template_instance_spec.py @@ -0,0 +1,42 @@ +# coding: utf-8 + +""" + OpenShift API (with Kubernetes) + + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + + OpenAPI spec version: latest + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import os +import sys +import unittest + +import openshift.client +from kubernetes.client.rest import ApiException +from openshift.client.models.v1_template_instance_spec import V1TemplateInstanceSpec + + +class TestV1TemplateInstanceSpec(unittest.TestCase): + """ V1TemplateInstanceSpec unit test stubs """ + + def setUp(self): + pass + + def tearDown(self): + pass + + def testV1TemplateInstanceSpec(self): + """ + Test V1TemplateInstanceSpec + """ + model = openshift.client.models.v1_template_instance_spec.V1TemplateInstanceSpec() + + +if __name__ == '__main__': + unittest.main() diff --git a/openshift/test/test_v1_template_instance_status.py b/openshift/test/test_v1_template_instance_status.py new file mode 100644 index 00000000..a0db7971 --- /dev/null +++ b/openshift/test/test_v1_template_instance_status.py @@ -0,0 +1,42 @@ +# coding: utf-8 + +""" + OpenShift API (with Kubernetes) + + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + + OpenAPI spec version: latest + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import os +import sys +import unittest + +import openshift.client +from kubernetes.client.rest import ApiException +from openshift.client.models.v1_template_instance_status import V1TemplateInstanceStatus + + +class TestV1TemplateInstanceStatus(unittest.TestCase): + """ V1TemplateInstanceStatus unit test stubs """ + + def setUp(self): + pass + + def tearDown(self): + pass + + def testV1TemplateInstanceStatus(self): + """ + Test V1TemplateInstanceStatus + """ + model = openshift.client.models.v1_template_instance_status.V1TemplateInstanceStatus() + + +if __name__ == '__main__': + unittest.main() diff --git a/openshift/test/test_v1_template_list.py b/openshift/test/test_v1_template_list.py index 7a248f76..864bcbc9 100644 --- a/openshift/test/test_v1_template_list.py +++ b/openshift/test/test_v1_template_list.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openshift/test/test_v1_tls_config.py b/openshift/test/test_v1_tls_config.py index f0b4ba61..e086a0b2 100644 --- a/openshift/test/test_v1_tls_config.py +++ b/openshift/test/test_v1_tls_config.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openshift/test/test_v1_user.py b/openshift/test/test_v1_user.py index 5260ded6..d8bf6fbc 100644 --- a/openshift/test/test_v1_user.py +++ b/openshift/test/test_v1_user.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openshift/test/test_v1_user_identity_mapping.py b/openshift/test/test_v1_user_identity_mapping.py index 0663eaf9..fc2aad7b 100644 --- a/openshift/test/test_v1_user_identity_mapping.py +++ b/openshift/test/test_v1_user_identity_mapping.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openshift/test/test_v1_user_list.py b/openshift/test/test_v1_user_list.py index 2324c459..87c0aa23 100644 --- a/openshift/test/test_v1_user_list.py +++ b/openshift/test/test_v1_user_list.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openshift/test/test_v1_user_restriction.py b/openshift/test/test_v1_user_restriction.py index 54666957..2b1a1e8d 100644 --- a/openshift/test/test_v1_user_restriction.py +++ b/openshift/test/test_v1_user_restriction.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openshift/test/test_v1_volume.py b/openshift/test/test_v1_volume.py deleted file mode 100644 index d487c382..00000000 --- a/openshift/test/test_v1_volume.py +++ /dev/null @@ -1,42 +0,0 @@ -# coding: utf-8 - -""" - OpenShift API (with Kubernetes) - - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - - OpenAPI spec version: v3.6.0-alpha.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import os -import sys -import unittest - -import openshift.client -from kubernetes.client.rest import ApiException -from openshift.client.models.v1_volume import V1Volume - - -class TestV1Volume(unittest.TestCase): - """ V1Volume unit test stubs """ - - def setUp(self): - pass - - def tearDown(self): - pass - - def testV1Volume(self): - """ - Test V1Volume - """ - model = openshift.client.models.v1_volume.V1Volume() - - -if __name__ == '__main__': - unittest.main() diff --git a/openshift/test/test_v1_volume_mount.py b/openshift/test/test_v1_volume_mount.py deleted file mode 100644 index 86f4a649..00000000 --- a/openshift/test/test_v1_volume_mount.py +++ /dev/null @@ -1,42 +0,0 @@ -# coding: utf-8 - -""" - OpenShift API (with Kubernetes) - - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - - OpenAPI spec version: v3.6.0-alpha.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import os -import sys -import unittest - -import openshift.client -from kubernetes.client.rest import ApiException -from openshift.client.models.v1_volume_mount import V1VolumeMount - - -class TestV1VolumeMount(unittest.TestCase): - """ V1VolumeMount unit test stubs """ - - def setUp(self): - pass - - def tearDown(self): - pass - - def testV1VolumeMount(self): - """ - Test V1VolumeMount - """ - model = openshift.client.models.v1_volume_mount.V1VolumeMount() - - -if __name__ == '__main__': - unittest.main() diff --git a/openshift/test/test_v1_vsphere_virtual_disk_volume_source.py b/openshift/test/test_v1_vsphere_virtual_disk_volume_source.py deleted file mode 100644 index 7f5e06e0..00000000 --- a/openshift/test/test_v1_vsphere_virtual_disk_volume_source.py +++ /dev/null @@ -1,42 +0,0 @@ -# coding: utf-8 - -""" - OpenShift API (with Kubernetes) - - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - - OpenAPI spec version: v3.6.0-alpha.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import os -import sys -import unittest - -import openshift.client -from kubernetes.client.rest import ApiException -from openshift.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 = openshift.client.models.v1_vsphere_virtual_disk_volume_source.V1VsphereVirtualDiskVolumeSource() - - -if __name__ == '__main__': - unittest.main() diff --git a/openshift/test/test_v1_web_hook_trigger.py b/openshift/test/test_v1_web_hook_trigger.py index 7428f347..0a9a0942 100644 --- a/openshift/test/test_v1_web_hook_trigger.py +++ b/openshift/test/test_v1_web_hook_trigger.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openshift/test/test_v1alpha1_certificate_signing_request.py b/openshift/test/test_v1alpha1_certificate_signing_request.py deleted file mode 100644 index df180ff1..00000000 --- a/openshift/test/test_v1alpha1_certificate_signing_request.py +++ /dev/null @@ -1,42 +0,0 @@ -# coding: utf-8 - -""" - OpenShift API (with Kubernetes) - - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - - OpenAPI spec version: v3.6.0-alpha.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import os -import sys -import unittest - -import openshift.client -from kubernetes.client.rest import ApiException -from openshift.client.models.v1alpha1_certificate_signing_request import V1alpha1CertificateSigningRequest - - -class TestV1alpha1CertificateSigningRequest(unittest.TestCase): - """ V1alpha1CertificateSigningRequest unit test stubs """ - - def setUp(self): - pass - - def tearDown(self): - pass - - def testV1alpha1CertificateSigningRequest(self): - """ - Test V1alpha1CertificateSigningRequest - """ - model = openshift.client.models.v1alpha1_certificate_signing_request.V1alpha1CertificateSigningRequest() - - -if __name__ == '__main__': - unittest.main() diff --git a/openshift/test/test_v1alpha1_certificate_signing_request_condition.py b/openshift/test/test_v1alpha1_certificate_signing_request_condition.py deleted file mode 100644 index 4878f495..00000000 --- a/openshift/test/test_v1alpha1_certificate_signing_request_condition.py +++ /dev/null @@ -1,42 +0,0 @@ -# coding: utf-8 - -""" - OpenShift API (with Kubernetes) - - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - - OpenAPI spec version: v3.6.0-alpha.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import os -import sys -import unittest - -import openshift.client -from kubernetes.client.rest import ApiException -from openshift.client.models.v1alpha1_certificate_signing_request_condition import V1alpha1CertificateSigningRequestCondition - - -class TestV1alpha1CertificateSigningRequestCondition(unittest.TestCase): - """ V1alpha1CertificateSigningRequestCondition unit test stubs """ - - def setUp(self): - pass - - def tearDown(self): - pass - - def testV1alpha1CertificateSigningRequestCondition(self): - """ - Test V1alpha1CertificateSigningRequestCondition - """ - model = openshift.client.models.v1alpha1_certificate_signing_request_condition.V1alpha1CertificateSigningRequestCondition() - - -if __name__ == '__main__': - unittest.main() diff --git a/openshift/test/test_v1alpha1_certificate_signing_request_list.py b/openshift/test/test_v1alpha1_certificate_signing_request_list.py deleted file mode 100644 index 9069ba7a..00000000 --- a/openshift/test/test_v1alpha1_certificate_signing_request_list.py +++ /dev/null @@ -1,42 +0,0 @@ -# coding: utf-8 - -""" - OpenShift API (with Kubernetes) - - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - - OpenAPI spec version: v3.6.0-alpha.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import os -import sys -import unittest - -import openshift.client -from kubernetes.client.rest import ApiException -from openshift.client.models.v1alpha1_certificate_signing_request_list import V1alpha1CertificateSigningRequestList - - -class TestV1alpha1CertificateSigningRequestList(unittest.TestCase): - """ V1alpha1CertificateSigningRequestList unit test stubs """ - - def setUp(self): - pass - - def tearDown(self): - pass - - def testV1alpha1CertificateSigningRequestList(self): - """ - Test V1alpha1CertificateSigningRequestList - """ - model = openshift.client.models.v1alpha1_certificate_signing_request_list.V1alpha1CertificateSigningRequestList() - - -if __name__ == '__main__': - unittest.main() diff --git a/openshift/test/test_v1alpha1_certificate_signing_request_spec.py b/openshift/test/test_v1alpha1_certificate_signing_request_spec.py deleted file mode 100644 index 7cdb11dc..00000000 --- a/openshift/test/test_v1alpha1_certificate_signing_request_spec.py +++ /dev/null @@ -1,42 +0,0 @@ -# coding: utf-8 - -""" - OpenShift API (with Kubernetes) - - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - - OpenAPI spec version: v3.6.0-alpha.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import os -import sys -import unittest - -import openshift.client -from kubernetes.client.rest import ApiException -from openshift.client.models.v1alpha1_certificate_signing_request_spec import V1alpha1CertificateSigningRequestSpec - - -class TestV1alpha1CertificateSigningRequestSpec(unittest.TestCase): - """ V1alpha1CertificateSigningRequestSpec unit test stubs """ - - def setUp(self): - pass - - def tearDown(self): - pass - - def testV1alpha1CertificateSigningRequestSpec(self): - """ - Test V1alpha1CertificateSigningRequestSpec - """ - model = openshift.client.models.v1alpha1_certificate_signing_request_spec.V1alpha1CertificateSigningRequestSpec() - - -if __name__ == '__main__': - unittest.main() diff --git a/openshift/test/test_v1alpha1_certificate_signing_request_status.py b/openshift/test/test_v1alpha1_certificate_signing_request_status.py deleted file mode 100644 index 26ad8680..00000000 --- a/openshift/test/test_v1alpha1_certificate_signing_request_status.py +++ /dev/null @@ -1,42 +0,0 @@ -# coding: utf-8 - -""" - OpenShift API (with Kubernetes) - - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - - OpenAPI spec version: v3.6.0-alpha.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import os -import sys -import unittest - -import openshift.client -from kubernetes.client.rest import ApiException -from openshift.client.models.v1alpha1_certificate_signing_request_status import V1alpha1CertificateSigningRequestStatus - - -class TestV1alpha1CertificateSigningRequestStatus(unittest.TestCase): - """ V1alpha1CertificateSigningRequestStatus unit test stubs """ - - def setUp(self): - pass - - def tearDown(self): - pass - - def testV1alpha1CertificateSigningRequestStatus(self): - """ - Test V1alpha1CertificateSigningRequestStatus - """ - model = openshift.client.models.v1alpha1_certificate_signing_request_status.V1alpha1CertificateSigningRequestStatus() - - -if __name__ == '__main__': - unittest.main() diff --git a/openshift/test/test_v1beta1_api_version.py b/openshift/test/test_v1beta1_api_version.py deleted file mode 100644 index 64196196..00000000 --- a/openshift/test/test_v1beta1_api_version.py +++ /dev/null @@ -1,42 +0,0 @@ -# coding: utf-8 - -""" - OpenShift API (with Kubernetes) - - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - - OpenAPI spec version: v3.6.0-alpha.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import os -import sys -import unittest - -import openshift.client -from kubernetes.client.rest import ApiException -from openshift.client.models.v1beta1_api_version import V1beta1APIVersion - - -class TestV1beta1APIVersion(unittest.TestCase): - """ V1beta1APIVersion unit test stubs """ - - def setUp(self): - pass - - def tearDown(self): - pass - - def testV1beta1APIVersion(self): - """ - Test V1beta1APIVersion - """ - model = openshift.client.models.v1beta1_api_version.V1beta1APIVersion() - - -if __name__ == '__main__': - unittest.main() diff --git a/openshift/test/test_v1beta1_cpu_target_utilization.py b/openshift/test/test_v1beta1_cpu_target_utilization.py deleted file mode 100644 index 791e5609..00000000 --- a/openshift/test/test_v1beta1_cpu_target_utilization.py +++ /dev/null @@ -1,42 +0,0 @@ -# coding: utf-8 - -""" - OpenShift API (with Kubernetes) - - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - - OpenAPI spec version: v3.6.0-alpha.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import os -import sys -import unittest - -import openshift.client -from kubernetes.client.rest import ApiException -from openshift.client.models.v1beta1_cpu_target_utilization import V1beta1CPUTargetUtilization - - -class TestV1beta1CPUTargetUtilization(unittest.TestCase): - """ V1beta1CPUTargetUtilization unit test stubs """ - - def setUp(self): - pass - - def tearDown(self): - pass - - def testV1beta1CPUTargetUtilization(self): - """ - Test V1beta1CPUTargetUtilization - """ - model = openshift.client.models.v1beta1_cpu_target_utilization.V1beta1CPUTargetUtilization() - - -if __name__ == '__main__': - unittest.main() diff --git a/openshift/test/test_v1beta1_daemon_set.py b/openshift/test/test_v1beta1_daemon_set.py deleted file mode 100644 index 2bfd653c..00000000 --- a/openshift/test/test_v1beta1_daemon_set.py +++ /dev/null @@ -1,42 +0,0 @@ -# coding: utf-8 - -""" - OpenShift API (with Kubernetes) - - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - - OpenAPI spec version: v3.6.0-alpha.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import os -import sys -import unittest - -import openshift.client -from kubernetes.client.rest import ApiException -from openshift.client.models.v1beta1_daemon_set import V1beta1DaemonSet - - -class TestV1beta1DaemonSet(unittest.TestCase): - """ V1beta1DaemonSet unit test stubs """ - - def setUp(self): - pass - - def tearDown(self): - pass - - def testV1beta1DaemonSet(self): - """ - Test V1beta1DaemonSet - """ - model = openshift.client.models.v1beta1_daemon_set.V1beta1DaemonSet() - - -if __name__ == '__main__': - unittest.main() diff --git a/openshift/test/test_v1beta1_daemon_set_list.py b/openshift/test/test_v1beta1_daemon_set_list.py deleted file mode 100644 index 9c242216..00000000 --- a/openshift/test/test_v1beta1_daemon_set_list.py +++ /dev/null @@ -1,42 +0,0 @@ -# coding: utf-8 - -""" - OpenShift API (with Kubernetes) - - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - - OpenAPI spec version: v3.6.0-alpha.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import os -import sys -import unittest - -import openshift.client -from kubernetes.client.rest import ApiException -from openshift.client.models.v1beta1_daemon_set_list import V1beta1DaemonSetList - - -class TestV1beta1DaemonSetList(unittest.TestCase): - """ V1beta1DaemonSetList unit test stubs """ - - def setUp(self): - pass - - def tearDown(self): - pass - - def testV1beta1DaemonSetList(self): - """ - Test V1beta1DaemonSetList - """ - model = openshift.client.models.v1beta1_daemon_set_list.V1beta1DaemonSetList() - - -if __name__ == '__main__': - unittest.main() diff --git a/openshift/test/test_v1beta1_daemon_set_spec.py b/openshift/test/test_v1beta1_daemon_set_spec.py deleted file mode 100644 index b48ab79c..00000000 --- a/openshift/test/test_v1beta1_daemon_set_spec.py +++ /dev/null @@ -1,42 +0,0 @@ -# coding: utf-8 - -""" - OpenShift API (with Kubernetes) - - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - - OpenAPI spec version: v3.6.0-alpha.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import os -import sys -import unittest - -import openshift.client -from kubernetes.client.rest import ApiException -from openshift.client.models.v1beta1_daemon_set_spec import V1beta1DaemonSetSpec - - -class TestV1beta1DaemonSetSpec(unittest.TestCase): - """ V1beta1DaemonSetSpec unit test stubs """ - - def setUp(self): - pass - - def tearDown(self): - pass - - def testV1beta1DaemonSetSpec(self): - """ - Test V1beta1DaemonSetSpec - """ - model = openshift.client.models.v1beta1_daemon_set_spec.V1beta1DaemonSetSpec() - - -if __name__ == '__main__': - unittest.main() diff --git a/openshift/test/test_v1beta1_daemon_set_status.py b/openshift/test/test_v1beta1_daemon_set_status.py deleted file mode 100644 index d3214346..00000000 --- a/openshift/test/test_v1beta1_daemon_set_status.py +++ /dev/null @@ -1,42 +0,0 @@ -# coding: utf-8 - -""" - OpenShift API (with Kubernetes) - - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - - OpenAPI spec version: v3.6.0-alpha.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import os -import sys -import unittest - -import openshift.client -from kubernetes.client.rest import ApiException -from openshift.client.models.v1beta1_daemon_set_status import V1beta1DaemonSetStatus - - -class TestV1beta1DaemonSetStatus(unittest.TestCase): - """ V1beta1DaemonSetStatus unit test stubs """ - - def setUp(self): - pass - - def tearDown(self): - pass - - def testV1beta1DaemonSetStatus(self): - """ - Test V1beta1DaemonSetStatus - """ - model = openshift.client.models.v1beta1_daemon_set_status.V1beta1DaemonSetStatus() - - -if __name__ == '__main__': - unittest.main() diff --git a/openshift/test/test_v1beta1_deployment.py b/openshift/test/test_v1beta1_deployment.py deleted file mode 100644 index cf5d620a..00000000 --- a/openshift/test/test_v1beta1_deployment.py +++ /dev/null @@ -1,42 +0,0 @@ -# coding: utf-8 - -""" - OpenShift API (with Kubernetes) - - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - - OpenAPI spec version: v3.6.0-alpha.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import os -import sys -import unittest - -import openshift.client -from kubernetes.client.rest import ApiException -from openshift.client.models.v1beta1_deployment import V1beta1Deployment - - -class TestV1beta1Deployment(unittest.TestCase): - """ V1beta1Deployment unit test stubs """ - - def setUp(self): - pass - - def tearDown(self): - pass - - def testV1beta1Deployment(self): - """ - Test V1beta1Deployment - """ - model = openshift.client.models.v1beta1_deployment.V1beta1Deployment() - - -if __name__ == '__main__': - unittest.main() diff --git a/openshift/test/test_v1beta1_deployment_condition.py b/openshift/test/test_v1beta1_deployment_condition.py deleted file mode 100644 index c644741c..00000000 --- a/openshift/test/test_v1beta1_deployment_condition.py +++ /dev/null @@ -1,42 +0,0 @@ -# coding: utf-8 - -""" - OpenShift API (with Kubernetes) - - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - - OpenAPI spec version: v3.6.0-alpha.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import os -import sys -import unittest - -import openshift.client -from kubernetes.client.rest import ApiException -from openshift.client.models.v1beta1_deployment_condition import V1beta1DeploymentCondition - - -class TestV1beta1DeploymentCondition(unittest.TestCase): - """ V1beta1DeploymentCondition unit test stubs """ - - def setUp(self): - pass - - def tearDown(self): - pass - - def testV1beta1DeploymentCondition(self): - """ - Test V1beta1DeploymentCondition - """ - model = openshift.client.models.v1beta1_deployment_condition.V1beta1DeploymentCondition() - - -if __name__ == '__main__': - unittest.main() diff --git a/openshift/test/test_v1beta1_deployment_list.py b/openshift/test/test_v1beta1_deployment_list.py deleted file mode 100644 index 24ad28f5..00000000 --- a/openshift/test/test_v1beta1_deployment_list.py +++ /dev/null @@ -1,42 +0,0 @@ -# coding: utf-8 - -""" - OpenShift API (with Kubernetes) - - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - - OpenAPI spec version: v3.6.0-alpha.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import os -import sys -import unittest - -import openshift.client -from kubernetes.client.rest import ApiException -from openshift.client.models.v1beta1_deployment_list import V1beta1DeploymentList - - -class TestV1beta1DeploymentList(unittest.TestCase): - """ V1beta1DeploymentList unit test stubs """ - - def setUp(self): - pass - - def tearDown(self): - pass - - def testV1beta1DeploymentList(self): - """ - Test V1beta1DeploymentList - """ - model = openshift.client.models.v1beta1_deployment_list.V1beta1DeploymentList() - - -if __name__ == '__main__': - unittest.main() diff --git a/openshift/test/test_v1beta1_deployment_rollback.py b/openshift/test/test_v1beta1_deployment_rollback.py deleted file mode 100644 index 2415165a..00000000 --- a/openshift/test/test_v1beta1_deployment_rollback.py +++ /dev/null @@ -1,42 +0,0 @@ -# coding: utf-8 - -""" - OpenShift API (with Kubernetes) - - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - - OpenAPI spec version: v3.6.0-alpha.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import os -import sys -import unittest - -import openshift.client -from kubernetes.client.rest import ApiException -from openshift.client.models.v1beta1_deployment_rollback import V1beta1DeploymentRollback - - -class TestV1beta1DeploymentRollback(unittest.TestCase): - """ V1beta1DeploymentRollback unit test stubs """ - - def setUp(self): - pass - - def tearDown(self): - pass - - def testV1beta1DeploymentRollback(self): - """ - Test V1beta1DeploymentRollback - """ - model = openshift.client.models.v1beta1_deployment_rollback.V1beta1DeploymentRollback() - - -if __name__ == '__main__': - unittest.main() diff --git a/openshift/test/test_v1beta1_deployment_spec.py b/openshift/test/test_v1beta1_deployment_spec.py deleted file mode 100644 index 5981f6a8..00000000 --- a/openshift/test/test_v1beta1_deployment_spec.py +++ /dev/null @@ -1,42 +0,0 @@ -# coding: utf-8 - -""" - OpenShift API (with Kubernetes) - - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - - OpenAPI spec version: v3.6.0-alpha.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import os -import sys -import unittest - -import openshift.client -from kubernetes.client.rest import ApiException -from openshift.client.models.v1beta1_deployment_spec import V1beta1DeploymentSpec - - -class TestV1beta1DeploymentSpec(unittest.TestCase): - """ V1beta1DeploymentSpec unit test stubs """ - - def setUp(self): - pass - - def tearDown(self): - pass - - def testV1beta1DeploymentSpec(self): - """ - Test V1beta1DeploymentSpec - """ - model = openshift.client.models.v1beta1_deployment_spec.V1beta1DeploymentSpec() - - -if __name__ == '__main__': - unittest.main() diff --git a/openshift/test/test_v1beta1_deployment_status.py b/openshift/test/test_v1beta1_deployment_status.py deleted file mode 100644 index 73c1c77f..00000000 --- a/openshift/test/test_v1beta1_deployment_status.py +++ /dev/null @@ -1,42 +0,0 @@ -# coding: utf-8 - -""" - OpenShift API (with Kubernetes) - - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - - OpenAPI spec version: v3.6.0-alpha.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import os -import sys -import unittest - -import openshift.client -from kubernetes.client.rest import ApiException -from openshift.client.models.v1beta1_deployment_status import V1beta1DeploymentStatus - - -class TestV1beta1DeploymentStatus(unittest.TestCase): - """ V1beta1DeploymentStatus unit test stubs """ - - def setUp(self): - pass - - def tearDown(self): - pass - - def testV1beta1DeploymentStatus(self): - """ - Test V1beta1DeploymentStatus - """ - model = openshift.client.models.v1beta1_deployment_status.V1beta1DeploymentStatus() - - -if __name__ == '__main__': - unittest.main() diff --git a/openshift/test/test_v1beta1_deployment_strategy.py b/openshift/test/test_v1beta1_deployment_strategy.py deleted file mode 100644 index a57afd17..00000000 --- a/openshift/test/test_v1beta1_deployment_strategy.py +++ /dev/null @@ -1,42 +0,0 @@ -# coding: utf-8 - -""" - OpenShift API (with Kubernetes) - - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - - OpenAPI spec version: v3.6.0-alpha.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import os -import sys -import unittest - -import openshift.client -from kubernetes.client.rest import ApiException -from openshift.client.models.v1beta1_deployment_strategy import V1beta1DeploymentStrategy - - -class TestV1beta1DeploymentStrategy(unittest.TestCase): - """ V1beta1DeploymentStrategy unit test stubs """ - - def setUp(self): - pass - - def tearDown(self): - pass - - def testV1beta1DeploymentStrategy(self): - """ - Test V1beta1DeploymentStrategy - """ - model = openshift.client.models.v1beta1_deployment_strategy.V1beta1DeploymentStrategy() - - -if __name__ == '__main__': - unittest.main() diff --git a/openshift/test/test_v1beta1_eviction.py b/openshift/test/test_v1beta1_eviction.py deleted file mode 100644 index 27854ad2..00000000 --- a/openshift/test/test_v1beta1_eviction.py +++ /dev/null @@ -1,42 +0,0 @@ -# coding: utf-8 - -""" - OpenShift API (with Kubernetes) - - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - - OpenAPI spec version: v3.6.0-alpha.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import os -import sys -import unittest - -import openshift.client -from kubernetes.client.rest import ApiException -from openshift.client.models.v1beta1_eviction import V1beta1Eviction - - -class TestV1beta1Eviction(unittest.TestCase): - """ V1beta1Eviction unit test stubs """ - - def setUp(self): - pass - - def tearDown(self): - pass - - def testV1beta1Eviction(self): - """ - Test V1beta1Eviction - """ - model = openshift.client.models.v1beta1_eviction.V1beta1Eviction() - - -if __name__ == '__main__': - unittest.main() diff --git a/openshift/test/test_v1beta1_fs_group_strategy_options.py b/openshift/test/test_v1beta1_fs_group_strategy_options.py deleted file mode 100644 index 14de61b3..00000000 --- a/openshift/test/test_v1beta1_fs_group_strategy_options.py +++ /dev/null @@ -1,42 +0,0 @@ -# coding: utf-8 - -""" - OpenShift API (with Kubernetes) - - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - - OpenAPI spec version: v3.6.0-alpha.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import os -import sys -import unittest - -import openshift.client -from kubernetes.client.rest import ApiException -from openshift.client.models.v1beta1_fs_group_strategy_options import V1beta1FSGroupStrategyOptions - - -class TestV1beta1FSGroupStrategyOptions(unittest.TestCase): - """ V1beta1FSGroupStrategyOptions unit test stubs """ - - def setUp(self): - pass - - def tearDown(self): - pass - - def testV1beta1FSGroupStrategyOptions(self): - """ - Test V1beta1FSGroupStrategyOptions - """ - model = openshift.client.models.v1beta1_fs_group_strategy_options.V1beta1FSGroupStrategyOptions() - - -if __name__ == '__main__': - unittest.main() diff --git a/openshift/test/test_v1beta1_horizontal_pod_autoscaler.py b/openshift/test/test_v1beta1_horizontal_pod_autoscaler.py deleted file mode 100644 index 7d1c0b0c..00000000 --- a/openshift/test/test_v1beta1_horizontal_pod_autoscaler.py +++ /dev/null @@ -1,42 +0,0 @@ -# coding: utf-8 - -""" - OpenShift API (with Kubernetes) - - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - - OpenAPI spec version: v3.6.0-alpha.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import os -import sys -import unittest - -import openshift.client -from kubernetes.client.rest import ApiException -from openshift.client.models.v1beta1_horizontal_pod_autoscaler import V1beta1HorizontalPodAutoscaler - - -class TestV1beta1HorizontalPodAutoscaler(unittest.TestCase): - """ V1beta1HorizontalPodAutoscaler unit test stubs """ - - def setUp(self): - pass - - def tearDown(self): - pass - - def testV1beta1HorizontalPodAutoscaler(self): - """ - Test V1beta1HorizontalPodAutoscaler - """ - model = openshift.client.models.v1beta1_horizontal_pod_autoscaler.V1beta1HorizontalPodAutoscaler() - - -if __name__ == '__main__': - unittest.main() diff --git a/openshift/test/test_v1beta1_horizontal_pod_autoscaler_list.py b/openshift/test/test_v1beta1_horizontal_pod_autoscaler_list.py deleted file mode 100644 index 09d02b27..00000000 --- a/openshift/test/test_v1beta1_horizontal_pod_autoscaler_list.py +++ /dev/null @@ -1,42 +0,0 @@ -# coding: utf-8 - -""" - OpenShift API (with Kubernetes) - - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - - OpenAPI spec version: v3.6.0-alpha.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import os -import sys -import unittest - -import openshift.client -from kubernetes.client.rest import ApiException -from openshift.client.models.v1beta1_horizontal_pod_autoscaler_list import V1beta1HorizontalPodAutoscalerList - - -class TestV1beta1HorizontalPodAutoscalerList(unittest.TestCase): - """ V1beta1HorizontalPodAutoscalerList unit test stubs """ - - def setUp(self): - pass - - def tearDown(self): - pass - - def testV1beta1HorizontalPodAutoscalerList(self): - """ - Test V1beta1HorizontalPodAutoscalerList - """ - model = openshift.client.models.v1beta1_horizontal_pod_autoscaler_list.V1beta1HorizontalPodAutoscalerList() - - -if __name__ == '__main__': - unittest.main() diff --git a/openshift/test/test_v1beta1_horizontal_pod_autoscaler_spec.py b/openshift/test/test_v1beta1_horizontal_pod_autoscaler_spec.py deleted file mode 100644 index 5173d006..00000000 --- a/openshift/test/test_v1beta1_horizontal_pod_autoscaler_spec.py +++ /dev/null @@ -1,42 +0,0 @@ -# coding: utf-8 - -""" - OpenShift API (with Kubernetes) - - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - - OpenAPI spec version: v3.6.0-alpha.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import os -import sys -import unittest - -import openshift.client -from kubernetes.client.rest import ApiException -from openshift.client.models.v1beta1_horizontal_pod_autoscaler_spec import V1beta1HorizontalPodAutoscalerSpec - - -class TestV1beta1HorizontalPodAutoscalerSpec(unittest.TestCase): - """ V1beta1HorizontalPodAutoscalerSpec unit test stubs """ - - def setUp(self): - pass - - def tearDown(self): - pass - - def testV1beta1HorizontalPodAutoscalerSpec(self): - """ - Test V1beta1HorizontalPodAutoscalerSpec - """ - model = openshift.client.models.v1beta1_horizontal_pod_autoscaler_spec.V1beta1HorizontalPodAutoscalerSpec() - - -if __name__ == '__main__': - unittest.main() diff --git a/openshift/test/test_v1beta1_horizontal_pod_autoscaler_status.py b/openshift/test/test_v1beta1_horizontal_pod_autoscaler_status.py deleted file mode 100644 index 8230ff2e..00000000 --- a/openshift/test/test_v1beta1_horizontal_pod_autoscaler_status.py +++ /dev/null @@ -1,42 +0,0 @@ -# coding: utf-8 - -""" - OpenShift API (with Kubernetes) - - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - - OpenAPI spec version: v3.6.0-alpha.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import os -import sys -import unittest - -import openshift.client -from kubernetes.client.rest import ApiException -from openshift.client.models.v1beta1_horizontal_pod_autoscaler_status import V1beta1HorizontalPodAutoscalerStatus - - -class TestV1beta1HorizontalPodAutoscalerStatus(unittest.TestCase): - """ V1beta1HorizontalPodAutoscalerStatus unit test stubs """ - - def setUp(self): - pass - - def tearDown(self): - pass - - def testV1beta1HorizontalPodAutoscalerStatus(self): - """ - Test V1beta1HorizontalPodAutoscalerStatus - """ - model = openshift.client.models.v1beta1_horizontal_pod_autoscaler_status.V1beta1HorizontalPodAutoscalerStatus() - - -if __name__ == '__main__': - unittest.main() diff --git a/openshift/test/test_v1beta1_host_port_range.py b/openshift/test/test_v1beta1_host_port_range.py deleted file mode 100644 index 4744d2f2..00000000 --- a/openshift/test/test_v1beta1_host_port_range.py +++ /dev/null @@ -1,42 +0,0 @@ -# coding: utf-8 - -""" - OpenShift API (with Kubernetes) - - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - - OpenAPI spec version: v3.6.0-alpha.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import os -import sys -import unittest - -import openshift.client -from kubernetes.client.rest import ApiException -from openshift.client.models.v1beta1_host_port_range import V1beta1HostPortRange - - -class TestV1beta1HostPortRange(unittest.TestCase): - """ V1beta1HostPortRange unit test stubs """ - - def setUp(self): - pass - - def tearDown(self): - pass - - def testV1beta1HostPortRange(self): - """ - Test V1beta1HostPortRange - """ - model = openshift.client.models.v1beta1_host_port_range.V1beta1HostPortRange() - - -if __name__ == '__main__': - unittest.main() diff --git a/openshift/test/test_v1beta1_http_ingress_path.py b/openshift/test/test_v1beta1_http_ingress_path.py deleted file mode 100644 index d57edf58..00000000 --- a/openshift/test/test_v1beta1_http_ingress_path.py +++ /dev/null @@ -1,42 +0,0 @@ -# coding: utf-8 - -""" - OpenShift API (with Kubernetes) - - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - - OpenAPI spec version: v3.6.0-alpha.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import os -import sys -import unittest - -import openshift.client -from kubernetes.client.rest import ApiException -from openshift.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 = openshift.client.models.v1beta1_http_ingress_path.V1beta1HTTPIngressPath() - - -if __name__ == '__main__': - unittest.main() diff --git a/openshift/test/test_v1beta1_http_ingress_rule_value.py b/openshift/test/test_v1beta1_http_ingress_rule_value.py deleted file mode 100644 index 9dadbe5e..00000000 --- a/openshift/test/test_v1beta1_http_ingress_rule_value.py +++ /dev/null @@ -1,42 +0,0 @@ -# coding: utf-8 - -""" - OpenShift API (with Kubernetes) - - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - - OpenAPI spec version: v3.6.0-alpha.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import os -import sys -import unittest - -import openshift.client -from kubernetes.client.rest import ApiException -from openshift.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 = openshift.client.models.v1beta1_http_ingress_rule_value.V1beta1HTTPIngressRuleValue() - - -if __name__ == '__main__': - unittest.main() diff --git a/openshift/test/test_v1beta1_id_range.py b/openshift/test/test_v1beta1_id_range.py deleted file mode 100644 index 8ebd8395..00000000 --- a/openshift/test/test_v1beta1_id_range.py +++ /dev/null @@ -1,42 +0,0 @@ -# coding: utf-8 - -""" - OpenShift API (with Kubernetes) - - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - - OpenAPI spec version: v3.6.0-alpha.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import os -import sys -import unittest - -import openshift.client -from kubernetes.client.rest import ApiException -from openshift.client.models.v1beta1_id_range import V1beta1IDRange - - -class TestV1beta1IDRange(unittest.TestCase): - """ V1beta1IDRange unit test stubs """ - - def setUp(self): - pass - - def tearDown(self): - pass - - def testV1beta1IDRange(self): - """ - Test V1beta1IDRange - """ - model = openshift.client.models.v1beta1_id_range.V1beta1IDRange() - - -if __name__ == '__main__': - unittest.main() diff --git a/openshift/test/test_v1beta1_ingress.py b/openshift/test/test_v1beta1_ingress.py deleted file mode 100644 index abfe54ea..00000000 --- a/openshift/test/test_v1beta1_ingress.py +++ /dev/null @@ -1,42 +0,0 @@ -# coding: utf-8 - -""" - OpenShift API (with Kubernetes) - - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - - OpenAPI spec version: v3.6.0-alpha.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import os -import sys -import unittest - -import openshift.client -from kubernetes.client.rest import ApiException -from openshift.client.models.v1beta1_ingress import V1beta1Ingress - - -class TestV1beta1Ingress(unittest.TestCase): - """ V1beta1Ingress unit test stubs """ - - def setUp(self): - pass - - def tearDown(self): - pass - - def testV1beta1Ingress(self): - """ - Test V1beta1Ingress - """ - model = openshift.client.models.v1beta1_ingress.V1beta1Ingress() - - -if __name__ == '__main__': - unittest.main() diff --git a/openshift/test/test_v1beta1_ingress_backend.py b/openshift/test/test_v1beta1_ingress_backend.py deleted file mode 100644 index e1cc25ac..00000000 --- a/openshift/test/test_v1beta1_ingress_backend.py +++ /dev/null @@ -1,42 +0,0 @@ -# coding: utf-8 - -""" - OpenShift API (with Kubernetes) - - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - - OpenAPI spec version: v3.6.0-alpha.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import os -import sys -import unittest - -import openshift.client -from kubernetes.client.rest import ApiException -from openshift.client.models.v1beta1_ingress_backend import V1beta1IngressBackend - - -class TestV1beta1IngressBackend(unittest.TestCase): - """ V1beta1IngressBackend unit test stubs """ - - def setUp(self): - pass - - def tearDown(self): - pass - - def testV1beta1IngressBackend(self): - """ - Test V1beta1IngressBackend - """ - model = openshift.client.models.v1beta1_ingress_backend.V1beta1IngressBackend() - - -if __name__ == '__main__': - unittest.main() diff --git a/openshift/test/test_v1beta1_ingress_list.py b/openshift/test/test_v1beta1_ingress_list.py deleted file mode 100644 index dad47ca7..00000000 --- a/openshift/test/test_v1beta1_ingress_list.py +++ /dev/null @@ -1,42 +0,0 @@ -# coding: utf-8 - -""" - OpenShift API (with Kubernetes) - - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - - OpenAPI spec version: v3.6.0-alpha.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import os -import sys -import unittest - -import openshift.client -from kubernetes.client.rest import ApiException -from openshift.client.models.v1beta1_ingress_list import V1beta1IngressList - - -class TestV1beta1IngressList(unittest.TestCase): - """ V1beta1IngressList unit test stubs """ - - def setUp(self): - pass - - def tearDown(self): - pass - - def testV1beta1IngressList(self): - """ - Test V1beta1IngressList - """ - model = openshift.client.models.v1beta1_ingress_list.V1beta1IngressList() - - -if __name__ == '__main__': - unittest.main() diff --git a/openshift/test/test_v1beta1_ingress_rule.py b/openshift/test/test_v1beta1_ingress_rule.py deleted file mode 100644 index 4137f7ae..00000000 --- a/openshift/test/test_v1beta1_ingress_rule.py +++ /dev/null @@ -1,42 +0,0 @@ -# coding: utf-8 - -""" - OpenShift API (with Kubernetes) - - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - - OpenAPI spec version: v3.6.0-alpha.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import os -import sys -import unittest - -import openshift.client -from kubernetes.client.rest import ApiException -from openshift.client.models.v1beta1_ingress_rule import V1beta1IngressRule - - -class TestV1beta1IngressRule(unittest.TestCase): - """ V1beta1IngressRule unit test stubs """ - - def setUp(self): - pass - - def tearDown(self): - pass - - def testV1beta1IngressRule(self): - """ - Test V1beta1IngressRule - """ - model = openshift.client.models.v1beta1_ingress_rule.V1beta1IngressRule() - - -if __name__ == '__main__': - unittest.main() diff --git a/openshift/test/test_v1beta1_ingress_spec.py b/openshift/test/test_v1beta1_ingress_spec.py deleted file mode 100644 index bcf9058c..00000000 --- a/openshift/test/test_v1beta1_ingress_spec.py +++ /dev/null @@ -1,42 +0,0 @@ -# coding: utf-8 - -""" - OpenShift API (with Kubernetes) - - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - - OpenAPI spec version: v3.6.0-alpha.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import os -import sys -import unittest - -import openshift.client -from kubernetes.client.rest import ApiException -from openshift.client.models.v1beta1_ingress_spec import V1beta1IngressSpec - - -class TestV1beta1IngressSpec(unittest.TestCase): - """ V1beta1IngressSpec unit test stubs """ - - def setUp(self): - pass - - def tearDown(self): - pass - - def testV1beta1IngressSpec(self): - """ - Test V1beta1IngressSpec - """ - model = openshift.client.models.v1beta1_ingress_spec.V1beta1IngressSpec() - - -if __name__ == '__main__': - unittest.main() diff --git a/openshift/test/test_v1beta1_ingress_status.py b/openshift/test/test_v1beta1_ingress_status.py deleted file mode 100644 index de1aa934..00000000 --- a/openshift/test/test_v1beta1_ingress_status.py +++ /dev/null @@ -1,42 +0,0 @@ -# coding: utf-8 - -""" - OpenShift API (with Kubernetes) - - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - - OpenAPI spec version: v3.6.0-alpha.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import os -import sys -import unittest - -import openshift.client -from kubernetes.client.rest import ApiException -from openshift.client.models.v1beta1_ingress_status import V1beta1IngressStatus - - -class TestV1beta1IngressStatus(unittest.TestCase): - """ V1beta1IngressStatus unit test stubs """ - - def setUp(self): - pass - - def tearDown(self): - pass - - def testV1beta1IngressStatus(self): - """ - Test V1beta1IngressStatus - """ - model = openshift.client.models.v1beta1_ingress_status.V1beta1IngressStatus() - - -if __name__ == '__main__': - unittest.main() diff --git a/openshift/test/test_v1beta1_ingress_tls.py b/openshift/test/test_v1beta1_ingress_tls.py index ade8be77..273fb10d 100644 --- a/openshift/test/test_v1beta1_ingress_tls.py +++ b/openshift/test/test_v1beta1_ingress_tls.py @@ -3,9 +3,9 @@ """ OpenShift API (with Kubernetes) - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. + OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'metav1.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - OpenAPI spec version: v3.6.0-alpha.0 + OpenAPI spec version: latest Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openshift/test/test_v1beta1_job.py b/openshift/test/test_v1beta1_job.py deleted file mode 100644 index d59ee00f..00000000 --- a/openshift/test/test_v1beta1_job.py +++ /dev/null @@ -1,42 +0,0 @@ -# coding: utf-8 - -""" - OpenShift API (with Kubernetes) - - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - - OpenAPI spec version: v3.6.0-alpha.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import os -import sys -import unittest - -import openshift.client -from kubernetes.client.rest import ApiException -from openshift.client.models.v1beta1_job import V1beta1Job - - -class TestV1beta1Job(unittest.TestCase): - """ V1beta1Job unit test stubs """ - - def setUp(self): - pass - - def tearDown(self): - pass - - def testV1beta1Job(self): - """ - Test V1beta1Job - """ - model = openshift.client.models.v1beta1_job.V1beta1Job() - - -if __name__ == '__main__': - unittest.main() diff --git a/openshift/test/test_v1beta1_job_condition.py b/openshift/test/test_v1beta1_job_condition.py deleted file mode 100644 index 0427f5ba..00000000 --- a/openshift/test/test_v1beta1_job_condition.py +++ /dev/null @@ -1,42 +0,0 @@ -# coding: utf-8 - -""" - OpenShift API (with Kubernetes) - - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - - OpenAPI spec version: v3.6.0-alpha.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import os -import sys -import unittest - -import openshift.client -from kubernetes.client.rest import ApiException -from openshift.client.models.v1beta1_job_condition import V1beta1JobCondition - - -class TestV1beta1JobCondition(unittest.TestCase): - """ V1beta1JobCondition unit test stubs """ - - def setUp(self): - pass - - def tearDown(self): - pass - - def testV1beta1JobCondition(self): - """ - Test V1beta1JobCondition - """ - model = openshift.client.models.v1beta1_job_condition.V1beta1JobCondition() - - -if __name__ == '__main__': - unittest.main() diff --git a/openshift/test/test_v1beta1_job_list.py b/openshift/test/test_v1beta1_job_list.py deleted file mode 100644 index 72f82315..00000000 --- a/openshift/test/test_v1beta1_job_list.py +++ /dev/null @@ -1,42 +0,0 @@ -# coding: utf-8 - -""" - OpenShift API (with Kubernetes) - - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - - OpenAPI spec version: v3.6.0-alpha.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import os -import sys -import unittest - -import openshift.client -from kubernetes.client.rest import ApiException -from openshift.client.models.v1beta1_job_list import V1beta1JobList - - -class TestV1beta1JobList(unittest.TestCase): - """ V1beta1JobList unit test stubs """ - - def setUp(self): - pass - - def tearDown(self): - pass - - def testV1beta1JobList(self): - """ - Test V1beta1JobList - """ - model = openshift.client.models.v1beta1_job_list.V1beta1JobList() - - -if __name__ == '__main__': - unittest.main() diff --git a/openshift/test/test_v1beta1_job_spec.py b/openshift/test/test_v1beta1_job_spec.py deleted file mode 100644 index c9c913f1..00000000 --- a/openshift/test/test_v1beta1_job_spec.py +++ /dev/null @@ -1,42 +0,0 @@ -# coding: utf-8 - -""" - OpenShift API (with Kubernetes) - - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - - OpenAPI spec version: v3.6.0-alpha.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import os -import sys -import unittest - -import openshift.client -from kubernetes.client.rest import ApiException -from openshift.client.models.v1beta1_job_spec import V1beta1JobSpec - - -class TestV1beta1JobSpec(unittest.TestCase): - """ V1beta1JobSpec unit test stubs """ - - def setUp(self): - pass - - def tearDown(self): - pass - - def testV1beta1JobSpec(self): - """ - Test V1beta1JobSpec - """ - model = openshift.client.models.v1beta1_job_spec.V1beta1JobSpec() - - -if __name__ == '__main__': - unittest.main() diff --git a/openshift/test/test_v1beta1_job_status.py b/openshift/test/test_v1beta1_job_status.py deleted file mode 100644 index 2e9f46ba..00000000 --- a/openshift/test/test_v1beta1_job_status.py +++ /dev/null @@ -1,42 +0,0 @@ -# coding: utf-8 - -""" - OpenShift API (with Kubernetes) - - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - - OpenAPI spec version: v3.6.0-alpha.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import os -import sys -import unittest - -import openshift.client -from kubernetes.client.rest import ApiException -from openshift.client.models.v1beta1_job_status import V1beta1JobStatus - - -class TestV1beta1JobStatus(unittest.TestCase): - """ V1beta1JobStatus unit test stubs """ - - def setUp(self): - pass - - def tearDown(self): - pass - - def testV1beta1JobStatus(self): - """ - Test V1beta1JobStatus - """ - model = openshift.client.models.v1beta1_job_status.V1beta1JobStatus() - - -if __name__ == '__main__': - unittest.main() diff --git a/openshift/test/test_v1beta1_local_subject_access_review.py b/openshift/test/test_v1beta1_local_subject_access_review.py deleted file mode 100644 index 8d5cd968..00000000 --- a/openshift/test/test_v1beta1_local_subject_access_review.py +++ /dev/null @@ -1,42 +0,0 @@ -# coding: utf-8 - -""" - OpenShift API (with Kubernetes) - - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - - OpenAPI spec version: v3.6.0-alpha.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import os -import sys -import unittest - -import openshift.client -from kubernetes.client.rest import ApiException -from openshift.client.models.v1beta1_local_subject_access_review import V1beta1LocalSubjectAccessReview - - -class TestV1beta1LocalSubjectAccessReview(unittest.TestCase): - """ V1beta1LocalSubjectAccessReview unit test stubs """ - - def setUp(self): - pass - - def tearDown(self): - pass - - def testV1beta1LocalSubjectAccessReview(self): - """ - Test V1beta1LocalSubjectAccessReview - """ - model = openshift.client.models.v1beta1_local_subject_access_review.V1beta1LocalSubjectAccessReview() - - -if __name__ == '__main__': - unittest.main() diff --git a/openshift/test/test_v1beta1_network_policy.py b/openshift/test/test_v1beta1_network_policy.py deleted file mode 100644 index 0b01f704..00000000 --- a/openshift/test/test_v1beta1_network_policy.py +++ /dev/null @@ -1,42 +0,0 @@ -# coding: utf-8 - -""" - OpenShift API (with Kubernetes) - - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - - OpenAPI spec version: v3.6.0-alpha.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import os -import sys -import unittest - -import openshift.client -from kubernetes.client.rest import ApiException -from openshift.client.models.v1beta1_network_policy import V1beta1NetworkPolicy - - -class TestV1beta1NetworkPolicy(unittest.TestCase): - """ V1beta1NetworkPolicy unit test stubs """ - - def setUp(self): - pass - - def tearDown(self): - pass - - def testV1beta1NetworkPolicy(self): - """ - Test V1beta1NetworkPolicy - """ - model = openshift.client.models.v1beta1_network_policy.V1beta1NetworkPolicy() - - -if __name__ == '__main__': - unittest.main() diff --git a/openshift/test/test_v1beta1_network_policy_ingress_rule.py b/openshift/test/test_v1beta1_network_policy_ingress_rule.py deleted file mode 100644 index 3b9f98ec..00000000 --- a/openshift/test/test_v1beta1_network_policy_ingress_rule.py +++ /dev/null @@ -1,42 +0,0 @@ -# coding: utf-8 - -""" - OpenShift API (with Kubernetes) - - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - - OpenAPI spec version: v3.6.0-alpha.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import os -import sys -import unittest - -import openshift.client -from kubernetes.client.rest import ApiException -from openshift.client.models.v1beta1_network_policy_ingress_rule import V1beta1NetworkPolicyIngressRule - - -class TestV1beta1NetworkPolicyIngressRule(unittest.TestCase): - """ V1beta1NetworkPolicyIngressRule unit test stubs """ - - def setUp(self): - pass - - def tearDown(self): - pass - - def testV1beta1NetworkPolicyIngressRule(self): - """ - Test V1beta1NetworkPolicyIngressRule - """ - model = openshift.client.models.v1beta1_network_policy_ingress_rule.V1beta1NetworkPolicyIngressRule() - - -if __name__ == '__main__': - unittest.main() diff --git a/openshift/test/test_v1beta1_network_policy_list.py b/openshift/test/test_v1beta1_network_policy_list.py deleted file mode 100644 index 35cea088..00000000 --- a/openshift/test/test_v1beta1_network_policy_list.py +++ /dev/null @@ -1,42 +0,0 @@ -# coding: utf-8 - -""" - OpenShift API (with Kubernetes) - - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - - OpenAPI spec version: v3.6.0-alpha.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import os -import sys -import unittest - -import openshift.client -from kubernetes.client.rest import ApiException -from openshift.client.models.v1beta1_network_policy_list import V1beta1NetworkPolicyList - - -class TestV1beta1NetworkPolicyList(unittest.TestCase): - """ V1beta1NetworkPolicyList unit test stubs """ - - def setUp(self): - pass - - def tearDown(self): - pass - - def testV1beta1NetworkPolicyList(self): - """ - Test V1beta1NetworkPolicyList - """ - model = openshift.client.models.v1beta1_network_policy_list.V1beta1NetworkPolicyList() - - -if __name__ == '__main__': - unittest.main() diff --git a/openshift/test/test_v1beta1_network_policy_peer.py b/openshift/test/test_v1beta1_network_policy_peer.py deleted file mode 100644 index e82da283..00000000 --- a/openshift/test/test_v1beta1_network_policy_peer.py +++ /dev/null @@ -1,42 +0,0 @@ -# coding: utf-8 - -""" - OpenShift API (with Kubernetes) - - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - - OpenAPI spec version: v3.6.0-alpha.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import os -import sys -import unittest - -import openshift.client -from kubernetes.client.rest import ApiException -from openshift.client.models.v1beta1_network_policy_peer import V1beta1NetworkPolicyPeer - - -class TestV1beta1NetworkPolicyPeer(unittest.TestCase): - """ V1beta1NetworkPolicyPeer unit test stubs """ - - def setUp(self): - pass - - def tearDown(self): - pass - - def testV1beta1NetworkPolicyPeer(self): - """ - Test V1beta1NetworkPolicyPeer - """ - model = openshift.client.models.v1beta1_network_policy_peer.V1beta1NetworkPolicyPeer() - - -if __name__ == '__main__': - unittest.main() diff --git a/openshift/test/test_v1beta1_network_policy_port.py b/openshift/test/test_v1beta1_network_policy_port.py deleted file mode 100644 index 1bb3d619..00000000 --- a/openshift/test/test_v1beta1_network_policy_port.py +++ /dev/null @@ -1,42 +0,0 @@ -# coding: utf-8 - -""" - OpenShift API (with Kubernetes) - - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - - OpenAPI spec version: v3.6.0-alpha.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import os -import sys -import unittest - -import openshift.client -from kubernetes.client.rest import ApiException -from openshift.client.models.v1beta1_network_policy_port import V1beta1NetworkPolicyPort - - -class TestV1beta1NetworkPolicyPort(unittest.TestCase): - """ V1beta1NetworkPolicyPort unit test stubs """ - - def setUp(self): - pass - - def tearDown(self): - pass - - def testV1beta1NetworkPolicyPort(self): - """ - Test V1beta1NetworkPolicyPort - """ - model = openshift.client.models.v1beta1_network_policy_port.V1beta1NetworkPolicyPort() - - -if __name__ == '__main__': - unittest.main() diff --git a/openshift/test/test_v1beta1_network_policy_spec.py b/openshift/test/test_v1beta1_network_policy_spec.py deleted file mode 100644 index 6287b195..00000000 --- a/openshift/test/test_v1beta1_network_policy_spec.py +++ /dev/null @@ -1,42 +0,0 @@ -# coding: utf-8 - -""" - OpenShift API (with Kubernetes) - - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - - OpenAPI spec version: v3.6.0-alpha.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import os -import sys -import unittest - -import openshift.client -from kubernetes.client.rest import ApiException -from openshift.client.models.v1beta1_network_policy_spec import V1beta1NetworkPolicySpec - - -class TestV1beta1NetworkPolicySpec(unittest.TestCase): - """ V1beta1NetworkPolicySpec unit test stubs """ - - def setUp(self): - pass - - def tearDown(self): - pass - - def testV1beta1NetworkPolicySpec(self): - """ - Test V1beta1NetworkPolicySpec - """ - model = openshift.client.models.v1beta1_network_policy_spec.V1beta1NetworkPolicySpec() - - -if __name__ == '__main__': - unittest.main() diff --git a/openshift/test/test_v1beta1_non_resource_attributes.py b/openshift/test/test_v1beta1_non_resource_attributes.py deleted file mode 100644 index e9963ae5..00000000 --- a/openshift/test/test_v1beta1_non_resource_attributes.py +++ /dev/null @@ -1,42 +0,0 @@ -# coding: utf-8 - -""" - OpenShift API (with Kubernetes) - - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - - OpenAPI spec version: v3.6.0-alpha.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import os -import sys -import unittest - -import openshift.client -from kubernetes.client.rest import ApiException -from openshift.client.models.v1beta1_non_resource_attributes import V1beta1NonResourceAttributes - - -class TestV1beta1NonResourceAttributes(unittest.TestCase): - """ V1beta1NonResourceAttributes unit test stubs """ - - def setUp(self): - pass - - def tearDown(self): - pass - - def testV1beta1NonResourceAttributes(self): - """ - Test V1beta1NonResourceAttributes - """ - model = openshift.client.models.v1beta1_non_resource_attributes.V1beta1NonResourceAttributes() - - -if __name__ == '__main__': - unittest.main() diff --git a/openshift/test/test_v1beta1_pod_disruption_budget.py b/openshift/test/test_v1beta1_pod_disruption_budget.py deleted file mode 100644 index ee312299..00000000 --- a/openshift/test/test_v1beta1_pod_disruption_budget.py +++ /dev/null @@ -1,42 +0,0 @@ -# coding: utf-8 - -""" - OpenShift API (with Kubernetes) - - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - - OpenAPI spec version: v3.6.0-alpha.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import os -import sys -import unittest - -import openshift.client -from kubernetes.client.rest import ApiException -from openshift.client.models.v1beta1_pod_disruption_budget import V1beta1PodDisruptionBudget - - -class TestV1beta1PodDisruptionBudget(unittest.TestCase): - """ V1beta1PodDisruptionBudget unit test stubs """ - - def setUp(self): - pass - - def tearDown(self): - pass - - def testV1beta1PodDisruptionBudget(self): - """ - Test V1beta1PodDisruptionBudget - """ - model = openshift.client.models.v1beta1_pod_disruption_budget.V1beta1PodDisruptionBudget() - - -if __name__ == '__main__': - unittest.main() diff --git a/openshift/test/test_v1beta1_pod_disruption_budget_list.py b/openshift/test/test_v1beta1_pod_disruption_budget_list.py deleted file mode 100644 index 018c2053..00000000 --- a/openshift/test/test_v1beta1_pod_disruption_budget_list.py +++ /dev/null @@ -1,42 +0,0 @@ -# coding: utf-8 - -""" - OpenShift API (with Kubernetes) - - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - - OpenAPI spec version: v3.6.0-alpha.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import os -import sys -import unittest - -import openshift.client -from kubernetes.client.rest import ApiException -from openshift.client.models.v1beta1_pod_disruption_budget_list import V1beta1PodDisruptionBudgetList - - -class TestV1beta1PodDisruptionBudgetList(unittest.TestCase): - """ V1beta1PodDisruptionBudgetList unit test stubs """ - - def setUp(self): - pass - - def tearDown(self): - pass - - def testV1beta1PodDisruptionBudgetList(self): - """ - Test V1beta1PodDisruptionBudgetList - """ - model = openshift.client.models.v1beta1_pod_disruption_budget_list.V1beta1PodDisruptionBudgetList() - - -if __name__ == '__main__': - unittest.main() diff --git a/openshift/test/test_v1beta1_pod_disruption_budget_spec.py b/openshift/test/test_v1beta1_pod_disruption_budget_spec.py deleted file mode 100644 index a2730dba..00000000 --- a/openshift/test/test_v1beta1_pod_disruption_budget_spec.py +++ /dev/null @@ -1,42 +0,0 @@ -# coding: utf-8 - -""" - OpenShift API (with Kubernetes) - - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - - OpenAPI spec version: v3.6.0-alpha.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import os -import sys -import unittest - -import openshift.client -from kubernetes.client.rest import ApiException -from openshift.client.models.v1beta1_pod_disruption_budget_spec import V1beta1PodDisruptionBudgetSpec - - -class TestV1beta1PodDisruptionBudgetSpec(unittest.TestCase): - """ V1beta1PodDisruptionBudgetSpec unit test stubs """ - - def setUp(self): - pass - - def tearDown(self): - pass - - def testV1beta1PodDisruptionBudgetSpec(self): - """ - Test V1beta1PodDisruptionBudgetSpec - """ - model = openshift.client.models.v1beta1_pod_disruption_budget_spec.V1beta1PodDisruptionBudgetSpec() - - -if __name__ == '__main__': - unittest.main() diff --git a/openshift/test/test_v1beta1_pod_disruption_budget_status.py b/openshift/test/test_v1beta1_pod_disruption_budget_status.py deleted file mode 100644 index f02c1292..00000000 --- a/openshift/test/test_v1beta1_pod_disruption_budget_status.py +++ /dev/null @@ -1,42 +0,0 @@ -# coding: utf-8 - -""" - OpenShift API (with Kubernetes) - - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - - OpenAPI spec version: v3.6.0-alpha.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import os -import sys -import unittest - -import openshift.client -from kubernetes.client.rest import ApiException -from openshift.client.models.v1beta1_pod_disruption_budget_status import V1beta1PodDisruptionBudgetStatus - - -class TestV1beta1PodDisruptionBudgetStatus(unittest.TestCase): - """ V1beta1PodDisruptionBudgetStatus unit test stubs """ - - def setUp(self): - pass - - def tearDown(self): - pass - - def testV1beta1PodDisruptionBudgetStatus(self): - """ - Test V1beta1PodDisruptionBudgetStatus - """ - model = openshift.client.models.v1beta1_pod_disruption_budget_status.V1beta1PodDisruptionBudgetStatus() - - -if __name__ == '__main__': - unittest.main() diff --git a/openshift/test/test_v1beta1_pod_security_policy.py b/openshift/test/test_v1beta1_pod_security_policy.py deleted file mode 100644 index d77262cb..00000000 --- a/openshift/test/test_v1beta1_pod_security_policy.py +++ /dev/null @@ -1,42 +0,0 @@ -# coding: utf-8 - -""" - OpenShift API (with Kubernetes) - - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - - OpenAPI spec version: v3.6.0-alpha.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import os -import sys -import unittest - -import openshift.client -from kubernetes.client.rest import ApiException -from openshift.client.models.v1beta1_pod_security_policy import V1beta1PodSecurityPolicy - - -class TestV1beta1PodSecurityPolicy(unittest.TestCase): - """ V1beta1PodSecurityPolicy unit test stubs """ - - def setUp(self): - pass - - def tearDown(self): - pass - - def testV1beta1PodSecurityPolicy(self): - """ - Test V1beta1PodSecurityPolicy - """ - model = openshift.client.models.v1beta1_pod_security_policy.V1beta1PodSecurityPolicy() - - -if __name__ == '__main__': - unittest.main() diff --git a/openshift/test/test_v1beta1_pod_security_policy_list.py b/openshift/test/test_v1beta1_pod_security_policy_list.py deleted file mode 100644 index af19ce34..00000000 --- a/openshift/test/test_v1beta1_pod_security_policy_list.py +++ /dev/null @@ -1,42 +0,0 @@ -# coding: utf-8 - -""" - OpenShift API (with Kubernetes) - - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - - OpenAPI spec version: v3.6.0-alpha.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import os -import sys -import unittest - -import openshift.client -from kubernetes.client.rest import ApiException -from openshift.client.models.v1beta1_pod_security_policy_list import V1beta1PodSecurityPolicyList - - -class TestV1beta1PodSecurityPolicyList(unittest.TestCase): - """ V1beta1PodSecurityPolicyList unit test stubs """ - - def setUp(self): - pass - - def tearDown(self): - pass - - def testV1beta1PodSecurityPolicyList(self): - """ - Test V1beta1PodSecurityPolicyList - """ - model = openshift.client.models.v1beta1_pod_security_policy_list.V1beta1PodSecurityPolicyList() - - -if __name__ == '__main__': - unittest.main() diff --git a/openshift/test/test_v1beta1_pod_security_policy_spec.py b/openshift/test/test_v1beta1_pod_security_policy_spec.py deleted file mode 100644 index 7cdb63c2..00000000 --- a/openshift/test/test_v1beta1_pod_security_policy_spec.py +++ /dev/null @@ -1,42 +0,0 @@ -# coding: utf-8 - -""" - OpenShift API (with Kubernetes) - - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - - OpenAPI spec version: v3.6.0-alpha.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import os -import sys -import unittest - -import openshift.client -from kubernetes.client.rest import ApiException -from openshift.client.models.v1beta1_pod_security_policy_spec import V1beta1PodSecurityPolicySpec - - -class TestV1beta1PodSecurityPolicySpec(unittest.TestCase): - """ V1beta1PodSecurityPolicySpec unit test stubs """ - - def setUp(self): - pass - - def tearDown(self): - pass - - def testV1beta1PodSecurityPolicySpec(self): - """ - Test V1beta1PodSecurityPolicySpec - """ - model = openshift.client.models.v1beta1_pod_security_policy_spec.V1beta1PodSecurityPolicySpec() - - -if __name__ == '__main__': - unittest.main() diff --git a/openshift/test/test_v1beta1_replica_set.py b/openshift/test/test_v1beta1_replica_set.py deleted file mode 100644 index 25800f12..00000000 --- a/openshift/test/test_v1beta1_replica_set.py +++ /dev/null @@ -1,42 +0,0 @@ -# coding: utf-8 - -""" - OpenShift API (with Kubernetes) - - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - - OpenAPI spec version: v3.6.0-alpha.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import os -import sys -import unittest - -import openshift.client -from kubernetes.client.rest import ApiException -from openshift.client.models.v1beta1_replica_set import V1beta1ReplicaSet - - -class TestV1beta1ReplicaSet(unittest.TestCase): - """ V1beta1ReplicaSet unit test stubs """ - - def setUp(self): - pass - - def tearDown(self): - pass - - def testV1beta1ReplicaSet(self): - """ - Test V1beta1ReplicaSet - """ - model = openshift.client.models.v1beta1_replica_set.V1beta1ReplicaSet() - - -if __name__ == '__main__': - unittest.main() diff --git a/openshift/test/test_v1beta1_replica_set_condition.py b/openshift/test/test_v1beta1_replica_set_condition.py deleted file mode 100644 index 94addc74..00000000 --- a/openshift/test/test_v1beta1_replica_set_condition.py +++ /dev/null @@ -1,42 +0,0 @@ -# coding: utf-8 - -""" - OpenShift API (with Kubernetes) - - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - - OpenAPI spec version: v3.6.0-alpha.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import os -import sys -import unittest - -import openshift.client -from kubernetes.client.rest import ApiException -from openshift.client.models.v1beta1_replica_set_condition import V1beta1ReplicaSetCondition - - -class TestV1beta1ReplicaSetCondition(unittest.TestCase): - """ V1beta1ReplicaSetCondition unit test stubs """ - - def setUp(self): - pass - - def tearDown(self): - pass - - def testV1beta1ReplicaSetCondition(self): - """ - Test V1beta1ReplicaSetCondition - """ - model = openshift.client.models.v1beta1_replica_set_condition.V1beta1ReplicaSetCondition() - - -if __name__ == '__main__': - unittest.main() diff --git a/openshift/test/test_v1beta1_replica_set_list.py b/openshift/test/test_v1beta1_replica_set_list.py deleted file mode 100644 index 2bd1a153..00000000 --- a/openshift/test/test_v1beta1_replica_set_list.py +++ /dev/null @@ -1,42 +0,0 @@ -# coding: utf-8 - -""" - OpenShift API (with Kubernetes) - - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - - OpenAPI spec version: v3.6.0-alpha.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import os -import sys -import unittest - -import openshift.client -from kubernetes.client.rest import ApiException -from openshift.client.models.v1beta1_replica_set_list import V1beta1ReplicaSetList - - -class TestV1beta1ReplicaSetList(unittest.TestCase): - """ V1beta1ReplicaSetList unit test stubs """ - - def setUp(self): - pass - - def tearDown(self): - pass - - def testV1beta1ReplicaSetList(self): - """ - Test V1beta1ReplicaSetList - """ - model = openshift.client.models.v1beta1_replica_set_list.V1beta1ReplicaSetList() - - -if __name__ == '__main__': - unittest.main() diff --git a/openshift/test/test_v1beta1_replica_set_spec.py b/openshift/test/test_v1beta1_replica_set_spec.py deleted file mode 100644 index 7b90a2e5..00000000 --- a/openshift/test/test_v1beta1_replica_set_spec.py +++ /dev/null @@ -1,42 +0,0 @@ -# coding: utf-8 - -""" - OpenShift API (with Kubernetes) - - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - - OpenAPI spec version: v3.6.0-alpha.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import os -import sys -import unittest - -import openshift.client -from kubernetes.client.rest import ApiException -from openshift.client.models.v1beta1_replica_set_spec import V1beta1ReplicaSetSpec - - -class TestV1beta1ReplicaSetSpec(unittest.TestCase): - """ V1beta1ReplicaSetSpec unit test stubs """ - - def setUp(self): - pass - - def tearDown(self): - pass - - def testV1beta1ReplicaSetSpec(self): - """ - Test V1beta1ReplicaSetSpec - """ - model = openshift.client.models.v1beta1_replica_set_spec.V1beta1ReplicaSetSpec() - - -if __name__ == '__main__': - unittest.main() diff --git a/openshift/test/test_v1beta1_replica_set_status.py b/openshift/test/test_v1beta1_replica_set_status.py deleted file mode 100644 index 26facb4a..00000000 --- a/openshift/test/test_v1beta1_replica_set_status.py +++ /dev/null @@ -1,42 +0,0 @@ -# coding: utf-8 - -""" - OpenShift API (with Kubernetes) - - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - - OpenAPI spec version: v3.6.0-alpha.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import os -import sys -import unittest - -import openshift.client -from kubernetes.client.rest import ApiException -from openshift.client.models.v1beta1_replica_set_status import V1beta1ReplicaSetStatus - - -class TestV1beta1ReplicaSetStatus(unittest.TestCase): - """ V1beta1ReplicaSetStatus unit test stubs """ - - def setUp(self): - pass - - def tearDown(self): - pass - - def testV1beta1ReplicaSetStatus(self): - """ - Test V1beta1ReplicaSetStatus - """ - model = openshift.client.models.v1beta1_replica_set_status.V1beta1ReplicaSetStatus() - - -if __name__ == '__main__': - unittest.main() diff --git a/openshift/test/test_v1beta1_resource_attributes.py b/openshift/test/test_v1beta1_resource_attributes.py deleted file mode 100644 index d6d12997..00000000 --- a/openshift/test/test_v1beta1_resource_attributes.py +++ /dev/null @@ -1,42 +0,0 @@ -# coding: utf-8 - -""" - OpenShift API (with Kubernetes) - - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - - OpenAPI spec version: v3.6.0-alpha.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import os -import sys -import unittest - -import openshift.client -from kubernetes.client.rest import ApiException -from openshift.client.models.v1beta1_resource_attributes import V1beta1ResourceAttributes - - -class TestV1beta1ResourceAttributes(unittest.TestCase): - """ V1beta1ResourceAttributes unit test stubs """ - - def setUp(self): - pass - - def tearDown(self): - pass - - def testV1beta1ResourceAttributes(self): - """ - Test V1beta1ResourceAttributes - """ - model = openshift.client.models.v1beta1_resource_attributes.V1beta1ResourceAttributes() - - -if __name__ == '__main__': - unittest.main() diff --git a/openshift/test/test_v1beta1_rollback_config.py b/openshift/test/test_v1beta1_rollback_config.py deleted file mode 100644 index 02e41f25..00000000 --- a/openshift/test/test_v1beta1_rollback_config.py +++ /dev/null @@ -1,42 +0,0 @@ -# coding: utf-8 - -""" - OpenShift API (with Kubernetes) - - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - - OpenAPI spec version: v3.6.0-alpha.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import os -import sys -import unittest - -import openshift.client -from kubernetes.client.rest import ApiException -from openshift.client.models.v1beta1_rollback_config import V1beta1RollbackConfig - - -class TestV1beta1RollbackConfig(unittest.TestCase): - """ V1beta1RollbackConfig unit test stubs """ - - def setUp(self): - pass - - def tearDown(self): - pass - - def testV1beta1RollbackConfig(self): - """ - Test V1beta1RollbackConfig - """ - model = openshift.client.models.v1beta1_rollback_config.V1beta1RollbackConfig() - - -if __name__ == '__main__': - unittest.main() diff --git a/openshift/test/test_v1beta1_rolling_update_deployment.py b/openshift/test/test_v1beta1_rolling_update_deployment.py deleted file mode 100644 index a1f9bd94..00000000 --- a/openshift/test/test_v1beta1_rolling_update_deployment.py +++ /dev/null @@ -1,42 +0,0 @@ -# coding: utf-8 - -""" - OpenShift API (with Kubernetes) - - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - - OpenAPI spec version: v3.6.0-alpha.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import os -import sys -import unittest - -import openshift.client -from kubernetes.client.rest import ApiException -from openshift.client.models.v1beta1_rolling_update_deployment import V1beta1RollingUpdateDeployment - - -class TestV1beta1RollingUpdateDeployment(unittest.TestCase): - """ V1beta1RollingUpdateDeployment unit test stubs """ - - def setUp(self): - pass - - def tearDown(self): - pass - - def testV1beta1RollingUpdateDeployment(self): - """ - Test V1beta1RollingUpdateDeployment - """ - model = openshift.client.models.v1beta1_rolling_update_deployment.V1beta1RollingUpdateDeployment() - - -if __name__ == '__main__': - unittest.main() diff --git a/openshift/test/test_v1beta1_run_as_user_strategy_options.py b/openshift/test/test_v1beta1_run_as_user_strategy_options.py deleted file mode 100644 index 6b03b874..00000000 --- a/openshift/test/test_v1beta1_run_as_user_strategy_options.py +++ /dev/null @@ -1,42 +0,0 @@ -# coding: utf-8 - -""" - OpenShift API (with Kubernetes) - - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - - OpenAPI spec version: v3.6.0-alpha.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import os -import sys -import unittest - -import openshift.client -from kubernetes.client.rest import ApiException -from openshift.client.models.v1beta1_run_as_user_strategy_options import V1beta1RunAsUserStrategyOptions - - -class TestV1beta1RunAsUserStrategyOptions(unittest.TestCase): - """ V1beta1RunAsUserStrategyOptions unit test stubs """ - - def setUp(self): - pass - - def tearDown(self): - pass - - def testV1beta1RunAsUserStrategyOptions(self): - """ - Test V1beta1RunAsUserStrategyOptions - """ - model = openshift.client.models.v1beta1_run_as_user_strategy_options.V1beta1RunAsUserStrategyOptions() - - -if __name__ == '__main__': - unittest.main() diff --git a/openshift/test/test_v1beta1_scale.py b/openshift/test/test_v1beta1_scale.py deleted file mode 100644 index d1a13836..00000000 --- a/openshift/test/test_v1beta1_scale.py +++ /dev/null @@ -1,42 +0,0 @@ -# coding: utf-8 - -""" - OpenShift API (with Kubernetes) - - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - - OpenAPI spec version: v3.6.0-alpha.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import os -import sys -import unittest - -import openshift.client -from kubernetes.client.rest import ApiException -from openshift.client.models.v1beta1_scale import V1beta1Scale - - -class TestV1beta1Scale(unittest.TestCase): - """ V1beta1Scale unit test stubs """ - - def setUp(self): - pass - - def tearDown(self): - pass - - def testV1beta1Scale(self): - """ - Test V1beta1Scale - """ - model = openshift.client.models.v1beta1_scale.V1beta1Scale() - - -if __name__ == '__main__': - unittest.main() diff --git a/openshift/test/test_v1beta1_scale_spec.py b/openshift/test/test_v1beta1_scale_spec.py deleted file mode 100644 index 152ed69a..00000000 --- a/openshift/test/test_v1beta1_scale_spec.py +++ /dev/null @@ -1,42 +0,0 @@ -# coding: utf-8 - -""" - OpenShift API (with Kubernetes) - - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - - OpenAPI spec version: v3.6.0-alpha.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import os -import sys -import unittest - -import openshift.client -from kubernetes.client.rest import ApiException -from openshift.client.models.v1beta1_scale_spec import V1beta1ScaleSpec - - -class TestV1beta1ScaleSpec(unittest.TestCase): - """ V1beta1ScaleSpec unit test stubs """ - - def setUp(self): - pass - - def tearDown(self): - pass - - def testV1beta1ScaleSpec(self): - """ - Test V1beta1ScaleSpec - """ - model = openshift.client.models.v1beta1_scale_spec.V1beta1ScaleSpec() - - -if __name__ == '__main__': - unittest.main() diff --git a/openshift/test/test_v1beta1_scale_status.py b/openshift/test/test_v1beta1_scale_status.py deleted file mode 100644 index 148f013d..00000000 --- a/openshift/test/test_v1beta1_scale_status.py +++ /dev/null @@ -1,42 +0,0 @@ -# coding: utf-8 - -""" - OpenShift API (with Kubernetes) - - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - - OpenAPI spec version: v3.6.0-alpha.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import os -import sys -import unittest - -import openshift.client -from kubernetes.client.rest import ApiException -from openshift.client.models.v1beta1_scale_status import V1beta1ScaleStatus - - -class TestV1beta1ScaleStatus(unittest.TestCase): - """ V1beta1ScaleStatus unit test stubs """ - - def setUp(self): - pass - - def tearDown(self): - pass - - def testV1beta1ScaleStatus(self): - """ - Test V1beta1ScaleStatus - """ - model = openshift.client.models.v1beta1_scale_status.V1beta1ScaleStatus() - - -if __name__ == '__main__': - unittest.main() diff --git a/openshift/test/test_v1beta1_se_linux_strategy_options.py b/openshift/test/test_v1beta1_se_linux_strategy_options.py deleted file mode 100644 index c58c825b..00000000 --- a/openshift/test/test_v1beta1_se_linux_strategy_options.py +++ /dev/null @@ -1,42 +0,0 @@ -# coding: utf-8 - -""" - OpenShift API (with Kubernetes) - - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - - OpenAPI spec version: v3.6.0-alpha.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import os -import sys -import unittest - -import openshift.client -from kubernetes.client.rest import ApiException -from openshift.client.models.v1beta1_se_linux_strategy_options import V1beta1SELinuxStrategyOptions - - -class TestV1beta1SELinuxStrategyOptions(unittest.TestCase): - """ V1beta1SELinuxStrategyOptions unit test stubs """ - - def setUp(self): - pass - - def tearDown(self): - pass - - def testV1beta1SELinuxStrategyOptions(self): - """ - Test V1beta1SELinuxStrategyOptions - """ - model = openshift.client.models.v1beta1_se_linux_strategy_options.V1beta1SELinuxStrategyOptions() - - -if __name__ == '__main__': - unittest.main() diff --git a/openshift/test/test_v1beta1_self_subject_access_review.py b/openshift/test/test_v1beta1_self_subject_access_review.py deleted file mode 100644 index 2a4f0ff6..00000000 --- a/openshift/test/test_v1beta1_self_subject_access_review.py +++ /dev/null @@ -1,42 +0,0 @@ -# coding: utf-8 - -""" - OpenShift API (with Kubernetes) - - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - - OpenAPI spec version: v3.6.0-alpha.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import os -import sys -import unittest - -import openshift.client -from kubernetes.client.rest import ApiException -from openshift.client.models.v1beta1_self_subject_access_review import V1beta1SelfSubjectAccessReview - - -class TestV1beta1SelfSubjectAccessReview(unittest.TestCase): - """ V1beta1SelfSubjectAccessReview unit test stubs """ - - def setUp(self): - pass - - def tearDown(self): - pass - - def testV1beta1SelfSubjectAccessReview(self): - """ - Test V1beta1SelfSubjectAccessReview - """ - model = openshift.client.models.v1beta1_self_subject_access_review.V1beta1SelfSubjectAccessReview() - - -if __name__ == '__main__': - unittest.main() diff --git a/openshift/test/test_v1beta1_self_subject_access_review_spec.py b/openshift/test/test_v1beta1_self_subject_access_review_spec.py deleted file mode 100644 index a0936cdc..00000000 --- a/openshift/test/test_v1beta1_self_subject_access_review_spec.py +++ /dev/null @@ -1,42 +0,0 @@ -# coding: utf-8 - -""" - OpenShift API (with Kubernetes) - - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - - OpenAPI spec version: v3.6.0-alpha.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import os -import sys -import unittest - -import openshift.client -from kubernetes.client.rest import ApiException -from openshift.client.models.v1beta1_self_subject_access_review_spec import V1beta1SelfSubjectAccessReviewSpec - - -class TestV1beta1SelfSubjectAccessReviewSpec(unittest.TestCase): - """ V1beta1SelfSubjectAccessReviewSpec unit test stubs """ - - def setUp(self): - pass - - def tearDown(self): - pass - - def testV1beta1SelfSubjectAccessReviewSpec(self): - """ - Test V1beta1SelfSubjectAccessReviewSpec - """ - model = openshift.client.models.v1beta1_self_subject_access_review_spec.V1beta1SelfSubjectAccessReviewSpec() - - -if __name__ == '__main__': - unittest.main() diff --git a/openshift/test/test_v1beta1_stateful_set.py b/openshift/test/test_v1beta1_stateful_set.py deleted file mode 100644 index 10eb8caa..00000000 --- a/openshift/test/test_v1beta1_stateful_set.py +++ /dev/null @@ -1,42 +0,0 @@ -# coding: utf-8 - -""" - OpenShift API (with Kubernetes) - - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - - OpenAPI spec version: v3.6.0-alpha.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import os -import sys -import unittest - -import openshift.client -from kubernetes.client.rest import ApiException -from openshift.client.models.v1beta1_stateful_set import V1beta1StatefulSet - - -class TestV1beta1StatefulSet(unittest.TestCase): - """ V1beta1StatefulSet unit test stubs """ - - def setUp(self): - pass - - def tearDown(self): - pass - - def testV1beta1StatefulSet(self): - """ - Test V1beta1StatefulSet - """ - model = openshift.client.models.v1beta1_stateful_set.V1beta1StatefulSet() - - -if __name__ == '__main__': - unittest.main() diff --git a/openshift/test/test_v1beta1_stateful_set_list.py b/openshift/test/test_v1beta1_stateful_set_list.py deleted file mode 100644 index 91085732..00000000 --- a/openshift/test/test_v1beta1_stateful_set_list.py +++ /dev/null @@ -1,42 +0,0 @@ -# coding: utf-8 - -""" - OpenShift API (with Kubernetes) - - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - - OpenAPI spec version: v3.6.0-alpha.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import os -import sys -import unittest - -import openshift.client -from kubernetes.client.rest import ApiException -from openshift.client.models.v1beta1_stateful_set_list import V1beta1StatefulSetList - - -class TestV1beta1StatefulSetList(unittest.TestCase): - """ V1beta1StatefulSetList unit test stubs """ - - def setUp(self): - pass - - def tearDown(self): - pass - - def testV1beta1StatefulSetList(self): - """ - Test V1beta1StatefulSetList - """ - model = openshift.client.models.v1beta1_stateful_set_list.V1beta1StatefulSetList() - - -if __name__ == '__main__': - unittest.main() diff --git a/openshift/test/test_v1beta1_stateful_set_spec.py b/openshift/test/test_v1beta1_stateful_set_spec.py deleted file mode 100644 index 47e43805..00000000 --- a/openshift/test/test_v1beta1_stateful_set_spec.py +++ /dev/null @@ -1,42 +0,0 @@ -# coding: utf-8 - -""" - OpenShift API (with Kubernetes) - - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - - OpenAPI spec version: v3.6.0-alpha.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import os -import sys -import unittest - -import openshift.client -from kubernetes.client.rest import ApiException -from openshift.client.models.v1beta1_stateful_set_spec import V1beta1StatefulSetSpec - - -class TestV1beta1StatefulSetSpec(unittest.TestCase): - """ V1beta1StatefulSetSpec unit test stubs """ - - def setUp(self): - pass - - def tearDown(self): - pass - - def testV1beta1StatefulSetSpec(self): - """ - Test V1beta1StatefulSetSpec - """ - model = openshift.client.models.v1beta1_stateful_set_spec.V1beta1StatefulSetSpec() - - -if __name__ == '__main__': - unittest.main() diff --git a/openshift/test/test_v1beta1_stateful_set_status.py b/openshift/test/test_v1beta1_stateful_set_status.py deleted file mode 100644 index 8a64755c..00000000 --- a/openshift/test/test_v1beta1_stateful_set_status.py +++ /dev/null @@ -1,42 +0,0 @@ -# coding: utf-8 - -""" - OpenShift API (with Kubernetes) - - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - - OpenAPI spec version: v3.6.0-alpha.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import os -import sys -import unittest - -import openshift.client -from kubernetes.client.rest import ApiException -from openshift.client.models.v1beta1_stateful_set_status import V1beta1StatefulSetStatus - - -class TestV1beta1StatefulSetStatus(unittest.TestCase): - """ V1beta1StatefulSetStatus unit test stubs """ - - def setUp(self): - pass - - def tearDown(self): - pass - - def testV1beta1StatefulSetStatus(self): - """ - Test V1beta1StatefulSetStatus - """ - model = openshift.client.models.v1beta1_stateful_set_status.V1beta1StatefulSetStatus() - - -if __name__ == '__main__': - unittest.main() diff --git a/openshift/test/test_v1beta1_storage_class.py b/openshift/test/test_v1beta1_storage_class.py deleted file mode 100644 index 67428907..00000000 --- a/openshift/test/test_v1beta1_storage_class.py +++ /dev/null @@ -1,42 +0,0 @@ -# coding: utf-8 - -""" - OpenShift API (with Kubernetes) - - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - - OpenAPI spec version: v3.6.0-alpha.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import os -import sys -import unittest - -import openshift.client -from kubernetes.client.rest import ApiException -from openshift.client.models.v1beta1_storage_class import V1beta1StorageClass - - -class TestV1beta1StorageClass(unittest.TestCase): - """ V1beta1StorageClass unit test stubs """ - - def setUp(self): - pass - - def tearDown(self): - pass - - def testV1beta1StorageClass(self): - """ - Test V1beta1StorageClass - """ - model = openshift.client.models.v1beta1_storage_class.V1beta1StorageClass() - - -if __name__ == '__main__': - unittest.main() diff --git a/openshift/test/test_v1beta1_storage_class_list.py b/openshift/test/test_v1beta1_storage_class_list.py deleted file mode 100644 index 7f96443e..00000000 --- a/openshift/test/test_v1beta1_storage_class_list.py +++ /dev/null @@ -1,42 +0,0 @@ -# coding: utf-8 - -""" - OpenShift API (with Kubernetes) - - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - - OpenAPI spec version: v3.6.0-alpha.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import os -import sys -import unittest - -import openshift.client -from kubernetes.client.rest import ApiException -from openshift.client.models.v1beta1_storage_class_list import V1beta1StorageClassList - - -class TestV1beta1StorageClassList(unittest.TestCase): - """ V1beta1StorageClassList unit test stubs """ - - def setUp(self): - pass - - def tearDown(self): - pass - - def testV1beta1StorageClassList(self): - """ - Test V1beta1StorageClassList - """ - model = openshift.client.models.v1beta1_storage_class_list.V1beta1StorageClassList() - - -if __name__ == '__main__': - unittest.main() diff --git a/openshift/test/test_v1beta1_subject_access_review.py b/openshift/test/test_v1beta1_subject_access_review.py deleted file mode 100644 index 087bb625..00000000 --- a/openshift/test/test_v1beta1_subject_access_review.py +++ /dev/null @@ -1,42 +0,0 @@ -# coding: utf-8 - -""" - OpenShift API (with Kubernetes) - - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - - OpenAPI spec version: v3.6.0-alpha.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import os -import sys -import unittest - -import openshift.client -from kubernetes.client.rest import ApiException -from openshift.client.models.v1beta1_subject_access_review import V1beta1SubjectAccessReview - - -class TestV1beta1SubjectAccessReview(unittest.TestCase): - """ V1beta1SubjectAccessReview unit test stubs """ - - def setUp(self): - pass - - def tearDown(self): - pass - - def testV1beta1SubjectAccessReview(self): - """ - Test V1beta1SubjectAccessReview - """ - model = openshift.client.models.v1beta1_subject_access_review.V1beta1SubjectAccessReview() - - -if __name__ == '__main__': - unittest.main() diff --git a/openshift/test/test_v1beta1_subject_access_review_spec.py b/openshift/test/test_v1beta1_subject_access_review_spec.py deleted file mode 100644 index e82907df..00000000 --- a/openshift/test/test_v1beta1_subject_access_review_spec.py +++ /dev/null @@ -1,42 +0,0 @@ -# coding: utf-8 - -""" - OpenShift API (with Kubernetes) - - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - - OpenAPI spec version: v3.6.0-alpha.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import os -import sys -import unittest - -import openshift.client -from kubernetes.client.rest import ApiException -from openshift.client.models.v1beta1_subject_access_review_spec import V1beta1SubjectAccessReviewSpec - - -class TestV1beta1SubjectAccessReviewSpec(unittest.TestCase): - """ V1beta1SubjectAccessReviewSpec unit test stubs """ - - def setUp(self): - pass - - def tearDown(self): - pass - - def testV1beta1SubjectAccessReviewSpec(self): - """ - Test V1beta1SubjectAccessReviewSpec - """ - model = openshift.client.models.v1beta1_subject_access_review_spec.V1beta1SubjectAccessReviewSpec() - - -if __name__ == '__main__': - unittest.main() diff --git a/openshift/test/test_v1beta1_subject_access_review_status.py b/openshift/test/test_v1beta1_subject_access_review_status.py deleted file mode 100644 index 016a6853..00000000 --- a/openshift/test/test_v1beta1_subject_access_review_status.py +++ /dev/null @@ -1,42 +0,0 @@ -# coding: utf-8 - -""" - OpenShift API (with Kubernetes) - - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - - OpenAPI spec version: v3.6.0-alpha.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import os -import sys -import unittest - -import openshift.client -from kubernetes.client.rest import ApiException -from openshift.client.models.v1beta1_subject_access_review_status import V1beta1SubjectAccessReviewStatus - - -class TestV1beta1SubjectAccessReviewStatus(unittest.TestCase): - """ V1beta1SubjectAccessReviewStatus unit test stubs """ - - def setUp(self): - pass - - def tearDown(self): - pass - - def testV1beta1SubjectAccessReviewStatus(self): - """ - Test V1beta1SubjectAccessReviewStatus - """ - model = openshift.client.models.v1beta1_subject_access_review_status.V1beta1SubjectAccessReviewStatus() - - -if __name__ == '__main__': - unittest.main() diff --git a/openshift/test/test_v1beta1_subresource_reference.py b/openshift/test/test_v1beta1_subresource_reference.py deleted file mode 100644 index 1fcb0390..00000000 --- a/openshift/test/test_v1beta1_subresource_reference.py +++ /dev/null @@ -1,42 +0,0 @@ -# coding: utf-8 - -""" - OpenShift API (with Kubernetes) - - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - - OpenAPI spec version: v3.6.0-alpha.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import os -import sys -import unittest - -import openshift.client -from kubernetes.client.rest import ApiException -from openshift.client.models.v1beta1_subresource_reference import V1beta1SubresourceReference - - -class TestV1beta1SubresourceReference(unittest.TestCase): - """ V1beta1SubresourceReference unit test stubs """ - - def setUp(self): - pass - - def tearDown(self): - pass - - def testV1beta1SubresourceReference(self): - """ - Test V1beta1SubresourceReference - """ - model = openshift.client.models.v1beta1_subresource_reference.V1beta1SubresourceReference() - - -if __name__ == '__main__': - unittest.main() diff --git a/openshift/test/test_v1beta1_supplemental_groups_strategy_options.py b/openshift/test/test_v1beta1_supplemental_groups_strategy_options.py deleted file mode 100644 index fa181f65..00000000 --- a/openshift/test/test_v1beta1_supplemental_groups_strategy_options.py +++ /dev/null @@ -1,42 +0,0 @@ -# coding: utf-8 - -""" - OpenShift API (with Kubernetes) - - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - - OpenAPI spec version: v3.6.0-alpha.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import os -import sys -import unittest - -import openshift.client -from kubernetes.client.rest import ApiException -from openshift.client.models.v1beta1_supplemental_groups_strategy_options import V1beta1SupplementalGroupsStrategyOptions - - -class TestV1beta1SupplementalGroupsStrategyOptions(unittest.TestCase): - """ V1beta1SupplementalGroupsStrategyOptions unit test stubs """ - - def setUp(self): - pass - - def tearDown(self): - pass - - def testV1beta1SupplementalGroupsStrategyOptions(self): - """ - Test V1beta1SupplementalGroupsStrategyOptions - """ - model = openshift.client.models.v1beta1_supplemental_groups_strategy_options.V1beta1SupplementalGroupsStrategyOptions() - - -if __name__ == '__main__': - unittest.main() diff --git a/openshift/test/test_v1beta1_third_party_resource.py b/openshift/test/test_v1beta1_third_party_resource.py deleted file mode 100644 index d42ebe56..00000000 --- a/openshift/test/test_v1beta1_third_party_resource.py +++ /dev/null @@ -1,42 +0,0 @@ -# coding: utf-8 - -""" - OpenShift API (with Kubernetes) - - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - - OpenAPI spec version: v3.6.0-alpha.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import os -import sys -import unittest - -import openshift.client -from kubernetes.client.rest import ApiException -from openshift.client.models.v1beta1_third_party_resource import V1beta1ThirdPartyResource - - -class TestV1beta1ThirdPartyResource(unittest.TestCase): - """ V1beta1ThirdPartyResource unit test stubs """ - - def setUp(self): - pass - - def tearDown(self): - pass - - def testV1beta1ThirdPartyResource(self): - """ - Test V1beta1ThirdPartyResource - """ - model = openshift.client.models.v1beta1_third_party_resource.V1beta1ThirdPartyResource() - - -if __name__ == '__main__': - unittest.main() diff --git a/openshift/test/test_v1beta1_third_party_resource_list.py b/openshift/test/test_v1beta1_third_party_resource_list.py deleted file mode 100644 index 75b244a7..00000000 --- a/openshift/test/test_v1beta1_third_party_resource_list.py +++ /dev/null @@ -1,42 +0,0 @@ -# coding: utf-8 - -""" - OpenShift API (with Kubernetes) - - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - - OpenAPI spec version: v3.6.0-alpha.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import os -import sys -import unittest - -import openshift.client -from kubernetes.client.rest import ApiException -from openshift.client.models.v1beta1_third_party_resource_list import V1beta1ThirdPartyResourceList - - -class TestV1beta1ThirdPartyResourceList(unittest.TestCase): - """ V1beta1ThirdPartyResourceList unit test stubs """ - - def setUp(self): - pass - - def tearDown(self): - pass - - def testV1beta1ThirdPartyResourceList(self): - """ - Test V1beta1ThirdPartyResourceList - """ - model = openshift.client.models.v1beta1_third_party_resource_list.V1beta1ThirdPartyResourceList() - - -if __name__ == '__main__': - unittest.main() diff --git a/openshift/test/test_v1beta1_token_review.py b/openshift/test/test_v1beta1_token_review.py deleted file mode 100644 index 9f3ce320..00000000 --- a/openshift/test/test_v1beta1_token_review.py +++ /dev/null @@ -1,42 +0,0 @@ -# coding: utf-8 - -""" - OpenShift API (with Kubernetes) - - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - - OpenAPI spec version: v3.6.0-alpha.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import os -import sys -import unittest - -import openshift.client -from kubernetes.client.rest import ApiException -from openshift.client.models.v1beta1_token_review import V1beta1TokenReview - - -class TestV1beta1TokenReview(unittest.TestCase): - """ V1beta1TokenReview unit test stubs """ - - def setUp(self): - pass - - def tearDown(self): - pass - - def testV1beta1TokenReview(self): - """ - Test V1beta1TokenReview - """ - model = openshift.client.models.v1beta1_token_review.V1beta1TokenReview() - - -if __name__ == '__main__': - unittest.main() diff --git a/openshift/test/test_v1beta1_token_review_spec.py b/openshift/test/test_v1beta1_token_review_spec.py deleted file mode 100644 index c271ecd0..00000000 --- a/openshift/test/test_v1beta1_token_review_spec.py +++ /dev/null @@ -1,42 +0,0 @@ -# coding: utf-8 - -""" - OpenShift API (with Kubernetes) - - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - - OpenAPI spec version: v3.6.0-alpha.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import os -import sys -import unittest - -import openshift.client -from kubernetes.client.rest import ApiException -from openshift.client.models.v1beta1_token_review_spec import V1beta1TokenReviewSpec - - -class TestV1beta1TokenReviewSpec(unittest.TestCase): - """ V1beta1TokenReviewSpec unit test stubs """ - - def setUp(self): - pass - - def tearDown(self): - pass - - def testV1beta1TokenReviewSpec(self): - """ - Test V1beta1TokenReviewSpec - """ - model = openshift.client.models.v1beta1_token_review_spec.V1beta1TokenReviewSpec() - - -if __name__ == '__main__': - unittest.main() diff --git a/openshift/test/test_v1beta1_token_review_status.py b/openshift/test/test_v1beta1_token_review_status.py deleted file mode 100644 index 1a19ce76..00000000 --- a/openshift/test/test_v1beta1_token_review_status.py +++ /dev/null @@ -1,42 +0,0 @@ -# coding: utf-8 - -""" - OpenShift API (with Kubernetes) - - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - - OpenAPI spec version: v3.6.0-alpha.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import os -import sys -import unittest - -import openshift.client -from kubernetes.client.rest import ApiException -from openshift.client.models.v1beta1_token_review_status import V1beta1TokenReviewStatus - - -class TestV1beta1TokenReviewStatus(unittest.TestCase): - """ V1beta1TokenReviewStatus unit test stubs """ - - def setUp(self): - pass - - def tearDown(self): - pass - - def testV1beta1TokenReviewStatus(self): - """ - Test V1beta1TokenReviewStatus - """ - model = openshift.client.models.v1beta1_token_review_status.V1beta1TokenReviewStatus() - - -if __name__ == '__main__': - unittest.main() diff --git a/openshift/test/test_v1beta1_user_info.py b/openshift/test/test_v1beta1_user_info.py deleted file mode 100644 index d144f1e6..00000000 --- a/openshift/test/test_v1beta1_user_info.py +++ /dev/null @@ -1,42 +0,0 @@ -# coding: utf-8 - -""" - OpenShift API (with Kubernetes) - - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - - OpenAPI spec version: v3.6.0-alpha.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import os -import sys -import unittest - -import openshift.client -from kubernetes.client.rest import ApiException -from openshift.client.models.v1beta1_user_info import V1beta1UserInfo - - -class TestV1beta1UserInfo(unittest.TestCase): - """ V1beta1UserInfo unit test stubs """ - - def setUp(self): - pass - - def tearDown(self): - pass - - def testV1beta1UserInfo(self): - """ - Test V1beta1UserInfo - """ - model = openshift.client.models.v1beta1_user_info.V1beta1UserInfo() - - -if __name__ == '__main__': - unittest.main() diff --git a/openshift/test/test_v2alpha1_cron_job.py b/openshift/test/test_v2alpha1_cron_job.py deleted file mode 100644 index 3762f21e..00000000 --- a/openshift/test/test_v2alpha1_cron_job.py +++ /dev/null @@ -1,42 +0,0 @@ -# coding: utf-8 - -""" - OpenShift API (with Kubernetes) - - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - - OpenAPI spec version: v3.6.0-alpha.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import os -import sys -import unittest - -import openshift.client -from kubernetes.client.rest import ApiException -from openshift.client.models.v2alpha1_cron_job import V2alpha1CronJob - - -class TestV2alpha1CronJob(unittest.TestCase): - """ V2alpha1CronJob unit test stubs """ - - def setUp(self): - pass - - def tearDown(self): - pass - - def testV2alpha1CronJob(self): - """ - Test V2alpha1CronJob - """ - model = openshift.client.models.v2alpha1_cron_job.V2alpha1CronJob() - - -if __name__ == '__main__': - unittest.main() diff --git a/openshift/test/test_v2alpha1_cron_job_list.py b/openshift/test/test_v2alpha1_cron_job_list.py deleted file mode 100644 index a5756f6a..00000000 --- a/openshift/test/test_v2alpha1_cron_job_list.py +++ /dev/null @@ -1,42 +0,0 @@ -# coding: utf-8 - -""" - OpenShift API (with Kubernetes) - - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - - OpenAPI spec version: v3.6.0-alpha.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import os -import sys -import unittest - -import openshift.client -from kubernetes.client.rest import ApiException -from openshift.client.models.v2alpha1_cron_job_list import V2alpha1CronJobList - - -class TestV2alpha1CronJobList(unittest.TestCase): - """ V2alpha1CronJobList unit test stubs """ - - def setUp(self): - pass - - def tearDown(self): - pass - - def testV2alpha1CronJobList(self): - """ - Test V2alpha1CronJobList - """ - model = openshift.client.models.v2alpha1_cron_job_list.V2alpha1CronJobList() - - -if __name__ == '__main__': - unittest.main() diff --git a/openshift/test/test_v2alpha1_cron_job_spec.py b/openshift/test/test_v2alpha1_cron_job_spec.py deleted file mode 100644 index a38f2fcb..00000000 --- a/openshift/test/test_v2alpha1_cron_job_spec.py +++ /dev/null @@ -1,42 +0,0 @@ -# coding: utf-8 - -""" - OpenShift API (with Kubernetes) - - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - - OpenAPI spec version: v3.6.0-alpha.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import os -import sys -import unittest - -import openshift.client -from kubernetes.client.rest import ApiException -from openshift.client.models.v2alpha1_cron_job_spec import V2alpha1CronJobSpec - - -class TestV2alpha1CronJobSpec(unittest.TestCase): - """ V2alpha1CronJobSpec unit test stubs """ - - def setUp(self): - pass - - def tearDown(self): - pass - - def testV2alpha1CronJobSpec(self): - """ - Test V2alpha1CronJobSpec - """ - model = openshift.client.models.v2alpha1_cron_job_spec.V2alpha1CronJobSpec() - - -if __name__ == '__main__': - unittest.main() diff --git a/openshift/test/test_v2alpha1_cron_job_status.py b/openshift/test/test_v2alpha1_cron_job_status.py deleted file mode 100644 index 252f4ac6..00000000 --- a/openshift/test/test_v2alpha1_cron_job_status.py +++ /dev/null @@ -1,42 +0,0 @@ -# coding: utf-8 - -""" - OpenShift API (with Kubernetes) - - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - - OpenAPI spec version: v3.6.0-alpha.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import os -import sys -import unittest - -import openshift.client -from kubernetes.client.rest import ApiException -from openshift.client.models.v2alpha1_cron_job_status import V2alpha1CronJobStatus - - -class TestV2alpha1CronJobStatus(unittest.TestCase): - """ V2alpha1CronJobStatus unit test stubs """ - - def setUp(self): - pass - - def tearDown(self): - pass - - def testV2alpha1CronJobStatus(self): - """ - Test V2alpha1CronJobStatus - """ - model = openshift.client.models.v2alpha1_cron_job_status.V2alpha1CronJobStatus() - - -if __name__ == '__main__': - unittest.main() diff --git a/openshift/test/test_v2alpha1_job.py b/openshift/test/test_v2alpha1_job.py deleted file mode 100644 index d434256d..00000000 --- a/openshift/test/test_v2alpha1_job.py +++ /dev/null @@ -1,42 +0,0 @@ -# coding: utf-8 - -""" - OpenShift API (with Kubernetes) - - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - - OpenAPI spec version: v3.6.0-alpha.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import os -import sys -import unittest - -import openshift.client -from kubernetes.client.rest import ApiException -from openshift.client.models.v2alpha1_job import V2alpha1Job - - -class TestV2alpha1Job(unittest.TestCase): - """ V2alpha1Job unit test stubs """ - - def setUp(self): - pass - - def tearDown(self): - pass - - def testV2alpha1Job(self): - """ - Test V2alpha1Job - """ - model = openshift.client.models.v2alpha1_job.V2alpha1Job() - - -if __name__ == '__main__': - unittest.main() diff --git a/openshift/test/test_v2alpha1_job_condition.py b/openshift/test/test_v2alpha1_job_condition.py deleted file mode 100644 index 77242232..00000000 --- a/openshift/test/test_v2alpha1_job_condition.py +++ /dev/null @@ -1,42 +0,0 @@ -# coding: utf-8 - -""" - OpenShift API (with Kubernetes) - - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - - OpenAPI spec version: v3.6.0-alpha.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import os -import sys -import unittest - -import openshift.client -from kubernetes.client.rest import ApiException -from openshift.client.models.v2alpha1_job_condition import V2alpha1JobCondition - - -class TestV2alpha1JobCondition(unittest.TestCase): - """ V2alpha1JobCondition unit test stubs """ - - def setUp(self): - pass - - def tearDown(self): - pass - - def testV2alpha1JobCondition(self): - """ - Test V2alpha1JobCondition - """ - model = openshift.client.models.v2alpha1_job_condition.V2alpha1JobCondition() - - -if __name__ == '__main__': - unittest.main() diff --git a/openshift/test/test_v2alpha1_job_list.py b/openshift/test/test_v2alpha1_job_list.py deleted file mode 100644 index ee3726cd..00000000 --- a/openshift/test/test_v2alpha1_job_list.py +++ /dev/null @@ -1,42 +0,0 @@ -# coding: utf-8 - -""" - OpenShift API (with Kubernetes) - - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - - OpenAPI spec version: v3.6.0-alpha.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import os -import sys -import unittest - -import openshift.client -from kubernetes.client.rest import ApiException -from openshift.client.models.v2alpha1_job_list import V2alpha1JobList - - -class TestV2alpha1JobList(unittest.TestCase): - """ V2alpha1JobList unit test stubs """ - - def setUp(self): - pass - - def tearDown(self): - pass - - def testV2alpha1JobList(self): - """ - Test V2alpha1JobList - """ - model = openshift.client.models.v2alpha1_job_list.V2alpha1JobList() - - -if __name__ == '__main__': - unittest.main() diff --git a/openshift/test/test_v2alpha1_job_spec.py b/openshift/test/test_v2alpha1_job_spec.py deleted file mode 100644 index bd346bee..00000000 --- a/openshift/test/test_v2alpha1_job_spec.py +++ /dev/null @@ -1,42 +0,0 @@ -# coding: utf-8 - -""" - OpenShift API (with Kubernetes) - - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - - OpenAPI spec version: v3.6.0-alpha.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import os -import sys -import unittest - -import openshift.client -from kubernetes.client.rest import ApiException -from openshift.client.models.v2alpha1_job_spec import V2alpha1JobSpec - - -class TestV2alpha1JobSpec(unittest.TestCase): - """ V2alpha1JobSpec unit test stubs """ - - def setUp(self): - pass - - def tearDown(self): - pass - - def testV2alpha1JobSpec(self): - """ - Test V2alpha1JobSpec - """ - model = openshift.client.models.v2alpha1_job_spec.V2alpha1JobSpec() - - -if __name__ == '__main__': - unittest.main() diff --git a/openshift/test/test_v2alpha1_job_status.py b/openshift/test/test_v2alpha1_job_status.py deleted file mode 100644 index 72d072b5..00000000 --- a/openshift/test/test_v2alpha1_job_status.py +++ /dev/null @@ -1,42 +0,0 @@ -# coding: utf-8 - -""" - OpenShift API (with Kubernetes) - - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - - OpenAPI spec version: v3.6.0-alpha.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import os -import sys -import unittest - -import openshift.client -from kubernetes.client.rest import ApiException -from openshift.client.models.v2alpha1_job_status import V2alpha1JobStatus - - -class TestV2alpha1JobStatus(unittest.TestCase): - """ V2alpha1JobStatus unit test stubs """ - - def setUp(self): - pass - - def tearDown(self): - pass - - def testV2alpha1JobStatus(self): - """ - Test V2alpha1JobStatus - """ - model = openshift.client.models.v2alpha1_job_status.V2alpha1JobStatus() - - -if __name__ == '__main__': - unittest.main() diff --git a/openshift/test/test_v2alpha1_job_template_spec.py b/openshift/test/test_v2alpha1_job_template_spec.py deleted file mode 100644 index 893dbc1c..00000000 --- a/openshift/test/test_v2alpha1_job_template_spec.py +++ /dev/null @@ -1,42 +0,0 @@ -# coding: utf-8 - -""" - OpenShift API (with Kubernetes) - - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - - OpenAPI spec version: v3.6.0-alpha.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import os -import sys -import unittest - -import openshift.client -from kubernetes.client.rest import ApiException -from openshift.client.models.v2alpha1_job_template_spec import V2alpha1JobTemplateSpec - - -class TestV2alpha1JobTemplateSpec(unittest.TestCase): - """ V2alpha1JobTemplateSpec unit test stubs """ - - def setUp(self): - pass - - def tearDown(self): - pass - - def testV2alpha1JobTemplateSpec(self): - """ - Test V2alpha1JobTemplateSpec - """ - model = openshift.client.models.v2alpha1_job_template_spec.V2alpha1JobTemplateSpec() - - -if __name__ == '__main__': - unittest.main() diff --git a/openshift/test/test_version_api.py b/openshift/test/test_version_api.py deleted file mode 100644 index 2b45308d..00000000 --- a/openshift/test/test_version_api.py +++ /dev/null @@ -1,44 +0,0 @@ -# coding: utf-8 - -""" - OpenShift API (with Kubernetes) - - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - - OpenAPI spec version: v3.6.0-alpha.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import os -import sys -import unittest - -import openshift.client -from kubernetes.client.rest import ApiException -from openshift.client.apis.version_api import VersionApi - - -class TestVersionApi(unittest.TestCase): - """ VersionApi unit test stubs """ - - def setUp(self): - self.api = openshift.client.apis.version_api.VersionApi() - - def tearDown(self): - pass - - def test_get_code_version(self): - """ - Test case for get_code_version - - - """ - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/openshift/test/test_version_info.py b/openshift/test/test_version_info.py deleted file mode 100644 index f60eb485..00000000 --- a/openshift/test/test_version_info.py +++ /dev/null @@ -1,42 +0,0 @@ -# coding: utf-8 - -""" - OpenShift API (with Kubernetes) - - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - - OpenAPI spec version: v3.6.0-alpha.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import os -import sys -import unittest - -import openshift.client -from kubernetes.client.rest import ApiException -from openshift.client.models.version_info import VersionInfo - - -class TestVersionInfo(unittest.TestCase): - """ VersionInfo unit test stubs """ - - def setUp(self): - pass - - def tearDown(self): - pass - - def testVersionInfo(self): - """ - Test VersionInfo - """ - model = openshift.client.models.version_info.VersionInfo() - - -if __name__ == '__main__': - unittest.main() diff --git a/openshift/test/test_versioned_event.py b/openshift/test/test_versioned_event.py deleted file mode 100644 index 21fae784..00000000 --- a/openshift/test/test_versioned_event.py +++ /dev/null @@ -1,42 +0,0 @@ -# coding: utf-8 - -""" - OpenShift API (with Kubernetes) - - OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is provided for service accounts as a generated secret (in JWT form) or via the native OAuth endpoint located at /oauth/authorize. Core infrastructure components may use openshift.client certificates that require no authentication. All API operations return a 'resourceVersion' string that represents the version of the object in the underlying storage. The standard LIST operation performs a snapshot read of the underlying objects, returning a resourceVersion representing a consistent version of the listed objects. The WATCH operation allows all updates to a set of objects after the provided resourceVersion to be observed by a openshift.client. By listing and beginning a watch from the returned resourceVersion, openshift.clients may observe a consistent view of the state of one or more objects. Note that WATCH always returns the update after the provided resourceVersion. Watch may be extended a limited time in the past - using etcd 2 the watch window is 1000 events (which on a large cluster may only be a few tens of seconds) so openshift.clients must explicitly handle the \"watch to old error\" by re-listing. Objects are divided into two rough categories - those that have a lifecycle and must reflect the state of the cluster, and those that have no state. Objects with lifecycle typically have three main sections: * 'metadata' common to all objects * a 'spec' that represents the desired state * a 'status' that represents how much of the desired state is reflected on the cluster at the current time Objects that have no state have 'metadata' but may lack a 'spec' or 'status' section. Objects are divided into those that are namespace scoped (only exist inside of a namespace) and those that are cluster scoped (exist outside of a namespace). A namespace scoped resource will be deleted when the namespace is deleted and cannot be created if the namespace has not yet been created or is in the process of deletion. Cluster scoped resources are typically only accessible to admins - resources like nodes, persistent volumes, and cluster policy. All objects have a schema that is a combination of the 'kind' and 'apiVersion' fields. This schema is additive only for any given version - no backwards incompatible changes are allowed without incrementing the apiVersion. The server will return and accept a number of standard responses that share a common schema - for instance, the common error type is 'unversioned.Status' (described below) and will be returned on any error from the API server. The API is available in multiple serialization formats - the default is JSON (Accept: application/json and Content-Type: application/json) but openshift.clients may also use YAML (application/yaml) or the native Protobuf schema (application/vnd.kubernetes.protobuf). Note that the format of the WATCH API call is slightly different - for JSON it returns newline delimited objects while for Protobuf it returns length-delimited frames (4 bytes in network-order) that contain a 'versioned.Watch' Protobuf object. See the OpenShift documentation at https://docs.openshift.org for more information. - - OpenAPI spec version: v3.6.0-alpha.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -from __future__ import absolute_import - -import os -import sys -import unittest - -import openshift.client -from kubernetes.client.rest import ApiException -from openshift.client.models.versioned_event import VersionedEvent - - -class TestVersionedEvent(unittest.TestCase): - """ VersionedEvent unit test stubs """ - - def setUp(self): - pass - - def tearDown(self): - pass - - def testVersionedEvent(self): - """ - Test VersionedEvent - """ - model = openshift.client.models.versioned_event.VersionedEvent() - - -if __name__ == '__main__': - unittest.main()